the child rlogin handles SIGUSR1 (which is used for window size
changes) correctly. [krb5-appl/335]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10032
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Mar 28 01:05:27 1997 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * krlogin.c (try_normal): When falling back to the normal rlogin,
+ clear the signal mask, so that the child rlogin handles
+ SIGUSR1 (which is used for window size changes) correctly.
+ [krb5-appl/335]
+
Tue Mar 18 12:34:03 1997 Sam Hartman <hartmans@luminous.MIT.EDU>
[326] * login.c(doit): Preserve terminal even without -p.
char **argv;
{
register char *host;
+#ifdef POSIX_SIGNALS
+ struct sigaction sa;
+ sigest_t mask;
+#endif
#ifndef KRB5_ATHENA_COMPAT
if (encrypt_flag)
if (!strcmp(host, "rlogin"))
argv++;
+#ifdef POSIX_SIGNALS
+ sigemptyset(&mask)
+ sigprocmask(SIG_SETMASK, &mask, NULL);
+#endif
+
execv(UCB_RLOGIN, argv);
perror("exec");
exit(1);