[systemd-commits] src/core src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Fri Jun 1 12:25:43 PDT 2012
src/core/mount-setup.c | 1 +
src/shared/missing.h | 4 ++++
2 files changed, 5 insertions(+)
New commits:
commit 48ac500bb65f1f2eb09704f15104eeebb9330d47
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 1 21:25:29 2012 +0200
missing: define MS_STRICTATIME if not defined already
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index c26dedc..cdbee14 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -39,6 +39,7 @@
#include "strv.h"
#include "mkdir.h"
#include "path-util.h"
+#include "missing.h"
#ifndef TTY_GID
#define TTY_GID 5
diff --git a/src/shared/missing.h b/src/shared/missing.h
index ecedf72..0cf7949 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -184,4 +184,8 @@ static inline pid_t gettid(void) {
#define SCM_SECURITY 0x03
#endif
+#ifndef MS_STRICTATIME
+#define MS_STRICTATIME (1<<24)
+#endif
+
#endif
More information about the systemd-commits
mailing list