]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
TODO: cheri: elf: Add new AT_* auxv types
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 31 Aug 2022 10:55:45 +0000 (11:55 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 12 Oct 2022 13:22:03 +0000 (14:22 +0100)
Used for purecap ABI.

TODO: squash into
091bcf0e1c cheri: elf: Add new a_type entries

elf/elf.h

index 6ced67f7c1cb1907f10c1f448c9d1ba669f503be..5f0b90f4c45bbb923a2320326ab4b02058ae2b30 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1252,11 +1252,17 @@ 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
+#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.  */