Date: Mon, 11 Jan 2016 19:32:07 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r293686 - stable/10/usr.bin/rctl Message-ID: <201601111932.u0BJW7BI069855@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601111932.u0BJW7BI069855>