about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-13 17:45:14 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-13 17:45:14 -0300
commitbdc12a77b746b5ce96329cb7566b3ef46e79294f (patch)
tree01b62dbfe8195f00ac197d56ba1bab023f6ca807 /sysdeps
parenta9880586eedb3ba89ca6a7c5e3f0664c279cf636 (diff)
downloadglibc-bdc12a77b746b5ce96329cb7566b3ef46e79294f.tar.gz
glibc-bdc12a77b746b5ce96329cb7566b3ef46e79294f.tar.xz
glibc-bdc12a77b746b5ce96329cb7566b3ef46e79294f.zip
linux: sysconf: Use a more explicit maximum_ARG_MAX
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sysconf.c2
1 files changed, 1 insertions, 1 deletions
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);