diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-20 09:24:19 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-20 09:37:51 -0800 |
commit | c656ae95d1c5c8ed5763356263ace2d03087efec (patch) | |
tree | 41409482c06e8d773a189dcfa8e3351f2a333e1f /security/tomoyo/tomoyo.h | |
parent | a4054b6b20e9c2cca63715a319759bf8d37d82fc (diff) | |
download | op-kernel-dev-c656ae95d1c5c8ed5763356263ace2d03087efec.zip op-kernel-dev-c656ae95d1c5c8ed5763356263ace2d03087efec.tar.gz |
security/tomoyo: Remove now unnecessary handling of security_sysctl.
Now that sys_sysctl is an emulation on top of proc sys all sysctl
operations look like normal filesystem operations and we don't need
to use the special sysctl hook to authenticate them.
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'security/tomoyo/tomoyo.h')
-rw-r--r-- | security/tomoyo/tomoyo.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/tomoyo/tomoyo.h b/security/tomoyo/tomoyo.h index cd6ba0b..ed75832 100644 --- a/security/tomoyo/tomoyo.h +++ b/security/tomoyo/tomoyo.h @@ -18,8 +18,6 @@ struct inode; struct linux_binprm; struct pt_regs; -int tomoyo_check_file_perm(struct tomoyo_domain_info *domain, - const char *filename, const u8 perm); int tomoyo_check_exec_perm(struct tomoyo_domain_info *domain, const struct tomoyo_path_info *filename); int tomoyo_check_open_permission(struct tomoyo_domain_info *domain, |