aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2023-01-11 03:01:59 +0000
committerAlan Somers <asomers@FreeBSD.org>2023-01-11 03:53:30 +0000
commitdb1cdf2fabfe15592ced2dedfb738778f2e2d441 (patch)
tree7050a7ad62cfd4158857ef26e36962cfa1cd9841
parentd5c85ac6526dcd0ac25ebdb71969c8c788d5e13b (diff)
libcasper.3: document cap_init's single-threaded program requirement
Because it internally forks. [skip ci] MFC after: 1 week Sponsored by: Axcient Reviewed by emaste, imp Differential Revision: https://reviews.freebsd.org/D38020
-rw-r--r--lib/libcasper/libcasper/libcasper.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcasper/libcasper/libcasper.3 b/lib/libcasper/libcasper/libcasper.3
index a53ebed0dff1..6d4c49cf8ad0 100644
--- a/lib/libcasper/libcasper/libcasper.3
+++ b/lib/libcasper/libcasper/libcasper.3
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 29, 2022
+.Dd January 10, 2023
.Dt LIBCASPER 3
.Os
.Sh NAME
@@ -96,6 +96,7 @@ The
.Fn cap_init
function instantiates a capability to allow a program to access
the casper daemon.
+It must be called from a single-threaded context.
.Pp
The
.Fn cap_wrap