From: guido@trentalancia.com (Guido Trentalancia) Date: Fri, 25 Aug 2017 21:12:34 +0200 Subject: [refpolicy] [PATCH] spamassassin: update rules for the Bayesian classifier trainer Message-ID: <1503688354.15096.3.camel@trentalancia.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Update the spamassassin module with rules for the Bayesian classifier trainer. Signed-off-by: Guido Trentalancia --- policy/modules/contrib/spamassassin.te | 5 +++++ 1 file changed, 5 insertions(+) diff -pru a/policy/modules/contrib/spamassassin.te b/policy/modules/contrib/spamassassin.te --- a/policy/modules/contrib/spamassassin.te 2017-05-23 21:34:17.471592081 +0200 +++ b/policy/modules/contrib/spamassassin.te 2017-08-25 21:10:10.352532159 +0200 @@ -206,6 +206,9 @@ corenet_tcp_connect_all_ports(spamc_t) corecmd_exec_bin(spamc_t) +dev_read_rand(spamc_t) +dev_read_urand(spamc_t) + domain_use_interactive_fds(spamc_t) fs_getattr_all_fs(spamc_t) @@ -223,6 +226,8 @@ logging_send_syslog_msg(spamc_t) miscfiles_read_localization(spamc_t) +userdom_use_inherited_user_terminals(spamc_t) + tunable_policy(`use_nfs_home_dirs',` fs_manage_nfs_dirs(spamc_t) fs_manage_nfs_files(spamc_t)