platform_system_vold/model
Paul Crowley de2d6201ab Refactor ForkExecvp to improve locking behaviour
Do our own fork/exec rather than using a library. This leads to
many improvements:

- unite the output recording path with the other path
- never concatenate arguments with spaces
- never use the shell
- move setexeccon after fork, so we don't need to take the lock
- general code refactor while we're there

My tests:
- Ensure Marlin device boots and vold_prepare_subdirs is called
successfully
- Try adb shell sm set-virtual-disk true, see that eg sgdisk output is
logged.

weilongping@huawei.com's tests:
- unlock a user's de and ce directory;
- connect to a OTG storage device or a sdcard and ensure the mount logic be successful

Bug: 26735063
Bug: 113796163
Test: details in commit
Change-Id: I0976413529d7cbeebf5b8649660a385f9b036f04
2018-12-06 09:37:02 -08:00
..
Disk.cpp Refactor ForkExecvp to improve locking behaviour 2018-12-06 09:37:02 -08:00
Disk.h clang-format many files. 2018-09-18 15:41:22 -07:00
EmulatedVolume.cpp Update vold to log only debug or higher level messages. 2018-09-21 11:16:51 -07:00
EmulatedVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
ObbVolume.cpp Add GetBlockDevSize, GetBlockDevSectors helpers 2018-09-24 14:25:24 +02:00
ObbVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
PrivateVolume.cpp clang-format many files. 2018-09-18 15:41:22 -07:00
PrivateVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
PublicVolume.cpp Merge changes from topic "exfat-update" 2018-09-24 18:52:56 +00:00
PublicVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
StubVolume.cpp StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00
StubVolume.h StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00
VolumeBase.cpp clang-format the rest of the files 2018-09-20 06:27:22 -07:00
VolumeBase.h StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00