]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] selinux: change file_alloc_security to use GFP_KERNEL
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 1 Feb 2006 11:05:55 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:18 +0000 (08:53 -0800)
commit8acd95d39becb80f622d03ce2009d59863cfdc93
tree3f27383674706bd535bc67c703827db8ecd5a1dc
parentc89738c0675388162b5cfd017bbb1bce0b7cef91
[PATCH] selinux: change file_alloc_security to use GFP_KERNEL

This patch changes the SELinux file_alloc_security function to use
GFP_KERNEL rather than GFP_ATOMIC; the use of GFP_ATOMIC appears to be a
remnant of when this function was being called with the files_lock spinlock
held, and is no longer necessary.  Please apply.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c