aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/orientationd.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/orientationd.te')
-rw-r--r--selinux/orientationd.te7
1 files changed, 7 insertions, 0 deletions
diff --git a/selinux/orientationd.te b/selinux/orientationd.te
new file mode 100644
index 0000000..21caaa4
--- /dev/null
+++ b/selinux/orientationd.te
@@ -0,0 +1,7 @@
+type orientationd, domain;
+type orientationd_exec, exec_type, file_type;
+init_daemon_domain(orientationd)
+domain_trans(init, rootfs, orientationd)
+
+allow orientationd input_device:chr_file { write read ioctl open };
+allow orientationd input_device:dir { search read open };