aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-02-15 21:24:05 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-23 16:36:49 -0400
commit26ec3c646e75ce7a69fda429d68fcbdcd5eacc62 (patch)
tree5b5e29272fbd9a99111a9042a84522bc06f61219 /fs/proc
parentbd23a539d0733c9f9ec3f9fc628491fad2658e82 (diff)
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')
-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[] = {
3161 REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations), 3161 REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations),
3162#ifdef CONFIG_AUDITSYSCALL 3162#ifdef CONFIG_AUDITSYSCALL
3163 REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations), 3163 REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations),
3164 REG("sessionid", S_IRUSR, proc_sessionid_operations), 3164 REG("sessionid", S_IRUGO, proc_sessionid_operations),
3165#endif 3165#endif
3166#ifdef CONFIG_FAULT_INJECTION 3166#ifdef CONFIG_FAULT_INJECTION
3167 REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations), 3167 REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations),