diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2015-07-23 02:57:52 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2015-07-23 02:57:52 +0000 |
commit | 089aafdb5c67764eaac9853d9f881c47c84fc6ec (patch) | |
tree | 0ec3b6b9741faee817e009dc5284c589c8559d5c /sys/kern | |
parent | 27b57084161f16bb28250bcb714f4d30dac1cd47 (diff) |
Replace TIOCSWINSZ with TIOCGWINSZ in tame(2).
ok deraadt@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_tame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c index 9751b130c32..7b6c4488cd6 100644 --- a/sys/kern/kern_tame.c +++ b/sys/kern/kern_tame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tame.c,v 1.13 2015/07/22 05:32:44 deraadt Exp $ */ +/* $OpenBSD: kern_tame.c,v 1.14 2015/07/23 02:57:51 doug Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -724,7 +724,7 @@ tame_ioctl_check(struct proc *p, long com, void *v) return (EPERM); /* tty subsystem */ - case TIOCSWINSZ: /* various programs */ + case TIOCGWINSZ: /* various programs */ case TIOCSTI: /* ksh? csh? */ if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY)) return (0); |