projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26a398
)
[PATCH] open sessionid permissions
author
Steve Grubb
<sgrubb@redhat.com>
Tue, 29 Apr 2008 19:01:13 +0000
(15:01 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 17 May 2008 07:27:27 +0000
(
03:27
-0400)
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>
fs/proc/base.c
patch
|
blob
|
history
diff --git
a/fs/proc/base.c
b/fs/proc/base.c
index 808cbdc193d309572c68b03d1b81b318511a4efc..c447e0743a3c95e231bc0e9f98a33d474c2e86bb 100644
(file)
--- 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_IRU
SR
, sessionid),
+ REG("sessionid", S_IRU
GO
, sessionid),
#endif
#ifdef CONFIG_FAULT_INJECTION
REG("make-it-fail", S_IRUGO|S_IWUSR, fault_inject),