]> err.no Git - linux-2.6/commit
file capabilities: simplify signal check
authorSerge E. Hallyn <serue@us.ibm.com>
Sat, 23 Feb 2008 23:23:33 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Feb 2008 01:12:13 +0000 (17:12 -0800)
commit094972840f2e7c1c6fc9e1a97d817cc17085378e
tree1fa2b8fb54b5d5d60318c8659d4574a81b953f88
parente5df70ab194543522397fa3da8c8f80564a0f7d3
file capabilities: simplify signal check

Simplify the uid equivalence check in cap_task_kill().  Anyone can kill a
process owned by the same uid.

Without this patch wireshark is reported to fail.

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/commoncap.c