summaryrefslogtreecommitdiffstats
path: root/EmulatedVolume.h
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-04-08 21:07:21 -0700
committerJeff Sharkey <jsharkey@android.com>2015-04-11 08:48:13 -0700
commitce6a913aeac7db94a41362c63bab74092767bb3e (patch)
tree43d1bd0f9c02fa38370c84ce57573062f15e0671 /EmulatedVolume.h
parent389672737673f9c695ac70464a0f8656908d20fd (diff)
downloadandroid_system_vold-ce6a913aeac7db94a41362c63bab74092767bb3e.tar.gz
android_system_vold-ce6a913aeac7db94a41362c63bab74092767bb3e.tar.bz2
android_system_vold-ce6a913aeac7db94a41362c63bab74092767bb3e.zip
Exclusive exec() path, format after partition.
Sadly setexeccon() is process global, so we need to carefully ensure that all exec() are mutually exclusive to avoid transitioning into unwanted domains. Also, because we have several threads floating around, we need to guard all our FDs with O_CLOEXEC. Format all newly created volumes immediately after partitioning, but silence all events emitted from those volumes to prevent the framework from getting all excited. Unify all notify events under a single codepath to make them easy to silence. Sent SIGINT before escalating to SIGTERM when unmounting. Bug: 19993667 Change-Id: Idc6c806afc7919a004a93e2240b42884f6b52d6b
Diffstat (limited to 'EmulatedVolume.h')
0 files changed, 0 insertions, 0 deletions