HomeFreeBSD

gcore: Don't hardcode VM write permissions.

Description

gcore: Don't hardcode VM write permissions.

This ensures read-only PT_LOAD segments are not marked as writable in
the phdr flags.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D35398

(cherry picked from commit 81c857dd7e6a83924a8e45684fb94024fc3c929b)

Details

Provenance
jhbAuthored on Jun 6 2022, 11:43 PM
Reviewer
markj
Differential Revision
D35398: gcore: Don't hardcode VM write permissions.
Parents
rG558cb98269d9: gcore: Remove unused elf_note_arm_vfp function.
Branches
Unknown
Tags
Unknown