chiark / gitweb /
memfd: always create our memfds with CLOEXEC set
[elogind.git] / src / shared / missing.h
index 7725e4729803e9ed8c7c26561652f4bc918755a7..0d7c55952ee3f885ecf8c0cd3121c1dfd40ce374 100644 (file)
 #endif
 
 #ifndef MFD_ALLOW_SEALING
 #endif
 
 #ifndef MFD_ALLOW_SEALING
-#define MFD_ALLOW_SEALING 0x0002ULL
+#define MFD_ALLOW_SEALING 0x0002U
+#endif
+
+#ifndef MFD_CLOEXEC
+#define MFD_CLOEXEC 0x0001U
 #endif
 
 #ifndef IP_FREEBIND
 #endif
 
 #ifndef IP_FREEBIND