Files
linux/net
Venkat Yekkirala 67f83cbf08 SELinux: Fix SA selection semantics
Fix the selection of an SA for an outgoing packet to be at the same
context as the originating socket/flow. This eliminates the SELinux
policy's ability to use/sendto SAs with contexts other than the socket's.

With this patch applied, the SELinux policy will require one or more of the
following for a socket to be able to communicate with/without SAs:

1. To enable a socket to communicate without using labeled-IPSec SAs:

allow socket_t unlabeled_t:association { sendto recvfrom }

2. To enable a socket to communicate with labeled-IPSec SAs:

allow socket_t self:association { sendto };
allow socket_t peer_sa_t:association { recvfrom };

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Signed-off-by: James Morris <jmorris@namei.org>
2006-12-02 21:21:34 -08:00
..
2006-09-28 17:53:59 -07:00
2006-10-21 19:55:22 -07:00
2006-11-07 15:10:17 -08:00
2006-09-28 18:02:58 -07:00
2006-12-02 21:21:26 -08:00
2006-11-05 14:11:25 -08:00
2006-11-21 17:33:01 -08:00
2006-12-02 21:21:18 -08:00
2006-08-05 21:15:58 -07:00
2006-12-02 21:21:23 -08:00
2006-11-05 16:44:06 -08:00
2006-10-30 15:24:41 -08:00
2006-12-02 21:21:24 -08:00
2006-07-12 13:58:59 -07:00
2006-10-01 00:39:19 -07:00
2006-12-02 21:21:16 -08:00
2006-12-02 21:21:08 -08:00
2006-11-30 05:24:39 +01:00
2006-12-02 21:21:34 -08:00
2006-11-05 16:44:06 -08:00
2006-09-22 14:53:34 -07:00
2005-04-16 15:20:36 -07:00