All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 02/15] Allow authdaemon to create unix_stream_sockets
@ 2011-03-09 21:06 Sven Vermeulen
  2011-03-22 12:51 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-03-09 21:06 UTC (permalink / raw)
  To: refpolicy

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)
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [refpolicy] [PATCH 02/15] Allow authdaemon to create unix_stream_sockets
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-03-22 12:51 UTC (permalink / raw)
  To: refpolicy

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-22 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.