[acconfig.h configure.ac sshd.c] s/BROKEN_FD_PASSING/DISABLE_FD_PASSING/

This commit is contained in:
Tim Rice 2002-07-07 13:43:36 -07:00
parent cc25206d31
commit 9dd30817ef
4 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,7 @@
20020707
- (tim) [Makefile.in] use umask instead of chmod on $(PRIVSEP_PATH)
- (tim) [acconfig.h configure.ac sshd.c]
s/BROKEN_FD_PASSING/DISABLE_FD_PASSING/
20020705
- (tim) [configure.ac] AIX 4.2.1 has authenticate() in libs.
@ -1283,4 +1285,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2338 2002/07/07 20:30:45 tim Exp $
$Id: ChangeLog,v 1.2339 2002/07/07 20:43:36 tim Exp $

View File

@ -1,4 +1,4 @@
/* $Id: acconfig.h,v 1.141 2002/06/25 22:35:16 tim Exp $ */
/* $Id: acconfig.h,v 1.142 2002/07/07 20:43:36 tim Exp $ */
#ifndef _CONFIG_H
#define _CONFIG_H
@ -358,8 +358,8 @@
/* Define if you have the `mmap' function that supports MAP_ANON|SHARED */
#undef HAVE_MMAP_ANON_SHARED
/* Define if sendmsg()/recvmsg() has problems passing file descriptors */
#undef BROKEN_FD_PASSING
/* Define if your platform needs to skip post auth file descriptor passing */
#undef DISABLE_FD_PASSING
@BOTTOM@

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.74 2002/07/05 14:12:34 tim Exp $
# $Id: configure.ac,v 1.75 2002/07/07 20:43:36 tim Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@ -91,7 +91,7 @@ case "$host" in
AC_DEFINE(IPV4_DEFAULT)
AC_DEFINE(IP_TOS_IS_BROKEN)
AC_DEFINE(NO_X11_UNIX_SOCKETS)
AC_DEFINE(BROKEN_FD_PASSING)
AC_DEFINE(DISABLE_FD_PASSING)
AC_DEFINE(SETGROUPS_NOOP)
;;
*-*-dgux*)
@ -272,7 +272,7 @@ mips-sony-bsd|mips-sony-newsos4)
AC_DEFINE(USE_PIPES)
AC_DEFINE(HAVE_SECUREWARE)
AC_DEFINE(DISABLE_SHADOW)
AC_DEFINE(BROKEN_FD_PASSING)
AC_DEFINE(DISABLE_FD_PASSING)
AC_CHECK_FUNCS(getluid setluid)
MANTYPE=man
;;
@ -280,7 +280,7 @@ mips-sony-bsd|mips-sony-newsos4)
no_libsocket=1
no_libnsl=1
AC_DEFINE(USE_PIPES)
AC_DEFINE(BROKEN_FD_PASSING)
AC_DEFINE(DISABLE_FD_PASSING)
LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal,-L/usr/local/lib"
LIBS="$LIBS -lgen -lrsc"
;;

2
sshd.c
View File

@ -624,7 +624,7 @@ privsep_postauth(Authctxt *authctxt)
/* XXX - Remote port forwarding */
x_authctxt = authctxt;
#ifdef BROKEN_FD_PASSING
#ifdef DISABLE_FD_PASSING
if (1) {
#else
if (authctxt->pw->pw_uid == 0 || options.use_login) {