summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2015-10-24 08:46:05 +0000
committerjmc <jmc@openbsd.org>2015-10-24 08:46:05 +0000
commit7b778c93e6f34307355a22c52e54d75796d425f1 (patch)
tree1df92769c798af0bc829c80b058fe49209365f03 /lib/libc
parentchange one instance of Dl to a display and provide a teeny indent (diff)
downloadwireguard-openbsd-7b778c93e6f34307355a22c52e54d75796d425f1.tar.xz
wireguard-openbsd-7b778c93e6f34307355a22c52e54d75796d425f1.zip
remove a paste error and get section numbers right for sysctl(3);
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/pledge.29
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 90505f6020e..b2a921aae94 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.9 2015/10/23 01:10:01 deraadt Exp $
+.\" $OpenBSD: pledge.2,v 1.10 2015/10/24 08:46:05 jmc 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: October 23 2015 $
+.Dd $Mdocdate: October 24 2015 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -464,14 +464,13 @@ and
system calls.
.It Va "ps"
Allows enough
-.Xr sysctl 2
+.Xr sysctl 3
interfaces to allow inspection of processes operating on the system using
programs like
.Xr ps 1 .
-Allows the following system calls:
.It Va "vminfo"
Allows enough
-.Xr sysctl 2
+.Xr sysctl 3
interfaces to allow inspection of the system's virtual memory by
programs like
.Xr top 1 ,