aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2010-06-16 03:20:24 -0400
committerJames Morris <jmorris@namei.org>2010-08-02 01:34:31 -0400
commit05336dee9f5a23c042e5938b42f996dd35e31ee6 (patch)
treec5dd4abb5bf15e06b399aa1b1e5db56bd848c762 /security/tomoyo/common.h
parent9ee0c823c18119914283358b35a1c3ebb14c2f90 (diff)
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>
Diffstat (limited to 'security/tomoyo/common.h')
-rw-r--r--security/tomoyo/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index c8ab7553c48c..203454025410 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -880,7 +880,7 @@ int tomoyo_write_memory_quota(struct tomoyo_io_buffer *head);
880 880
881/* Initialize mm related code. */ 881/* Initialize mm related code. */
882void __init tomoyo_mm_init(void); 882void __init tomoyo_mm_init(void);
883int tomoyo_check_exec_perm(struct tomoyo_request_info *r, 883int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation,
884 const struct tomoyo_path_info *filename); 884 const struct tomoyo_path_info *filename);
885int tomoyo_check_open_permission(struct tomoyo_domain_info *domain, 885int tomoyo_check_open_permission(struct tomoyo_domain_info *domain,
886 struct path *path, const int flag); 886 struct path *path, const int flag);