Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2009 15:38:31 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188315 - head/sys/security/audit
Message-ID:  <200902081538.n18FcVMN027121@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902081538.n18FcVMN027121>