Paul Floyd b31ff3321e Improve FreeBSD handling of W^X setting.
FreeBSD has a sysctl that prevents mmapping regions
that are both Write and Exec. This setting prevents
Valgrind from workig correctly.

This change uses ELF tags to turn off W^X control,
and also removes a sysctl check for the same flag.

Patch contributor:
0a3a794143
2022-10-16 18:58:52 +02:00
..
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00
2021-10-09 15:01:08 +02:00
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00
2021-10-06 21:24:17 +02:00