commit | 749d77980222975111780d4c65b294d6267b58fa | [log] [tgz] |
---|---|---|
author | Ricky Wai <rickywai@google.com> | Thu Dec 12 12:55:03 2019 +0000 |
committer | rickywai <rickywai@google.com> | Thu Dec 12 14:44:44 2019 +0000 |
tree | cf308e96bc55608cc2948313734d8e6551e9436c | |
parent | 90907a87ebf1930997d177c810cd11cbb56cb442 [diff] |
Create /data_mirror in init.rc Mount a tmpfs on top of it, and serve as a mirror of /data/data and /data/user_de, which will be used when zygote forks and overlay its CE and DE storage to prevent app can see other applications. Also, changed /data/user/0 from symlink to bind mount, so /data_mirror/data_ce/null can just bind to /data/user directly. Bug: 143937733 Test: Directories are created and mounted Change-Id: Ic72c47c9d3dc0ffc98510f5bb351eccf76524232