commit | 0ea9b64d93ba1e677390d41ce23fdfcda0cba2b7 | [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 | eec155857513ee3b04f3b0dc42e86598d71e38aa | |
parent | b7ce01d8c6ceee6b3873cd2b6b2ef96a24190127 [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