summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/forkfd/forkfd_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/forkfd/forkfd_linux.c')
-rw-r--r--src/3rdparty/forkfd/forkfd_linux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/3rdparty/forkfd/forkfd_linux.c b/src/3rdparty/forkfd/forkfd_linux.c
index 0984368add..923ced128d 100644
--- a/src/3rdparty/forkfd/forkfd_linux.c
+++ b/src/3rdparty/forkfd/forkfd_linux.c
@@ -148,8 +148,6 @@ int system_forkfd(int flags, pid_t *ppid, int *system)
*system = 1;
unsigned long cloneflags = CLONE_PIDFD;
- if (flags & FFD_VFORK_SEMANTICS)
- cloneflags |= CLONE_VFORK;
pid = sys_clone(cloneflags, &pidfd);
if (pid < 0)
return pid;