From owner-p4-projects@FreeBSD.ORG Tue Aug 15 16:23:31 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CCFC416A4E8; Tue, 15 Aug 2006 16:23:31 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EEA616A4DA for ; Tue, 15 Aug 2006 16:23:31 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D1243D7B for ; Tue, 15 Aug 2006 16:23:28 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7FGNSYv014284 for ; Tue, 15 Aug 2006 16:23:28 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7FGNPhp014281 for perforce@freebsd.org; Tue, 15 Aug 2006 16:23:25 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 15 Aug 2006 16:23:25 GMT Message-Id: <200608151623.k7FGNPhp014281@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 104050 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: Tue, 15 Aug 2006 16:23:32 -0000 http://perforce.freebsd.org/chv.cgi?CH=104050 Change 104050 by rwatson@rwatson_peppercorn on 2006/08/15 16:23:02 Fixes to 32-bit and 64-bit argument token output. Submitted by: Pawel Worach Affected files ... .. //depot/projects/trustedbsd/openbsm/HISTORY#21 edit .. //depot/projects/trustedbsd/openbsm/README#18 edit .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#39 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/HISTORY#21 (text+ko) ==== @@ -10,6 +10,8 @@ - OpenBSM-specific events assigned numbers in the 43xxx range to avoid future collisions with Solaris. Darwin events renamed to AUE_DARWIN_foo, as they are now deprecated numberings. +- autoconf now detects clock_gettime(), which is not available on Darwin. +- praudit output fixes relating to arg32 and arg64 tokens. OpenBSM 1.0 alpha 7 @@ -188,4 +190,4 @@ to support reloading of kernel event table. - Allow comments in /etc/security configuration files. -$P4: //depot/projects/trustedbsd/openbsm/HISTORY#20 $ +$P4: //depot/projects/trustedbsd/openbsm/HISTORY#21 $ ==== //depot/projects/trustedbsd/openbsm/README#18 (text+ko) ==== @@ -74,6 +74,7 @@ Olivier Houchard Christian Peron Martin Fong + Pawel Worach In addition, Coverity, Inc.'s Prevent(tm) static analysis tool and Gimpel Software's FlexeLint tool were used to identify a number of bugs in the @@ -95,4 +96,4 @@ http://www.TrustedBSD.org/ -$P4: //depot/projects/trustedbsd/openbsm/README#17 $ +$P4: //depot/projects/trustedbsd/openbsm/README#18 $ ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#39 (text+ko) ==== @@ -31,7 +31,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#38 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#39 $ */ #include @@ -820,7 +820,7 @@ print_delim(fp, del); print_1_byte(fp, tok->tt.arg32.no, "%u"); print_delim(fp, del); - print_4_bytes(fp, tok->tt.arg32.val, "%#x"); + print_4_bytes(fp, tok->tt.arg32.val, "0x%x"); print_delim(fp, del); print_string(fp, tok->tt.arg32.text, tok->tt.arg32.len); } @@ -859,7 +859,7 @@ print_delim(fp, del); print_1_byte(fp, tok->tt.arg64.no, "%u"); print_delim(fp, del); - print_8_bytes(fp, tok->tt.arg64.val, "%#llx"); + print_8_bytes(fp, tok->tt.arg64.val, "0x%llx"); print_delim(fp, del); print_string(fp, tok->tt.arg64.text, tok->tt.arg64.len); }