[PATCH] D124212: [sanitizer] Use canonical syscalls everywhere
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 2 13:39:38 PDT 2022
eugenis added a comment.
Thanks!
In D124212#3485433 <https://reviews.llvm.org/D124212#3485433>, @uweigand wrote:
> (As an aside, what is the reason for not just using the `fork` syscall anyway? I thought `fork` should be completely equivalent to `clone` with the termination signal set to `SIGCHLD` and no other flags?)
Primarily, Android's seccomp sandbox only allows fork as an exception for 32-bits apps but not for the system binaries. Arm64 does not even have a fork syscall; glibc uses clone on all targets.
This feels like moving in the right direction.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124212/new/
https://reviews.llvm.org/D124212
More information about the llvm-commits
mailing list