|
Line
Link Here
|
| 0 |
-- sshd.c |
0 |
++ sshd.c |
|
Lines 313-318
Link Here
|
| 313 |
static void |
313 |
static void |
| 314 |
sighup_restart(void) |
314 |
sighup_restart(void) |
| 315 |
{ |
315 |
{ |
|
|
316 |
int i; |
| 316 |
logit("Received SIGHUP; restarting."); |
317 |
logit("Received SIGHUP; restarting."); |
| 317 |
close_listen_socks(); |
318 |
close_listen_socks(); |
| 318 |
close_startup_pipes(); |
319 |
close_startup_pipes(); |
|
Lines 889-895
Link Here
|
| 889 |
#ifndef HAVE_SETPROCTITLE |
890 |
#ifndef HAVE_SETPROCTITLE |
| 890 |
/* Prepare for later setproctitle emulation */ |
891 |
/* Prepare for later setproctitle emulation */ |
| 891 |
compat_init_setproctitle(ac, av); |
892 |
compat_init_setproctitle(ac, av); |
| 892 |
av = saved_argv; |
893 |
|
|
|
894 |
av = xmalloc(sizeof(*saved_argv) * (saved_argc + 1)); |
| 895 |
for (i = 0; i < saved_argc; i++) |
| 896 |
av[i] = xstrdup(saved_argv[i]); |
| 897 |
av[i] = NULL; |
| 893 |
#endif |
898 |
#endif |
| 894 |
|
899 |
|
| 895 |
/* Initialize configuration options to their default values. */ |
900 |
/* Initialize configuration options to their default values. */ |
| 896 |
|
901 |
|