diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-20 18:12:22 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-20 18:23:22 +0100 |
commit | a4054b6b20e9c2cca63715a319759bf8d37d82fc (patch) | |
tree | c7d17dda2b79fbc4faacd88514b01f49c3c05169 /security/tomoyo/tomoyo.c | |
parent | sysctl: Drop & in front of every proc_handler. (diff) | |
download | linux-a4054b6b20e9c2cca63715a319759bf8d37d82fc.tar.xz linux-a4054b6b20e9c2cca63715a319759bf8d37d82fc.zip |
security/tomoyo: Add a special case to handle accesses through the internal proc mount.
With the change of sys_sysctl going through the internal proc mount we no
longer need to handle security_sysctl in tomoyo as we have valid pathnames
for all sysctl accesses. There is one slight caveat to that in that
all of the paths from the internal mount look like
"/sys/net/ipv4/ip_local_port_range" instead of
"/proc/sys/net/ipv4/ip_local_port_range" so tomoyo needs to add the
"/proc" portion manually when resolving to full path names to get what it expects.
This change teaches tomoyo perform that modification.
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'security/tomoyo/tomoyo.c')
0 files changed, 0 insertions, 0 deletions