bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Obtain number of ports in proc and libps


From: olafBuddenhagen
Subject: Re: [PATCH] Obtain number of ports in proc and libps
Date: Thu, 9 Sep 2010 01:38:36 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Wed, Sep 08, 2010 at 12:01:12PM +0200, Samuel Thibault wrote:
> olafBuddenhagen@gmx.net, le Wed 08 Sep 2010 01:38:25 +0200, a écrit :

> > - portinfo is privileged.
> 
> Err, for other processes, yes, but for one's own processes,no.
> 
> > The information available from proc through libps OTOH can be
> > accessed by every user.
> 
> Which might be questionable actually.  I know it's just the number of
> ports, nothing more, but it seems odd to me to add an interface just
> for this small part of information which you can fetch yourself for
> your own processes.

Well, there are some merits to such a like of thinking, as Shapiro could
tell you. (OMG confinement...)

However, here we are talking about a UNIX-like system, where all the
other process information is already considered public (which is why
proc provides such functionality in the first place) -- and to me it
seems best to be consistent here...

-antrik-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]