Print this page
OS-2204 SunSSH has a maximum of 10 multiplexed sessions
*** 23,32 ****
--- 23,37 ----
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+ /*
+ * Copyright (c) 2013, Joyent, Inc. All rights reserved.
+ */
+
+ #include "sys-queue.h"
#ifndef _SESSION_H
#define _SESSION_H
#ifdef __cplusplus
*** 35,45 ****
/* $OpenBSD: session.h,v 1.19 2002/06/30 21:59:45 deraadt Exp $ */
#define TTYSZ 64
typedef struct Session Session;
struct Session {
! int used;
int self;
struct passwd *pw;
Authctxt *authctxt;
pid_t pid;
/* tty */
--- 40,50 ----
/* $OpenBSD: session.h,v 1.19 2002/06/30 21:59:45 deraadt Exp $ */
#define TTYSZ 64
typedef struct Session Session;
struct Session {
! LIST_ENTRY(Session) list_entry;
int self;
struct passwd *pw;
Authctxt *authctxt;
pid_t pid;
/* tty */