Thread (49 messages) 49 messages, 4 authors, 2025-08-25

Re: [PATCH v3 09/12] man/man2/open_tree.2: document "new" mount API

From: Christian Brauner <brauner@kernel.org>
Date: 2025-08-21 11:33:29
Also in: linux-api, linux-fsdevel, lkml

On Thu, Aug 21, 2025 at 03:27:26PM +0400, Askar Safin wrote:
man open_tree says:
quoted
mount propagation
(as described in
.BR mount_namespaces (7))
will not be applied to bind-mounts created by
.BR open_tree ()
until the bind-mount is attached with
.BR move_mount (2),
It seems this is wrong, because this commit exists: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=06b1ce966e3f8bfef261c111feb3d4b33ede0cd8 .
I'm not sure about this. (I didn't test this.)
No, it's correct. I reverted this because it broke userspace that relies
on this behavior.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help