svn commit: r188315 - head/sys/security/audit
Robert Watson
rwatson at FreeBSD.org
Sun Feb 8 07:38:32 PST 2009
Author: rwatson
Date: Sun Feb 8 15:38:31 2009
New Revision: 188315
URL: http://svn.freebsd.org/changeset/base/188315
Log:
Set the lower bound on queue size for an audit pipe to 1 instead of 0,
as an audit pipe with a queue length of 0 is less useful.
Obtained from: TrustedBSD Project
Sponsored by: Apple, Inc.
MFC after: 1 week
Modified:
head/sys/security/audit/audit_pipe.c
Modified: head/sys/security/audit/audit_pipe.c
==============================================================================
--- head/sys/security/audit/audit_pipe.c Sun Feb 8 14:43:20 2009 (r188314)
+++ head/sys/security/audit/audit_pipe.c Sun Feb 8 15:38:31 2009 (r188315)
@@ -1,6 +1,6 @@
/*-
* Copyright (c) 2006 Robert N. M. Watson
- * Copyright (c) 2008 Apple, Inc.
+ * Copyright (c) 2008-2009 Apple, Inc.
* All rights reserved.
*
* This software was developed by Robert Watson for the TrustedBSD Project.
@@ -76,7 +76,7 @@ static MALLOC_DEFINE(M_AUDIT_PIPE_PRESEL
* Audit pipe buffer parameters.
*/
#define AUDIT_PIPE_QLIMIT_DEFAULT (128)
-#define AUDIT_PIPE_QLIMIT_MIN (0)
+#define AUDIT_PIPE_QLIMIT_MIN (1)
#define AUDIT_PIPE_QLIMIT_MAX (1024)
/*
More information about the svn-src-all
mailing list