Displaying 15 results from an estimated 15 matches for "have_openpty".
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\"
2001 Feb 17
2
Where is OpenSSH 2.5.0p1?
...AC_CHECK_LIB(socket, main, , )
fi
Index: pty.c
===================================================================
RCS file: /cvs/openssh_cvs/pty.c,v
retrieving revision 1.31
diff -u -r1.31 pty.c
--- pty.c 2001/02/09 02:11:24 1.31
+++ pty.c 2001/02/17 16:06:49
@@ -49,15 +49,19 @@
{
#if defined(HAVE_OPENPTY) || defined(BSD4_4)
/* openpty(3) exists in OSF/1 and some other os'es */
- char buf[64];
+ char *name;
int i;
- i = openpty(ptyfd, ttyfd, buf, NULL, NULL);
+ i = openpty(ptyfd, ttyfd, NULL, NULL, NULL);
if (i < 0) {
error("openpty: %.100s", strerror(errno));
return 0...
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 Jan 07
1
Slackware 4.0: wtmp and pty.c problems
...rted 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 messages appear in syslog quite normally, /var/run/utmp appears to be
updated properly, but /var/log/wtmp is not updated on login/log...
1999 Dec 09
1
openssh-1.2pre16 patch to pty.c for Solaris 2.6
...this function)
pty.c:115: (Each undeclared identifier is reported only once
pty.c:115: for each function it appears in.)
make: *** [pty.o] Error 1
Possible Patch:
Index: pty.c
--- pty.c~ 1999/12/09 09:31:41
+++ pty.c 1999/12/09 16:41:46
@@ -27,6 +27,12 @@
#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
#undef HAVE_DEV_PTMX
#endif
+
+#ifdef HAVE_DEV_PTMX
+#ifndef I_PUSH
+#include <stropts.h>
+#endif /* I_PUSH */
+#endif /* HAVE_DEV_PTMX */
#ifndef O_NOCTTY
#define O_NOCTTY 0
Enjoy!
-- Mark
2000 Apr 21
0
OpenSSH 1.2.3 on AIX 4.3.3
...E */
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
(void)write(fd, utp, sizeof(struct utmp));
(void)close(fd);
--- config.h.in.orig Thu Apr 20 18:10:46 2000
+++ config.h.in Fri Apr 21 08:32:55 2000
@@ -187,6 +187,9 @@
/* Define if you have the openpty function. */
#undef HAVE_OPENPTY
+
+/* Define if you have the pututline function. */
+#undef HAVE_PUTUTLINE
/* Define if you have the rresvport_af function. */
#undef HAVE_RRESVPORT_AF
--- configure.in.orig Fri Mar 17 07:26:46 2000
+++ configure.in Fri Apr 21 08:23:28 2000
@@ -110,7 +110,7 @@
AC_CHECK_HEADERS(bstring.h endi...
2001 Jan 07
0
Linux glibc 2.1 openpty() and /dev/ptmx
...e as for Solaris) appears to work fine 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...
1999 Dec 21
0
Problem with UTMP recording
...ORT_INT 2
/* Define if you have the _getpty function. */
/* #undef HAVE__GETPTY */
/* Define if you have the arc4random function. */
/* #undef HAVE_ARC4RANDOM */
/* Define if you have the mkdtemp function. */
/* #undef HAVE_MKDTEMP */
/* Define if you have the openpty function. */
/* #undef HAVE_OPENPTY */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlogin function. */
/* #undef HAVE_SETLOGIN */
/* Define if you have the setproctitle function. */
/* #undef HAVE_SETPROCTITLE */
/* Define if you have the snprintf function. */
#define HAVE_S...
2018 Apr 11
9
[Bug 2856] New: key-options.sh fails when pty /dev/ttyp1 is not owned by testing user
https://bugzilla.mindrot.org/show_bug.cgi?id=2856
Bug ID: 2856
Summary: key-options.sh fails when pty /dev/ttyp1 is not owned
by testing user
Product: Portable OpenSSH
Version: 7.6p1
Hardware: ix86
OS: NetBSD
Status: NEW
Severity: minor
Priority: P5
Component:
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...define HAVE_MEMORY_H 1
#define HAVE_MKDTEMP 1
#define HAVE_MMAP 1
/* #undef HAVE_NDIR_H */
#define HAVE_NETDB_H 1
/* #undef HAVE_NETGROUP_H */
#define HAVE_NETINET_IN_SYSTM_H 1
/* #undef HAVE_NGETADDRINFO */
/* #undef HAVE_NSLEEP */
/* #undef HAVE_OGETADDRINFO */
/* #undef HAVE_OPENLOG_R */
#define HAVE_OPENPTY 1
/* #undef HAVE_PAM_GETENVLIST */
/* #undef HAVE_PAM_PAM_APPL_H */
/* #undef HAVE_PAM_PUTENV */
#define HAVE_PATHS_H 1
#define HAVE_PRCTL 1
/* #undef HAVE_PSTAT */
#define HAVE_PTY_H 1
#define HAVE_PUTUTLINE 1
#define HAVE_PUTUTXLINE 1
/* #undef HAVE_READPASSPHRASE */
/* #undef HAVE_READPASSPHRASE...
2019 Oct 29
0
auth logging or auditing
...HAVE_MKTIME
?? HAVE_MLOCK
?? HAVE_MLOCKALL
?? HAVE_MMAP
?? HAVE_MREMAP
?? HAVE_MUNLOCK
?? HAVE_MUNLOCKALL
?? HAVE_NANOSLEEP
?? HAVE_NATIVE_ICONV
?? HAVE_NCURSES
?? HAVE_NETGROUP
?? HAVE_NEW_FIELD
?? HAVE_NEW_FORM
?? HAVE_NEW_PANEL
?? HAVE_NFS_QUOTAS
?? HAVE_NFTW
?? HAVE_OFD_LOCKS
?? HAVE_OPENAT
?? HAVE_OPENPTY
?? HAVE_OPEN_O_DIRECT
?? HAVE_PATHCONF
?? HAVE_PEERCRED
?? HAVE_PERL_MAKEMAKER
?? HAVE_PIPE
?? HAVE_POLL
?? HAVE_POPT
?? HAVE_POPTGETCONTEXT
?? HAVE_POSIX_ACLS
?? HAVE_POSIX_CAPABILITIES
?? HAVE_POSIX_FADVISE
?? HAVE_POSIX_FALLOCATE
?? HAVE_POSIX_MEMALIGN
?? HAVE_POSIX_OPENPT
?? HAVE_PRCTL
?? HAVE_...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...e HAVE_LIBZ 1
#define HAVE_LIMITS_H 1
#define HAVE_LOGIN 1
#define HAVE_LOGOUT 1
#define HAVE_LOGWTMP 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_LONG_LONG 1
#define HAVE_MEMMOVE 1
#define HAVE_MKDTEMP 1
#define HAVE_MMAP 1
#define HAVE_MODE_T 1
#define HAVE_NANOSLEEP 1
#define HAVE_NETDB_H 1
#define HAVE_OPENPTY 1
#define HAVE_OPENSSL 1
#define HAVE_PATHS_H 1
#define HAVE_PID_IN_UTMP 1
#define HAVE_PID_T 1
#define HAVE_PROC_PID 1
#define HAVE_PTY_H 1
#define HAVE_PUTUTLINE 1
#define HAVE_PUTUTXLINE 1
#define HAVE_REALPATH 1
#define HAVE_RECVMSG 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SENDMSG 1
#define HA...
2006 Aug 15
1
OpenSSH_4.3p2 fails to create a pty session
I am out of ideas about what the problem is. I am using the default
sshd_config installed by the port. I can authenticate, copy files, and
start processes, but sshd fails to create a tty session. This happens
from remote machines and creating a session from the host machine. I
find the following under messages.
Aug 8 19:32:16 mongoloid sshd[44626]: fatal: mm_send_fd: sendmsg(4):
Bad
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem:
/dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered)
It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality.
What can be the cause of this problem?
Thanks.
[2020/05/27 18:24:35.795379, 8]
2020 Jun 03
3
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
...MKTIME
HAVE_MLOCK
HAVE_MLOCKALL
HAVE_MMAP
HAVE_MREMAP
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NATIVE_ICONV
HAVE_NCURSES
HAVE_NETGROUP
HAVE_NEW_FIELD
HAVE_NEW_FORM
HAVE_NEW_LIBREADLINE
HAVE_NEW_PANEL
HAVE_NFS_QUOTAS
HAVE_NFTW
HAVE_OFD_LOCKS
HAVE_OPENAT
HAVE_OPENPTY
HAVE_OPEN_O_DIRECT
HAVE_PAM_GET_DATA
HAVE_PAM_RADIO_TYPE
HAVE_PAM_RHOST
HAVE_PAM_START
HAVE_PAM_TTY
HAVE_PAM_VSYSLOG
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POPT
HAVE_POPTGETCONTEXT
HAVE_POSIX_ACLS
HAVE_POSIX_CAPABILITIES
HAVE_POSIX_FADVI...