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.comSigned-off-by: Christian Brauner <brauner@kernel.org>
Showing
Please register or sign in to comment