Re: [PATCH v19 22/25] ELF: Introduce arch_setup_elf_property()

From
Kees Cook <hidden>
Date
2021-02-04 20:35:11
Also in
linux-api, linux-doc, linux-mm, lkml
Reply to
Yu-cheng Yu, 2021-02-03
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 <redacted>
Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Thread (67 messages) 67 messages, 5 authors, last reply 2021-02-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help