diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-16 21:20:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-16 21:20:21 +0000 |
commit | f3c94992f6dabff86f770c4b88d7745782a99f3d (patch) | |
tree | 501560faeeb6c637de0cff8a1d781d21b6f77f6d /sys | |
parent | 704ee66fe10a3bf85ed555ab11bf2a6902b3e31e (diff) |
Allow TIOCEXT in pledge "tty"
Discussed with millert
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_pledge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index c247848a95d..760f4d6c1f6 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.111 2015/11/16 18:29:35 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.112 2015/11/16 21:20:20 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -1152,6 +1152,7 @@ pledge_ioctl(struct proc *p, long com, struct file *fp) return (0); return (ENOTTY); case TIOCSWINSZ: + case TIOCEXT: /* mail, libedit .. */ case TIOCCBRK: /* cu */ case TIOCSBRK: /* cu */ case TIOCCDTR: /* cu */ |