Displaying 20 results from an estimated 20 matches for "have_dev_ptmx".
1999 Dec 09
1
openssh-1.2pre16 patch to pty.c for Solaris 2.6
Greetings,
While attempting to build openssh for Solaris 2.6, I ran into a minor
problem that should probably be corrected in the next release of
openssh. The file pty.c does not #include <stropts.h> to define I_PUSH
even though I_PUSH is used when HAVE_DEV_PTMX is defined.
Platform:
SunOS test01 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-60
Using:
zlib 1.1.3 http://www.cdrom.com/pub/infozip/zlib/zlib-1.1.3.tar.gz
rsaref2.0 (plus patch from bugtraq digest 30-Nov-1999)
ftp://ftp.funet.fi/pub/unix/security/login/ssh/rsaref2.tar.gz
openssl 0.9.4 ft...
2000 Jan 07
1
Slackware 4.0: wtmp and pty.c problems
...rom integer without a cast
pty.c:122: `I_PUSH' undeclared (first use this function)
pty.c:122: (Each undeclared identifier is reported only once
pty.c:122: for each function it appears in.)
make: *** [pty.o] Error 1
If I then edit pty.c and add a line after the test, unconditionally
undefining HAVE_DEV_PTMX like this:
/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */
#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
#undef HAVE_DEV_PTMX
#endif
#undef HAVE_DEV_PTMX
Then everything compiles, installs and functions ALMOST normally.
However, /var/log/wtmp is NOT updated.
Login m...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...g_control
+#error "msg_control is a macro"
exit(1);
#endif
struct msghdr m;
@@ -1860,20 +1874,17 @@
if test -z "$no_dev_ptmx" ; then
if test "x$disable_ptmx_check" != "xyes" ; then
-
AC_CHECK_FILE("/dev/ptmx",
-
[
-
AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)
-
have_dev_ptmx=1
-
]
-
)
+
if test -f "/dev/ptc" ; then
+
AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)
+
have_dev_ptmx=1
+
fi
fi
fi
-AC_CHECK_FILE("/dev/ptc",
-
[
-
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
-
have_dev_ptc=1
-
]
-)
+
+if test -f "/dev/ptc" ; the...
2001 Mar 14
3
OpenSSH 2.3.0p1: HP-UX 11.00 64-bit
I have encountered a problem with using OpenSSH 2.3.0p1 on 64-bit HP-UX
11.00 systems. This bug does not exhibit itself on any 32-bit HP-UX
11.00 or HP-UX 10.20 systems that I have built 2.3.0p1 on. OpenSSH
2.3.0p1 was built with HPs ANSI C compiler with OpenSSL 0.9.6 and zlib
1.1.3.
The problem is with the call to vhangup(2) in sshd when interactive
sessions are started. The problem does not
2002 Mar 25
0
[Bug 184] New: 3.1p1 openssh fails to build a working sshd on Trusted HP-UX 10.26
...t -lsec -lsecpw"
+ disable_ptmx_check=yes
+ ;;
*-*-hpux10*)
if test -z "$GCC"; then
CFLAGS="$CFLAGS -Ae"
***************
*** 1769,1780 ****
fi
if test -z "$no_dev_ptmx" ; then
! AC_CHECK_FILE("/dev/ptmx",
! [
! AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)
! have_dev_ptmx=1
! ]
! )
fi
AC_CHECK_FILE("/dev/ptc",
[
--- 1784,1797 ----
fi
if test -z "$no_dev_ptmx" ; then
! if test "x$disable_ptmx_check" != "xyes" ; then
! AC_CHECK_FILE("/dev/ptmx",
! [
! AC_DEFINE_UNQUOTED(...
2000 Jun 12
1
Openssh on SCO Openserver Release 5
...tics and therefore cannot become the controlling
> tty of a process group. The slave side of the connection does have the
> characteristics of a real tty and can become the controlling tty of a
> process group.
> <<<
>
> I changed the config.h line
> #define HAVE_DEV_PTMX 1
> to contain the following
> /* #define HAVE_DEV_PTMX 1 */
> fixes this. I think the correct approach is to fix configure.in to include
> a line for SCO similar to the line for linux --but installing autoconf on
> this box doesn't seem like fun at the moment, especially si...
2000 Jun 15
1
SCO OpenServer 5.0.5, issues with MAXPATHLEN and tty devices
...it to be defined in /usr/include/sys/fs/dtfilsys.h but I
am not sure if including this file is the correct thing to do
or not. I got around this by simply defining it as 1024 in
defines.h.
The second problem is related the tty devices chosen by the
sshd when initiating a new connection:
If HAVE_DEV_PTMX is defined, code in pty.c (function pty_alloc) is
used that seems to be designed for Solaris 2.X. The header above the
code is
/*
* This code is used e.g. on Solaris 2.x. (Note that Solaris 2.3
* also has bsd-style ptys, but they simply do not work.)
*/
It tries to use device names like /dev...
2000 Jul 20
0
SCO help
...or refused to allocate a pseudo tty.
stty: tcgetattr failed: Bad address (error 14)
I have upped the pseudo ttys in the kernel and relinked but I still get
this error.
Could this have something to do with the fact that I have a /dev/ptmx but
no /dev/pts ?? I looked through the config.h and found HAVE_DEV_PTMX
commented.
/* #undef HAVE_DEV_PTMX */
I also noticed SCO uses /dev/ttyp?? for pseudo ttys
Any help would be greatly appreciated.
Sam
2008 Apr 15
0
Compilation of openssh on IRIX
...changed all the occurrences of the string "sys/stropts.h" to a
straight "stropts.h"
Something like this, I mean:
*** bsd-openpty.c Mon Apr 14 09:06:12 2008
--- bsd-openpty.c.orig Mon Apr 14 09:06:50 2008
***************
*** 58,64 ****
# include <pty.h>
#endif
#if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H)
! # include <stropts.h>
#endif
#include <signal.h>
--- 58,64 ----
# include <pty.h>
#endif
#if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H)
! # include <sys/stropts.h>
#endif
#include <signal.h>
"configu...
2002 May 09
4
make distprep broken?
Hello All,
Doing a make distprep doesn't seem to work anymore:
$ make -f Makefile.in distprep
make: @SH@: Command not found
make: *** [catman-do] Error 127
I've seen this on AIX & Redhat (gnu make) and Solaris (native make). I
suspect this occurs on most platforms. Is this still the recommended way
of autoreconf'ing CVS releases for building?
-Daz.
2000 May 19
2
Solved: on Solaris, "couldn't wait for child '...' completion: No child processes"
> John Horne [SMTP:J.Horne at plymouth.ac.uk] wrote:
>
> Emanuel Borsboom <emanuel at heatdeath.org> wrote:
>> Trying to install the portable OpenSSH on Solaris 2.6. Compiling from
>> openssh-2.1.0.tar.gz using gcc. Compiles and installs fine. sshd
>> starts fine. First connection from another system works. Child sshd is
>> forked, but the parent dies
2001 Jan 07
0
Linux glibc 2.1 openpty() and /dev/ptmx
...e in my tests, done
on a Debian "potato" system.
Are there any known problems with using /dev/ptmx instead of openpty()
if both interfaces are available? Currently the former is completely
disabled for Linux by configure, and even if it isn't, if HAVE_OPENPTY
is defined, this causes HAVE_DEV_PTMX to be undefined. Why? (There is
a comment saying that pty allocated with _getpty gets broken, but that
is no problem in this case, as the pty is allocated by opening /dev/ptmx
and not _getpty.)
One more (minor) thing I noticed: the tests for no_libsocket and no_libnsl
in configure.in are swapped...
2001 Jan 31
1
PTY
environment
1)compiler: cc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
2)openssh: CVS from 31 jan 2001
3)libc: GNU libc 2.2.1
output form make pty.o is:
#make pty.o
gcc -g -O2 -Wall -I/usr/local/ssl/include -I. -I. -DETCDIR=\"/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
2002 Jun 28
0
[Bug 317] New: add header so ptty functions are found
...-dev at mindrot.org
ReportedBy: dirk.meyer at dinoex.sub.org
--- sshpty.c.orig Wed Jun 26 01:21:42 2002
+++ sshpty.c Fri Jun 28 07:09:38 2002
@@ -30,6 +30,9 @@
#ifdef HAVE_PTY_H
# include <pty.h>
#endif
+#ifdef __FreeBSD__
+#include <libutil.h>
+#endif
#if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H)
# include <sys/stropts.h>
#endif
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2002 Oct 21
1
[Bug 315] add missing includes and defines for FREEBSD
...winp));
In openssh.3.5 this funtions have beenn moved to: sshpty.c
--- sshpty.c.orig Wed Jun 26 01:21:42 2002
+++ sshpty.c Fri Jun 28 07:09:38 2002
@@ -30,6 +30,9 @@
#ifdef HAVE_PTY_H
# include <pty.h>
#endif
+#ifdef HAVE_LIBUTIL_H
+#include <libutil.h>
+#endif
#if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H)
# include <sys/stropts.h>
#endif
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2002 Sep 11
1
tru64 sia: move call of session_setup_sia() to do_setusercontext(), letting grantpty() and friends handle pty perms
...e audit subsystem, the link between a tty and
successive processes may be lost in the audit records. But I do
extensive auditing, and ptys seem to be pretty much useless in audit
trails; it's the process tree that is most useful.
- Tru64 5.0x has the /dev/ptmx device, so the HAVE_DEV_PTMX logic can be
used to access grantpty() in sshpty.c. But OS versions prior to 5.0x do
not have /dev/ptmx, although they *DO HAVE* grantpty. So appropriate
changes and testing will have to be done for earlier versions to see
that grantpty() and all the terminal setup gets done a...
1999 Dec 29
1
Patch to use Dante socks library
...t is system library path)],
+ [
+ AC_DEFINE(HAVE_DANTE)
+ if test "x$withval" != "xno" ; then
+ if test -n $withval ; then
+ LIBS="$LIBS -L$withval"
+ fi
+ LIBS="$LIBS -lsocks"
+ fi
+ ]
+)
AC_CHECK_FILE("/dev/ptmx", AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX))
AC_CHECK_FILE("/dev/ptc", AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC))
$NetBSD$
--- acconfig.h.orig Mon Dec 27 23:09:36 1999
+++ acconfig.h Wed Dec 29 08:57:46 1999
@@ -24,6 +24,9 @@
/* Are we using the Entropy gathering daemon */
#undef HAVE_EGD
+/* Define if using the Dante SOCKS l...
1999 Dec 21
0
Problem with UTMP recording
...D5_PASSWORDS */
/* Define if you have an old version of PAM which takes only one argument */
/* to pam_strerror */
#define HAVE_OLD_PAM 1
/* Data types */
/* #undef HAVE_QUAD_T */
#define HAVE_INTXX_T 1
#define HAVE_U_INTXX_T 1
#define HAVE_UINTXX_T 1
/* Define if you have /dev/ptmx */
/* #undef HAVE_DEV_PTMX */
/* Define if you have /dev/ptc */
/* #undef HAVE_DEV_PTS_AND_PTC */
/* Path to xauth binary */
#define XAUTH_PATH "/usr/X11R6/bin/xauth"
/* The number of bytes in a int. */
#define SIZEOF_INT 4
/* The number of bytes in a long int. */
#define SIZEOF_LONG_INT 4
/* The number of b...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...e HAVE_CLOCK_T 1
#define HAVE_MODE_T 1
#define HAVE_PID_T 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_IN6_ADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_SS_FAMILY_IN_SS 1
/* #undef HAVE___SS_FAMILY_IN_SS */
/* #undef HAVE_DEV_PTMX */
/* #undef HAVE_DEV_PTS_AND_PTC */
/* #undef IPADDR_IN_DISPLAY */
#define USER_PATH "/usr/bin:/bin:/usr/sbin:/sbin:/users/eckmann/export/ssh/bin"
#define _PATH_SSH_PIDDIR "/var/run"
/* #undef BROKEN_GETADDRINFO */
/* #undef BROKEN_UPDWTMPX */
#define DONT_TRY_OTHER_AF 1
#defin...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...HAVE_ASPRINTF 1
#define HAVE_BASENAME 1
#define HAVE_BCOPY 1
#define HAVE_CLOCK 1
#define HAVE_CLOCK_T 1
#define HAVE_CONTROL_IN_MSGHDR 1
#define HAVE_CRYPT_H 1
#define HAVE_CYGWIN 1
#define HAVE_DAEMON 1
#define HAVE_DECL_H_ERRNO 1
#define HAVE_DECL__GETLONG 0
#define HAVE_DECL__GETSHORT 0
#define HAVE_DEV_PTMX 1
#define HAVE_DIRENT_H 1
#define HAVE_DIRFD 1
#define HAVE_DIRNAME 1
#define HAVE_ENDIAN_H 1
#define HAVE_ENDUTENT 1
#define HAVE_ENDUTXENT 1
#define HAVE_FCHMOD 1
#define HAVE_FCHOWN 1
#define HAVE_FEATURES_H 1
#define HAVE_FUTIMES 1
#define HAVE_GETCWD 1
#define HAVE_GETOPT 1
#define HAVE_GETOPT...