Merge pull request #338 from 0xC0ncord/feature/stunnel_logging_type

This commit is contained in:
Chris PeBenito 2021-01-28 13:50:46 -05:00
commit 63b25831a4
1 changed files with 8 additions and 0 deletions

View File

@ -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)