1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

Userland+SystemMonitor: Recognize the MS_RDONLY mount flag

This commit is contained in:
Sergey Bugaev 2020-05-28 18:03:58 +03:00 committed by Andreas Kling
parent fdb71cdf8f
commit 4b300e085d
3 changed files with 11 additions and 4 deletions

View file

@ -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