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:
parent
2656fef981
commit
8f8dedbed8
@ -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)
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user