apply contested part of russell's last patch
This commit is contained in:
parent
546c81ce25
commit
830c12eb2d
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(amavis,1.0.9)
|
||||
policy_module(amavis,1.0.10)
|
||||
|
||||
########################################
|
||||
#
|
||||
@ -66,7 +66,6 @@ files_search_spool(amavis_t)
|
||||
allow amavis_t amavis_spool_t:dir manage_dir_perms;
|
||||
allow amavis_t amavis_spool_t:file manage_file_perms;
|
||||
allow amavis_t amavis_spool_t:sock_file manage_file_perms;
|
||||
files_spool_filetrans(amavis_t,amavis_spool_t,{ dir file })
|
||||
type_transition amavis_t amavis_spool_t:sock_file amavis_var_run_t;
|
||||
|
||||
# tmp files
|
||||
@ -78,8 +77,6 @@ files_tmp_filetrans(amavis_t,amavis_tmp_t,file)
|
||||
allow amavis_t amavis_var_lib_t:file create_file_perms;
|
||||
allow amavis_t amavis_var_lib_t:sock_file create_file_perms;
|
||||
allow amavis_t amavis_var_lib_t:dir create_dir_perms;
|
||||
files_var_filetrans(amavis_t,amavis_var_lib_t,{ file dir sock_file })
|
||||
files_var_lib_filetrans(amavis_t,amavis_var_lib_t,file)
|
||||
|
||||
# log files
|
||||
allow amavis_t amavis_var_log_t:file create_file_perms;
|
||||
|
Loading…
Reference in New Issue
Block a user