mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 00:54:32 +00:00
Mount: Implement wxallowed mount option
This commit is contained in:
@@ -35,6 +35,8 @@ static int parse_options(StringView options)
|
||||
flags |= MS_RDONLY;
|
||||
else if (part == "remount")
|
||||
flags |= MS_REMOUNT;
|
||||
else if (part == "wxallowed")
|
||||
flags |= MS_WXALLOWED;
|
||||
else
|
||||
warnln("Ignoring invalid option: {}", part);
|
||||
}
|
||||
@@ -144,6 +146,8 @@ static ErrorOr<void> print_mounts()
|
||||
out(",nosuid");
|
||||
if (mount_flags & MS_BIND)
|
||||
out(",bind");
|
||||
if (mount_flags & MS_WXALLOWED)
|
||||
out(",wxallowed");
|
||||
|
||||
outln(")");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user