PING: [PATCH v2] elf: Add ELF_DYNAMIC_AFTER_RELOC to rewrite PLT

H.J. Lu hjl.tools@gmail.com
Tue Jan 2 01:02:12 GMT 2024


On Mon, Jan 1, 2024 at 3:28 PM Cristian Rodríguez <cristian@rodriguez.im> wrote:
>
>
>
> On Mon, Jan 1, 2024 at 11:13 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>>
>> On Thu, Dec 21, 2023 at 7:04 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>> >
>> > Changes in v2:
>> >
>> > 1. Changed tunables to glibc.cpu.plt_rewrite.
>> > 2. Added documentation.
>> > 3. Added a testcase.
>> >
>> > H.J.
>> > --
>> > Add ELF_DYNAMIC_AFTER_RELOC to allow target specific processing after
>> > relocation.
>> >
>>
>> > $ GLIBC_TUNABLES=glibc.cpu.plt_rewrite=1
>>
>
> Why does it default to off ? I'm pretty confident that the vast majority of users do not know what the heck the PLT even is, but are paying the price of it.. the only things that come to mind that could break are rather fragile debugging tools.
>

SELinux may disallow it.


-- 
H.J.


More information about the Libc-alpha mailing list