device_google_caimito/gnss/gnss_check.te
Joe Huang 8a5026e684 Add sepolicy rules for gnss
Bug: 303789385
Test: GPS test on normal & factory builds
Change-Id: I78eba237631edc1423e7c54d3b054135706d04f1
2023-11-02 17:42:41 +08:00

9 lines
261 B
Text

type gnss_check, domain;
type gnss_check_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(gnss_check);
allow gnss_check vendor_toolbox_exec:file { execute_no_trans };
set_prop(gnss_check, ctl_stop_prop);
set_prop(gnss_check, ctl_start_prop);