chiark / gitweb /
shutdown: pivot_root to a tmpfs directory to properly umount root
[elogind.git] / src / missing.h
index f1dbb398e07f9e3d1a933319585735a13fdc74a2..a44390074fe14ae171053461c639e0e594b85595 100644 (file)
 #define AUDIT_SERVICE_STOP 1131 /* Service (daemon) stop */
 #endif
 
 #define AUDIT_SERVICE_STOP 1131 /* Service (daemon) stop */
 #endif
 
+#ifndef TIOCVHANGUP
+#define TIOCVHANGUP 0x5437
+#endif
+
+#ifndef IP_TRANSPARENT
+#define IP_TRANSPARENT 19
+#endif
+
 static inline int pivot_root(const char *new_root, const char *put_old) {
         return syscall(SYS_pivot_root, new_root, put_old);
 }
 static inline int pivot_root(const char *new_root, const char *put_old) {
         return syscall(SYS_pivot_root, new_root, put_old);
 }
@@ -164,4 +172,8 @@ struct btrfs_ioctl_vol_args {
 #define MS_MOVE 8192
 #endif
 
 #define MS_MOVE 8192
 #endif
 
+#ifndef MS_PRIVATE
+#define MS_PRIVATE  (1 << 18)
+#endif
+
 #endif
 #endif