[2022] in Kerberos-V5-bugs
login.krb5 crashing AIX 4.1.4 machines fix
daemon@ATHENA.MIT.EDU (Paul Pomes)
Thu Jun 20 12:21:12 1996
Date: Thu, 20 Jun 1996 11:04:56 -0500
From: p-pomes@alfalfa.aiss.uiuc.edu (Paul Pomes)
To: DEEngert@anl.gov, kerberos@MIT.EDU, krb5-bugs@MIT.EDU
Cc: jwessel@uiuc.edu, lemson@uiuc.edu, roma@uiuc.edu
I've isolated the cause to
#ifdef TIOCNXCL
(void)ioctl(0, TIOCNXCL, (char *)0);
#endif
in appl/bsd/login.c . Changing the wrapper to
#if defined(TIOCNXCL) && !defined(_AIX41)
(void)ioctl(0, TIOCNXCL, (char *)0);
#endif /* TIOCNXCL && !_AIX41 */
cures the problem. One thing to note is that _AIX41 is defined in the
/etc/xlC.cfg file. If you cross-compile from a 3.2.5 system, that symbol
must be defined explicitly in the Makefile.
/pbp