2017-08-25 19:12:34

by Guido Trentalancia

[permalink] [raw]
Subject: [refpolicy] [PATCH] spamassassin: update rules for the Bayesian classifier trainer

Update the spamassassin module with rules for the
Bayesian classifier trainer.

Signed-off-by: Guido Trentalancia <[email protected]>
---
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)


2017-08-29 22:46:50

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] spamassassin: update rules for the Bayesian classifier trainer

On 08/25/2017 03:12 PM, Guido Trentalancia via refpolicy wrote:
> Update the spamassassin module with rules for the
> Bayesian classifier trainer.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> 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)

Merged.

--
Chris PeBenito