aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/pvrsrvinit.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/pvrsrvinit.te')
-rw-r--r--selinux/pvrsrvinit.te12
1 files changed, 12 insertions, 0 deletions
diff --git a/selinux/pvrsrvinit.te b/selinux/pvrsrvinit.te
new file mode 100644
index 0000000..1ef06ff
--- /dev/null
+++ b/selinux/pvrsrvinit.te
@@ -0,0 +1,12 @@
+# pvrsrvinit
+type pvrsrvinit, domain;
+type pvrsrvinit_exec, exec_type, file_type;
+
+init_daemon_domain(pvrsrvinit)
+
+allow pvrsrvinit kernel:system module_request;
+allow pvrsrvinit self:capability { sys_module };
+allow pvrsrvinit system_file:file x_file_perms;
+allow pvrsrvinit shell_exec:file rx_file_perms;
+allow pvrsrvinit pvrsrvinit_exec:file rx_file_perms;
+allow pvrsrvinit property_socket:sock_file write;