From d4b2104ae58059a3ed193a131f2b248304f09a37 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 23 Sep 2019 12:26:37 +0200 Subject: [PATCH] pivot_root.2: Correct the list of mount points that can't be MS_SHARED Eric Biederman noted that my list of directories that could not have shared propagation was incorrect. I had written that new_root could not be shared; rather it should be: the parent of the current root mount point. Reported-by: Eric W. Biederman Signed-off-by: Michael Kerrisk --- man2/pivot_root.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index 6c84977d1..7d3423c66 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -91,9 +91,9 @@ must be a mount point. .I new_root on top of itself.) .IP \- -The propagation type of -.I new_root -and its parent mount must not be +The propagation type of the parent mount of +.IR new_root +and the parent mount of the current root directory must not be .BR MS_SHARED ; similarly, if .I put_old