diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-16 06:42:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-16 06:42:03 +0000 |
commit | c1a39677422a2933618236033c77b4ec1cf18904 (patch) | |
tree | 8dac8997a03cd0be2472dbab8a3991070ca0294e /sys/kern | |
parent | 797bba550d0652375bb46ce4f5a76acf53e13037 (diff) |
FIOSETOWN/FIOGETOWN were added to "ioctl", but study finds no programs
currently needing them. delete 'em for now.
ok doug
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_pledge.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index d20cc7c271c..7b26efd9468 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.31 2015/10/16 06:40:53 doug Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.32 2015/10/16 06:42:02 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -1044,9 +1044,6 @@ pledge_ioctl_check(struct proc *p, long com, void *v) */ if ((p->p_p->ps_pledge & PLEDGE_IOCTL)) { switch (com) { - case FIOSETOWN: - case FIOGETOWN: - return (0); case TIOCGETA: if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY)) return (0); |