public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] linux: sysconf: Use a more explicit maximum_ARG_MAX
@ 2021-04-13 20:46 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2021-04-13 20:46 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bdc12a77b746b5ce96329cb7566b3ef46e79294f

commit bdc12a77b746b5ce96329cb7566b3ef46e79294f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Apr 13 17:45:14 2021 -0300

    linux: sysconf: Use a more explicit maximum_ARG_MAX

Diff:
---
 sysdeps/unix/sysv/linux/sysconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-13 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 20:46 [glibc] linux: sysconf: Use a more explicit maximum_ARG_MAX Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).