From b5a6c86f46283bdae1e588e0604304b1c6dbe739 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 8 Mar 2007 17:53:52 +0000 Subject: [PATCH] last bit of dans patch --- policy/modules/services/pyzor.if | 18 ++++++++++++++++++ policy/modules/services/pyzor.te | 2 +- policy/modules/services/spamassassin.te | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/policy/modules/services/pyzor.if b/policy/modules/services/pyzor.if index 5ee2ba4a..63cd7ecf 100644 --- a/policy/modules/services/pyzor.if +++ b/policy/modules/services/pyzor.if @@ -1,5 +1,23 @@ ## Pyzor is a distributed, collaborative spam detection and filtering network. +######################################## +## +## Send generic signals to pyzor +## +## +## +## Domain allowed access. +## +## +# +interface(`pyzor_signal',` + gen_require(` + type pyzor_t; + ') + + allow $1 pyzor_t:process signal; +') + ######################################## ## ## Execute pyzor with a domain transition. diff --git a/policy/modules/services/pyzor.te b/policy/modules/services/pyzor.te index bbf655d5..e59c20fb 100644 --- a/policy/modules/services/pyzor.te +++ b/policy/modules/services/pyzor.te @@ -1,5 +1,5 @@ -policy_module(pyzor,1.1.2) +policy_module(pyzor,1.1.3) ######################################## # diff --git a/policy/modules/services/spamassassin.te b/policy/modules/services/spamassassin.te index 7d0717e1..0444cdf7 100644 --- a/policy/modules/services/spamassassin.te +++ b/policy/modules/services/spamassassin.te @@ -1,5 +1,5 @@ -policy_module(spamassassin,1.5.2) +policy_module(spamassassin,1.5.3) ######################################## # @@ -192,6 +192,7 @@ optional_policy(` optional_policy(` pyzor_domtrans(spamd_t) + pyzor_signal(spamd_t) ') optional_policy(`