diff options
author | Elliott Hughes <enh@google.com> | 2014-06-23 17:49:45 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-06-23 17:49:45 -0700 |
commit | fa9e16efaf0e885f6044e725eb759ef6de10f7ef (patch) | |
tree | b2788038c17cde5a1d53c13a51d6a16868bd229f /libc/bionic/thread_private.cpp | |
parent | 0d7415fb225573c37ff9e880957cd2044dd658ce (diff) | |
download | android_bionic-fa9e16efaf0e885f6044e725eb759ef6de10f7ef.tar.gz android_bionic-fa9e16efaf0e885f6044e725eb759ef6de10f7ef.tar.bz2 android_bionic-fa9e16efaf0e885f6044e725eb759ef6de10f7ef.zip |
Fix getpid caching across a clone.
If you make clone, fork, or vfork system calls directly, you're still
on your own, but we now do the right thing for the clone wrapper.
With this implementation, children lose the getpid caching, but we've
no reason to think that that covers any significant use cases.
Bug: 15387103
Change-Id: Icfab6b63c708fea830960742ec92aeba8ce7680d
Diffstat (limited to 'libc/bionic/thread_private.cpp')
0 files changed, 0 insertions, 0 deletions