]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix error checking in IPC_SET
authorAndi Kleen <ak@suse.de>
Mon, 26 Jan 2004 00:52:24 +0000 (16:52 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 26 Jan 2004 00:52:24 +0000 (16:52 -0800)
commite67eee8619c521eee00cd6c8e2b984b304d831a1
tree686c03b2aac80801bad19dcc640f200a704216eb
parent76c403c4f23900a937fe72a3ef5ce25d7f561689
[PATCH] Fix error checking in IPC_SET

The LSM changes broke the error checking for queue lengths in IPC_SET. The LSM check would
set set err to 0, but the next check expected it to still be -EPERM. Result was that
no error was reported, but the new parameters weren't correctly set.
ipc/msg.c