summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2016-01-09 06:13:43 +0000
committersemarie <semarie@openbsd.org>2016-01-09 06:13:43 +0000
commitfbc2f996c792e4c85e8bdedfd02d928d379ead21 (patch)
tree8b6342ae7c140d1f7642474af42458c0045c5565 /lib/libc/sys
parentCorrect sensor threashold handling by properly checking response of Get Sensor (diff)
downloadwireguard-openbsd-fbc2f996c792e4c85e8bdedfd02d928d379ead21.tar.xz
wireguard-openbsd-fbc2f996c792e4c85e8bdedfd02d928d379ead21.zip
drop "abort" promise, and make it the default behaviour.
The current code has already setted it by default since 1.74 any pledge failure tries to make a coredump (default rules for coredump still applies: so setuid binaries don't create them locally). ok deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/pledge.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 27a5bae7bd3..26831153152 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.22 2016/01/06 18:47:02 tedu Exp $
+.\" $OpenBSD: pledge.2,v 1.23 2016/01/09 06:13:43 semarie Exp $
.\"
.\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 6 2016 $
+.Dd $Mdocdate: January 9 2016 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -43,7 +43,7 @@ Subsequent calls to
.Fn pledge
can reduce the abilities further, but abilities can never be regained.
.Pp
-A process which attempts a restricted operation is killed with
+A process which attempts a restricted operation is killed with an uncatchable
.Dv SIGABRT ,
delivering a core file if possible.
.Pp