summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2021-04-20 22:39:53 +0900
committerJooyung Han <jooyung@google.com>2021-04-20 22:50:12 +0900
commite5232a71b24e2bc46c7dc582814fa6f254e2d221 (patch)
tree5844ee185b8ffb7cc1c5d3abbcbe46cc8a2866de /trusty/coverage/coverage_test.cpp
parenta7e2bbd5f4b0165d7bf9a43e123e990b6a7882df (diff)
init: apexd is started in the current mount namespace
init starts services in "bootstrap" mount namespace until the "default" mount namespace is ready even when init's current mount namespace is "default". apexd and linkerconfig are those processes to set up the mount namespaces: apexd activates apexes and linkerconfig generates linker configs. Previously apexd is allowed to be started in the "current" namespace by checking its "service name"(it should be "apexd"). But there can be a certain environment apexd is started in a different way. For example, in microdroid, apexd is started using "exec -- /system/bin/apexd --vm" because it wants to run in a different execution mode. So, instead of checking the service name, its executable's path is checked against to allow apexd to be started in the current mount namespace. Bug: 179342589 Test: MicrodroidTestCase (microdroid boots) Test: cuttlefish boots Change-Id: I7c2490e15d481c28ddf382d2d3fdf58a78e467ec
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions