summaryrefslogtreecommitdiff
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 40bce675b..0ebdc2106 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
120060208
2 - (tim) [session.c] Logout records were not updated on systems with
3 post auth privsep disabled due to bug 1086 changes. Analysis and patch
4 by vinschen at redhat.com. OK tim@, dtucker@.
5
120060206 620060206
2 - (tim) [configure.ac] Remove unnecessary tests for net/if.h and 7 - (tim) [configure.ac] Remove unnecessary tests for net/if.h and
3 netinet/in_systm.h. OK dtucker@. 8 netinet/in_systm.h. OK dtucker@.
@@ -3840,4 +3845,4 @@
3840 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3845 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3841 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3846 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3842 3847
3843$Id: ChangeLog,v 1.4117.2.6 2006/02/05 19:28:11 tim Exp $ 3848$Id: ChangeLog,v 1.4117.2.7 2006/02/07 23:18:54 tim Exp $
diff --git a/session.c b/session.c
index 2bf904404..0cbd5fbb2 100644
--- a/session.c
+++ b/session.c
@@ -2176,7 +2176,6 @@ session_exit_message(Session *s, int status)
2176 2176
2177 /* disconnect channel */ 2177 /* disconnect channel */
2178 debug("session_exit_message: release channel %d", s->chanid); 2178 debug("session_exit_message: release channel %d", s->chanid);
2179 s->pid = 0;
2180 2179
2181 /* 2180 /*
2182 * Adjust cleanup callback attachment to send close messages when 2181 * Adjust cleanup callback attachment to send close messages when
@@ -2238,6 +2237,7 @@ session_close_by_pid(pid_t pid, int status)
2238 session_exit_message(s, status); 2237 session_exit_message(s, status);
2239 if (s->ttyfd != -1) 2238 if (s->ttyfd != -1)
2240 session_pty_cleanup(s); 2239 session_pty_cleanup(s);
2240 s->pid = 0;
2241} 2241}
2242 2242
2243/* 2243/*