aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-07-12 21:10:07 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-07-12 21:23:47 -0700
commitc523294a0c4ee3193bbb490c858ece396e627e86 (patch)
tree683874e7ec62444fb3d61511887872f4fa96f20b
parentefd293947f940180eedd8d0915b124f4aedccc08 (diff)
downloadlibcap-c523294a0c4ee3193bbb490c858ece396e627e86.tar.gz
Clarify some cap_launch documentation.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--doc/cap_launch.38
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/cap_launch.3 b/doc/cap_launch.3
index 5f46396..e4d4edc 100644
--- a/doc/cap_launch.3
+++ b/doc/cap_launch.3
@@ -112,8 +112,12 @@ the desired one.
.BR cap_launcher_set_iab ()
This function returns the \fBcap_iab_t\fP previously associated with
the launcher. Calling this function with an IAB value of NULL will
-configure the launcher to not set an IAB value (the default).
-See \fBcap_iab\fP(3) for details on the IAB set.
+configure the launcher to not set an IAB value (the default). See
+\fBcap_iab\fP(3) for details on the IAB set. Note, the launcher is
+associated directly with the supplied \fIiab\fP value, and does not
+make a copy of it. Set with NULL to regain control over the memory
+associated with that IAB value, otherwise the IAB value will be
+\fBcap_free\fI()\fP'd when the launcher is.
.sp
.BR cap_launcher_set_chroot ()
This function causes the launched program executable to be invoked