summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-05-21 17:50:21 +0000
committerKevin Steves <stevesk@pobox.com>2002-05-21 17:50:21 +0000
commitc5041acef392b489d11cbb1793f72f01acc229b8 (patch)
treeaa81e32d6331a715bc181ce47c63fc4f6fa30e46
parent9de793cc6c83a2e116dd73530bb4020e4b40d9d5 (diff)
- (stevesk) [sshd.c] bug 245; disable setsid() for now
-rw-r--r--ChangeLog5
-rw-r--r--sshd.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b0593e146..330843618 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120020521
2 - (stevesk) [sshd.c] bug 245; disable setsid() for now
3
120020517 420020517
2 - (tim) [configure.ac] remove extra MD5_MSG="no" line. 5 - (tim) [configure.ac] remove extra MD5_MSG="no" line.
3 6
@@ -656,4 +659,4 @@
656 - (stevesk) entropy.c: typo in debug message 659 - (stevesk) entropy.c: typo in debug message
657 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 660 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
658 661
659$Id: ChangeLog,v 1.2135 2002/05/17 15:59:22 tim Exp $ 662$Id: ChangeLog,v 1.2136 2002/05/21 17:50:21 stevesk Exp $
diff --git a/sshd.c b/sshd.c
index 45ccb3d47..82520b8b0 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1336,8 +1336,11 @@ main(int ac, char **av)
1336 * setlogin() affects the entire process group. We don't 1336 * setlogin() affects the entire process group. We don't
1337 * want the child to be able to affect the parent. 1337 * want the child to be able to affect the parent.
1338 */ 1338 */
1339#if 0
1340 /* XXX: this breaks Solaris */
1339 if (setsid() < 0) 1341 if (setsid() < 0)
1340 error("setsid: %.100s", strerror(errno)); 1342 error("setsid: %.100s", strerror(errno));
1343#endif
1341 1344
1342 /* 1345 /*
1343 * Disable the key regeneration alarm. We will not regenerate the 1346 * Disable the key regeneration alarm. We will not regenerate the