amavis patch from Dan Walsh
This commit is contained in:
parent
5b082e4acf
commit
b8097d6ec4
|
@ -56,7 +56,7 @@ interface(`amavis_read_spool_files',`
|
|||
')
|
||||
|
||||
files_search_spool($1)
|
||||
allow $1 amavis_spool_t:file read_file_perms;
|
||||
read_files_pattern($1, amavis_spool_t, amavis_spool_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
|
|
@ -92,9 +92,10 @@ manage_sock_files_pattern(amavis_t, amavis_var_log_t, amavis_var_log_t)
|
|||
logging_log_filetrans(amavis_t, amavis_var_log_t, { sock_file file dir })
|
||||
|
||||
# pid file
|
||||
manage_dirs_pattern(amavis_t, amavis_var_run_t, amavis_var_run_t)
|
||||
manage_files_pattern(amavis_t, amavis_var_run_t, amavis_var_run_t)
|
||||
manage_sock_files_pattern(amavis_t, amavis_var_run_t, amavis_var_run_t)
|
||||
files_pid_filetrans(amavis_t, amavis_var_run_t, { file sock_file })
|
||||
files_pid_filetrans(amavis_t, amavis_var_run_t, { dir file sock_file })
|
||||
|
||||
kernel_read_kernel_sysctls(amavis_t)
|
||||
# amavis tries to access /proc/self/stat, /etc/shadow and /root - perl...
|
||||
|
|
Loading…
Reference in New Issue