aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorCarlos Eduardo Seo <carlos.seo@arm.com>2022-05-20 14:39:29 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-08-05 19:45:19 +0100
commit091bcf0e1cb51aa906ba94dc7c2abe4346ec9c5b (patch)
tree685fd69aa64257847193d1f713dee8ccc7a538b8 /elf
parent823a9cb203c3b13127db5b3e1f94a697e695735f (diff)
downloadglibc-091bcf0e1cb51aa906ba94dc7c2abe4346ec9c5b.zip
glibc-091bcf0e1cb51aa906ba94dc7c2abe4346ec9c5b.tar.gz
glibc-091bcf0e1cb51aa906ba94dc7c2abe4346ec9c5b.tar.bz2
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
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 4a5653c..7413836 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. */