diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2020-04-20 17:43:22 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2020-04-29 02:52:23 +0800 |
commit | a6dcfa3991fdde8ac7aed5c77b214495a3d24bd5 (patch) | |
tree | 5a1571874b6da87b3798a94aa15762a101a51f4c /sepolicy | |
parent | a2e4f6daae9bb4cf7b26c6ed4b859830cf18a812 (diff) | |
download | hikey-a6dcfa3991fdde8ac7aed5c77b214495a3d24bd5.tar.gz |
hikey960: enable File-Based Encryption
As FBE is required by Android 10 and higher.
The change here referenced documents here:
https://source.android.com/security/encryption/file-based
Test: ./android-vts/tools/vts-tradefed run vts-kernel -m VtsKernelEncryptionTest
with android-mainline, android-5.4, android-hikey-linaro-4.19, android-hikey-linaro-4.14 kernels
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ic40d3fd55d6d10cf159e079e258e7deec4f0bf81
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 0fb634c9..927ec77d 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -30,9 +30,14 @@ /sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq u:object_r:sysfs_power:s0 /sys/devices/platform/e82c0000\.mali/devfreq/e82c0000\.mali/min_freq u:object_r:sysfs_power:s0 +# for HiKey Board /dev/block/platform/soc/f723d000\.dwmmc0/by-name/cache u:object_r:cache_block_device:s0 /dev/block/platform/soc/f723d000\.dwmmc0/by-name/userdata u:object_r:userdata_block_device:s0 +# for HiKey960 Board +/dev/block/platform/soc/ff3b0000\.ufs/by-name/cache u:object_r:cache_block_device:s0 +/dev/block/platform/soc/ff3b0000\.ufs/by-name/userdata u:object_r:userdata_block_device:s0 + /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0 /vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common u:object_r:hal_power_default_exec:s0 |