[PATCH v6 1/2] elf: Do not duplicate the GLIBC_TUNABLES string

Andreas Schwab schwab@suse.de
Thu Jun 11 16:18:19 GMT 2026


On Dez 06 2023, Adhemerval Zanella wrote:

> Since the environment variable is allocated on the stack by the kernel,
> it is safe to keep the references to the suboptions for later parsing
> of string tunables (as done by set_hwcaps by multiple architectures).

Is that true?  What is the expected lifetime of the string parameter?

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list