1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-23 10:12:33 +03:00
Files
glibc/sysdeps/unix/sysv/linux
Adhemerval Zanella Netto 98f9435f33 Linux: optimize clone3 internal usage
Add an optimization to avoid calling clone3 when glibc detects that
there is no kernel support.  It also adds __ASSUME_CLONE3, which allows
skipping this optimization and issuing the 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.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2023-02-01 08:42:11 -03:00
..
2023-02-01 08:42:11 -03:00
2022-12-07 14:41:21 -03:00