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

Details

Provenance
jhbAuthored on Jun 6 2022, 11:43 PM
Reviewer
markj
Differential Revision
D35398: gcore: Don't hardcode VM write permissions.
Parents
rGb831865fe3b8: iommu_gas: restrict tree search to promising paths
Branches
Unknown
Tags
Unknown