summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2017-06-11 02:04:39 +0000
committerallanjude <allanjude@FreeBSD.org>2017-06-11 02:04:39 +0000
commitadd5f3e1312c298d03bbd73a3ff11a1cb7d381f4 (patch)
tree2910e97c23abe263755e806b8c4c93f796481173 /lib/libc
parenta792c4a78cc396cbe2e4eb2d13bb2d7a541a9185 (diff)
downloadFreeBSD-src-add5f3e1312c298d03bbd73a3ff11a1cb7d381f4.zip
FreeBSD-src-add5f3e1312c298d03bbd73a3ff11a1cb7d381f4.tar.gz
MFC r318765:
Allow cpuset_{get,set}affinity in capabilities mode Approved by: re (marius)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/cpuset_getaffinity.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/cpuset_getaffinity.2 b/lib/libc/sys/cpuset_getaffinity.2
index c379518..dbf27ad 100644
--- a/lib/libc/sys/cpuset_getaffinity.2
+++ b/lib/libc/sys/cpuset_getaffinity.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 2, 2016
+.Dd May 23, 2017
.Dt CPUSET_GETAFFINITY 2
.Os
.Sh NAME
@@ -148,8 +148,14 @@ was either preposterously large or smaller than the kernel set size.
.It Bq Er EPERM
The calling process did not have the credentials required to complete the
operation.
+.It Bq Er ECAPMODE
+The calling process attempted to act on a process other than itself, while
+in capability mode.
+See
+.Xr capsicum 4 .
.El
.Sh SEE ALSO
+.Xr capsicum 4 ,
.Xr cpuset 1 ,
.Xr cpuset 2 ,
.Xr cpuset_getid 2 ,
OpenPOWER on IntegriCloud