]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
cheri: elf: Add new a_type entries
authorCarlos Eduardo Seo <carlos.seo@arm.com>
Fri, 20 May 2022 14:39:29 +0000 (14:39 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 5 Aug 2022 18:45:19 +0000 (19:45 +0100)
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

index 4a5653c4191851c3e27b54bdab7da86b773445c1..741383610ec134e52ad2ba83316766c730d435e4 100644 (file)
--- 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.  */