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:22:51 -0400
committerJames Morris <jmorris@namei.org>2010-08-02 01:34:32 -0400
commit99a852596beb26cc449ca1a79834c107ef4080e1 (patch)
tree8d593b0af85f6cbbfe73b916f7449148ccf93133 /security/tomoyo/common.h
parentcf6e9a6468ec82a94cbc707b607452ec4454182c (diff)
TOMOYO: Use callback for permission check.
We can use callback function since parameters are passed via "const struct tomoyo_request_info". 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index f055e273ec02..36b027460ea6 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -952,6 +952,9 @@ int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size,
952 *, 952 *,
953 const struct tomoyo_acl_head 953 const struct tomoyo_acl_head
954 *)); 954 *));
955void tomoyo_check_acl(struct tomoyo_request_info *r,
956 bool (*check_entry) (const struct tomoyo_request_info *,
957 const struct tomoyo_acl_info *));
955 958
956/********** External variable definitions. **********/ 959/********** External variable definitions. **********/
957 960