artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bab7fa3
)
allow SO_ERROR all the time
author
deraadt
<deraadt@openbsd.org>
Tue, 20 Oct 2015 05:18:34 +0000
(
05:18
+0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 20 Oct 2015 05:18:34 +0000
(
05:18
+0000)
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
4c8dae3
..
e78216a
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.5
8 2015/10/20 01:44:00
deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.5
9 2015/10/20 05:18:34
deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-1068,6
+1068,7
@@
pledge_sockopt_check(struct proc *p, int level, int optname)
case SOL_SOCKET:
switch (optname) {
case SO_RCVBUF:
+ case SO_ERROR:
return 0;
}
break;