universal7870: sepolicy changes

This commit is contained in:
Alejandro 2020-05-31 21:53:07 +02:00
parent fe0365c96c
commit 614eefb430
13 changed files with 161 additions and 115 deletions

View file

@ -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;