mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-03 21:02:39 +02:00
Kernel+Userland: Introduce the copy_mount syscall
This new syscall will be used by the upcoming runc (run-container) utility. In addition to that, this syscall allows userspace to neatly copy RAMFS instances to other places, which was not possible in the past.
This commit is contained in:
@@ -73,6 +73,7 @@ public:
|
||||
ErrorOr<void> pivot_root_by_copying_mounted_fs_instance(VFSRootContext&, FileSystem& fs, int root_mount_flags);
|
||||
|
||||
ErrorOr<void> bind_mount(VFSRootContext&, Custody& source, Custody& mount_point, int flags);
|
||||
ErrorOr<void> copy_mount(Custody& source, VFSRootContext& destination, Custody& mount_point, int flags);
|
||||
ErrorOr<void> remount(VFSRootContext&, Custody& mount_point, int new_flags);
|
||||
ErrorOr<void> unmount(VFSRootContext&, Custody& mount_point);
|
||||
ErrorOr<void> unmount(VFSRootContext&, Inode& guest_inode, StringView custody_path);
|
||||
|
||||
Reference in New Issue
Block a user