aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/services/keyboardd.te')
-rw-r--r--policy/modules/services/keyboardd.te24
1 files changed, 24 insertions, 0 deletions
diff --git a/policy/modules/services/keyboardd.te b/policy/modules/services/keyboardd.te
new file mode 100644
index 00000000..628b78b4
--- /dev/null
+++ b/policy/modules/services/keyboardd.te
@@ -0,0 +1,24 @@
+policy_module(keyboardd, 1.1.0)
+
+########################################
+#
+# Declarations
+#
+
+type keyboardd_t;
+type keyboardd_exec_t;
+init_daemon_domain(keyboardd_t, keyboardd_exec_t)
+
+########################################
+#
+# Local policy
+#
+
+allow keyboardd_t self:fifo_file rw_fifo_file_perms;
+allow keyboardd_t self:unix_stream_socket create_stream_socket_perms;
+
+files_manage_etc_runtime_files(keyboardd_t)
+files_etc_filetrans_etc_runtime(keyboardd_t, file)
+files_read_etc_files(keyboardd_t)
+
+miscfiles_read_localization(keyboardd_t)