diff options
author | Michael Kerrisk <mtk-lkml@gmx.net> | 2005-09-17 04:28:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-17 20:50:01 +0200 |
commit | 2030c0fd3db3332378f95f479c286181e3920644 (patch) | |
tree | 3e281950e61e4659c0ca2cb04e63aa8d510013b8 /fs/proc/inode.c | |
parent | [PATCH] relayfs documentation typo (diff) | |
download | linux-2030c0fd3db3332378f95f479c286181e3920644.tar.xz linux-2030c0fd3db3332378f95f479c286181e3920644.zip |
[PATCH] PR_GET_DUMPABLE returns incorrect info
2.6.13 incorporated Alan Cox's patch for /proc/sys/fs/suid_dumpable (one
version of this patch can be found here
http://marc.theaimsgroup.com/?l=linux-kernel&m=109647550421014&w=2 ).
This patch also made corresponding changes in kernel/sys.c to change the
prctl() PR_SET_DUMPABLE operation so that the permitted range of 'arg2' was
modified from 0..1 to 0..2.
However, a corresponding change was not made for PR_GET_DUMPABLE: if the
dumpable flag is non-zero, then PR_GET_DUMPABLE always returns 1, so that
the caller can't determine the true setting of this flag.
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/inode.c')
0 files changed, 0 insertions, 0 deletions