https://bugs.kde.org/show_bug.cgi?id=417906
--- Comment #4 from Tom Hughes ---
The problem is not CLONE_PIDFD at all, it's the use of CLONE_VFORK without
CLONE_VM. It fails in the same way if you remove CLONE_PIDFD:
==171682== Memcheck, a memory error detector
==171682== Copyright (C)
https://bugs.kde.org/show_bug.cgi?id=417906
--- Comment #3 from Tom Hughes ---
This seems to do the job:
#define _GNU_SOURCE
#include
#include
#include
#include
#include
#include
#include
int main(int argc, char **argv)
{
int pid;
int fd;
if ((pid = syscall(SYS_clone,
https://bugs.kde.org/show_bug.cgi?id=417906
Tom Hughes changed:
What|Removed |Added
CC||t...@compton.nu
--- Comment #2 from Tom Hughes
https://bugs.kde.org/show_bug.cgi?id=417906
--- Comment #1 from Thiago Macieira ---
First reported at https://bugreports.qt.io/browse/QTBUG-82351
--
You are receiving this mail because:
You are watching all bug changes.