diff options
author | trasz <trasz@FreeBSD.org> | 2015-11-05 19:15:39 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-11-05 19:15:39 +0000 |
commit | 1d89c64289c6d3acac7833b0393cc90527ce8a31 (patch) | |
tree | 463000f5be8ebb703835a1e5417fc50073a628b4 | |
parent | fcbc78cfbd33efe295170e5a0e20d50176097679 (diff) | |
download | FreeBSD-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
-rw-r--r-- | usr.bin/rctl/rctl.c | 2 |
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) |