[2828] in Kerberos-V5-bugs
pty/507: AIX 4.2 fails when revoke is called
daemon@ATHENA.MIT.EDU (deengert@anl.gov)
Mon Nov 24 14:02:30 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: hartmans@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, deengert@anl.gov
Date: Mon, 24 Nov 1997 13:01:22 -0600 (CST)
From: deengert@anl.gov
Reply-To: deengert@anl.gov
To: krb5-bugs@MIT.EDU
>Number: 507
>Category: pty
>Synopsis: AIX 4.2 fails when revoke is called
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: hartmans
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon Nov 24 14:02:01 EST 1997
>Last-Modified:
>Originator: Douglas Engert
>Organization:
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
>Release: krb5-1.0.3
>Environment:
System: AIX pembroke 2 4 000300234600
>Description:
When revoke is called from pty/cleanup.c, all psuedo tern\minal
opens, closes hang on an AIX 4.2 system. This includes new
klogind, telnetd, and X-windows new windows.
>How-To-Repeat:
>Fix:
Suggested fix is to not call revoke on AIX.
*** ./util/pty/,cleanup.c Fri Oct 31 14:48:31 1997
--- ./util/pty/cleanup.c Sun Nov 16 13:54:47 1997
***************
*** 37,43 ****
--- 37,45 ----
(void)chmod(slave, 0666);
(void)chown(slave, 0, 0);
#ifdef HAVE_REVOKE
+ #ifndef _AIX
revoke(slave);
+ #endif
/*
* Revoke isn't guaranteed to send a SIGHUP to the processes it
* dissociates from the terminal. The best solution without a Posix
>Audit-Trail:
>Unformatted:
revoke in AIX 4.2 fails