From a796845d6de083971eef2d2a33ccc74fcd609ec7 Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Thu, 12 Aug 2021 11:55:24 +0300 Subject: [PATCH] linux(4): Add CLONE_PIDFD option bit. Differential revision: https://reviews.freebsd.org/D31478 MFC after: 2 weeks --- sys/compat/linux/linux_fork.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_fork.h b/sys/compat/linux/linux_fork.h index fa7b39544450..bdc201bce57e 100644 --- a/sys/compat/linux/linux_fork.h +++ b/sys/compat/linux/linux_fork.h @@ -32,7 +32,7 @@ #define LINUX_CLONE_FS 0x00000200 #define LINUX_CLONE_FILES 0x00000400 #define LINUX_CLONE_SIGHAND 0x00000800 -#define LINUX_CLONE_PID 0x00001000 /* No longer exist in Linux */ +#define LINUX_CLONE_PIDFD 0x00001000 /* since Linux 5.2 */ #define LINUX_CLONE_PTRACE 0x00002000 #define LINUX_CLONE_VFORK 0x00004000 #define LINUX_CLONE_PARENT 0x00008000