|
@@ -1,4 +1,10 @@
|
|
|
-policy_module(ttrss, 0.0.3)
|
|
|
+policy_module(ttrss, 0.0.4)
|
|
|
+
|
|
|
+require {
|
|
|
+ type etc_t;
|
|
|
+ type httpd_sys_content_t;
|
|
|
+ type shell_exec_t;
|
|
|
+}
|
|
|
|
|
|
########################################
|
|
|
#
|
|
@@ -40,6 +46,11 @@ miscfiles_read_localization(ttrss_t)
|
|
|
mysql_tcp_connect(ttrss_t)
|
|
|
mysql_stream_connect(ttrss_t)
|
|
|
|
|
|
+allow ttrss_t etc_t:file map;
|
|
|
+allow ttrss_t httpd_sys_content_t:file map;
|
|
|
+
|
|
|
+corecmd_exec_shell(ttrss_t)
|
|
|
+allow ttrss_t shell_exec_t:file map;
|
|
|
optional_policy(`
|
|
|
cron_system_entry(ttrss_t, ttrss_exec_t)
|
|
|
')
|