diff options
author | H.J. Lu <[email protected]> | 2024-03-15 07:04:33 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-03-22 10:17:11 +0100 |
commit | 2883f01ec37dd8668e7222dfdb5980c86fdfe277 (patch) | |
tree | 79901073cd1ccb6d373dfc910aa5d6258bedba74 /scripts/bpf_doc.py | |
parent | 4ae3dc83b047d51485cce1a72be277a110d77c91 (diff) |
x86/shstk: Enable shadow stacks for x32
1. Add shadow stack support to x32 signal.
2. Use the 64-bit map_shadow_stack syscall for x32.
3. Set up shadow stack for x32.
Tested with shadow stack enabled x32 glibc on Intel Tiger Lake:
I configured x32 glibc with --enable-cet, build glibc and
run all glibc tests with shadow stack enabled. There are
no regressions. I verified that shadow stack is enabled
via /proc/pid/status.
Signed-off-by: H.J. Lu <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: H.J. Lu <[email protected]>
Cc: "Edgecombe, Rick P" <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions