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
..
2016-10-28 22:40:16 -04:00
2021-06-22 12:09:52 -03:00
2021-12-28 22:52:56 +01:00
2023-01-31 21:44:54 -05:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2017-04-07 07:45:53 -04:00
2021-07-22 18:38:04 +05:30
2021-09-15 22:57:35 +00:00
2021-07-07 18:33:52 +02:00
2021-06-30 08:43:37 +02:00
2021-09-21 08:00:44 -07:00
2019-05-02 11:42:51 +02:00
2019-10-09 17:48:41 -03:00
2022-09-17 19:58:30 +00:00
2021-06-30 08:43:37 +02:00
2019-11-06 09:20:52 -03:00
2022-05-13 19:15:46 +05:30