this program which uses tcgetattr(). the tcsetattr() calls are outside
the tame regions.
-/* $OpenBSD: script.c,v 1.29 2015/10/04 04:56:50 deraadt Exp $ */
+/* $OpenBSD: script.c,v 1.30 2015/10/07 05:08:27 deraadt Exp $ */
/* $NetBSD: script.c,v 1.3 1994/12/21 08:55:43 jtc Exp $ */
/*
sa.sa_handler = finish;
(void)sigaction(SIGCHLD, &sa, NULL);
- if (tame("stdio ioctl", NULL) == -1)
+ if (tame("stdio tty", NULL) == -1)
err(1, "tame");
(void)fclose(fscript);