[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Obtain number of ports in proc and libps
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Obtain number of ports in proc and libps |
Date: |
Thu, 9 Sep 2010 01:55:48 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
olafBuddenhagen@gmx.net, le Thu 09 Sep 2010 01:38:36 +0200, a écrit :
> 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...
Err, unices tend to avoid exposing too much information about other
processes. Quite a few files of /proc/self are o-r on Linux for
instance.
Samuel
- [PATCH] Obtain number of ports in proc and libps, olafBuddenhagen, 2010/09/06
- Re: [PATCH] Obtain number of ports in proc and libps, Samuel Thibault, 2010/09/08
- Re: [PATCH] Obtain number of ports in proc and libps, olafBuddenhagen, 2010/09/09
- Re: [PATCH] Obtain number of ports in proc and libps, Samuel Thibault, 2010/09/10
- Re: [PATCH] Obtain number of ports in proc and libps, olafBuddenhagen, 2010/09/15
- Re: [PATCH] Obtain number of ports in proc and libps, Samuel Thibault, 2010/09/18
Re: [PATCH] Obtain number of ports in proc and libps, Samuel Thibault, 2010/09/18