From owner-p4-projects@FreeBSD.ORG Wed Aug 16 13:10:21 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 B88C316A4E7; Wed, 16 Aug 2006 13:10:21 +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 9270716A4FA for ; Wed, 16 Aug 2006 13:10:21 +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 5B9CE43D45 for ; Wed, 16 Aug 2006 13:10:21 +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 k7GDALKV068439 for ; Wed, 16 Aug 2006 13:10:21 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 k7GDALB1068436 for perforce@freebsd.org; Wed, 16 Aug 2006 13:10:21 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 16 Aug 2006 13:10:21 GMT Message-Id: <200608161310.k7GDALB1068436@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 104217 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, 16 Aug 2006 13:10:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=104217 Change 104217 by rwatson@rwatson_zoo on 2006/08/16 13:09:57 Provide MAXAUDITATA constant, as documented in audit.2, and use it in preference in the include file. Bump the maximum record limit up to OpenSolaris's default, as argument/environmental data can be quite large. Affected files ... .. //depot/projects/trustedbsd/openbsm/bsm/audit.h#18 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/bsm/audit.h#18 (text+ko) ==== @@ -30,7 +30,7 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#17 $ + * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#18 $ */ #ifndef _BSM_AUDIT_H @@ -38,7 +38,8 @@ #define AUDIT_RECORD_MAGIC 0x828a0f1b #define MAX_AUDIT_RECORDS 20 -#define MAX_AUDIT_RECORD_SIZE 4096 +#define MAXAUDITDATA (0x8000 - 1) +#define MAX_AUDIT_RECORD_SIZE MAXAUDITDATA #define MIN_AUDIT_FILE_SIZE (512 * 1024) /*