summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2001-05-25 21:40:08 +0000
committerTom Yu <tlyu@mit.edu>2001-05-25 21:40:08 +0000
commita90e74f1c8dddeddb75b6690824aec69d34db341 (patch)
tree266f0d3aeb35abeb441bbd877ecb4518536e0ce4 /src
parent2808a98ba1aa4c3ceb4a6147c858b57a076c6623 (diff)
downloadkrb5-a90e74f1c8dddeddb75b6690824aec69d34db341.tar.gz
krb5-a90e74f1c8dddeddb75b6690824aec69d34db341.tar.xz
krb5-a90e74f1c8dddeddb75b6690824aec69d34db341.zip
* krlogind.c (protocol): Don't do TIOCPKT on systems with STREAMS
ptys, even if there is a TIOCPKT, since it may result in hangs on some systems where BSD packet mode is (presumably) not implemented properly, such as AIX 4.3.3. Should get cleaned up at some later point to actually I_PUSH "pckt" or equivalent and do translation between STREAMS and BSD style packet mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13245 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/appl/bsd/ChangeLog9
-rw-r--r--src/appl/bsd/krlogind.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index fcd4bd462..b44534955 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,3 +1,12 @@
+2001-05-25 Tom Yu <tlyu@mit.edu>
+
+ * krlogind.c (protocol): Don't do TIOCPKT on systems with STREAMS
+ ptys, even if there is a TIOCPKT, since it may result in hangs on
+ some systems where BSD packet mode is (presumably) not implemented
+ properly, such as AIX 4.3.3. Should get cleaned up at some later
+ point to actually I_PUSH "pckt" or equivalent and do translation
+ between STREAMS and BSD style packet mode.
+
2001-05-10 Tom Yu <tlyu@mit.edu>
* defines.h: Fix k4cmd prototype to match kcmd.c.
diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c
index 3c3b29a35..5415cf8e0 100644
--- a/src/appl/bsd/krlogind.c
+++ b/src/appl/bsd/krlogind.c
@@ -987,7 +987,8 @@ void protocol(f, p)
int on = 1;
#endif
-#if defined(TIOCPKT) && !defined(__svr4__) || defined(solaris20)
+#if defined(TIOCPKT) && !(defined(__svr4__) || defined(HAVE_STREAMS)) \
+ || defined(solaris20)
/* if system has TIOCPKT, try to turn it on. Some drivers
* may not support it. Save flag for later.
*/