commit | cf9771307b4afbcfee22169ecb7b5572811b05ca | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Jul 13 07:38:39 2016 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Thu Jul 14 08:49:02 2016 -0700 |
tree | 896fd30ab697ff3f2790830c5962399714ec3051 | |
parent | 8fc905c9ba90e14373d9b5f914df1480c195091b [diff] |
liblog: reset pid and uid cache after a vfork() (cherry pick from commit ec4f5c776d2bde026e2a74128218924be7b3f46a) Bionic getuid() and getpid() calls cache to reduce the need to perform a syscall, and also reset their own cache after a vfork(). No more need for liblog to be performing this flawed cache operation. Bug: 30085794 Change-Id: I70feed8bff0ddd919c2885a348ba67b14ddc0e0d