Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The propagation type of
.I new_root
and its parent mount must not be
+.BR MS_SHARED ;
+similarly, if
+.I put_old
+is an existing mount point, its propagation type must not be
.BR MS_SHARED .
.SH RETURN VALUE
On success, zero is returned.
has propagation type
.BR MS_SHARED .
.TP
+.B EINVAL
+.I put_old
+is a mount point and has the propagation type
+.BR MS_SHARED .
+.TP
.B ENOTDIR
\fInew_root\fP or \fIput_old\fP is not a directory.
.TP