Blob Blame History Raw
policy_module(queuegraph,1.0.0)

########################################
#
# Declarations
#

apache_content_template(queuegraph)

type httpd_queuegraph_script_var_lib_t;
files_type(httpd_queuegraph_script_var_lib_t)


allow httpd_queuegraph_script_t httpd_queuegraph_script_rw_t:file manage_file_perms;
allow httpd_queuegraph_script_t httpd_queuegraph_script_rw_t:dir create_dir_perms;
files_pid_filetrans(httpd_queuegraph_script_t,httpd_queuegraph_script_rw_t, { file dir })

allow httpd_queuegraph_script_t httpd_queuegraph_script_var_lib_t:file manage_file_perms;
allow httpd_queuegraph_script_t httpd_queuegraph_script_var_lib_t:dir manage_dir_perms;
files_var_lib_filetrans(httpd_queuegraph_script_t,httpd_queuegraph_script_var_lib_t, { file dir })