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>
This commit is contained in:
roynatech2544 2021-10-21 23:04:54 +09:00
commit 9506c382c4
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
82 changed files with 1108 additions and 98 deletions

View file

@ -1,4 +1,4 @@
r_dir_file(gpsd, sysfs_sec_gps);
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;
@ -10,3 +10,5 @@ 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 };