All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Refpolicy: Add rawip_socket to the recvfrom MLS constraints
@ 2007-02-28 21:55 Paul Moore
  2007-03-09 13:41 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Moore @ 2007-02-28 21:55 UTC (permalink / raw)
  To: selinux; +Cc: vyekkirala

It was just pointed out to me that the raw IP socket class is missing from the
recvfrom MLS constraint.

Signed-off-by: Paul Moore <paul.moore@hp.com>
---
 policy/mls |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: refpolicy/policy/mls
===================================================================
--- refpolicy.orig/policy/mls
+++ refpolicy/policy/mls
@@ -183,7 +183,7 @@ mlsconstrain { socket tcp_socket udp_soc
 	 ( t1 == mlsnetwrite ));
 
 # used by netlabel to restrict normal domains to same level connections
-mlsconstrain { tcp_socket udp_socket } recvfrom
+mlsconstrain { tcp_socket udp_socket rawip_socket } recvfrom
 	(( l1 eq l2 ) or
 	 (( t1 == mlsnetreadtoclr ) and ( h1 dom l2 )) or
 	 ( t1 == mlsnetread ));

--
paul moore
linux security @ hp


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2007-03-09 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 21:55 [PATCH] Refpolicy: Add rawip_socket to the recvfrom MLS constraints Paul Moore
2007-03-09 13:41 ` 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.