diff options
author | David Howells <dhowells@redhat.com> | 2018-11-05 20:40:30 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-03-21 01:49:06 +0300 |
commit | 2db154b3ea8e14b04fee23e3fdfd5e9d17fbc6ae (patch) | |
tree | b7c4c1f2497b6c04b3481fdfd461c652befbca6d /arch/x86/entry/syscalls/syscall_64.tbl | |
parent | a07b20004793d8926f78d63eb5980559f7813404 (diff) | |
download | linux-2db154b3ea8e14b04fee23e3fdfd5e9d17fbc6ae.tar.xz |
vfs: syscall: Add move_mount(2) to move mounts around
Add a move_mount() system call that will move a mount from one place to
another and, in the next commit, allow to attach an unattached mount tree.
The new system call looks like the following:
int move_mount(int from_dfd, const char *from_path,
int to_dfd, const char *to_path,
unsigned int flags);
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-api@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/entry/syscalls/syscall_64.tbl')
-rw-r--r-- | arch/x86/entry/syscalls/syscall_64.tbl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl index a6e06c35b5b1..0440f0eefa02 100644 --- a/arch/x86/entry/syscalls/syscall_64.tbl +++ b/arch/x86/entry/syscalls/syscall_64.tbl @@ -344,6 +344,7 @@ 333 common io_pgetevents __x64_sys_io_pgetevents 334 common rseq __x64_sys_rseq 335 common open_tree __x64_sys_open_tree +336 common move_mount __x64_sys_move_mount # don't use numbers 387 through 423, add new calls after the last # 'common' entry 424 common pidfd_send_signal __x64_sys_pidfd_send_signal |