git: a796845d6de0 - main - linux(4): Add CLONE_PIDFD option bit.

Dmitry Chagin dchagin at FreeBSD.org
Thu Aug 12 08:56:02 UTC 2021


The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=a796845d6de083971eef2d2a33ccc74fcd609ec7

commit a796845d6de083971eef2d2a33ccc74fcd609ec7
Author:     Dmitry Chagin <dchagin at FreeBSD.org>
AuthorDate: 2021-08-12 08:55:24 +0000
Commit:     Dmitry Chagin <dchagin at FreeBSD.org>
CommitDate: 2021-08-12 08:55:24 +0000

    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


More information about the dev-commits-src-all mailing list