Re: [PATCH] Make /proc/slabinfo 0400

From: Dan Rosenberg
Date: Thu Mar 03 2011 - 13:30:10 EST



>
> 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


--
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/