1 $DragonFly: src/secure/usr.sbin/sshd/Attic/sshd.c.patch,v 1.3 2006/09/28 18:42:50 corecode Exp $
2 --- sshd.c 2006-09-17 06:04:46.000000000 +0200
3 +++ sshd.c 2006-09-28 19:58:34.000000000 +0200
15 @@ -1630,6 +1634,17 @@
16 /* This is the child processing a new connection. */
17 setproctitle("%s", "[accepted]");
21 + * Initialize the resolver. This may not happen automatically
22 + * before privsep chroot().
24 + if ((_res.options & RES_INIT) == 0) {
25 + debug("res_init()");
31 * Create a new session and process group since the 4.4BSD
32 * setlogin() affects the entire process group. We don't