mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: sepolicy: Adapt for universal7885 and address denials
* Everything's working fine now * todo: Cleanup unnecessary rules and vendor init Change-Id: I4faea56383b5851bbd486f45d103e0bb94ebdd24 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
1db34af1a0
commit
1875a501a1
42 changed files with 242 additions and 111 deletions
12
sepolicy/vendor/gpsd.te
vendored
Normal file
12
sepolicy/vendor/gpsd.te
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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;
|
||||
Loading…
Reference in a new issue