mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-18 21:55:45 +00:00
Kernel: Properly propagate bind mount flags
Previously, when performing a bind mount flags other than MS_BIND were ignored. Now, they're properly propagated the same way a for any other mount.
This commit is contained in:
committed by
Andreas Kling
parent
b620ed25ab
commit
93ff911473
@@ -3753,7 +3753,7 @@ int Process::sys$mount(const Syscall::SC_mount_params* user_params)
|
||||
if (source_or_error.is_error())
|
||||
return source_or_error.error();
|
||||
auto& source_custody = source_or_error.value();
|
||||
return VFS::the().bind_mount(source_custody, target_custody);
|
||||
return VFS::the().bind_mount(source_custody, target_custody, params.flags);
|
||||
}
|
||||
|
||||
if (fs_type == "ext2" || fs_type == "Ext2FS") {
|
||||
|
||||
Reference in New Issue
Block a user