OSDN Git Service

Different blkid and fsck execution domains.
authorJeff Sharkey <jsharkey@android.com>
Wed, 1 Apr 2015 18:54:32 +0000 (11:54 -0700)
committerJeff Sharkey <jsharkey@android.com>
Wed, 1 Apr 2015 21:08:40 +0000 (14:08 -0700)
commit95c87cce353ca2da79aa57a3a5336b45b6f1d018
tree2f94d1b7e594d581f1d8d030924240aeaf923d9f
parent9c48498f4529f623650c56d03e63324c8d813032
Different blkid and fsck execution domains.

vold works with two broad classes of block devices: untrusted devices
that come in from the wild, and trusted devices like PrivateVolume
which are encrypted.

When running blkid and fsck, we pick which SELinux execution domain
to use based on which class the device belongs to.

Bug: 19993667
Change-Id: I2695f028710a4863f0c3b2ed6da437f466401272
Ext4.cpp
Fat.cpp
PublicVolume.cpp
Utils.cpp
Utils.h
main.cpp