summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2006-02-07 15:18:54 -0800
committerTim Rice <tim@multitalents.net>2006-02-07 15:18:54 -0800
commitcefc0e9b28624243e3c704684164676acf6befe2 (patch)
tree37050046d3fa0f9ae1adf773f76355312e7cc713
parentf8e2ef1557d84c70abd1a0e360830a85fedf53a4 (diff)
- (tim) [session.c] Logout records were not updated on systems with
post auth privsep disabled due to bug 1086 changes. Analysis and patch by vinschen at redhat.com. OK tim@, dtucker@.
-rw-r--r--ChangeLog7
-rw-r--r--session.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 40bce675..0ebdc210 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+20060208
+ - (tim) [session.c] Logout records were not updated on systems with
+ post auth privsep disabled due to bug 1086 changes. Analysis and patch
+ by vinschen at redhat.com. OK tim@, dtucker@.
+
20060206
- (tim) [configure.ac] Remove unnecessary tests for net/if.h and
netinet/in_systm.h. OK dtucker@.
@@ -3840,4 +3845,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4117.2.6 2006/02/05 19:28:11 tim Exp $
+$Id: ChangeLog,v 1.4117.2.7 2006/02/07 23:18:54 tim Exp $
diff --git a/session.c b/session.c
index 2bf90440..0cbd5fbb 100644
--- a/session.c
+++ b/session.c
@@ -2176,7 +2176,6 @@ session_exit_message(Session *s, int status)
/* disconnect channel */
debug("session_exit_message: release channel %d", s->chanid);
- s->pid = 0;
/*
* Adjust cleanup callback attachment to send close messages when
@@ -2238,6 +2237,7 @@ session_close_by_pid(pid_t pid, int status)
session_exit_message(s, status);
if (s->ttyfd != -1)
session_pty_cleanup(s);
+ s->pid = 0;
}
/*