0
Files
src/sandbox
rickyz 0473e4c06b Test cached PID using getpid instead of pthread_getattr_np.
Previously, we tested that glibc's cached PID was correct by relying on
an assert inside of pthread_getattr_np. This relies on a fairly
implementation-specific detail of pthread_getattr_np and is also
problematic, as glibc's pthread_getattr_np relies on reading
/proc/self/maps when called from the main thread (but the test chroots).

This change inspects the cached PID more directly using getpid instead.

BUG=646191

Review-Url: https://codereview.chromium.org/2474703003
Cr-Commit-Position: refs/heads/master@{#429369}
2016-11-02 19:47:37 +00:00
..
2016-10-26 21:31:04 +00:00
2016-05-12 19:47:37 +00:00