Author: markj Date: Mon Nov 5 21:01:45 2018 New Revision: 340160 URL: https://svnweb.freebsd.org/changeset/base/340160
Log: Document the fact that cap_limit_set() always frees the input nvlist. MFC after: 1 week Sponsored by: The FreeBSD Foundation Modified: head/lib/libcasper/libcasper/libcasper.3 Modified: head/lib/libcasper/libcasper/libcasper.3 ============================================================================== --- head/lib/libcasper/libcasper/libcasper.3 Mon Nov 5 20:00:36 2018 (r340159) +++ head/lib/libcasper/libcasper/libcasper.3 Mon Nov 5 21:01:45 2018 (r340160) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"