]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: Return correct context for SO_PEERSEC
authorVenkat Yekkirala <vyekkirala@trustedcs.com>
Wed, 8 Nov 2006 23:04:09 +0000 (17:04 -0600)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:21:33 +0000 (21:21 -0800)
commit93457ed136455224fde6ab268cda94d823648b92
treec0a60dc90578fa9f16d4496e2700bc285eab47c0
parent33fd1b6b101a76e0bb597315e87ee5375859590a
SELinux: Return correct context for SO_PEERSEC

Fix SO_PEERSEC for tcp sockets to return the security context of
the peer (as represented by the SA from the peer) as opposed to the
SA used by the local/source socket.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h
include/net/request_sock.h
net/ipv4/tcp_input.c
security/dummy.c
security/selinux/hooks.c
security/selinux/include/xfrm.h
security/selinux/xfrm.c