diff options
author | Andi Kleen <ak@linux.intel.com> | 2011-04-22 02:23:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-23 01:17:29 +0200 |
commit | 8c9e80ed276fc4b9c9fadf29d8bf6b3576112f1a (patch) | |
tree | 7595dd217545593675d40f85cfb11d69697a8300 /Makefile | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiw... (diff) | |
download | linux-8c9e80ed276fc4b9c9fadf29d8bf6b3576112f1a.tar.xz linux-8c9e80ed276fc4b9c9fadf29d8bf6b3576112f1a.zip |
SECURITY: Move exec_permission RCU checks into security modules
Right now all RCU walks fall back to reference walk when CONFIG_SECURITY
is enabled, even though just the standard capability module is active.
This is because security_inode_exec_permission unconditionally fails
RCU walks.
Move this decision to the low level security module. This requires
passing the RCU flags down the security hook. This way at least
the capability module and a few easy cases in selinux/smack work
with RCU walks with CONFIG_SECURITY=y
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions