Re: [PATCH] Allow restricting permissions in /proc/sys

From: Theodore Y. Ts'o
Date: Sun Nov 03 2019 - 12:57:02 EST


On Sun, Nov 03, 2019 at 04:55:48PM +0200, Topi Miettinen wrote:
> Several items in /proc/sys need not be accessible to unprivileged
> tasks. Let the system administrator change the permissions, but only
> to more restrictive modes than what the sysctl tables allow.
>
> Signed-off-by: Topi Miettinen <toiwoton@xxxxxxxxx>

Why should restruct the system administrator from changing the
permissions to one which is more lax than what the sysctl tables?

The system administrator is already very much trusted. Why should we
take that discretion away from the system administrator?

- Ted