mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
Kernel/FileSystem: Don't assume flags for root filesystem mount flags
This is considered somewhat an abstraction layer violation, because we should always let userspace to decide on the root filesystem mount flags because it allows the user to configure the mount table to preferences that they desire. Now that SystemServer is modified to re-mount the root mount with the desired flags, we can just mount the root filesystem without assuming special flags.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 01:10:58 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/8266e40b35 Pull-request: https://github.com/SerenityOS/serenity/pull/17430
@@ -26,7 +26,7 @@
|
||||
namespace Kernel {
|
||||
|
||||
static Singleton<VirtualFileSystem> s_the;
|
||||
static constexpr int root_mount_flags = MS_NODEV | MS_NOSUID | MS_RDONLY;
|
||||
static constexpr int root_mount_flags = 0;
|
||||
|
||||
UNMAP_AFTER_INIT void VirtualFileSystem::initialize()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user