diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2022-02-18 19:02:17 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2022-02-18 19:06:53 +0000 |
commit | 2f029030fe64faa328fd2414c3370f7565f8994a (patch) | |
tree | 63d82d94d88dd1e5ac0da6a500ca2132b8b9f78e /CHANGES | |
parent | 033373634b12c8aff9ab8333c8323ce4fc714717 (diff) | |
download | ports-2f029030fe64faa328fd2414c3370f7565f8994a.tar.gz ports-2f029030fe64faa328fd2414c3370f7565f8994a.zip |
CHANGES: Document USES=elfctl
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34125
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -10,6 +10,23 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20220218: +AUTHOR: jrm@FreeBSD.org + + A new USES has been added to change an ELF binary's feature control note. + + USES= elfctl + ELF_FEATURES= +noaslr,wxneeded:foo \ + -noprotmax:foo \ + +nostackgap:bar + + Turns on noaslr and wxneeded and turns off noprotmax for the ELF + binary foo and turns on nostackgap for the ELF binary bar. + + The file paths listed in ELF_FEATURES are relative to ${BUILD_WRKSRC}. + File modifications are made post-build as certain test targets may run on + the build-tree binaries. + 20220127: AUTHOR: kde@FreeBSD.org |