X-Git-Url: https://jasonwoof.com/gitweb/?p=cmus-lan-control.git;a=blobdiff_plain;f=local.te;fp=local.te;h=fc2a4c76c3bb7301f051f708799d00bb7d8819c6;hp=0000000000000000000000000000000000000000;hb=45e062540710ac46cb6c2e2e37ef04c534d1cbe9;hpb=e00062e26549a95618297a25f2d9d5f76f172fe6 diff --git a/local.te b/local.te new file mode 100644 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;