Linux 6.15 will bring open_tree_attr() system call.

"Add open_tree_attr() which allow to atomically create a detached mount tree and set mount options on it. If OPEN_TREE_CLONE is used this will allow the creation of a detached mount with a new set of mount options without it ever being exposed to userspace without that set of mount options applied."

lore.kernel.org/all/20250128-w

0

If you have a fediverse account, you can quote this note from your own instance. Search https://society.oftrolls.com/users/hrw/statuses/114222151617035654 on your instance and quote it. (Note that quoting is not supported in Mastodon.)