diff options
author | Jooyung Han <jooyung@google.com> | 2020-09-14 17:29:13 +0900 |
---|---|---|
committer | Jooyung Han <jooyung@google.com> | 2020-09-14 17:40:45 +0900 |
commit | 7bfe477b3d74490bcfa516d1fe7ffa2f04201449 (patch) | |
tree | 1f09b26f6fb5c797e6886c55ba55daef46306c4f /libsparse/sparse.cpp | |
parent | 3bede4f44f8b80fd7470c4300aba710d30654db3 (diff) |
init: "init subcontext" in default mount namespace
"init subcontext" is responsible to handle a few commands in vendor
context. To support Vendor APEX, "init subcontext" is now started in
"default" mount namespace so that those commands can access /apex/*.
For example, insmod should see the contents of /apex to install kernel
modules in apexes.
Bug: 162701747
Test: adb shell ps -ef | grep init
=> check pid of <init subcontext>
adb shell readlink /proc/<pid: init>/ns/mnt
adb shell readlink /proc/<pid: init subcontext>/ns/mnt
=> check if these are equal
Change-Id: Icd5e862e52d78635e83824b267b6d32d8f3e9eea
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions