summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcem <cem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-31 01:12:35 +0000
committercem <cem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-31 01:12:35 +0000
commit638f827008c773d1cc0fa3591612e215e2940e50 (patch)
tree4809f291b19f5450ad86932e12f602b6fa5e1f44
parent51637d040e3f83da64294a8239075a2bc23b8582 (diff)
downloadfreebsd-638f827008c773d1cc0fa3591612e215e2940e50.tar.gz
freebsd-638f827008c773d1cc0fa3591612e215e2940e50.tar.bz2
linux(4): Add missing clone(2) flags
git-svn-id: http://svn.freebsd.org/base/head@367190 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r--sys/compat/linux/linux_misc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h
index ad628536d4b..1ee3e8c9b57 100644
--- a/sys/compat/linux/linux_misc.h
+++ b/sys/compat/linux/linux_misc.h
@@ -97,13 +97,25 @@ extern const char *linux_kplatform;
#define LINUX_CLONE_FILES 0x00000400
#define LINUX_CLONE_SIGHAND 0x00000800
#define LINUX_CLONE_PID 0x00001000 /* No longer exist in Linux */
+#define LINUX_CLONE_PTRACE 0x00002000
#define LINUX_CLONE_VFORK 0x00004000
#define LINUX_CLONE_PARENT 0x00008000
#define LINUX_CLONE_THREAD 0x00010000
+#define LINUX_CLONE_NEWNS 0x00020000 /* New mount NS */
+#define LINUX_CLONE_SYSVSEM 0x00040000
#define LINUX_CLONE_SETTLS 0x00080000
#define LINUX_CLONE_PARENT_SETTID 0x00100000
#define LINUX_CLONE_CHILD_CLEARTID 0x00200000
+#define LINUX_CLONE_DETACHED 0x00400000 /* Unused */
+#define LINUX_CLONE_UNTRACED 0x00800000
#define LINUX_CLONE_CHILD_SETTID 0x01000000
+#define LINUX_CLONE_NEWCGROUP 0x02000000 /* New cgroup NS */
+#define LINUX_CLONE_NEWUTS 0x04000000
+#define LINUX_CLONE_NEWIPC 0x08000000
+#define LINUX_CLONE_NEWUSER 0x10000000
+#define LINUX_CLONE_NEWPID 0x20000000
+#define LINUX_CLONE_NEWNET 0x40000000
+#define LINUX_CLONE_IO 0x80000000
/* Scheduling policies */
#define LINUX_SCHED_OTHER 0