[PATCH v2] elf: Make string tunables startup-only
Andreas Schwab
schwab@suse.de
Thu Jul 30 06:41:47 GMT 2026
On Jul 29 2026, Adhemerval Zanella wrote:
> +/* Set by __tunable_seal_strings once the values of the string tunables are
> + no longer valid. */
> +static bool tunables_strings_sealed attribute_relro;
> +
> +static void __attribute__ ((noreturn))
> +tunable_sealed_error (const tunable_t *cur, const char *action)
> +{
> + _dl_fatal_printf ("Fatal glibc error: %s: string tunable %s after "
> + "process initialization\n", cur->name, action);
I think this should be presented as an internal error, ie. it is not due
to some kind of resource constraint, but a glibc programming error.
--
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