commit | fa9e16efaf0e885f6044e725eb759ef6de10f7ef | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jun 23 17:49:45 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Jun 23 17:49:45 2014 -0700 |
tree | b2788038c17cde5a1d53c13a51d6a16868bd229f | |
parent | 0d7415fb225573c37ff9e880957cd2044dd658ce [diff] |
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