Re: [PATCH 2/7] procfs privacy: tasks/processes lookup

From: Rik van Riel
Date: Mon Apr 18 2005 - 14:27:03 EST


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

> This patch restricts non-root users to view only their own processes.

This looks like a very bad default to me!

Your patch would force people to run system monitoring
applications as root, because otherwise they cannot get
some of the information they can get now. Forcing that
these applications run with root rights is a security
risk, not a benefit...

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