svn commit: r367190 - head/sys/compat/linux
Conrad Meyer
cem at FreeBSD.org
Sat Oct 31 01:12:36 UTC 2020
Author: cem
Date: Sat Oct 31 01:12:35 2020
New Revision: 367190
URL: https://svnweb.freebsd.org/changeset/base/367190
Log:
linux(4): Add missing clone(2) flags
Modified:
head/sys/compat/linux/linux_misc.h
Modified: head/sys/compat/linux/linux_misc.h
==============================================================================
--- head/sys/compat/linux/linux_misc.h Fri Oct 30 22:00:35 2020 (r367189)
+++ head/sys/compat/linux/linux_misc.h Sat Oct 31 01:12:35 2020 (r367190)
@@ -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
More information about the svn-src-all
mailing list