summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2008-04-29 15:01:13 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-05-17 03:27:27 -0400
commit6ee650467d5bf972d10441e99688e9b48171f99c (patch)
tree34e851884d9fed7a4a24836b85934c931d8110f5
parentf26a3988917913b3d11b2bd741601a2c64ab9204 (diff)
downloadlinux-exynos-6ee650467d5bf972d10441e99688e9b48171f99c.tar.gz
linux-exynos-6ee650467d5bf972d10441e99688e9b48171f99c.tar.bz2
linux-exynos-6ee650467d5bf972d10441e99688e9b48171f99c.zip
[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>
-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 808cbdc193d3..c447e0743a3c 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),