diff options
author | Carlos Eduardo Seo <carlos.seo@arm.com> | 2022-05-18 00:52:09 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:31:25 +0000 |
commit | f1d4e428354a0b9b04b47508af8592ff9caa516b (patch) | |
tree | a00159774128c0c091bba93566be9850e9e1d924 /include | |
parent | 4661ab7a69fd30bf29f6dfdb39d76cc5d13c9cc6 (diff) | |
download | glibc-f1d4e428354a0b9b04b47508af8592ff9caa516b.tar.gz glibc-f1d4e428354a0b9b04b47508af8592ff9caa516b.tar.xz glibc-f1d4e428354a0b9b04b47508af8592ff9caa516b.zip |
TODO(api): cheri: misc: Implement new function getauxptr for CHERI capabilities
New function to return values from the auxiliary vector as capabilities. This is the same as implemented by other C libraries. TODO: agree about exact semantics across libcs
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/auxv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/auxv.h b/include/sys/auxv.h index dd0602b08d..0bd40bd835 100644 --- a/include/sys/auxv.h +++ b/include/sys/auxv.h @@ -10,4 +10,8 @@ libc_hidden_proto (__getauxval) _Bool __getauxval2 (unsigned long int type, unsigned long int *result); libc_hidden_proto (__getauxval2) +/* Like getauxval, but for Arm Morello capabilities. */ +extern __typeof (getauxptr) __getauxptr; +libc_hidden_proto (__getauxptr) + #endif /* !_ISOMAC */ |