Wayne Lin a7430966ea gps: add sepolicy to coredump node
Bug: 319766739
Test: build pass and verify pass
Change-Id: I7cf289865540533b9d65a2c2c21d1ea4e9f391a2
2024-02-07 02:47:27 +00:00

11 lines
470 B
Plaintext

allow hal_gnss_default fwk_sensor_service:service_manager find;
allow hal_gnss_default gnssd:unix_stream_socket connectto;
allow hal_gnss_default vendor_gps_file:dir create_dir_perms;
allow hal_gnss_default vendor_gps_file:file create_file_perms;
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;
allow hal_gnss_default sysfs_gps:file rw_file_perms;
binder_call(hal_gnss_default, gnssd);
#Read GPS property
get_prop(hal_gnss_default, vendor_gps_prop)