Paul Moore 14a72f53fb [NetLabel]: correct improper handling of non-NetLabel peer contexts
Fix a problem where NetLabel would always set the value of 
sk_security_struct->peer_sid in selinux_netlbl_sock_graft() to the context of
the socket, causing problems when users would query the context of the
connection.  This patch fixes this so that the value in
sk_security_struct->peer_sid is only set when the connection is NetLabel based,
otherwise the value is untouched.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-25 15:52:01 -07:00
..
2006-09-21 08:54:44 +01:00
2006-09-21 08:51:43 +01:00
2006-09-21 08:41:35 +01:00
2006-09-21 08:36:50 +01:00
2006-09-21 08:37:10 +01:00
2006-09-21 08:55:28 +01:00
2006-09-21 09:05:25 +01:00
2006-09-22 15:22:55 -07:00