[PATCH] linux: sysconf: limit _SC_MAX_ARG to 6 MiB [BZ #25305]

Florian Weimer fweimer@redhat.com
Wed Apr 7 19:04:03 GMT 2021


* Adhemerval Zanella:

> IMHO being conservative and use the lower bound of all supported kernels.
> I really don't think trying to be smart here with dynamic probing
> will add much, specially since this upper limit is what kernel will
> support from now on.

Ah, if the conservative choice does not penalize newer kernels, then I
guess that's okay as well.

Then the argument goes like this: If you want us to make the limit
dynamic, add something to the auxiliary vector. 8-)

Thanks,
Florian



More information about the Libc-alpha mailing list