diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.233 2002/03/19 10:35:39 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.234 2002/03/19 10:49:35 markus Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -538,7 +538,7 @@ privsep_preauth_child(void) | |||
538 | strerror(errno)); | 538 | strerror(errno)); |
539 | if (chdir("/") == -1) | 539 | if (chdir("/") == -1) |
540 | fatal("chdir(/)"); | 540 | fatal("chdir(/)"); |
541 | 541 | ||
542 | /* Drop our privileges */ | 542 | /* Drop our privileges */ |
543 | setegid(options.unprivileged_group); | 543 | setegid(options.unprivileged_group); |
544 | setgid(options.unprivileged_group); | 544 | setgid(options.unprivileged_group); |
@@ -564,7 +564,7 @@ privsep_postauth(Authctxt *authctxt, pid_t pid) | |||
564 | use_privsep = 0; | 564 | use_privsep = 0; |
565 | return; | 565 | return; |
566 | } | 566 | } |
567 | 567 | ||
568 | /* Authentication complete */ | 568 | /* Authentication complete */ |
569 | alarm(0); | 569 | alarm(0); |
570 | if (startup_pipe != -1) { | 570 | if (startup_pipe != -1) { |
@@ -1376,7 +1376,7 @@ main(int ac, char **av) | |||
1376 | 1376 | ||
1377 | if (!use_privsep) | 1377 | if (!use_privsep) |
1378 | goto skip_privilegeseparation; | 1378 | goto skip_privilegeseparation; |
1379 | 1379 | ||
1380 | /* Set up unprivileged child process to deal with network data */ | 1380 | /* Set up unprivileged child process to deal with network data */ |
1381 | monitor = monitor_init(); | 1381 | monitor = monitor_init(); |
1382 | /* Store a pointer to the kex for later rekeying */ | 1382 | /* Store a pointer to the kex for later rekeying */ |
@@ -1422,7 +1422,7 @@ main(int ac, char **av) | |||
1422 | exit(0); | 1422 | exit(0); |
1423 | 1423 | ||
1424 | authenticated: | 1424 | authenticated: |
1425 | /* | 1425 | /* |
1426 | * In privilege separation, we fork another child and prepare | 1426 | * In privilege separation, we fork another child and prepare |
1427 | * file descriptor passing. | 1427 | * file descriptor passing. |
1428 | */ | 1428 | */ |