ulogd: Rename ulogd_var_run_t to ulogd_runtime_t.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2019-08-17 15:17:51 -04:00
parent ac1659e79f
commit 230262368b
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
/etc/rc\.d/init\.d/ulogd -- gen_context(system_u:object_r:ulogd_initrc_exec_t,s0)
/run/ulog(/*) gen_context(system_u:object_r:ulogd_var_run_t,s0)
/run/ulog(/*) gen_context(system_u:object_r:ulogd_runtime_t,s0)
/usr/bin/ulogd -- gen_context(system_u:object_r:ulogd_exec_t,s0)

View File

@ -1,4 +1,4 @@
policy_module(ulogd, 1.5.1)
policy_module(ulogd, 1.5.2)
########################################
#
@ -18,8 +18,8 @@ init_script_file(ulogd_initrc_exec_t)
type ulogd_modules_t;
files_type(ulogd_modules_t)
type ulogd_var_run_t;
files_pid_file(ulogd_var_run_t)
type ulogd_runtime_t;
files_pid_file(ulogd_runtime_t)
type ulogd_var_log_t;
logging_log_file(ulogd_var_log_t)
@ -46,7 +46,7 @@ read_files_pattern(ulogd_t, ulogd_etc_t, ulogd_etc_t)
list_dirs_pattern(ulogd_t, ulogd_modules_t, ulogd_modules_t)
mmap_exec_files_pattern(ulogd_t, ulogd_modules_t, ulogd_modules_t)
manage_files_pattern(ulogd_t, ulogd_var_run_t, ulogd_var_run_t)
manage_files_pattern(ulogd_t, ulogd_runtime_t, ulogd_runtime_t)
append_files_pattern(ulogd_t, ulogd_var_log_t, ulogd_var_log_t)
create_files_pattern(ulogd_t, ulogd_var_log_t, ulogd_var_log_t)