Add sepolicy rules for gnss

Bug: 303789385
Test: GPS test on normal & factory builds
Change-Id: I140d2ec76f11b68b2e0abac2cc9278a82048814d
This commit is contained in:
Joe Huang 2023-10-30 17:36:01 +08:00
parent 57ed6e5523
commit d510a3608b
2 changed files with 4 additions and 0 deletions

View file

@ -4,3 +4,6 @@ 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);

View file

@ -1,2 +1,3 @@
binder_call(hal_gnss_default, gnssd);
allow hal_gnss_default gnssd:unix_stream_socket connectto;