On Wed, Feb 03, 2021 at 02:55:44PM -0800, Yu-cheng Yu wrote: > An ELF file's .note.gnu.property indicates arch features supported by the > file. These features are extracted by arch_parse_elf_property() and stored > in 'arch_elf_state'. > > Introduce x86 feature definitions and arch_setup_elf_property(), which > enables such features. The first use-case of this function is Shadow > Stack. > > ARM64 is the other arch that has ARCH_USE_GNU_PROPERTY and arch_parse_elf_ > property(). Add arch_setup_elf_property() for it. > > Signed-off-by: Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> -- Kees Cook