Make rctl(8) use more reasonable buffer size for retrieving the rules.
Reviewed by: mjg@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a14954c5d6
commit
18e1f46eae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290408
@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define RCTL_DEFAULT_BUFSIZE 4096
|
#define RCTL_DEFAULT_BUFSIZE 128 * 1024
|
||||||
|
|
||||||
static id_t
|
static id_t
|
||||||
parse_user(const char *s)
|
parse_user(const char *s)
|
||||||
|
Loading…
Reference in New Issue
Block a user