From owner-svn-src-head@freebsd.org Sat Feb 24 16:31:27 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3328F2C824; Sat, 24 Feb 2018 16:31:27 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5030D6B771; Sat, 24 Feb 2018 16:31:27 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 31329280F5; Sat, 24 Feb 2018 16:31:27 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1OGVReB059078; Sat, 24 Feb 2018 16:31:27 GMT (envelope-from oshogbo@FreeBSD.org) Received: (from oshogbo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1OGVQb7059076; Sat, 24 Feb 2018 16:31:26 GMT (envelope-from oshogbo@FreeBSD.org) Message-Id: <201802241631.w1OGVQb7059076@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: oshogbo set sender to oshogbo@FreeBSD.org using -f From: Mariusz Zaborski Date: Sat, 24 Feb 2018 16:31:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329912 - in head/lib/libcasper: libcasper services/cap_dns X-SVN-Group: head X-SVN-Commit-Author: oshogbo X-SVN-Commit-Paths: in head/lib/libcasper: libcasper services/cap_dns X-SVN-Commit-Revision: 329912 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2018 16:31:28 -0000 Author: oshogbo Date: Sat Feb 24 16:31:26 2018 New Revision: 329912 URL: https://svnweb.freebsd.org/changeset/base/329912 Log: Fix reference to nvlist in man pages. Reviewed by: @bcr @brueffer Pointed out by: @brueffer Differential Revision: https://reviews.freebsd.org/D14410 Modified: head/lib/libcasper/libcasper/libcasper.3 head/lib/libcasper/services/cap_dns/cap_dns.3 Modified: head/lib/libcasper/libcasper/libcasper.3 ============================================================================== --- head/lib/libcasper/libcasper/libcasper.3 Sat Feb 24 16:28:45 2018 (r329911) +++ head/lib/libcasper/libcasper/libcasper.3 Sat Feb 24 16:31:26 2018 (r329912) @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 17, 2018 +.Dd February 24, 2018 .Dt LIBCASPER 3 .Os .Sh NAME @@ -160,25 +160,34 @@ it means there are no limits set. The .Fn cap_limit_set function sets limits for the given capability. -The limits are provided as nvlist. +The limits are provided as +.Xr nvlist 9 . The exact format depends on the service the capability represents. .Pp The .Fn cap_send_nvlist -function sends the given nvlist over the given capability. +function sends the given +.Xr nvlist 9 +over the given capability. This is low level interface to communicate with casper services. Most services should provide higher level API. .Pp The .Fn cap_recv_nvlist -function receives the given nvlist over the given capability. +function receives the given +.Xr nvlist 9 +over the given capability. .Pp The .Fn cap_xfer_nvlist -function sends the given nvlist, destroys it and receives new nvlist in -response over the given capability. -It does not matter if the function succeeds or fails, the nvlist given -for sending will always be destroyed once the function returns. +function sends the given +.Xr nvlist 9, +destroys it and receives new +.Xr nvlist 9 +in response over the given capability. +It does not matter if the function succeeds or fails, the +.Xr nvlist 9 +given for sending will always be destroyed once the function returns. .Pp The .Fn cap_service_open Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 ============================================================================== --- head/lib/libcasper/services/cap_dns/cap_dns.3 Sat Feb 24 16:28:45 2018 (r329911) +++ head/lib/libcasper/services/cap_dns/cap_dns.3 Sat Feb 24 16:31:26 2018 (r329912) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 10, 2018 +.Dd February 24, 2018 .Dt CAP_DNS 3 .Os .Sh NAME @@ -105,7 +105,9 @@ and .Fn cap_dns_family_limit functions, but the limits of service can be set also using .Xr cap_limit_set 3 . -The nvlist for that function can contain the following values and types: +The +.Xr nvlist 9 +for that function can contain the following values and types: .Bl -ohang -offset indent .It type ( NV_TYPE_STRING ) The