diff options
Diffstat (limited to 'policy/modules/services/smokeping.te')
-rw-r--r-- | policy/modules/services/smokeping.te | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/policy/modules/services/smokeping.te b/policy/modules/services/smokeping.te index 65a3441dc..34f77c4bd 100644 --- a/policy/modules/services/smokeping.te +++ b/policy/modules/services/smokeping.te @@ -12,8 +12,8 @@ init_daemon_domain(smokeping_t, smokeping_exec_t) type smokeping_initrc_exec_t; init_script_file(smokeping_initrc_exec_t) -type smokeping_var_run_t; -files_pid_file(smokeping_var_run_t) +type smokeping_runtime_t alias smokeping_var_run_t; +files_pid_file(smokeping_runtime_t) type smokeping_var_lib_t; files_type(smokeping_var_lib_t) @@ -27,9 +27,9 @@ dontaudit smokeping_t self:capability { dac_override dac_read_search }; allow smokeping_t self:fifo_file rw_fifo_file_perms; allow smokeping_t self:unix_stream_socket { accept listen }; -manage_dirs_pattern(smokeping_t, smokeping_var_run_t, smokeping_var_run_t) -manage_files_pattern(smokeping_t, smokeping_var_run_t, smokeping_var_run_t) -files_pid_filetrans(smokeping_t, smokeping_var_run_t, { file dir }) +manage_dirs_pattern(smokeping_t, smokeping_runtime_t, smokeping_runtime_t) +manage_files_pattern(smokeping_t, smokeping_runtime_t, smokeping_runtime_t) +files_pid_filetrans(smokeping_t, smokeping_runtime_t, { file dir }) manage_dirs_pattern(smokeping_t, smokeping_var_lib_t, smokeping_var_lib_t) manage_files_pattern(smokeping_t, smokeping_var_lib_t, smokeping_var_lib_t) @@ -66,7 +66,7 @@ optional_policy(` manage_dirs_pattern(httpd_smokeping_cgi_script_t, smokeping_var_lib_t, smokeping_var_lib_t) manage_files_pattern(httpd_smokeping_cgi_script_t, smokeping_var_lib_t, smokeping_var_lib_t) - getattr_files_pattern(httpd_smokeping_cgi_script_t, smokeping_var_run_t, smokeping_var_run_t) + getattr_files_pattern(httpd_smokeping_cgi_script_t, smokeping_runtime_t, smokeping_runtime_t) files_read_etc_files(httpd_smokeping_cgi_script_t) files_search_tmp(httpd_smokeping_cgi_script_t) |