artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51bb89d
)
Exposing FIOASYNC in pledge "ioctl" is a mistake; remove it, cannot find safe uses...
author
deraadt
<deraadt@openbsd.org>
Thu, 15 Oct 2015 17:50:05 +0000
(17:50 +0000)
committer
deraadt
<deraadt@openbsd.org>
Thu, 15 Oct 2015 17:50:05 +0000
(17:50 +0000)
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
a758a96
..
d9fcdd2
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.2
8 2015/10/15 04:58:54
deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.2
9 2015/10/15 17:50:05
deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-1044,7
+1044,6
@@
pledge_ioctl_check(struct proc *p, long com, void *v)
*/
if ((p->p_p->ps_pledge & PLEDGE_IOCTL)) {
switch (com) {
- case FIOASYNC:
case FIOSETOWN:
case FIOGETOWN:
return (0);