summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2008-02-14 02:03:34 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 03:21:20 +0300
commit2e1d146a19f2941aec08f60ca67fb2763baad595 (patch)
tree14831c6332b2d4004a7551354be46526a0c6f426 /samples
parentcba44359d15ac7a3bca2c9199b7ff403d7edc69e (diff)
downloadlinux-2e1d146a19f2941aec08f60ca67fb2763baad595.tar.xz
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. [akpm@linux-foundation.org: remove uneeded BUG_ON()] Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Acked-by: Casey Schaufler <casey@schuafler-ca.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions