PERFORCE change 104217 for review

Robert Watson rwatson at FreeBSD.org
Wed Aug 16 13:11:43 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=104217

Change 104217 by rwatson at 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)
 
 /*


More information about the trustedbsd-cvs mailing list