mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 20:45:31 -04:00
universal7885: SamsungParts: Update relevant SEPolicy
Change-Id: I13eb7abd5d0651a52a8a14211c00b5e74798976f Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
c8719f9b92
commit
9f2cdeb5b4
7 changed files with 24 additions and 41 deletions
6
universal7885-common/sepolicy/samsungparts/file.te
Normal file
6
universal7885-common/sepolicy/samsungparts/file.te
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
type sysfs_gpu_tmu, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_flashlight, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_sec_switch, sysfs_type, r_fs_type, fs_type;
|
||||
type sysfs_battery, sysfs_type, r_fs_type, fs_type;
|
||||
type sysfs_battery_writable, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_sec_switch_writable, sysfs_type, rw_fs_type, fs_type;
|
||||
|
|
@ -2,5 +2,8 @@ allow system_app sysfs_gpu_tmu:file { read open write getattr };
|
|||
allow system_app sysfs_flashlight:file { read open write getattr };
|
||||
allow system_app selinuxfs:file rw_file_perms;
|
||||
allow system_app sysfs_sec_switch:dir { search };
|
||||
allow system_app sysfs_sec_switch_writable rw_file_perms;
|
||||
allow system_app sysfs_battery_writeable rw_file_perms;
|
||||
allow system_app sysfs_sec_switch_writable:file rw_file_perms;
|
||||
allow system_app sysfs_battery_writeable:file rw_file_perms;
|
||||
allow system_app sysfs_sec_switch_writable:dir { search };
|
||||
allow system_app sysfs_battery_writeable:dir { search };
|
||||
allow system_app sysfs_battery:dir { search };
|
||||
|
|
|
|||
Loading…
Reference in a new issue