diff options
-rw-r--r-- | selinux/file_contexts | 1 | ||||
-rw-r--r-- | selinux/pvrsrvinit.te | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts index 6027ea4..7c6b3ff 100644 --- a/selinux/file_contexts +++ b/selinux/file_contexts @@ -28,6 +28,7 @@ # System binaries /system/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0 +/system/vendor/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0 /system/vendor/bin/pvrsrvctl_SGX540_120 u:object_r:pvrsrvinit_exec:s0 /system/bin/dock_kbd_attach u:object_r:dock_kbd_attach_exec:s0 diff --git a/selinux/pvrsrvinit.te b/selinux/pvrsrvinit.te index ae1ee0b..3d82777 100644 --- a/selinux/pvrsrvinit.te +++ b/selinux/pvrsrvinit.te @@ -4,6 +4,7 @@ type pvrsrvinit_exec, exec_type, file_type; init_daemon_domain(pvrsrvinit) +allow pvrsrvinit gpu_device:chr_file rw_file_perms; allow pvrsrvinit kernel:system module_request; allow pvrsrvinit self:capability { sys_module }; allow pvrsrvinit system_file:file x_file_perms; |