summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-10-07 06:06:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-10-07 06:06:27 +0000
commit91b39d89318fe466ee0a1b43a1a508ab0b99da99 (patch)
tree00d08046ee44f0cd60d5add7964a1a0ed17d4de0
parent2c3d9d0ac6060327b23bdefbe7e57234a5c347ca (diff)
In "tty", permitting TIOCSTART is fine
-rw-r--r--sys/kern/kern_pledge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 5b7b13a64ba..7cf81613b47 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.221 2017/10/07 06:04:00 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.222 2017/10/07 06:06:26 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -1099,6 +1099,7 @@ pledge_ioctl(struct proc *p, long com, struct file *fp)
break;
/* FALLTHROUGH */
case TIOCFLUSH: /* getty, telnet */
+ case TIOCSTART: /* emacs, etc */
case TIOCGPGRP:
case TIOCGETA:
case TIOCGWINSZ: /* ENOTTY return for non-tty */