Date: Wed, 16 Aug 2006 13:10:21 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 104217 for review Message-ID: <200608161310.k7GDALB1068436@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608161310.k7GDALB1068436>