]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
linux: sysconf: Use a more explicit maximum_ARG_MAX
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 13 Apr 2021 20:45:14 +0000 (17:45 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 13 Apr 2021 20:45:14 +0000 (17:45 -0300)
sysdeps/unix/sysv/linux/sysconf.c

index 41319b19ac94d34dcf24f1f75ee1e93e90218fc0..daaeeb7d362ab5c8245c125b9785d0e69be6f4af 100644 (file)
@@ -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);