diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-09-28 10:24:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-11-29 18:19:31 -0300 |
commit | c644b43efe494c57a58aa532d4686375d5e6ecbf (patch) | |
tree | c98a856ad0f7c8d71f6c278edc21726663c6c0e4 /io/poll.c | |
parent | 1aa2f565f8911f407bed88d7f7372b80aca54871 (diff) | |
download | glibc-azanella/posix_spawn-clone3.tar.gz glibc-azanella/posix_spawn-clone3.tar.xz glibc-azanella/posix_spawn-clone3.zip |
Linux: optimize clone3 internal usage azanella/posix_spawn-clone3
Now that clone3 is used on more architectures, add an optimization to avoid calling when glibc detects that it is no supported by the kernel. It also adds __ASSUME_CLONE3, which allows skip this optimization and issue clone3 syscall directly. It does not handle the the small window between 5.3 and 5.5 for posix_spawn (CLONE_CLEAR_SIGHAND was added in 5.5). Checked on x86_64-linux-gnu.
Diffstat (limited to 'io/poll.c')
0 files changed, 0 insertions, 0 deletions