[systemd-devel] [PATCH 2/2] missing: add macros for OFD locks

Michael Marineau michael.marineau at coreos.com
Thu Jan 15 13:25:00 PST 2015


---
 src/shared/missing.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/shared/missing.h b/src/shared/missing.h
index cdc38b2..d074405 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -79,6 +79,12 @@
 #define F_SEAL_WRITE    0x0008  /* prevent writes */
 #endif
 
+#ifndef F_OFD_GETLK
+#define F_OFD_GETLK     36
+#define F_OFD_SETLK     37
+#define F_OFD_SETLKW    38
+#endif
+
 #ifndef MFD_ALLOW_SEALING
 #define MFD_ALLOW_SEALING 0x0002U
 #endif
-- 
2.0.5



More information about the systemd-devel mailing list