OSDN Git Service

VolumeManager: limit the scope of remountUid post fork.
authorNarayan Kamath <narayan@google.com>
Wed, 27 Nov 2019 10:53:51 +0000 (10:53 +0000)
committerNarayan Kamath <narayan@google.com>
Wed, 27 Nov 2019 12:48:35 +0000 (12:48 +0000)
commit02efdf55d2cd8224d98b3df4180184542c7672d7
tree3c6b2bb6f0b80294f3bad2bfbd0e5b98daa0a36e
parentfe83792eec52957b6f231048e3fc217035451255
VolumeManager: limit the scope of remountUid post fork.

We want to be sure we're not allocating memory, holding locks
or otherwise preventing the child process from making progress.

This is a temporary fix of limited scope. In the medium term, it
would be preferable to exec a binary that performs this work for us
as soon as we fork.

Test: manual
Bug: 141678467

Change-Id: I57dbd9b3c887aa27e2dd609abf0ad43c66f4ef2a
Android.bp
VolumeManager.cpp