From owner-p4-projects@FreeBSD.ORG Thu Jun 11 20:51:27 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BCFB51065673; Thu, 11 Jun 2009 20:51:26 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AF521065670 for ; Thu, 11 Jun 2009 20:51:26 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6792A8FC14 for ; Thu, 11 Jun 2009 20:51:26 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5BKpQ5l037392 for ; Thu, 11 Jun 2009 20:51:26 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5BKpQst037390 for perforce@freebsd.org; Thu, 11 Jun 2009 20:51:26 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Thu, 11 Jun 2009 20:51:26 GMT Message-Id: <200906112051.n5BKpQst037390@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 164143 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 20:51:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=164143 Change 164143 by rwatson@rwatson_freebsd_capabilities on 2009/06/11 20:50:46 Update date, fix xrefs. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#13 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#13 (text+ko) ==== @@ -32,7 +32,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 25, 2009 +.Dd June 11, 2009 .Os .Dt LIBCAP 3 .Sh NAME @@ -86,6 +86,9 @@ .Xr unix 4 domain socket connection to the sandbox, or can provide a basic remote procedure call (RPC) facility. +Applications may also use RPC generators such as +.Xr rpcgen 1 +to build event handling and marshaling code. .Sh HOST API The .Nm @@ -210,7 +213,7 @@ .Va seqnop . .Pp When an RPC is complete, it should be returned to the host via -.Xr lcs_sendrpc , +.Fn lcs_sendrpc , which accepts the same operation and sequence number as arguments, as well as reply data via the .Vt iovec @@ -221,8 +224,15 @@ using .Xr free 3 . .Sh SEE ALSO +.Xr rpcgen 1 , .Xr cap_enter 2 , -.Xr cap_new 2 +.Xr cap_new 2 , +.Xr recv 2 , +.Xr send 2 , +.Xr writev 2 , +.Xr free 3 , +.Xr malloc 3 , +.Xr unix 4 .Sh HISTORY Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD