Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Unverified Commit 028b6e8a authored by Dmitry V. Levin's avatar Dmitry V. Levin Committed by Christian Brauner
Browse files

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: 7f192e3c

 ("fork: add clone3")
Bisected-and-tested-by: default avatarAnatoly Pugachev <matorola@gmail.com>
Signed-off-by: default avatarDmitry V. Levin <ldv@altlinux.org>
Link: https://lore.kernel.org/r/20190714162047.GB10389@altlinux.org


Signed-off-by: default avatarChristian Brauner <christian@brauner.io>
parent 964a4eac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment