mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Userland+SystemMonitor: Recognize the MS_RDONLY mount flag
This commit is contained in:
parent
fdb71cdf8f
commit
4b300e085d
Notes:
sideshowbarker
2024-07-19 06:00:47 +09:00
Author: https://github.com/bugaevc
Commit: 4b300e085d
Pull-request: https://github.com/SerenityOS/serenity/pull/2430
Reviewed-by: https://github.com/alimpfard
3 changed files with 11 additions and 4 deletions
|
@ -57,6 +57,8 @@ int main(int argc, char** argv)
|
|||
flags |= MS_NOEXEC;
|
||||
else if (part == "nosuid")
|
||||
flags |= MS_NOSUID;
|
||||
else if (part == "ro")
|
||||
flags |= MS_RDONLY;
|
||||
else if (part == "bind")
|
||||
fprintf(stderr, "Ignoring -o bind, as it doesn't make sense for chroot\n");
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue