Compare commits

...
5 Commits
Author SHA1 Message Date
Darren Tucker e47760c2cb - (dtucker) [configure.ac defines.h] Shadow expiry does not work on QNX6
so disable it for that platform.  From bacon at cs nyu edu.
2007-09-27 20:46:14 +10:00
Darren Tucker cba3b43778 - (dtucker) [configure.ac atomicio.c] Fall back to including <sys/poll.h> if
we don't have <poll.h> (eq QNX).  From bacon at cs nyu edu.
2007-09-27 20:43:48 +10:00
Tim Rice f62ab0fbd6 - (tim) [defines.h] Fix regression in long password support on OpenServer 6.
Problem report and additional testing rac AT tenzing.org.
2007-09-17 08:33:47 -07:00
Tim Rice 501b08afb9 - (tim) [configure.ac] Autoconf didn't define HAVE_LIBIAF because we
did a AC_CHECK_FUNCS within the AC_CHECK_LIB test.
2007-09-10 16:25:16 -07:00
Damien Miller 09bfb50d0d don't say it twice 2007-09-04 16:49:09 +10:00
4 changed files with 35 additions and 7 deletions
+15 -2
View File
@@ -1,3 +1,17 @@
20070927
- (dtucker) [configure.ac atomicio.c] Fall back to including <sys/poll.h> if
we don't have <poll.h> (eq QNX). From bacon at cs nyu edu.
- (dtucker) [configure.ac defines.h] Shadow expiry does not work on QNX6
so disable it for that platform. From bacon at cs nyu edu.
20070917
- (tim) [defines.h] Fix regression in long password support on OpenServer 6.
Problem report and additional testing rac AT tenzing.org.
20070910
- (tim) [configure.ac] Autoconf didn't define HAVE_LIBIAF because we
did a AC_CHECK_FUNCS within the AC_CHECK_LIB test.
20070817
- (dtucker) [sshd.8] Many Linux variants use a single "!" to denote locked
accounts and that's what the code looks for, so make man page and code
@@ -19,7 +33,6 @@
do NOT fall back to the trused x11 cookie if generation of an untrusted
cookie fails; from Jan Pechanec, via security-alert at sun.com;
ok dtucker
Originally found and fixed by Jan Pechanec.
- [email protected] 2007/08/15 08:16:49
[version.h]
openssh 4.7
@@ -3185,4 +3198,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4738 2007/09/04 04:26:32 djm Exp $
$Id: ChangeLog,v 1.4738.2.5 2007/09/27 10:46:14 dtucker Exp $
+4
View File
@@ -34,6 +34,10 @@
#include <errno.h>
#ifdef HAVE_POLL_H
#include <poll.h>
#else
# ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
# endif
#endif
#include <string.h>
#include <unistd.h>
+8 -3
View File
@@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.383 2007/08/10 04:36:12 dtucker Exp $
# $Id: configure.ac,v 1.383.2.3 2007/09/27 10:46:15 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT(OpenSSH, Portable, [email protected])
AC_REVISION($Revision: 1.383 $)
AC_REVISION($Revision: 1.383.2.3 $)
AC_CONFIG_SRCDIR([ssh.c])
AC_CONFIG_HEADER(config.h)
@@ -223,6 +223,7 @@ AC_CHECK_HEADERS( \
sys/dir.h \
sys/mman.h \
sys/ndir.h \
sys/poll.h \
sys/prctl.h \
sys/pstat.h \
sys/select.h \
@@ -785,6 +786,7 @@ mips-sony-bsd|mips-sony-newsos4)
AC_DEFINE(MISSING_FD_MASK, 1, [Define on *nto-qnx systems])
AC_DEFINE(DISABLE_LASTLOG)
AC_DEFINE(SSHD_ACQUIRES_CTTY)
AC_DEFINE(BROKEN_SHADOW_EXPIRE, 1, [QNX shadow support is broken])
enable_etc_default_login=no # has incompatible /etc/default/login
case "$host" in
*-*-nto-qnx6*)
@@ -2004,7 +2006,10 @@ AC_CHECK_FUNCS(SHA256_Update EVP_sha256)
saved_LIBS="$LIBS"
AC_CHECK_LIB(iaf, ia_openinfo, [
LIBS="$LIBS -liaf"
AC_CHECK_FUNCS(set_id, [SSHDLIBS="$SSHDLIBS -liaf"])
AC_CHECK_FUNCS(set_id, [SSHDLIBS="$SSHDLIBS -liaf"
AC_DEFINE(HAVE_LIBIAF, 1,
[Define if system has libiaf that supports set_id])
])
])
LIBS="$saved_LIBS"
+8 -2
View File
@@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
/* $Id: defines.h,v 1.143 2007/08/09 04:37:52 dtucker Exp $ */
/* $Id: defines.h,v 1.143.2.2 2007/09/27 10:46:15 dtucker Exp $ */
/* Constants */
@@ -540,6 +540,10 @@ struct winsize {
# undef HAVE_UPDWTMPX
#endif
#if defined(BROKEN_SHADOW_EXPIRE) && defined(HAS_SHADOW_EXPIRE)
# undef HAS_SHADOW_EXPIRE
#endif
#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) && \
defined(SYSLOG_R_SAFE_IN_SIGHAND)
# define DO_LOG_SAFE_IN_SIGHAND
@@ -694,9 +698,11 @@ struct winsize {
# define CUSTOM_SYS_AUTH_PASSWD 1
#endif
#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID)
# define CUSTOM_SYS_AUTH_PASSWD 1
#endif
#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) && !defined(BROKEN_LIBIAF)
# define USE_LIBIAF
# define CUSTOM_SYS_AUTH_PASSWD 1
#endif
/* HP-UX 11.11 */