From df73dd5d7bb6bd799e0f2a3b1c892014e21c8172 Mon Sep 17 00:00:00 2001 From: "Hui, Chunyang" Date: Tue, 13 Apr 2021 10:42:44 +0000 Subject: [PATCH] Remove CLONE_PARENT_SETTID from clone mandatory flags --- src/libos/src/process/do_clone.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libos/src/process/do_clone.rs b/src/libos/src/process/do_clone.rs index 957676a9..66dfe81d 100644 --- a/src/libos/src/process/do_clone.rs +++ b/src/libos/src/process/do_clone.rs @@ -157,7 +157,6 @@ fn check_clone_args( /// CLONE_SETTLS /// CLONE_SIGHAND /// CLONE_SYSVSEM -/// CLONE_PARENT_SETTID /// ``` /// /// # Optional flags @@ -166,6 +165,7 @@ fn check_clone_args( /// ``` /// CLONE_CHILD_CLEARTID /// CLONE_CHILD_SETTID +/// CLONE_PARENT_SETTID /// ``` /// /// # Ignored flags @@ -204,7 +204,6 @@ fn check_clone_flags(flags: CloneFlags) -> Result<()> { | CloneFlags::CLONE_SETTLS | CloneFlags::CLONE_SIGHAND | CloneFlags::CLONE_SYSVSEM - | CloneFlags::CLONE_PARENT_SETTID }; static ref UNSUPPORTED_FLAGS: CloneFlags = { CloneFlags::CLONE_VFORK