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
This commit is contained in:
Robert Watson 2009-02-08 15:38:31 +00:00
parent 2656fef981
commit 8f8dedbed8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188315

View File

@ -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_PRESELECT, "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)
/*