summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-11-05 19:15:39 +0000
committertrasz <trasz@FreeBSD.org>2015-11-05 19:15:39 +0000
commit1d89c64289c6d3acac7833b0393cc90527ce8a31 (patch)
tree463000f5be8ebb703835a1e5417fc50073a628b4 /usr.bin
parentfcbc78cfbd33efe295170e5a0e20d50176097679 (diff)
downloadFreeBSD-src-1d89c64289c6d3acac7833b0393cc90527ce8a31.zip
FreeBSD-src-1d89c64289c6d3acac7833b0393cc90527ce8a31.tar.gz
Make rctl(8) use more reasonable buffer size for retrieving the rules.
Reviewed by: mjg@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rctl/rctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rctl/rctl.c b/usr.bin/rctl/rctl.c
index b534258..9153036 100644
--- a/usr.bin/rctl/rctl.c
+++ b/usr.bin/rctl/rctl.c
@@ -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)
OpenPOWER on IntegriCloud