]> err.no Git - linux-2.6/commit
security: filesystem capabilities: fix fragile setuid fixup code
authorAndrew G. Morgan <morgan@kernel.org>
Fri, 4 Jul 2008 16:59:58 +0000 (09:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jul 2008 17:40:08 +0000 (10:40 -0700)
commit086f7316f0d400806d76323beefae996bb3849b1
tree679405a89b7f8c7a75d3896e43c837b5a5115d7b
parentabbaeff38c00cb7f6817ec1cef406b27081ebedd
security: filesystem capabilities: fix fragile setuid fixup code

This commit includes a bugfix for the fragile setuid fixup code in the
case that filesystem capabilities are supported (in access()).  The effect
of this fix is gated on filesystem capability support because changing
securebits is only supported when filesystem capabilities support is
configured.)

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/open.c
include/linux/capability.h
include/linux/securebits.h
kernel/capability.c