Re: [PATCH] Make /proc/slabinfo 0400

Dan Rosenberg
2011-03-03T18:30:03Z

>
> Please don't. In reality, it'll just mean that more data collection
> things will have to get done as root, and I'll wear my keyboard out more
> often sudo'ing.
>
> If you really want this on particularly pedantic systems, why not chmod?
>

I believe the vast majority of users do not need the ability to read
this file from an unprivileged login. We should strive for security by
default. As you said, you can simply chmod this file to regain the
access permissions you require for your less common use case.

> -- Dave