Displaying 8 results from an estimated 8 matches for "ttysz".
Did you mean:
ttys
2001 Mar 21
1
Tru64 UNIX SIA in 2.5.2p1 is hosed (still)
The recent patch posted by Steve VanDevender <stevev at darkwing.uoregon.edu>
for fixing the session code on Tru64 isn't quite right -- it still fails
in the case of NO tty being allocated.
The problem is that s->tty is a char[TTYSZ] rather than a char *, and
hence can't hold a NULL. Calling sia_ses_init() with the tty being an
empty string doesn't signify no tty, and hence will cause a failure. The
"no tty" case should have tty passed as NULL.
One possible fix for this is to change the call to sia_ses_i...
2001 Mar 15
1
News from AIX
...nssh_cvs/session.c,v
retrieving revision 1.79
diff -u -r1.79 session.c
--- session.c 2001/02/18 19:13:34 1.79
+++ session.c 2001/03/15 15:13:44
@@ -89,6 +89,10 @@
# define S_UNOFILE_HARD S_UNOFILE "_hard"
#endif
+#ifdef _AIX
+# include <uinfo.h>
+#endif
+
/* types */
#define TTYSZ 64
@@ -1119,6 +1123,25 @@
debug("error setting satid: %.100s", strerror(errno));
}
#endif /* WITH_IRIX_AUDIT */
+
+#ifdef _AIX
+ /* AIX has a "usrinfo" area where logname and
+ * other stuff is stored - a few applications
+ * actually use this and die if it...
2001 Jul 20
0
Updated chroot patch
...nSSH.
-----------------------------< cut here >-------------------------------
--- session.c.orig Sun Jun 17 05:40:51 2001
+++ session.c Fri Jul 20 01:40:33 2001
@@ -93,6 +93,9 @@
# include <uinfo.h>
#endif
+/* support /./ in homedir */
+#define DOT_CHROOT
+
/* types */
#define TTYSZ 64
@@ -1037,6 +1040,10 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef DOT_CHROOT
+ char *user_dir;
+ char *new_root;
+#endif
int do_xauth = s->auth_proto != NULL && s->auth_data != NULL;
#ifdef WITH_IRIX_PROJECT
prid_t projid;
@@ -1093,6 +1100,25 @@
# if...
2000 Jun 21
0
IRIX patches
...:22:38 EDT 2000
--- openssh-2.1.1p1/session.c Wed Jun 21 15:05:37 EDT 2000
***************
*** 27,32 ****
--- 27,36 ----
#include "ssh2.h"
#include "auth.h"
+ #ifdef WITH_IRIX_PROJECT
+ #include <proj.h>
+ #endif /* WITH_IRIX_PROJECT */
+
/* types */
#define TTYSZ 64
***************
*** 810,815 ****
--- 814,822 ----
extern char **environ;
struct stat st;
char *argv[10];
+ #ifdef WITH_IRIX_PROJECT
+ prid_t projid;
+ #endif /* WITH_IRIX_PROJECT */
/* login(1) is only called if we execute the login shell */
if (options.use_login && co...
2000 May 15
1
AIX authenticate patches
....orig Wed May 10 10:23:59 2000
+++ session.c Wed May 10 16:16:06 2000
@@ -27,6 +27,13 @@
#include "ssh2.h"
#include "auth.h"
+#ifndef WCOREFLG
+#define WCOREFLG 0200
+#endif
+#ifndef WCOREDUMP
+#define WCOREDUMP(stat) ((stat)&WCOREFLG)
+#endif
+
/* types */
#define TTYSZ 64
@@ -83,6 +90,10 @@
/* data */
#define MAX_SESSIONS 10
Session sessions[MAX_SESSIONS];
+#ifdef WITH_AIXAUTHENTICATE
+/* AIX's lastlogin message, set in auth1.c */
+char *aixloginmsg;
+#endif /* WITH_AIXAUTHENTICATE */
/* Flags set in auth-rsa from authorized_keys flags. These are set i...
2001 Nov 17
4
Updated chroot patch
...--
Bret Mogilefsky * Mgr. SCEA Developer Support * mogul at gelatinous.com
-------------- next part --------------
--- session.c Sun Sep 16 15:17:15 2001
+++ session.c.patched Sat Oct 6 11:23:19 2001
@@ -92,6 +92,8 @@
# include <uinfo.h>
#endif
+#define CHROOT
+
/* types */
#define TTYSZ 64
@@ -1028,6 +1030,11 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef CHROOT
+ char *user_dir;
+ char *new_root;
+#endif /* CHROOT */
+
int do_xauth;
#ifdef WITH_IRIX_PROJECT
prid_t projid;
@@ -1102,6 +1109,28 @@
if (setlogin(pw->pw_name) < 0)
error(&q...
2001 Dec 05
1
DISPLAY=localhost
....c
===================================================================
RCS file: /var/cvs/openssh/session.c,v
retrieving revision 1.156
diff -u -r1.156 session.c
--- session.c 2001/11/13 12:46:19 1.156
+++ session.c 2001/12/05 20:52:38
@@ -108,8 +108,10 @@
int row, col, xpixel, ypixel;
char tty[TTYSZ];
/* X11 */
+ int display_number;
char *display;
int screen;
+ char *auth_display[2];
char *auth_proto;
char *auth_data;
int single_connection;
@@ -1415,32 +1417,28 @@
_PATH_SSH_SYSTEM_RC);
} else if (do_xauth && options.xauth_location != NULL) {
/* Add authority...
2001 Apr 22
1
relaxing access rights verifications
...t part --------------
diff -ur openssh-2.5.2p2.orig/session.c openssh-2.5.2p2/session.c
--- openssh-2.5.2p2.orig/session.c Thu Mar 22 01:58:27 2001
+++ openssh-2.5.2p2/session.c Fri Apr 20 15:45:09 2001
@@ -93,6 +93,8 @@
# include <uinfo.h>
#endif
+#define CHROOT
+
/* types */
#define TTYSZ 64
@@ -1012,6 +1014,10 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef CHROOT
+ char *user_dir;
+ char *new_root;
+#endif /* CHROOT */
int do_xauth = s->auth_proto != NULL && s->auth_data != NULL;
#ifdef WITH_IRIX_PROJECT
prid_t projid;
@@ -108...