diff options
author | Steve Grubb <sgrubb@redhat.com> | 2008-04-29 15:01:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-17 03:27:27 -0400 |
commit | 6ee650467d5bf972d10441e99688e9b48171f99c (patch) | |
tree | 34e851884d9fed7a4a24836b85934c931d8110f5 /fs | |
parent | f26a3988917913b3d11b2bd741601a2c64ab9204 (diff) | |
download | op-kernel-dev-6ee650467d5bf972d10441e99688e9b48171f99c.zip op-kernel-dev-6ee650467d5bf972d10441e99688e9b48171f99c.tar.gz |
[PATCH] open sessionid permissions
The current permissions on sessionid are a little too restrictive.
Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-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 808cbdc..c447e07 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -2441,7 +2441,7 @@ static const struct pid_entry tgid_base_stuff[] = { REG("oom_adj", S_IRUGO|S_IWUSR, oom_adjust), #ifdef CONFIG_AUDITSYSCALL REG("loginuid", S_IWUSR|S_IRUGO, loginuid), - REG("sessionid", S_IRUSR, sessionid), + REG("sessionid", S_IRUGO, sessionid), #endif #ifdef CONFIG_FAULT_INJECTION REG("make-it-fail", S_IRUGO|S_IWUSR, fault_inject), |