]> git.baikalelectronics.ru Git - kernel.git/commit
fix logic error in ipc compat semctl()
authorAlexander Graf <agraf@suse.de>
Fri, 6 Jul 2007 09:39:53 +0000 (02:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 6 Jul 2007 17:23:43 +0000 (10:23 -0700)
commit39fd5a583d53949f665b610992d6b0dfe8d95b81
treec08ddbb512ae9da4c26866515de8f335d7505e35
parent975ada3fd7bc8821b266fc49a7613ff3810b9cff
fix logic error in ipc compat semctl()

When calling a semctl(IPC_STAT) without IPC_64 the check if the memory is
unevaluated.  This patch fixes this.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/compat.c