summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-04-17 14:36:44 +0000
committerjmc <jmc@openbsd.org>2016-04-17 14:36:44 +0000
commit17d676a9d779a4c1e8e2695ca565dc6a488ae339 (patch)
treea1ad6474df9f4f36b76945760977df012073f49a /lib/libc
parenttweak previous; (diff)
downloadwireguard-openbsd-17d676a9d779a4c1e8e2695ca565dc6a488ae339.tar.xz
wireguard-openbsd-17d676a9d779a4c1e8e2695ca565dc6a488ae339.zip
document pledge(2); from rob pierce
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/intro.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index d4d5516b6da..f61baf5ecc6 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.2,v 1.63 2016/03/06 22:32:09 guenther Exp $
+.\" $OpenBSD: intro.2,v 1.64 2016/04/17 14:36:44 jmc Exp $
.\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $
.\"
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)intro.2 8.3 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: March 6 2016 $
+.Dd $Mdocdate: April 17 2016 $
.Dt INTRO 2
.Os
.Sh NAME
@@ -42,6 +42,9 @@
.Sh DESCRIPTION
The manual pages in section 2 provide an overview of the system calls,
their error returns, and other common definitions and concepts.
+.Pp
+Programs may be restricted to a subset of system calls with
+.Xr pledge 2 .
.\".Pp
.\".Sy System call restart
.\".Pp
@@ -725,6 +728,7 @@ Each socket has an address chosen from the address family in which the
socket was created.
.El
.Sh SEE ALSO
+.Xr pledge 2 ,
.Xr intro 3 ,
.Xr perror 3
.Sh HISTORY