summaryrefslogtreecommitdiff
path: root/lib/libc/sys/pledge.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-22 09:23:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-22 09:23:42 +0000
commita2732079291f78de30b9a600e3589e0871354003 (patch)
treed9c9c87218159c02beeba83e369806554b466add /lib/libc/sys/pledge.2
parent06f7c019855f8639f846e8df39c34cce4b4f0a34 (diff)
document "id" request; from Gregor Best
Diffstat (limited to 'lib/libc/sys/pledge.2')
-rw-r--r--lib/libc/sys/pledge.218
1 files changed, 16 insertions, 2 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index a08a0729529..b41e034884a 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.7 2015/10/14 22:39:04 millert Exp $
+.\" $OpenBSD: pledge.2,v 1.8 2015/10/22 09:23:41 deraadt 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 14 2015 $
+.Dd $Mdocdate: October 22 2015 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -455,6 +455,20 @@ with
.Xr mmap 2
and
.Xr mprotect 2 .
+.It Va "id"
+Allows the following system calls:
+.Pp
+.Xr setuid 2 ,
+.Xr seteuid 2 ,
+.Xr setresuid 2 ,
+.Xr setgid 2 ,
+.Xr setegid 2 ,
+.Xr setresgid 2 ,
+.Xr setgroups 2 ,
+.Xr setlogin 2 ,
+.Xr setrlimit 2 ,
+.Xr getpriority 2 ,
+.Xr setpriority 2
.It Va "abort"
Deliver an unblockable
.Dv SIGABRT