summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-07-17 17:05:14 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-07-17 17:05:14 +1000
commit0999174755bbc5b50d65bfa95e0b322ffd12337c (patch)
treea0153a329222f784d98f8554ecd8d1d98bce23bd /session.h
parent3ca45082017f0fcaf01b0bf781ae33cf1cc57e27 (diff)
- dtucker@cvs.openbsd.org 2004/07/17 05:31:41
[monitor.c monitor_wrap.c session.c session.h sshd.c sshlogin.c] Move "Last logged in at.." message generation to the monitor, right before recording the new login. Fixes missing lastlog message when /var/log/lastlog is not world-readable and incorrect datestamp when multiple sessions are used (bz #463); much assistance & ok markus@
Diffstat (limited to 'session.h')
-rw-r--r--session.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/session.h b/session.h
index e52506652..48be5070c 100644
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.h,v 1.22 2004/04/27 09:46:37 djm Exp $ */ 1/* $OpenBSD: session.h,v 1.23 2004/07/17 05:31:41 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -39,9 +39,6 @@ struct Session {
39 int ptyfd, ttyfd, ptymaster; 39 int ptyfd, ttyfd, ptymaster;
40 u_int row, col, xpixel, ypixel; 40 u_int row, col, xpixel, ypixel;
41 char tty[TTYSZ]; 41 char tty[TTYSZ];
42 /* last login */
43 char hostname[MAXHOSTNAMELEN];
44 time_t last_login_time;
45 /* X11 */ 42 /* X11 */
46 u_int display_number; 43 u_int display_number;
47 char *display; 44 char *display;