diff options
author | Tim Rice <tim@multitalents.net> | 2006-02-07 15:18:54 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2006-02-07 15:18:54 -0800 |
commit | cefc0e9b28624243e3c704684164676acf6befe2 (patch) | |
tree | 37050046d3fa0f9ae1adf773f76355312e7cc713 | |
parent | f8e2ef1557d84c70abd1a0e360830a85fedf53a4 (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-- | ChangeLog | 7 | ||||
-rw-r--r-- | session.c | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -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 $ @@ -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; } /* |