Re: [PATCH 5/7] procfs privacy: /proc/config.gz

From: Rik van Riel
Date: Mon Apr 18 2005 - 14:28:41 EST


On Mon, 18 Apr 2005, Lorenzo Hernández García-Hierro wrote:

> This patch changes the permissions of the procfs entry config.gz, thus,
> non-root users are restricted from accessing it.

Why?

What is the security benefit of doing this ?

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan