summaryrefslogtreecommitdiff
path: root/sys/kern/kern_tame.c
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2015-08-26 05:55:54 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2015-08-26 05:55:54 +0000
commit90362468fa90924f75eecb18c24a0529e81ad604 (patch)
tree62fe042076b0660fc63afd64eefe1447ae72076c /sys/kern/kern_tame.c
parent0f25ba2e8d0ab41d1d053667f6b57707abd7a770 (diff)
Add TIOCGETA to the tame list for TAME_IOCTL.
This is used by readpassphrase() and curses. ok deraadt@
Diffstat (limited to 'sys/kern/kern_tame.c')
-rw-r--r--sys/kern/kern_tame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c
index 1b5265c6af0..75690fa7a19 100644
--- a/sys/kern/kern_tame.c
+++ b/sys/kern/kern_tame.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_tame.c,v 1.30 2015/08/26 05:20:06 doug Exp $ */
+/* $OpenBSD: kern_tame.c,v 1.31 2015/08/26 05:55:53 doug Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -931,6 +931,7 @@ tame_ioctl_check(struct proc *p, long com, void *v)
return (EPERM);
/* tty subsystem */
+ case TIOCGETA:
case TIOCGPGRP:
case TIOCGWINSZ: /* various programs */
case TIOCSTI: /* ksh? csh? */