commit | b639585e71e63008373d3a9fd060b87315fe7ea8 | [log] [tgz] |
---|---|---|
author | Wang Jinchao <wangjinchao@xfusion.com> | Wed Jan 31 10:54:41 2024 +0800 |
committer | Christian Brauner <brauner@kernel.org> | Fri Feb 02 13:12:28 2024 +0100 |
tree | ce3fab4d9b0ad9c8330ed42f030f4112e46cd428 | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d [diff] |
fork: Using clone_flags for legacy clone check In the current implementation of clone(), there is a line that initializes `u64 clone_flags = args->flags` at the top. This means that there is no longer a need to use args->flags for the legacy clone check. Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com> Link: https://lore.kernel.org/r/202401311054+0800-wangjinchao@xfusion.com Signed-off-by: Christian Brauner <brauner@kernel.org>