diff options
author | 2025-01-28 11:33:41 +0100 | |
---|---|---|
committer | 2025-02-12 12:12:28 +0100 | |
commit | c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 (patch) | |
tree | b3de182aaedb70d4278e12becfc23a829ffc9a82 /arch/sh | |
parent | fs: add copy_mount_setattr() helper (diff) | |
download | wireguard-linux-c4a16820d90199409c9bf01c4f794e1e9e8d8fd8.tar.xz wireguard-linux-c4a16820d90199409c9bf01c4f794e1e9e8d8fd8.zip |
fs: add open_tree_attr()
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.
Link: https://lore.kernel.org/r/20250128-work-mnt_idmap-update-v2-v1-3-c25feb0d2eb3@kernel.org
Reviewed-by: "Seth Forshee (DigitalOcean)" <sforshee@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/syscalls/syscall.tbl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/syscalls/syscall.tbl b/arch/sh/kernel/syscalls/syscall.tbl index c8cad33bf250..52a7652fcff6 100644 --- a/arch/sh/kernel/syscalls/syscall.tbl +++ b/arch/sh/kernel/syscalls/syscall.tbl @@ -470,3 +470,4 @@ 464 common getxattrat sys_getxattrat 465 common listxattrat sys_listxattrat 466 common removexattrat sys_removexattrat +467 common open_tree_attr sys_open_tree_attr |