stunnel: add log type and rules
Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
c521270688
commit
e34e339b96
|
@ -15,6 +15,9 @@ files_config_file(stunnel_etc_t)
|
|||
type stunnel_runtime_t alias stunnel_var_run_t;
|
||||
files_runtime_file(stunnel_runtime_t)
|
||||
|
||||
type stunnel_log_t;
|
||||
logging_log_file(stunnel_log_t)
|
||||
|
||||
type stunnel_tmp_t;
|
||||
files_tmp_file(stunnel_tmp_t)
|
||||
|
||||
|
@ -42,6 +45,11 @@ manage_dirs_pattern(stunnel_t, stunnel_runtime_t, stunnel_runtime_t)
|
|||
manage_files_pattern(stunnel_t, stunnel_runtime_t, stunnel_runtime_t)
|
||||
files_runtime_filetrans(stunnel_t, stunnel_runtime_t, { dir file })
|
||||
|
||||
manage_dirs_pattern(stunnel_t, stunnel_log_t, stunnel_log_t)
|
||||
create_files_pattern(stunnel_t, stunnel_log_t, stunnel_log_t)
|
||||
append_files_pattern(stunnel_t, stunnel_log_t, stunnel_log_t)
|
||||
logging_log_filetrans(stunnel_t, stunnel_log_t, { dir file })
|
||||
|
||||
kernel_read_kernel_sysctls(stunnel_t)
|
||||
kernel_read_system_state(stunnel_t)
|
||||
kernel_read_network_state(stunnel_t)
|
||||
|
|
Loading…
Reference in New Issue