1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-19 21:04:26 +00:00
Dmitry V. Levin 028b6e8a89
clone: fix CLONE_PIDFD support
The introduction of clone3 syscall accidentally broke CLONE_PIDFD
support in traditional clone syscall on compat x86 and those
architectures that use do_fork to implement clone syscall.

This bug was found by strace test suite.

Link: https://strace.io/logs/strace/2019-07-12
Fixes: 7f192e3cd316 ("fork: add clone3")
Bisected-and-tested-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Link: https://lore.kernel.org/r/20190714162047.GB10389@altlinux.org
Signed-off-by: Christian Brauner <christian@brauner.io>
2019-07-14 20:36:12 +02:00
..
2019-07-11 18:11:21 -07:00
2019-07-08 09:54:55 -07:00
2019-07-14 20:36:12 +02:00
2019-07-10 21:22:43 -07:00
2019-07-12 15:13:55 -07:00
2019-07-09 10:05:22 -07:00
2019-07-08 18:55:42 -07:00
2019-07-01 08:18:54 -06:00
2019-07-08 11:00:02 +02:00
2019-07-10 13:17:30 +02:00
2019-07-12 16:54:37 -07:00
\n
2019-07-10 20:09:17 -07:00
2019-07-12 15:13:55 -07:00
2019-07-05 21:34:50 +02:00
2019-07-08 19:36:47 -07:00
2019-07-11 15:14:16 +02:00
2019-07-08 19:25:19 -07:00
2019-07-08 18:04:41 +02:00
2019-06-28 12:17:55 +02:00
2019-07-08 19:19:37 -07:00
2019-07-08 10:51:25 +02:00
2019-07-12 11:05:43 -07:00
2019-07-11 10:09:44 -07:00
2019-07-07 11:50:03 +02:00
2019-07-08 19:19:37 -07:00