Author: trasz
Date: Mon Jan 11 19:32:07 2016
New Revision: 293686
URL: https://svnweb.freebsd.org/changeset/base/293686

Log:
  MFC r290408:
  
  Make rctl(8) use more reasonable buffer size for retrieving the rules.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/usr.bin/rctl/rctl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/rctl/rctl.c
==============================================================================
--- stable/10/usr.bin/rctl/rctl.c       Mon Jan 11 19:29:12 2016        
(r293685)
+++ stable/10/usr.bin/rctl/rctl.c       Mon Jan 11 19:32:07 2016        
(r293686)
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
 #include <stdlib.h>
 #include <string.h>
 
-#define        RCTL_DEFAULT_BUFSIZE    4096
+#define        RCTL_DEFAULT_BUFSIZE    128 * 1024
 
 static id_t
 parse_user(const char *s)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to