summaryrefslogtreecommitdiffstats
path: root/sepolicy/pvrsrvinit.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/pvrsrvinit.te')
-rw-r--r--sepolicy/pvrsrvinit.te8
1 files changed, 8 insertions, 0 deletions
diff --git a/sepolicy/pvrsrvinit.te b/sepolicy/pvrsrvinit.te
new file mode 100644
index 0000000..8b388a0
--- /dev/null
+++ b/sepolicy/pvrsrvinit.te
@@ -0,0 +1,8 @@
+# pvrsrvinit
+type pvrsrvinit, domain;
+type pvrsrvinit_exec, exec_type, file_type;
+
+init_daemon_domain(pvrsrvinit)
+
+allow pvrsrvinit gpu_device:chr_file { read write ioctl open };
+allow pvrsrvinit self:capability sys_module;