]> git.baikalelectronics.ru Git - kernel.git/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)
commit8879e7a056ed2c924e72a231af2dc3a6bc116a84
tree1fa2b8fb54b5d5d60318c8659d4574a81b953f88
parent28d81705ae98bb440bc0ec1053029f0ead6873b7
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