commit | 58d3980f314d08f86347ba83db85c2d4c6066599 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Sep 06 14:15:46 2012 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Sep 06 14:15:46 2012 -0700 |
tree | dec94572b252087c571369cbf2d472097fa6f25e | |
parent | d6d4286a28b4a9aef902585625ea6656ab06cf52 [diff] |
Keep /mnt/secure private to default namespace. When vold mounts things in /mnt/secure/staging, it expects to MS_MOVE those mountpoints when vetting is finished. However, the kernel doesn't allow MS_MOVE when the source is shared to child namespaces. To work around this, create a tmpfs at /mnt/secure and mark it as private (not shared). Verified that vold can now successfully move from the staging area. Bug: 7094858 Change-Id: I5e05b1005c63efa277935c9bbd18cbf3ffdd47a3