From owner-p4-projects@FreeBSD.ORG Sat Aug 8 12:24:51 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F32321065673; Sat, 8 Aug 2009 12:24:50 +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 B3711106566B for ; Sat, 8 Aug 2009 12:24:50 +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 A1EC68FC27 for ; Sat, 8 Aug 2009 12:24:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n78COob2007251 for ; Sat, 8 Aug 2009 12:24:50 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 n78COoTi007249 for perforce@freebsd.org; Sat, 8 Aug 2009 12:24:50 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 8 Aug 2009 12:24:50 GMT Message-Id: <200908081224.n78COoTi007249@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 167101 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: Sat, 08 Aug 2009 12:24:52 -0000 http://perforce.freebsd.org/chv.cgi?CH=167101 Change 167101 by rwatson@rwatson_freebsd_capabilities on 2009/08/08 12:23:56 Improve commenting. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/usr.bin/gzip/gzsandbox.c#7 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/usr.bin/gzip/gzsandbox.c#7 (text+ko) ==== @@ -49,6 +49,10 @@ #include "gzip.h" +/* + * In the future, these library dependencies won't need to be explicit, so + * this will go away. + */ #define LC_LIB_LIBZ_SO "/lib/libz.so.4" #define LC_LIBZ_SO "libz.so.4" @@ -344,6 +348,9 @@ return (unbzip2(in, out, pre, prelen, bytes_in)); } +/* + * Main entry point for capability-mode + */ int cap_main(__unused int argc, __unused char *argv[]) {