[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: |
Fri, 10 Sep 2010 02:31:25 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
On Thu, Sep 09, 2010 at 02:03:28AM +0200, Samuel Thibault wrote:
> Samuel Thibault, le Wed 08 Sep 2010 12:01:12 +0200, a écrit :
> > [...] 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.
>
> Or put another way, I'm really not at ease adding an RPC just for this
> kind of information, because later on we'll probably want some other
> information, and then another, etc.
I'm not sure why you consider this a problem?...
> Ideally getprocinfo should be easily extendable.
Well, we already have a mechanism for making communication protocols in
the Hurd extensible: it's called the RPC mechanism... :-) Let's not try
to invent another generic mechanism on top of RPCs.
*If* ten year down the road we indeed end up with half a dozen
miscallaneous info queries, we can *still* replace them by a new RPC
covering all of it...
Also note that there is precedenct for extending the proc info query by
adding new RPCs.
-antrik-
- [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/07
- Re: [PATCH] Obtain number of ports in proc and libps, olafBuddenhagen, 2010/09/07
- 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/08
- 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, Samuel Thibault, 2010/09/08
- Re: [PATCH] Obtain number of ports in proc and libps,
olafBuddenhagen <=
- 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