[PATCH v3 32/32] elf: Use memory protection keys for the protected memory allocator

Florian Weimer fweimer@redhat.com
Sun Feb 2 17:46:47 GMT 2025


* Joseph Myers:

> On Thu, 7 Dec 2023, Florian Weimer wrote:
>
>> diff --git a/NEWS b/NEWS
>> index 8c1c149f91..a5ebe7cd54 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -149,6 +149,10 @@ Major new features:
>>    explicitly enabled, then fortify source is forcibly disabled so to keep
>>    original behavior unchanged.
>>  
>> +* The dynamic linker keeps link maps and other data structures read-only
>> +  most of the time (RELRO link maps).  This behavior can be controlled
>> +  by the new glibc.rtld.protmem tunable.
>> +
>
> This will need to move from the 2.38 section to the 2.40 section.

Moved to the 2.42 section for now.

>> +          _dl_fatal_printf ("\
>> +Fatal glibc eror: cannot apply protoection key to protected memory\n");
>
> s/protoection/protection/

I'm resubmitting without the debugging allocator, so this code is gone.

Thanks,
Florian



More information about the Libc-alpha mailing list