diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 12:45:18 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 12:45:18 +1100 |
commit | 44a97be0cc3ede56663b94548806465d2b090461 (patch) | |
tree | d6b41c2812b4a6efd78cea3bdf37c2c44e463569 /session.c | |
parent | 4db380701d15727e43600e41a567d36177e4226e (diff) |
- (dtucker) [platform.c session.c] Move the BSDI setpgrp into platform.c.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1476,9 +1476,6 @@ do_setusercontext(struct passwd *pw) | |||
1476 | #endif /* HAVE_CYGWIN */ | 1476 | #endif /* HAVE_CYGWIN */ |
1477 | { | 1477 | { |
1478 | #ifdef HAVE_LOGIN_CAP | 1478 | #ifdef HAVE_LOGIN_CAP |
1479 | # ifdef __bsdi__ | ||
1480 | setpgid(0, 0); | ||
1481 | # endif | ||
1482 | # ifdef USE_PAM | 1479 | # ifdef USE_PAM |
1483 | if (options.use_pam) { | 1480 | if (options.use_pam) { |
1484 | do_pam_setcred(use_privsep); | 1481 | do_pam_setcred(use_privsep); |