From owner-p4-projects@FreeBSD.ORG Wed Jun 10 19:55:30 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 336001065675; Wed, 10 Jun 2009 19:55:30 +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 E5713106566B for ; Wed, 10 Jun 2009 19:55:29 +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 D1D638FC12 for ; Wed, 10 Jun 2009 19:55:29 +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 n5AJtTEB020610 for ; Wed, 10 Jun 2009 19:55:29 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 n5AJtT7o020608 for perforce@freebsd.org; Wed, 10 Jun 2009 19:55:29 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 10 Jun 2009 19:55:29 GMT Message-Id: <200906101955.n5AJtT7o020608@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 164041 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: Wed, 10 Jun 2009 19:55:31 -0000 http://perforce.freebsd.org/chv.cgi?CH=164041 Change 164041 by rwatson@rwatson_freebsd_capabilities on 2009/06/10 19:55:11 More loose ends in agent -> sandbox rename. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#9 edit .. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#8 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#9 (text+ko) ==== @@ -47,19 +47,19 @@ .Ft int .Fn lc_limitfd "int fd" "cap_rights_t rights" .Ft int -.Fn lch_start "const char *sandbox" "char *const argv[]" "struct lc_sandbox **lcap" +.Fn lch_start "const char *sandbox" "char *const argv[]" "struct lc_sandbox **lcsp" .Ft void -.Fn lch_stop "struct lc_sandbox *lcap" +.Fn lch_stop "struct lc_sandbox *lcsp" .Ft int -.Fn lch_getsock "struct lc_sandbox *lcap" "int *fdp" +.Fn lch_getsock "struct lc_sandbox *lcsp" "int *fdp" .Ft int -.Fn lch_getpid "struct lc_sandbox *lcap" "pid_t *pidp" +.Fn lch_getpid "struct lc_sandbox *lcsp" "pid_t *pidp" .Ft int -.Fn lch_getprocdesc "struct lc_sandbox *lcap" "int *fdp" +.Fn lch_getprocdesc "struct lc_sandbox *lcsp" "int *fdp" .Ft ssize_t -.Fn lch_recv "struct lc_sandbox *lcap, void *buf" "size_t len" "int flags" +.Fn lch_recv "struct lc_sandbox *lcsp, void *buf" "size_t len" "int flags" .Ft ssize_t -.Fn lch_send "struct lc_sandbox *lcap" "const void *msg" "size_t len" "int flags" +.Fn lch_send "struct lc_sandbox *lcsp" "const void *msg" "size_t len" "int flags" .Ft int .Fn lcs_get "struct lc_host **lchpp" .Ft int ==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#8 (text+ko) ==== @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#7 $ + * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#8 $ */ #ifndef _LIBCAPABILITY_H_ @@ -48,21 +48,21 @@ * Interfaces to start and stop capability mode sandboxs. */ int lch_start(const char *sandbox, char *const argv[], - struct lc_sandbox **lcapp); -void lch_stop(struct lc_sandbox *lcap); + struct lc_sandbox **lcspp); +void lch_stop(struct lc_sandbox *lcsp); /* * Interfaces to query state about capability mode sandboxs. */ -int lch_getsock(struct lc_sandbox *lcap, int *fdp); -int lch_getpid(struct lc_sandbox *lcap, pid_t *pidp); -int lch_getprocdesc(struct lc_sandbox *lcap, int *fdp); +int lch_getsock(struct lc_sandbox *lcsp, int *fdp); +int lch_getpid(struct lc_sandbox *lcsp, pid_t *pidp); +int lch_getprocdesc(struct lc_sandbox *lcsp, int *fdp); /* * I/O interfaces for capability mode sandboxs. */ -ssize_t lch_recv(struct lc_sandbox *lcap, void *buf, size_t len, int flags); -ssize_t lch_send(struct lc_sandbox *lcap, const void *msg, size_t len, +ssize_t lch_recv(struct lc_sandbox *lcsp, void *buf, size_t len, int flags); +ssize_t lch_send(struct lc_sandbox *lcsp, const void *msg, size_t len, int flags); /*