diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2016-04-17 14:36:45 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2016-04-17 14:36:45 +0000 |
commit | 50e75280ec426add28369abfa67b5c3d0906143d (patch) | |
tree | a66b3d24f8a70c0b50dc3643c20abb55b2d3c6bd /lib/libc | |
parent | 78cccde4fe3b4ebc60d6d483af55dcfabeb179c6 (diff) |
document pledge(2); from rob pierce
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/intro.2 | 8 |
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 |