From bdc12a77b746b5ce96329cb7566b3ef46e79294f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 13 Apr 2021 17:45:14 -0300 Subject: linux: sysconf: Use a more explicit maximum_ARG_MAX --- sysdeps/unix/sysv/linux/sysconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/sysconf.c') diff --git a/sysdeps/unix/sysv/linux/sysconf.c b/sysdeps/unix/sysv/linux/sysconf.c index 41319b19ac..daaeeb7d36 100644 --- a/sysdeps/unix/sysv/linux/sysconf.c +++ b/sysdeps/unix/sysv/linux/sysconf.c @@ -35,7 +35,7 @@ /* Newer kernels (4.13) limit the maximum command line arguments lengths to 6MiB. */ -#define maximum_ARG_MAX 6291456 +#define maximum_ARG_MAX (6 * 1024 * 1024) static long int posix_sysconf (int name); -- cgit 1.4.1