HomeFreeBSD

imgact_elf: Export __elfN(parse_notes)

Description

imgact_elf: Export __elfN(parse_notes)

This is useful to check if a note is present and contains an expected
value, e.g. to read NT_GNU_PROPERTY_TYPE_0 on arm64 to see if we should
enable BTI.

Reviewed by: kib, markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42439

(cherry picked from commit a04633cef81e3b29da4eb214331bd472fc2e9238)

Details

Provenance
andrewAuthored on Nov 1 2023, 3:18 PM
Reviewer
kib
Differential Revision
D42439: imgact_elf: Export __elfN(parse_notes)
Parents
rGc424b194192e: imgact_elf: Move GNU_ABI_VENDOR to a common header
Branches
Unknown
Tags
Unknown