From: Carlos Eduardo Seo Date: Fri, 20 May 2022 14:39:29 +0000 (+0000) Subject: cheri: elf: Add new AT_* auxv type definitions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f37bd95a683d83d2da599b07a81e0c57945c38;p=thirdparty%2Fglibc.git cheri: elf: Add new AT_* auxv type definitions Follows the morello pure capability user ABI of linux. --- diff --git a/elf/elf.h b/elf/elf.h index 4a5653c4191..878dc9bf835 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -1243,6 +1243,18 @@ 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_STACK_CAP 64 +#define AT_CHERI_SEAL_CAP 65 +#define AT_CHERI_CID_CAP 66 +#define AT_ARGC 80 +#define AT_ARGV 81 +#define AT_ENVC 82 +#define AT_ENVP 83 + /* Note section contents. Each entry in the note section begins with a header of a fixed form. */