aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-11-13 09:18:37 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2024-12-11 00:10:17 +0100
commitc666ebb1f8aac440a4d0d554e9f8aa836bf58060 (patch)
treeddbed1598f7fa9f0737c4a33a72c560b585577b7 /lib/libc/include
parentda018f972619377e8c044c5c27ebf231be262bb3 (diff)
downloadzig-c666ebb1f8aac440a4d0d554e9f8aa836bf58060.tar.gz
zig-c666ebb1f8aac440a4d0d554e9f8aa836bf58060.zip
musl: Add unwinding protection in clone() implementations.
Whatever was in the frame pointer register prior to clone() will no longer be valid in the child process, so zero it to protect FP-based unwinders. This is just an extension of what was already done for i386 and x86_64. Only applied to architectures where the _start() code also zeroes the frame pointer.
Diffstat (limited to 'lib/libc/include')
0 files changed, 0 insertions, 0 deletions