forkc-add-doc-about-usage-of-clone_fs-flags-and-namespaces.patch removed from -mm tree
The patch titled
Subject: kernel/fork.c: add comment about usage of CLONE_FS flags and namespaces
has been removed from the -mm tree. Its filename was
forkc-add-doc-about-usage-of-clone_fs-flags-and-namespaces.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Marcos Paulo de Souza <[email protected]>
Subject: kernel/fork.c: add comment about usage of CLONE_FS flags and namespaces
All other places that deals with namespaces have an explanation of why the restriction is there. The description added in this commit was based on e66eded8309eb ("userns: Don't allow CLONE_NEWUSER | CLONE_FS").
---
kernel/fork.c | 4 ++++ 1 file changed, 4 insertions(+)
kernel/fork.c renamed from kernel/fork.c~forkc-add-doc-about-usage-of-clone_fs-flags-and-namespaces +4 -0
@@ -1587,6 +1587,10 @@ static __latent_entropy struct task_struint retval;struct task_struct *p; +/* +* Don't allow sharing the root directory with processes in a different +* namespace +*/ if ((clone_flags & (CLONE_NEWNS |CLONE_FS )) == (CLONE_NEWNS |CLONE_FS ))return ERR_PTR (-EINVAL );
_
Patches currently in -mm which might be from [email protected] are