Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 18:55:54 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340502 - stable/12/lib/libcasper/libcasper
Message-ID:  <201811171855.wAHItsta015771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Nov 17 18:55:53 2018
New Revision: 340502
URL: https://svnweb.freebsd.org/changeset/base/340502

Log:
  MFC r340160;
  Document the fact that cap_limit_set() always frees the input nvlist.

Modified:
  stable/12/lib/libcasper/libcasper/libcasper.3
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/libcasper/libcasper/libcasper.3
==============================================================================
--- stable/12/lib/libcasper/libcasper/libcasper.3	Sat Nov 17 18:54:34 2018	(r340501)
+++ stable/12/lib/libcasper/libcasper/libcasper.3	Sat Nov 17 18:55:53 2018	(r340502)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 6, 2018
+.Dd November 5, 2018
 .Dt LIBCASPER 3
 .Os
 .Sh NAME
@@ -161,9 +161,11 @@ it means there are no limits set.
 The
 .Fn cap_limit_set
 function sets limits for the given capability.
-The limits are provided as
+The limits are provided as a
 .Xr nvlist 9 .
 The exact format depends on the service the capability represents.
+.Fn cap_limit_set
+frees the limits regardless of whether the operation succeeds or fails.
 .Pp
 The
 .Fn cap_send_nvlist



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811171855.wAHItsta015771>