summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-03 16:09:19 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-03 16:09:19 +0100
commit1f4825ba8e0a106bf6149b852e957ef51a302db5 (patch)
treea0b606c8ace377a2d04b44bc1ba88168c423ba51
parentFix SELinux function compatibility in older trees (diff)
parentifdef some file system options that are not available in older trees (diff)
downloadandroid_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.tar
android_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.tar.gz
android_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.tar.bz2
android_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.tar.lz
android_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.tar.xz
android_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.tar.zst
android_bootable_recovery-1f4825ba8e0a106bf6149b852e957ef51a302db5.zip
-rw-r--r--partition.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 31b1bfdb3..cdd9847f3 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -74,10 +74,18 @@ static struct flag_list mount_flags[] = {
{ "remount", MS_REMOUNT },
{ "bind", MS_BIND },
{ "rec", MS_REC },
+#ifdef MS_UNBINDABLE
{ "unbindable", MS_UNBINDABLE },
+#endif
+#ifdef MS_PRIVATE
{ "private", MS_PRIVATE },
+#endif
+#ifdef MS_SLAVE
{ "slave", MS_SLAVE },
+#endif
+#ifdef MS_SHARED
{ "shared", MS_SHARED },
+#endif
{ "sync", MS_SYNCHRONOUS },
{ "defaults", 0 },
{ 0, 0 },