aboutsummaryrefslogtreecommitdiffstats
path: root/tzdatacheck.te
diff options
context:
space:
mode:
Diffstat (limited to 'tzdatacheck.te')
-rw-r--r--tzdatacheck.te8
1 files changed, 8 insertions, 0 deletions
diff --git a/tzdatacheck.te b/tzdatacheck.te
new file mode 100644
index 0000000..a95dc0d
--- /dev/null
+++ b/tzdatacheck.te
@@ -0,0 +1,8 @@
+# The tzdatacheck command run by init.
+type tzdatacheck, domain;
+type tzdatacheck_exec, exec_type, file_type;
+
+init_daemon_domain(tzdatacheck)
+
+allow tzdatacheck zoneinfo_data_file:dir create_dir_perms;
+allow tzdatacheck zoneinfo_data_file:file unlink;