aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAhmed S. Darwish <[email protected]>2008-02-13 15:03:34 -0800
committerLinus Torvalds <[email protected]>2008-02-13 16:21:20 -0800
commit2e1d146a19f2941aec08f60ca67fb2763baad595 (patch)
tree14831c6332b2d4004a7551354be46526a0c6f426 /net/unix/sysctl_net_unix.c
parentcba44359d15ac7a3bca2c9199b7ff403d7edc69e (diff)
Smack: check for 'struct socket' with NULL sk
There's a small problem with smack and NFS. A similar report was also sent here: http://lkml.org/lkml/2007/10/27/85 I've also added similar checks in inode_{get/set}security(). Cheating from SELinux post_create_socket(), it does the same. [[email protected]: remove uneeded BUG_ON()] Signed-off-by: Ahmed S. Darwish <[email protected]> Acked-by: Casey Schaufler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions