TOMOYO: Use GFP_NOFS rather than GFP_KERNEL.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Wed, 28 Apr 2010 05:17:42 +0000 (14:17 +0900)
committerJames Morris <jmorris@namei.org>
Wed, 5 May 2010 14:50:43 +0000 (00:50 +1000)
commit4e5d6f7ec3833c0da9cf34fa5c53c6058c5908b6
tree5c0db5bfcdcb1b07594f20054cc6eefe05161c9a
parenta674fa46c79ffa37995bd1c8e4daa2b3be5a95ae
TOMOYO: Use GFP_NOFS rather than GFP_KERNEL.

In Ubuntu, security_path_*() hooks are exported to Unionfs. Thus, prepare for
being called from inside VFS functions because I'm not sure whether it is safe
to use GFP_KERNEL or not.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c
security/tomoyo/domain.c
security/tomoyo/file.c
security/tomoyo/realpath.c