TOMOYO: Use common code for open and mkdir etc.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Wed, 16 Jun 2010 07:20:24 +0000 (16:20 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:34:31 +0000 (15:34 +1000)
tomoyo_file_perm() and tomoyo_path_permission() are similar.
We can embed tomoyo_file_perm() into tomoyo_path_permission().

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

Simple merge
Simple merge
Simple merge