universal7885: SamsungParts: add gpu, selinux and update related sepolicy

This commit is contained in:
roynatech2544 2021-10-25 00:04:38 +09:00
commit c1a9d9f071
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
36 changed files with 632 additions and 170 deletions

View file

@ -1,5 +0,0 @@
allow init sysfs_gpu_tmu:file { setattr };
allow init sysfs_flashlight:file { setattr };
allow init selinuxfs:file { setattr };
allow init sysfs_sec_switch_writable:file { setattr };
allow init sysfs_battery_writable:file { setattr }; repo):universal7885-common/sepolicy/public/init.te

View file

@ -1,9 +0,0 @@
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: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 };