HomeFreeBSD

mmap map_at_zero test: handle W^X

Description

mmap map_at_zero test: handle W^X

Use kern.elfXX.allow_wx to decide whether to map W+X or W-only memory.

Future work could expand this test to add an "allow_wx" axis to the
test matrix, but I would argue that a separate test should be written,
since that's orthogonal to map_at_zero.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

Details

Provenance
Arka Sharma <arka_sharma@dell.com>Authored on Feb 18 2022, 3:34 PM
vangyzenCommitted on Feb 21 2022, 3:43 PM
Parents
rGea9017fb25ff: tcp: Congestion control move to using reference counting.
Branches
Unknown
Tags
Unknown