HomeFreeBSD

rtld: map without PROT_EXEC for relocation

Description

rtld: map without PROT_EXEC for relocation

This makes text segment relocation work under W^X.

Submitted by: Greg V <greg@unrelenting.technology> (original version)
Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D27953

Details

Provenance
emasteAuthored on Jan 4 2021, 6:55 PM
Reviewer
kib
Differential Revision
D27953: rtld: When relocating, map without PROT_EXEC
Parents
rGbed70f83ac77: ncurses: document the change requires a clean build
Branches
Unknown
Tags
Unknown