Hi all, I once tried designing a default server overriding (see *task #6612*<http://savannah.gnu.org/task/?6612>) mechanism for Hurd. However, it turns to be that a general mechanism seems to be too aggressive for me. So I decide to narrow the range of the task to a small set of specific servers - socket servers - first as some of you suggest.
I list a straightforward approach below. (1) Add a set of new environment variables, e.g. PFINETSERVER for the pf_inet server and PFLOCALSERVER for the pf_local server. (2) Hack *_hurd_socket_server* in Glibc to check for these environment variables. If one of them is set (to a list of overriding server names), try the server names specified by its value prior to the default socket server name, in the order of their appearance in the overriding list until successfully getting a server port. Please provide your opinions. If it makes sense, I would like to have a try on the work once more. Thanks, Wei Shen
_______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd