summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Prashanth Swaminathan <prashanthsw@google.com> 2023-10-26 21:25:21 -0700
committer Prashanth Swaminathan <prashanthsw@google.com> 2023-10-26 21:27:33 -0700
commit4651c3f89d1a234a70298803eab707ed5192e812 (patch)
tree65f1fd15f3a77a8772893925421ad9fbb4f39d79 /libs/androidfw/ObbFile.cpp
parent98dc75f3fa7db61a2c5be87b3e7772e0637c5394 (diff)
Set child process name with child zygote args
When forking zygote processes, 'forkSimpleApps' may process multiple simple apps in the command buffer at once. However, the parsed zygote arguments are computed based on the first app in the command buffer, which can lead to all launched processes being assigned the same name. Move the setting of the child process name into childMain and use the arguments from it's local ZygoteArguments for the appropriate name. Bug: 305970538 Test: Verified aosp_cf_riscv64_phone correctly uses unique process names and PIDs match intended name. Change-Id: I0febc49649b0ede4c07898b47b0ebe6ac37e7057 Change-Id: I64b2644ffb8ee75043623222b48fba8f2cfc5f08
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions