[2737] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-appl/429: krb5 telnetd AIX 4.2 build

daemon@ATHENA.MIT.EDU (donn@u.washington.edu)
Tue May 20 10:59:02 1997

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, donn@u.washington.edu
Date: Tue, 20 May 1997 07:50:11 -0700
From: donn@u.washington.edu
Reply-To: donn@u.washington.edu
To: krb5-bugs@MIT.EDU


>Number:         429
>Category:       krb5-appl
>Synopsis:       Telnetd build glitches for AIX 4.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    krb5-unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Tue May 20 10:51:01 EDT 1997
>Last-Modified:
>Originator:     Donn Cave
>Organization:
	University Computing Services
	University of Washington
>Release:        1.0pl1
>Environment:
	AIX 4.2
System: AIX melville 2 4 000010504900


>Description:
	Problems building a working telnetd on AIX 4.2 (and I believe
	this applies to 4.1 also, but that's only an assumption.)

	termios-tn.c needs termio.h on this platform, for macros TCSETS etc.

	The pty driver doesn't support a "pckt" module, whatever that is,
	so that needs to be excluded in sys_term.c ... a HAVE_PCKTMODULE
	macro would be fine, but for my immediate purposes the appended
	#ifndef _AIX41 made more sense.  (_AIX41 is defined on AIX 4.1 and 4.2.)

>How-To-Repeat:
	...
>Fix:
	Context diffs appended.
-------------------------------
*** src/appl/telnet/telnetd/sys_term.c.dist	Mon Apr 14 20:52:12 1997
--- src/appl/telnet/telnetd/sys_term.c	Tue May 20 07:27:27 1997
***************
*** 927,934 ****
--- 927,936 ----
  #ifdef	USE_TERMIO
  	ttyfd = t;
  #endif
+ #if !defined(_AIX41)
  	if (ioctl(pty, I_PUSH, "pckt") < 0)
  		fatal(net, "I_PUSH pckt");
+ #endif
  #endif
  
  	/*
*** src/appl/telnet/telnetd/termios-tn.c.dist	Wed May  1 18:22:45 1996
--- src/appl/telnet/telnetd/termios-tn.c	Thu Mar 13 15:22:39 1997
***************
*** 5,10 ****
--- 5,13 ----
  #include <sys/stream.h>
  #include <sys/ioctl.h>
  #include <termios.h>
+ #if defined(_AIX41)
+ #include <sys/termio.h>
+ #endif
  
  int readstream_termios(cmd, ibuf, vstop, vstart, ixon)
       int cmd;
>Audit-Trail:
>Unformatted:

home help back first fref pref prev next nref lref last post