aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-07-17 08:31:05 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2024-07-08 09:41:44 +0100
commit1e304d6c78598dc293b4c991c6a87626713cb12c (patch)
treeb53dd817a6a8b0341b7beb6cca6a0424a81419ab /malloc/alloc_buffer_alloc_array.c
parenta6d1efba9efe454cac27c00f8d8c7515a8b95a19 (diff)
downloadglibc-1e304d6c78598dc293b4c991c6a87626713cb12c.tar.xz
glibc-1e304d6c78598dc293b4c991c6a87626713cb12c.zip
aarch64: Add glibc.cpu.aarch64_gcs tunable
This tunable is for controlling the GCS status. It is the argument to the PR_SET_SHADOW_STACK_STATUS prctl, by default 0, so GCS is disabled. The status is stored into GL(dl_aarch64_gcs) early and only applied later, since enabling GCS is tricky: it must happen on a top level stack frame. (Using GL instead of GLRO because it may need updates depending on loaded libraries that happen after readonly protection is applied, however library marking based GCS setting is not yet implemented.)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions