summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2018-11-05 11:45:26 +0100
committerMartijn Coenen <maco@google.com>2019-01-07 09:10:31 +0000
commit7e6fa6727cb5f66c63a259abaceabdd67e92d530 (patch)
treef67aa67fad3a975dc524cd5135c8c4098097e39d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentcaa6519f682060c386925d17e163a9de4eff4e4d (diff)
Initial support for application Zygote.
When an application has requested isolated services to be spawned from an app zygote, we need to spawn the app zygote itself, and then ask it to fork an isolated service. The application zygote currently only creates the class loader, and doesn't do much else. We keep track of the isolated services that use the app zygote, and when the last isolated service goes away, we stop the app zygote itself (after a timeout). The app zygote itself runs with the app's UID and under the app seccomp filter. That last one is too restricted, so this currently only works with SELinux disabled. Future CLs will add an application callback for preloading. Test: start multiple isolated services with useAppZygote="true", verify app_zygote starts, services start as a child of app_zygote. Stopping all services stops app_zygote as well. Bug: 111434506 Change-Id: I10ee1d4bd148c9298974d434fbc5e5eccbec16cb
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions