summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-11-05 12:45:18 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-11-05 12:45:18 +1100
commit44a97be0cc3ede56663b94548806465d2b090461 (patch)
treed6b41c2812b4a6efd78cea3bdf37c2c44e463569 /session.c
parent4db380701d15727e43600e41a567d36177e4226e (diff)
- (dtucker) [platform.c session.c] Move the BSDI setpgrp into platform.c.
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/session.c b/session.c
index 78e7c5f50..0775d78d2 100644
--- a/session.c
+++ b/session.c
@@ -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);