JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
initial version (working)
[cmus-lan-control.git] / local.te
diff --git a/local.te b/local.te
new file mode 100644 (file)
index 0000000..fc2a4c7
--- /dev/null
+++ b/local.te
@@ -0,0 +1,17 @@
+
+module local 1.0;
+
+require {
+       type httpd_user_content_t;
+       type httpd_t;
+       class fifo_file write;
+       class fifo_file getattr;
+       class fifo_file append;
+       class fifo_file open;
+}
+
+#============= httpd_t ==============
+allow httpd_t httpd_user_content_t:fifo_file write;
+allow httpd_t httpd_user_content_t:fifo_file getattr;
+allow httpd_t httpd_user_content_t:fifo_file append;
+allow httpd_t httpd_user_content_t:fifo_file open;