diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2011-07-08 00:25:53 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-07-10 21:05:34 -0400 |
commit | 97fb35e413f256ded07b88c73b3d932ec31ea84e (patch) | |
tree | d16cb1dcb6d16938aa01c071fdcd1cbbf85b5153 /security/tomoyo/common.h | |
parent | 5b636857fee642694e287e3a181b523b16098c93 (diff) |
TOMOYO: Enable conditional ACL.
Enable conditional ACL by passing object's pointers.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h index 6c013b17779..f7fbaa66e44 100644 --- a/security/tomoyo/common.h +++ b/security/tomoyo/common.h | |||
@@ -836,7 +836,8 @@ int tomoyo_path2_perm(const u8 operation, struct path *path1, | |||
836 | struct path *path2); | 836 | struct path *path2); |
837 | int tomoyo_path_number_perm(const u8 operation, struct path *path, | 837 | int tomoyo_path_number_perm(const u8 operation, struct path *path, |
838 | unsigned long number); | 838 | unsigned long number); |
839 | int tomoyo_path_perm(const u8 operation, struct path *path); | 839 | int tomoyo_path_perm(const u8 operation, struct path *path, |
840 | const char *target); | ||
840 | int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, | 841 | int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, |
841 | const struct tomoyo_path_info *filename); | 842 | const struct tomoyo_path_info *filename); |
842 | int tomoyo_poll_control(struct file *file, poll_table *wait); | 843 | int tomoyo_poll_control(struct file *file, poll_table *wait); |