[systemd-devel] [PATCH] missing: define MS_REC and MS_SHARED if not defined already
Aleksander Morgado
aleksander at lanedo.com
Tue Feb 12 05:26:17 PST 2013
---
src/shared/missing.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/shared/missing.h b/src/shared/missing.h
index c53579f..d4ba0d3 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -196,6 +196,14 @@ static inline pid_t gettid(void) {
#define MS_STRICTATIME (1<<24)
#endif
+#ifndef MS_REC
+#define MS_REC 16384
+#endif
+
+#ifndef MS_SHARED
+#define MS_SHARED (1<<20)
+#endif
+
#ifndef PR_SET_NO_NEW_PRIVS
#define PR_SET_NO_NEW_PRIVS 38
#endif
--
1.8.1.2
More information about the systemd-devel
mailing list