mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Address some avc denials
This commit is contained in:
parent
69c5046e99
commit
7c26e3461b
4 changed files with 8 additions and 1 deletions
3
universal7885-common/sepolicy/vendor/gpsd.te
vendored
3
universal7885-common/sepolicy/vendor/gpsd.te
vendored
|
|
@ -51,4 +51,5 @@ allow gpsd gps_device:chr_file rw_file_perms;
|
|||
allow gpsd gpsd_exec:file execute_no_trans;
|
||||
|
||||
get_prop(gpsd, exported_config_prop)
|
||||
allow gpsd bootanim_system_prop:file { read open getattr };
|
||||
get_prop(gpsd, bootanim_system_prop)
|
||||
allow gpsd servicemanager:binder call;
|
||||
|
|
|
|||
|
|
@ -10,3 +10,6 @@ get_prop(hal_wifi_default, persist_vendor_debug_wifi_prop)
|
|||
allow hal_wifi_default efs_file:dir search;
|
||||
allow hal_wifi_default wifi_efs_file:dir search;
|
||||
allow hal_wifi_default wifi_efs_file:file r_file_perms;
|
||||
|
||||
allow hal_wifi_default conn_vendor_data_file:dir write;
|
||||
allow hal_wifi_default mnt_vendor_file:dir search;
|
||||
|
|
|
|||
2
universal7885-common/sepolicy/vendor/init.te
vendored
2
universal7885-common/sepolicy/vendor/init.te
vendored
|
|
@ -58,3 +58,5 @@ allow init sec_efs_file:dir mounton;
|
|||
allow init sysfs_mmc_queue:file { open write };
|
||||
get_prop(init, vendor_radio_prop)
|
||||
get_prop(init, radio_prop)
|
||||
allow init sysfs_printk:file open;
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
allow ueventd self:capability sys_nice;
|
||||
allow ueventd metadata_file:dir search;
|
||||
|
|
|
|||
Loading…
Reference in a new issue