+Mon May 15 10:43:30 1995 <tytso@rsx-11.mit.edu>
+
+ * login.c (main): Only try to use TIOCSETD if it is defined
+ (instead of relying on _IBMR2 *not* being defined).
+
+ Only try to use TIOCNXCL if it is defined.
+
+ * krcp.c: If setreuid() is emulated using setresuid(),
+ #define HAVE_SETREUID so it gets used.
+
Sat May 13 08:59:38 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* krshd.c (recvauth): Use krb5_auth_con_genaddrs to set the port
/* linux, sco don't have this line discipline interface */
(void)ioctl(0, TIOCLSET, (char *)&ioctlval);
#endif
+#ifdef TIOCNXCL
(void)ioctl(0, TIOCNXCL, (char *)0);
+#endif
(void)fcntl(0, F_SETFL, ioctlval);
#endif
#endif
int read_long_pw_string();
#endif /* KRB4 */
-#if !defined(_IBMR2)
+#if defined(TIOCSETD)
ioctlval = 0;
(void)ioctl(0, TIOCSETD, (char *)&ioctlval);
#endif
if (*pwd->pw_shell == '\0')
pwd->pw_shell = BSHELL;
-#if defined(NTTYDISC) && !defined(_IBMR2)
+#if defined(NTTYDISC) && defined(TIOCSETD)
/* turn on new line discipline for the csh */
else if (!strcmp(pwd->pw_shell, "/bin/csh")) {
ioctlval = NTTYDISC;