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
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.