diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-04-13 17:45:14 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-04-13 17:45:14 -0300 |
commit | bdc12a77b746b5ce96329cb7566b3ef46e79294f (patch) | |
tree | 01b62dbfe8195f00ac197d56ba1bab023f6ca807 /sysdeps/unix/sysv | |
parent | a9880586eedb3ba89ca6a7c5e3f0664c279cf636 (diff) | |
download | glibc-bdc12a77b746b5ce96329cb7566b3ef46e79294f.tar.gz glibc-bdc12a77b746b5ce96329cb7566b3ef46e79294f.tar.xz glibc-bdc12a77b746b5ce96329cb7566b3ef46e79294f.zip |
linux: sysconf: Use a more explicit maximum_ARG_MAX
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/sysconf.c | 2 |
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); |