From 091bcf0e1cb51aa906ba94dc7c2abe4346ec9c5b Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Seo Date: Fri, 20 May 2022 14:39:29 +0000 Subject: [PATCH] cheri: elf: Add new a_type entries The Morello Pure Capability kernel uABI defines new a_type entries: https://git.morello-project.org/morello/kernel/linux/-/wikis/Morello-pure-capability-kernel-user-Linux-ABI-specification#auxiliary-vector-auxv --- elf/elf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/elf/elf.h b/elf/elf.h index 4a5653c4191..741383610ec 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -1243,6 +1243,12 @@ typedef struct #define AT_MINSIGSTKSZ 51 /* Stack needed for signal delivery */ +# define AT_CHERI_EXEC_RW_CAP 60 +# define AT_CHERI_EXEC_RX_CAP 61 +# define AT_CHERI_INTERP_RW_CAP 62 +# define AT_CHERI_INTERP_RX_CAP 63 +# define AT_CHERI_SEAL_CAP 64 + /* Note section contents. Each entry in the note section begins with a header of a fixed form. */ -- 2.47.2