Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add a FreeBSD feature note to tools
The crt1 provided for FreeBSD binaries contains a feature note section. It's used to specify OS specific elf properties that are later parsed in the kernel image activator. For example one could use it to opt-out of ASLR, or W^X policy. Since valgrind tools use a custom _start method it has to be added manually. By default we opt-out from W^X policy, since it's incompatible with how the profiled programs are loaded. All features can be modified with elfctl tool that is shipped with the base system.
- Loading branch information
1 parent
f6316d1
commit 0a3a794
Showing
1 changed file
with
37 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters