From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 12/15] postalias command should stay bin_t
Date: Wed, 23 Mar 2011 08:56:28 -0400 [thread overview]
Message-ID: <4D89EDFC.7040902@tresys.com> (raw)
In-Reply-To: <20110309212413.GA7554@siphos.be>
On 03/09/11 16:24, Sven Vermeulen wrote:
> postalias should stay bin_t, is manually executed (no role executes
> postfix_master_exec_t as it is only to be launched through init scripts).
>
> The postalias command is used to regenerate the aliases.db file from the
> mail aliases and as such is a system administrative activity. However, by
> default, no role has execute rights on any postfix_master_exec_t domains as
> the domain is apparently meant only to be started from the run_init_t
> domain.
Merged.
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
> policy/modules/services/postfix.fc | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/policy/modules/services/postfix.fc b/policy/modules/services/postfix.fc
> index 958e241..4ceab5d 100644
> --- a/policy/modules/services/postfix.fc
> +++ b/policy/modules/services/postfix.fc
> @@ -32,7 +32,6 @@ ifdef(`distro_redhat', `
> ')
> /etc/postfix/postfix-script.* -- gen_context(system_u:object_r:postfix_exec_t,s0)
> /etc/postfix/prng_exch -- gen_context(system_u:object_r:postfix_prng_t,s0)
> -/usr/sbin/postalias -- gen_context(system_u:object_r:postfix_master_exec_t,s0)
> /usr/sbin/postcat -- gen_context(system_u:object_r:postfix_master_exec_t,s0)
> /usr/sbin/postdrop -- gen_context(system_u:object_r:postfix_postdrop_exec_t,s0)
> /usr/sbin/postfix -- gen_context(system_u:object_r:postfix_master_exec_t,s0)
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
prev parent reply other threads:[~2011-03-23 12:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 21:24 [refpolicy] [PATCH 12/15] postalias command should stay bin_t Sven Vermeulen
2011-03-23 12:56 ` Christopher J. PeBenito [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D89EDFC.7040902@tresys.com \
--to=cpebenito@tresys.com \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.