From: deraadt Date: Tue, 20 Oct 2015 05:18:34 +0000 (+0000) Subject: allow SO_ERROR all the time X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=363922450dc79a3eeaf78dbbeda4a178b86fa052;p=openbsd allow SO_ERROR all the time --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 4c8dae3686a..e78216a7fda 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.58 2015/10/20 01:44:00 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.59 2015/10/20 05:18:34 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -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;