# musl: Add unwinding protection in clone\(\) implementations\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c666ebb1f8aac440a4d0d554e9f8aa836bf58060)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c666ebb1f8aac440a4d0d554e9f8aa836bf58060

Requested commit: c666ebb1f8aac440a4d0d554e9f8aa836bf58060

Commit: c666ebb1f8aac440a4d0d554e9f8aa836bf58060

Tree: ddbed1598f7fa9f0737c4a33a72c560b585577b7

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
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.

```

## Parents

- [da018f972619377e8c044c5c27ebf231be262bb3](https://git.cafe/gitcafe/zig/commit/da018f972619377e8c044c5c27ebf231be262bb3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c666ebb1f8aac440a4d0d554e9f8aa836bf58060?format=markdown)
