summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2008-03-20 00:00:51 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-20 01:53:36 (GMT)
commit1d252fb870aa9cd227c4beb1a226ecd434f57f28 (patch)
tree4a7b956c01487454b139e1df271518f36ca32285 /README
parent4ebf89845bea44a164d1fbb8fa319379ec7132de (diff)
downloadlinux-1d252fb870aa9cd227c4beb1a226ecd434f57f28.tar.xz
smack: do not dereference NULL ipc object
In the SYSV ipc msgctl(),semctl(),shmctl() family, if the user passed *_INFO as the desired operation, no specific object is meant to be controlled and only system-wide information is returned. This leads to a NULL IPC object in the LSM hooks if the _INFO flag is given. Avoid dereferencing this NULL pointer in Smack ipc *ctl() methods. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions