## rrdcached - Daemon that receives updates to existing RRD files, accumulates them and writes the updates to the RRD file. ######################################## ## ## Execute rrdcached_exec_t in the rrdcached domain. ## ## ## ## Domain allowed to transition. ## ## # interface(`rrdcached_domtrans',` gen_require(` type rrdcached_t, rrdcached_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, rrdcached_exec_t, rrdcached_t) ') ###################################### ## ## Execute rrdcached in the caller domain. ## ## ## ## Domain allowed access. ## ## # interface(`rrdcached_exec',` gen_require(` type rrdcached_exec_t; ') corecmd_search_bin($1) can_exec($1, rrdcached_exec_t) ') ######################################## ## ## Read rrdcached PID files. ## ## ## ## Domain allowed access. ## ## # interface(`rrdcached_read_pid_files',` gen_require(` type rrdcached_var_run_t; ') files_search_pids($1) read_files_pattern($1, rrdcached_var_run_t, rrdcached_var_run_t) ') ######################################## ## ## All of the rules required to administrate ## an rrdcached environment ## ## ## ## Domain allowed access. ## ## ## ## ## Role allowed access. ## ## ## # interface(`rrdcached_admin',` gen_require(` type rrdcached_t; type rrdcached_var_run_t; ') allow $1 rrdcached_t:process { signal_perms }; ps_process_pattern($1, rrdcached_t) tunable_policy(`deny_ptrace',`',` allow $1 rrdcached_t:process ptrace; ') files_search_pids($1) admin_pattern($1, rrdcached_var_run_t) optional_policy(` systemd_passwd_agent_exec($1) systemd_read_fifo_file_passwd_run($1) ') ')