[valgrind] [Bug 417906] Please add support for Linux 5.2 CLONE_PIDFD flag to clone()

2020-02-20 Thread Tom Hughes
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)

[valgrind] [Bug 417906] Please add support for Linux 5.2 CLONE_PIDFD flag to clone()

2020-02-20 Thread Tom Hughes
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,

[valgrind] [Bug 417906] Please add support for Linux 5.2 CLONE_PIDFD flag to clone()

2020-02-20 Thread Tom Hughes
https://bugs.kde.org/show_bug.cgi?id=417906 Tom Hughes changed: What|Removed |Added CC||t...@compton.nu --- Comment #2 from Tom Hughes

[valgrind] [Bug 417906] Please add support for Linux 5.2 CLONE_PIDFD flag to clone()

2020-02-19 Thread Thiago Macieira
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.