----- Original Message ----- > Some versions of glibc and bionic report the same PID for parent and > child when clone() is called with CLONE_VM but not CLONE_THREAD. This > can cause cleanup to be incorrectly run by the child. > > Avoid this by using a direct syscall for getpid when running the > cleanup. > Pushed. Thanks, Jan