android_device_samsung_a20/universal7885-common/sepolicy/vendor/gpsd.te
roynatech2544 9506c382c4
universal7885: Adapt SELinux rules to match our A20/A20e's needs
* Additionally, adapt LineageOS's rules too

Change-Id: Ie253afd9052c700705861d618253445ef4b8c728
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:11:48 +09:00

14 lines
408 B
Text

r_dir_file(gpsd, sysfs_sec_gps)
allow gpsd sysfs_gps_writable:file rw_file_perms;
allow gpsd sysfs_wake_lock:file rw_file_perms;
allow gpsd self:capability net_raw;
allow gpsd self:capability2 block_suspend;
allow gpsd bt_device:chr_file rw_file_perms;
allow gpsd gps_device:chr_file rw_file_perms;
allow gpsd gpsd_exec:file execute_no_trans;
allow gpsd bootanim_system_prop:file { read open getattr };