Displaying 20 results from an estimated 48 matches for "_getpty".
2001 Jun 07
0
Patch for systems with no setreuid()
...getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop
+for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdt...
2000 Apr 21
0
OpenSSH 1.2.3 on AIX 4.3.3
....h stddef.h util.h utmp.h utmpx.h)
# Checks for library functions.
-AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getnameinfo innetgr md5_crypt mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty)
+AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getnameinfo innetgr md5_crypt mkdtemp openpty pututline rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty)
AC_CHECK_FUNC(login,
[AC_DEFINE(HAVE_LOGIN)...
2001 Jan 07
0
Linux glibc 2.1 openpty() and /dev/ptmx
...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. Systems that define one define the other too
so everything still worked right......
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 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop)
+AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkd...
2003 Mar 31
2
basename() in libgen
IRIX 6.5 has the basename() function in libgen.
SYNOPSIS
cc [flag ...] file ... -lgen [library ...]
#include <libgen.h>
char *basename (char *path);
-- ayamura
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...md5_crypt memmove mkdtemp on_exit openpty readpassphrase realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid setvbuf sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp utimes vsnprintf vhangup waitpid _getpty __b64_ntop)
+AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getopt getnameinfo getrlimit getrusage getttyent glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp o...
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
...atexit b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage inet_aton innetgr md5_crypt memmove mkdtemp on_exit openpty rresvport_af setenv seteuid setlogin setproctitle setreuid sigaction sigvec snprintf strerror strlcat strlcpy strsep vsnprintf vhangup _getpty __b64_ntop)
dnl checks for time functions
AC_CHECK_FUNCS(gettimeofday time)
dnl checks for libutil functions
--- 221,230 ----
fi
# Checks for header files.
! AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h lastlog.h limits.h login.h maillock.h netdb.h netgroup.h netinet/in_sy...
2000 May 20
3
Portable OpenSSH-2.1.0p2
This is to announce the availability of portable OpenSSH-2.1.0p2. This
is a bug-fix release, addressing the following issues:
- X authentication works again (thanks to Markus Friedl)
- Don't touch utmp if utmpx is in use
- Fix SIGCHLD problems on AIX and HPUX (Thanks to Tom Bertelson)
- HPUX compile fixes (Thanks to Lutz Jaenicke)
- Accept an empty shell in /etc/passwd
- SunOS4 compile fixes.
2000 May 20
3
Portable OpenSSH-2.1.0p2
This is to announce the availability of portable OpenSSH-2.1.0p2. This
is a bug-fix release, addressing the following issues:
- X authentication works again (thanks to Markus Friedl)
- Don't touch utmp if utmpx is in use
- Fix SIGCHLD problems on AIX and HPUX (Thanks to Tom Bertelson)
- HPUX compile fixes (Thanks to Lutz Jaenicke)
- Accept an empty shell in /etc/passwd
- SunOS4 compile fixes.
2000 Jan 07
1
Slackware 4.0: wtmp and pty.c problems
...9; 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 messages appear in syslog quite normally, /...
2002 Jun 25
2
Linux 2.2 + borken mmap() round 1
...ac,v
retrieving revision 1.69
diff -u -r1.69 configure.ac
--- configure.ac 24 Jun 2002 16:26:49 -0000 1.69
+++ configure.ac 25 Jun 2002 00:16:06 -0000
@@ -574,6 +574,30 @@
socketpair strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp \
truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty)
+if test $ac_cv_func_mmap = yes ; then
+AC_MSG_CHECKING([for mmap anon shared])
+AC_TRY_RUN(
+ [
+#include <stdio.h>
+#include <sys/mman.h>
+#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
+#define MAP_ANON MAP_ANONYMOUS
+#endif
+main() { char *p;
+p = (char *) mmap(NULL, 10,...
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c
...
gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ
e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c
../src/openbsd-compat/bsd-snprintf.c
In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
2002 Oct 25
0
NeXT Community
...rresvport_af sendmsg setdtablesize setegid \
setenv seteuid setgroups setlogin setproctitle setresgid setreuid \
setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \
socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \
truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty)
+
+dnl Make sure that mmap prototype is defined before defining HAVE_MMAP
+AC_CHECK_DECL(mmap, [AC_CHECK_FUNCS(mmap)])
dnl Make sure strsep prototype is defined before defining HAVE_STRSEP
AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)])
2000 Jan 18
1
Error when compiling for Solaris7
...login... (cached) no
checking for setproctitle... (cached) no
checking for setreuid... (cached) yes
checking for snprintf... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for updwtmpx... (cached) yes
checking for vsnprintf... (cached) yes
checking for _getpty... (cached) no
checking for login... (cached) no
checking for login in -lbsd... (cached) no
checking for daemon... (cached) no
checking for daemon in -lbsd... (cached) no
checking size of short int... (cached) 2
checking size of int... (cached) 4
checking size of long int... (cached) 4
checking siz...
2000 Jul 08
1
sshd Pam problem for Redhat 6.2
...o
checking for setenv... yes
checking for seteuid... yes
checking for setlogin... no
checking for setproctitle... no
checking for setreuid... yes
checking for snprintf... yes
checking for strlcat... no
checking for strlcpy... no
checking for vsnprintf... yes
checking for vhangup... yes
checking for _getpty... no
checking for __b64_ntop... no
checking for gettimeofday... yes
checking for time... yes
checking for login... yes
checking for logout... yes
checking for updwtmp... yes
checking for logwtmp... yes
checking for entutent... no
checking for getutent... yes
checking for getutid... yes
checking fo...
2013 Feb 15
2
getpgrp
...file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.503
diff -u -p -r1.503 configure.ac
--- configure.ac 10 Feb 2013 23:39:13 -0000 1.503
+++ configure.ac 15 Feb 2013 00:26:37 -0000
@@ -1550,6 +1550,8 @@ AC_CHECK_FUNCS([ \
getopt \
getpeereid \
getpeerucred \
+ getpgid \
+ getpgrp \
_getpty \
getrlimit \
getttyent \
Index: openbsd-compat/bsd-misc.c
===================================================================
RCS file: /var/cvs/openssh/openbsd-compat/bsd-misc.c,v
retrieving revision 1.36
diff -u -p -r1.36 bsd-misc.c
--- openbsd-compat/bsd-misc.c 8 Nov 2010 22:26:23 -0000 1.3...
2001 Feb 13
1
configure.in reorder patch
...toa innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv seteuid setlogin setproctitle setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop)
-dnl Checks for time functions
-AC_CHECK_FUNCS(gettimeofday time)
-dnl Checks for libutil functions
-AC_CHECK_HEADERS(libutil.h)
-AC_CHECK_FUNCS(login logout updwtmp logwtmp)
-dnl Checks for utmp functions
-AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)...
2001 Feb 16
1
OpenSSH 2.3.0p1 port to BSDI BSD/OS
...etnameinfo getrusage getttyent inet_aton inet_ntoa innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setenv seteuid setlogin setproctitle setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strsep strtok_r vsnprintf vhangup vis waitpid _getpty __b64_ntop)
2002 Jun 06
9
[Bug 261] AIX capabilities + port-aix.c cleanup
http://bugzilla.mindrot.org/show_bug.cgi?id=261
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|other |AIX
------- Additional Comments From dtucker at zip.com.au 2002-06-06 21:22 -------
I finally got a chance to try this. I got compile