session.c (92559) | session.c (94203) |
---|---|
1/* 2 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * All rights reserved 4 * 5 * As far as I am concerned, the code I have written for this software 6 * can be used freely for any purpose. Any derived versions of this 7 * software must be clearly marked as such, and if the derived work is 8 * incompatible with the protocol description in the RFC file, it must be --- 20 unchanged lines hidden (view full) --- 29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 34 35#include "includes.h" 36RCSID("$OpenBSD: session.c,v 1.128 2002/02/16 00:51:44 markus Exp $"); | 1/* 2 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * All rights reserved 4 * 5 * As far as I am concerned, the code I have written for this software 6 * can be used freely for any purpose. Any derived versions of this 7 * software must be clearly marked as such, and if the derived work is 8 * incompatible with the protocol description in the RFC file, it must be --- 20 unchanged lines hidden (view full) --- 29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 34 35#include "includes.h" 36RCSID("$OpenBSD: session.c,v 1.128 2002/02/16 00:51:44 markus Exp $"); |
37RCSID("$FreeBSD: head/crypto/openssh/session.c 92559 2002-03-18 10:09:43Z des $"); | 37RCSID("$FreeBSD: head/crypto/openssh/session.c 94203 2002-04-08 11:07:51Z ru $"); |
38 39#include "ssh.h" 40#include "ssh1.h" 41#include "ssh2.h" 42#include "xmalloc.h" 43#include "sshpty.h" 44#include "packet.h" 45#include "buffer.h" --- 560 unchanged lines hidden (view full) --- 606 char buf[256]; 607 char hostname[MAXHOSTNAMELEN]; 608 socklen_t fromlen; 609 struct sockaddr_storage from; 610 time_t last_login_time; 611 struct passwd * pw = s->pw; 612 pid_t pid = getpid(); 613#ifdef HAVE_LOGIN_CAP | 38 39#include "ssh.h" 40#include "ssh1.h" 41#include "ssh2.h" 42#include "xmalloc.h" 43#include "sshpty.h" 44#include "packet.h" 45#include "buffer.h" --- 560 unchanged lines hidden (view full) --- 606 char buf[256]; 607 char hostname[MAXHOSTNAMELEN]; 608 socklen_t fromlen; 609 struct sockaddr_storage from; 610 time_t last_login_time; 611 struct passwd * pw = s->pw; 612 pid_t pid = getpid(); 613#ifdef HAVE_LOGIN_CAP |
614 char *fname; | 614 const char *fname; |
615#endif /* HAVE_LOGIN_CAP */ 616#ifdef __FreeBSD__ 617#define DEFAULT_WARN (2L * 7L * 86400L) /* Two weeks */ 618 struct timeval tv; 619 time_t warntime = DEFAULT_WARN; 620#endif /* __FreeBSD__ */ 621 622 /* --- 1269 unchanged lines hidden --- | 615#endif /* HAVE_LOGIN_CAP */ 616#ifdef __FreeBSD__ 617#define DEFAULT_WARN (2L * 7L * 86400L) /* Two weeks */ 618 struct timeval tv; 619 time_t warntime = DEFAULT_WARN; 620#endif /* __FreeBSD__ */ 621 622 /* --- 1269 unchanged lines hidden --- |