On Wed, 2007-06-20 at 11:11 +0800, Wei Shen wrote: > Hi, > > On 6/20/07, Neal H. Walfield <[EMAIL PROTECTED]> wrote: > > > (1) Add a set of new environment variables, e.g. > PFINETSERVER for the pf_inet server and PFLOCALSERVER for the > pf_local server. > > We should have consistent naming between node names and > environment variables. The default node names > are /servers/socket/{2,pfinet}, etc. Perhaps have > SERVERS_SOCKET_PFINET be the name of the environment variable > to use.
I wonder how you plan to implement this. The library does not use the #define symbol in practice; it uses /servers/socket/%d and fills in %d from the first argument to the socket() call. It seems to me that an implementation which makes assumptions about how people construct names in /servers is unreliable. What about a different strategy, one more "hurdish"? For example, run the program in a pseudo-chroot which overrides the behavior of nodes inside /servers? Thomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd