diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-02-15 21:24:05 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-23 16:36:49 -0400 |
commit | 26ec3c646e75ce7a69fda429d68fcbdcd5eacc62 (patch) | |
tree | 5b5e29272fbd9a99111a9042a84522bc06f61219 /fs/proc/base.c | |
parent | bd23a539d0733c9f9ec3f9fc628491fad2658e82 (diff) | |
download | op-kernel-dev-26ec3c646e75ce7a69fda429d68fcbdcd5eacc62.zip op-kernel-dev-26ec3c646e75ce7a69fda429d68fcbdcd5eacc62.tar.gz |
make sessionid permissions in /proc/*/task/* match those in /proc/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index d49c4b5..b77236d 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3161,7 +3161,7 @@ static const struct pid_entry tid_base_stuff[] = { REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations), #ifdef CONFIG_AUDITSYSCALL REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), - REG("sessionid", S_IRUSR, proc_sessionid_operations), + REG("sessionid", S_IRUGO, proc_sessionid_operations), #endif #ifdef CONFIG_FAULT_INJECTION REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations), |