chiark / gitweb /
nspawn: a bench of special fileystems that should not be shifted
authorDjalal Harouni <tixxdz@opendz.org>
Thu, 26 May 2016 20:38:25 +0000 (22:38 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
Add some special filesystems that should not be shifted, most of them
relate to the host and not to containers.

src/basic/missing.h

index 236ac3632cf7a0b3aa50f4df86760e087b92acb5..9cf0110b346628fb34adb52f8b913509030ea012 100644 (file)
@@ -458,6 +458,18 @@ struct btrfs_ioctl_quota_ctl_args {
 #define MQUEUE_MAGIC 0x19800202
 #endif
 
 #define MQUEUE_MAGIC 0x19800202
 #endif
 
+#ifndef SECURITYFS_MAGIC
+#define SECURITYFS_MAGIC 0x73636673
+#endif
+
+#ifndef TRACEFS_MAGIC
+#define TRACEFS_MAGIC 0x74726163
+#endif
+
+#ifndef BPF_FS_MAGIC
+#define BPF_FS_MAGIC 0xcafe4a11
+#endif
+
 #ifndef MS_MOVE
 #define MS_MOVE 8192
 #endif
 #ifndef MS_MOVE
 #define MS_MOVE 8192
 #endif