Author: rwatson
Date: Sun Mar  1 23:32:27 2009
New Revision: 189259
URL: http://svn.freebsd.org/changeset/base/189259

Log:
  Merge r188315 from head to stable/7:
  
    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.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/security/audit/audit_pipe.c

Modified: stable/7/sys/security/audit/audit_pipe.c
==============================================================================
--- stable/7/sys/security/audit/audit_pipe.c    Sun Mar  1 23:17:51 2009        
(r189258)
+++ stable/7/sys/security/audit/audit_pipe.c    Sun Mar  1 23:32:27 2009        
(r189259)
@@ -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)
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to