On Mon, Jan 06, 2014 at 02:50:33PM +0000, Andreas Gustafsson wrote: > Module Name: src > Committed By: gson > Date: Mon Jan 6 14:50:33 UTC 2014 > > Modified Files: > src/distrib/sets/lists/debug: mi > src/distrib/sets/lists/tests: mi > src/tests/lib/libc/net: Makefile t_hostent.sh > Added Files: > src/tests/lib/libc/net: h_dns_server.c > > Log Message: > Make t_hostent test cases that query the DNS work on systems with no > Internet connectivity, by hijacking DNS queries and /etc/resolv.conf > accesses using librumphijack and providing a minimal DNS server to > answer the queries.
+/* XXX the daemon2_* functions should be in a library */ + +int __deamon2_detach_pipe[2]; + [...] Why not daemon(3)? - Jukka.