Re: [PATCH v2] elf: Make string tunables startup-only
Adhemerval Zanella Netto <[email protected]> Thu, 30 Jul 2026 08:47:12 -0300
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Organization | Linaro |
| Message-ID | <[email protected]> |
On 30/07/26 03:41, Andreas Schwab wrote:
> 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.
>
Maybe something like:
"internal error: %s: string tunable %s after process initialization\n"
?