[LTP] [PATCH] syscalls/kcmp03: work around bug in C library
    Cyril Hrubis 
    chrubis@suse.cz
       
    Wed Sep  6 12:09:23 CEST 2017
    
    
  
Hi!
> 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.
Is that the result of the infamous pid caching? Can we fix that by using
the raw getpid() syscall in the test library? If so I guess that using
raw syscall in the test library may be a safer bet.
-- 
Cyril Hrubis
chrubis@suse.cz
    
    
More information about the ltp
mailing list