summaryrefslogtreecommitdiff
path: root/Libraries/LibC
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-28 21:12:13 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-29 07:53:30 +0200
commit3847d007271a58b33658f400d092e72e7e087db6 (patch)
treee75b5c94ba39f25a6e188f2652d5287efa947abc /Libraries/LibC
parentd395b93b150ab1819f4480d966169e6ef12b636b (diff)
downloadserenity-3847d007271a58b33658f400d092e72e7e087db6.zip
Kernel+Userland: Support remounting filesystems :^)
This makes it possible to change flags of a mount after the fact, with the caveats outlined in the man page.
Diffstat (limited to 'Libraries/LibC')
-rw-r--r--Libraries/LibC/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h
index f7c86390d1..86dd1c529f 100644
--- a/Libraries/LibC/unistd.h
+++ b/Libraries/LibC/unistd.h
@@ -154,6 +154,7 @@ enum {
#define MS_NOSUID (1 << 2)
#define MS_BIND (1 << 3)
#define MS_RDONLY (1 << 4)
+#define MS_REMOUNT (1 << 5)
/*
* We aren't fully compliant (don't support policies, and don't have a wide