From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 02/15] Allow authdaemon to create unix_stream_sockets
Date: Tue, 22 Mar 2011 08:51:03 -0400 [thread overview]
Message-ID: <4D889B37.8010301@tresys.com> (raw)
In-Reply-To: <20110309210621.GA4666@siphos.be>
On 03/09/11 16:06, Sven Vermeulen wrote:
> The authdaemon needs the create_stream_socket_perms privs in order to be able to start up.
>
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
> policy/modules/services/courier.te | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/policy/modules/services/courier.te b/policy/modules/services/courier.te
> index 2802dbb..55d64bc 100644
> --- a/policy/modules/services/courier.te
> +++ b/policy/modules/services/courier.te
> @@ -37,7 +37,7 @@ typealias courier_sqwebmail_exec_t alias sqwebmail_cron_exec_t;
> #
>
> allow courier_authdaemon_t self:capability { setuid setgid sys_tty_config };
> -allow courier_authdaemon_t self:unix_stream_socket connectto;
> +allow courier_authdaemon_t self:unix_stream_socket { create_stream_socket_perms connectto };
>
> can_exec(courier_authdaemon_t, courier_exec_t)
Merged.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
prev parent reply other threads:[~2011-03-22 12:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 21:06 [refpolicy] [PATCH 02/15] Allow authdaemon to create unix_stream_sockets Sven Vermeulen
2011-03-22 12:51 ` 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=4D889B37.8010301@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.