Re: [PATCH v3] sysctl: control functionality of /proc/pid/mem

From: Colin Walters
Date: Tue Jan 24 2012 - 12:34:55 EST


On Mon, 2012-01-23 at 13:21 -0800, 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 (default).

Both your git commit and the Documentation/ entry are totally missing a
rationale for this. Why would an admin want to set this on or off?
What replaces it, if anything? What are the tradeoffs with its
replacement? What userspace programs might break when this is toggled?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/