mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-02-19 05:36:52 +00:00
trunk: pyzor and clamav updates from dan
This commit is contained in:
parent
22bff65f4d
commit
2c3ac47d45
@ -167,3 +167,22 @@ interface(`amavis_setattr_pid_files',`
|
||||
allow $1 amavis_var_run_t:file setattr;
|
||||
files_search_pids($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Create of amavis pid files.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`amavis_create_pid_files',`
|
||||
gen_require(`
|
||||
type amavis_var_run_t;
|
||||
')
|
||||
|
||||
allow $1 amavis_var_run_t:file create_file_perms;
|
||||
files_search_pids($1)
|
||||
')
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(amavis,1.2.1)
|
||||
policy_module(amavis,1.2.2)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(clamav,1.3.0)
|
||||
policy_module(clamav,1.3.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
@ -126,6 +126,7 @@ optional_policy(`
|
||||
amavis_read_lib_files(clamd_t)
|
||||
amavis_read_spool_files(clamd_t)
|
||||
amavis_spool_filetrans(clamd_t,clamd_var_run_t,sock_file)
|
||||
amavis_create_pid_files(clamd_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(pyzor,1.2.0)
|
||||
policy_module(pyzor,1.2.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
@ -50,9 +50,13 @@ kernel_read_system_state(pyzor_t)
|
||||
corecmd_list_bin(pyzor_t)
|
||||
corecmd_getattr_bin_files(pyzor_t)
|
||||
|
||||
corenet_tcp_sendrecv_all_if(pyzor_t)
|
||||
corenet_udp_sendrecv_all_if(pyzor_t)
|
||||
corenet_tcp_sendrecv_all_nodes(pyzor_t)
|
||||
corenet_udp_sendrecv_all_nodes(pyzor_t)
|
||||
corenet_tcp_sendrecv_all_ports(pyzor_t)
|
||||
corenet_udp_sendrecv_all_ports(pyzor_t)
|
||||
corenet_tcp_connect_http_port(pyzor_t)
|
||||
|
||||
dev_read_urand(pyzor_t)
|
||||
|
||||
@ -77,6 +81,7 @@ optional_policy(`
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
spamassassin_signal_spamd(pyzor_t)
|
||||
spamassassin_read_spamd_tmp_files(pyzor_t)
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user