summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2016-01-18 23:29:37 +0000
committerderaadt <deraadt@openbsd.org>2016-01-18 23:29:37 +0000
commit14b2b090b2cd1fad9715e25a5308cf421026b8ea (patch)
treec120157da4f8829cb9cfb6e3252493994fe360b8 /lib/libc/sys
parentminor tweaks: add single quote to @ char, add .Ic markup to forward-only, (diff)
downloadwireguard-openbsd-14b2b090b2cd1fad9715e25a5308cf421026b8ea.tar.xz
wireguard-openbsd-14b2b090b2cd1fad9715e25a5308cf421026b8ea.zip
adjust some syscalls in proc & id; from Carlin Bingham
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/pledge.214
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 26831153152..ee2c62feb64 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.23 2016/01/09 06:13:43 semarie Exp $
+.\" $OpenBSD: pledge.2,v 1.24 2016/01/18 23:29:37 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: January 9 2016 $
+.Dd $Mdocdate: January 18 2016 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -426,9 +426,11 @@ Allows the following process relationship operations:
.Xr fork 2 ,
.Xr vfork 2 ,
.Xr kill 2 ,
-.Xr setgroups 2 ,
-.Xr setresgid 2 ,
-.Xr setresuid 2 .
+.Xr getpriority 2 ,
+.Xr setpriority 2 ,
+.Xr setrlimit 2 ,
+.Xr setpgid 2 ,
+.Xr setsid 2 .
.It Va "exec"
Allows a process to call
.Xr execve 2 .
@@ -472,9 +474,11 @@ process:
.Pp
.Xr setuid 2 ,
.Xr seteuid 2 ,
+.Xr setreuid 2 ,
.Xr setresuid 2 ,
.Xr setgid 2 ,
.Xr setegid 2 ,
+.Xr setregid 2 ,
.Xr setresgid 2 ,
.Xr setgroups 2 ,
.Xr setlogin 2 ,