universal7885: SamsungParts: Update relevant SEPolicy

Change-Id: I13eb7abd5d0651a52a8a14211c00b5e74798976f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-10-22 02:54:58 +09:00
commit 9f2cdeb5b4
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
7 changed files with 24 additions and 41 deletions

View file

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