aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/getcpu.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-03-01 09:44:14 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-27 14:46:52 +0100
commit1865211ef5d027f10033397b8c5d46052f069cec (patch)
tree5833ab089f8747f0eaaaa9354b1b3ec41ecdcae2 /sysdeps/unix/sysv/linux/getcpu.c
parent29844295c53af4dae2f88a62464a596414b4d269 (diff)
downloadglibc-1865211ef5d027f10033397b8c5d46052f069cec.tar
glibc-1865211ef5d027f10033397b8c5d46052f069cec.tar.gz
glibc-1865211ef5d027f10033397b8c5d46052f069cec.tar.bz2
glibc-1865211ef5d027f10033397b8c5d46052f069cec.zip
cheri: rseq: remove const to avoid readonly permission
Using const on the definition does not work for a pure capability ABI: the capability permissions when accessing the object will be read only. Use a hack to hide the public declaration in the TU where the const objects are initialized. (This should work on non-capability targets too, but to err on the safe side only enable the hack on capability targets.)
Diffstat (limited to 'sysdeps/unix/sysv/linux/getcpu.c')
0 files changed, 0 insertions, 0 deletions