All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/1] Support LDAPS for nsswitch-related network activity
@ 2011-08-23 11:29 Sven Vermeulen
  2011-08-24 13:39 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-08-23 11:29 UTC (permalink / raw)
  To: refpolicy

Systems that use LDAPS (LDAP over SSL/TLS) for their sysnet_* activities
currently fail since these domains do not allow proper access to the random
devices (needed for SSL/TLS). This patch adds this privilege to
sysnet_use_ldap.

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
 policy/modules/system/sysnetwork.if |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if
index ff80d0a..4c87a08 100644
--- a/policy/modules/system/sysnetwork.if
+++ b/policy/modules/system/sysnetwork.if
@@ -698,6 +698,10 @@ interface(`sysnet_use_ldap',`
 	corenet_sendrecv_ldap_client_packets($1)
 
 	sysnet_read_config($1)
+
+	# Support for LDAPS
+	dev_read_rand($1)
+	dev_read_urand($1)
 ')
 
 ########################################
-- 
1.7.3.4

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

* [refpolicy] [PATCH 1/1] Support LDAPS for nsswitch-related network activity
  2011-08-23 11:29 [refpolicy] [PATCH 1/1] Support LDAPS for nsswitch-related network activity Sven Vermeulen
@ 2011-08-24 13:39 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-08-24 13:39 UTC (permalink / raw)
  To: refpolicy

On 08/23/11 07:29, Sven Vermeulen wrote:
> Systems that use LDAPS (LDAP over SSL/TLS) for their sysnet_* activities
> currently fail since these domains do not allow proper access to the random
> devices (needed for SSL/TLS). This patch adds this privilege to
> sysnet_use_ldap.
> 
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
>  policy/modules/system/sysnetwork.if |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if
> index ff80d0a..4c87a08 100644
> --- a/policy/modules/system/sysnetwork.if
> +++ b/policy/modules/system/sysnetwork.if
> @@ -698,6 +698,10 @@ interface(`sysnet_use_ldap',`
>  	corenet_sendrecv_ldap_client_packets($1)
>  
>  	sysnet_read_config($1)
> +
> +	# Support for LDAPS
> +	dev_read_rand($1)
> +	dev_read_urand($1)
>  ')
>  
>  ########################################

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-08-24 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 11:29 [refpolicy] [PATCH 1/1] Support LDAPS for nsswitch-related network activity Sven Vermeulen
2011-08-24 13:39 ` 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.