Messages in this thread | | | Date | Sat, 21 Jan 2012 10:27:37 -0800 | From | Randy Dunlap <> | Subject | Re: [PATCH v2] sysctl: control functionality of /proc/pid/mem |
| |
On 01/21/2012 01:06 AM, Kees Cook wrote: > Add the "proc_pid_mem" sysctl to control whether or not /proc/pid/mem is > allowed to work: 0: disabled, 1: read only, 2: read/write.
Maybe mention that the default is 2 (or did you mean to change that sooner or later?).
> Signed-off-by: Kees Cook <keescook@chromium.org> > --- > Documentation/sysctl/kernel.txt | 14 ++++++++++++++ > fs/proc/base.c | 14 +++++++++++++- > kernel/sysctl.c | 14 ++++++++++++++ > 3 files changed, 41 insertions(+), 1 deletions(-)
-- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
| |