OSDN Git Service

Multi-user external storage support.
authorJeff Sharkey <jsharkey@android.com>
Sat, 11 Aug 2012 21:11:44 +0000 (14:11 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 16 Aug 2012 03:05:38 +0000 (20:05 -0700)
commit404535b7434441ac741a1f33d747c1cb4103d633
treed3b689d023342d09e8563aaff07e8b479a4b2e4c
parentbdf72ad7ce2828837424ea93806acce62688e21d
Multi-user external storage support.

When a specialized zygote process needs external storage access,
create a private mount namespace and create a bind mount to give
them access.  Support both single-user and multi-user modes, which
dictate the bind mount source.

Bug: 6925012
Change-Id: Ib987ba09f59ce03a6aeb9ee8bcb522965a2dfb67
vm/native/dalvik_system_Zygote.cpp