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)
commit05336dee9f5a23c042e5938b42f996dd35e31ee6
treec5dd4abb5bf15e06b399aa1b1e5db56bd848c762
parent9ee0c823c18119914283358b35a1c3ebb14c2f90
TOMOYO: Use common code for open and mkdir etc.

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