mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 14:44:58 +00: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:
parent
73bc856c16
commit
8266e40b35
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue