summaryrefslogtreecommitdiffstats
path: root/usr.bin/rctl
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-01-11 19:32:07 +0000
committertrasz <trasz@FreeBSD.org>2016-01-11 19:32:07 +0000
commitcfd269b25d8fdf73c00ba853811d8c603a0c8d82 (patch)
tree6f301d73a0045a78a5ed892eb8461eec6ae53da3 /usr.bin/rctl
parent7ba2ab6d8e428a02d986248440f5b140bc6aa1c5 (diff)
downloadFreeBSD-src-cfd269b25d8fdf73c00ba853811d8c603a0c8d82.zip
FreeBSD-src-cfd269b25d8fdf73c00ba853811d8c603a0c8d82.tar.gz
MFC r290408:
Make rctl(8) use more reasonable buffer size for retrieving the rules. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/rctl')
-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