aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorGravatar Paul Moore <paul.moore@hp.com> 2009-03-27 17:10:54 -0400
committerGravatar James Morris <jmorris@namei.org> 2009-03-28 15:01:37 +1100
commit07feee8f812f7327a46186f7604df312c8c81962 (patch)
tree73eac643b60532aa82d7680a7de193ba2b62eddd /net/ipv6
parentlsm: Remove the socket_post_accept() hook (diff)
downloadlinux-07feee8f812f.tar.gz
linux-07feee8f812f.tar.bz2
linux-07feee8f812f.zip
netlabel: Cleanup the Smack/NetLabel code to fix incoming TCP connections
This patch cleans up a lot of the Smack network access control code. The largest changes are to fix the labeling of incoming TCP connections in a manner similar to the recent SELinux changes which use the security_inet_conn_request() hook to label the request_sock and let the label move to the child socket via the normal network stack mechanisms. In addition to the incoming TCP connection fixes this patch also removes the smk_labled field from the socket_smack struct as the minor optimization advantage was outweighed by the difficulty in maintaining it's proper state. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions