diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-02-08 15:38:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-02-08 15:38:31 +0000 |
commit | 1d82f9d188f6faaceb287719291ae2eaf33221a6 (patch) | |
tree | 28e34888c1be6c423cd94bb285b9f04834532fd4 | |
parent | 5113debaad65ae0f3d1d1127fb607ed41ff46023 (diff) | |
download | FreeBSD-src-1d82f9d188f6faaceb287719291ae2eaf33221a6.zip FreeBSD-src-1d82f9d188f6faaceb287719291ae2eaf33221a6.tar.gz |
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
-rw-r--r-- | sys/security/audit/audit_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c index 318f41d..a03b915 100644 --- a/sys/security/audit/audit_pipe.c +++ b/sys/security/audit/audit_pipe.c @@ -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) /* |