mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-07 00:38:06 -04:00
universal7870: sepolicy changes
This commit is contained in:
parent
fe0365c96c
commit
614eefb430
13 changed files with 161 additions and 115 deletions
|
@ -1,5 +1,12 @@
|
|||
vndbinder_use(hal_gnss_default)
|
||||
# hal_gnss_default.te
|
||||
|
||||
# Allow gnss to access the gpsd data files
|
||||
allow hal_gnss_default gps_data_file:dir w_dir_perms;
|
||||
allow hal_gnss_default gps_data_file:fifo_file create_file_perms;
|
||||
# cgroups tasks
|
||||
allow hal_gnss_default cgroup:file getattr;
|
||||
|
||||
# /data/vendor/gps
|
||||
allow hal_gnss_default gps_vendor_data_file:dir rw_dir_perms;
|
||||
allow hal_gnss_default gps_vendor_data_file:file create_file_perms;
|
||||
allow hal_gnss_default gps_vendor_data_file:fifo_file create_file_perms;
|
||||
|
||||
# /mnt/vendor
|
||||
allow hal_gnss_default mnt_vendor_file:dir search;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue