summaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-02-16 03:24:05 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-23 21:36:49 +0100
commit26ec3c646e75ce7a69fda429d68fcbdcd5eacc62 (patch)
tree5b5e29272fbd9a99111a9042a84522bc06f61219 /fs/proc/base.c
parentfix leaks in path_lookupat() (diff)
downloadlinux-26ec3c646e75ce7a69fda429d68fcbdcd5eacc62.tar.xz
linux-26ec3c646e75ce7a69fda429d68fcbdcd5eacc62.zip
make sessionid permissions in /proc/*/task/* match those in /proc/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--fs/proc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index d49c4b5d2c3e..b77236de6d8f 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),