aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-07-17 08:31:05 +0100
committerYury Khrustalev <yury.khrustalev@arm.com>2024-10-10 13:40:35 +0100
commit6c973abacff1c72b0d47fb0e96d938117cc4348e (patch)
tree5db78891812c8ba8f0ef9fde38fbfda4ab7b309a /scripts/cpp
parentd2768c779c087e6fe3e0f265e35b10407a47c297 (diff)
downloadglibc-6c973abacff1c72b0d47fb0e96d938117cc4348e.tar.xz
glibc-6c973abacff1c72b0d47fb0e96d938117cc4348e.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 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions