[LTP] [PATCH] lib/tst_test: avoid cleanup by cloned test threads

Jan Stancek jstancek@redhat.com
Fri Sep 22 10:47:30 CEST 2017

----- 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.



More information about the ltp mailing list