android_system_core/rootdir
Martijn Coenen c7a26dc263 Move restorecon of /data earlier in boot sequence.
A future early-boot daemon (on-device signing) needs to access
/data/misc before fs-verity keys are locked. Therefore, move the
restorecon of /data up a bit, to make sure the labels are correct. To be
safe, only run it after init_user0, since that function is responsible
for loading DE keys.

Also move early boot keys and fs-verity key locking a bit later, since
the on-device signing daemon needs to use both of these, but it also
needs the restorecon to function correctly.

Bug: 174740982
Test: manual
Change-Id: I9b6e44d9b547d420e1c6ba01fb3d3accc0625e20
2021-01-18 13:42:53 +01:00
..
avb Adding Car GSI public key 2020-12-21 17:07:59 -08:00
etc Remove provide libs from file 2020-12-01 10:41:09 +09:00
Android.bp Remove provide libs from file 2020-12-01 10:41:09 +09:00
Android.mk Merge "Reland "Create a pool of 20 measurement files per library for coverage."" 2021-01-05 19:16:50 +00:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
adb_debug.prop
asan.options
asan_extract.rc
asan_extract.sh
init-debug.rc
init.environ.rc.in
init.rc Move restorecon of /data earlier in boot sequence. 2021-01-18 13:42:53 +01:00
init.usb.configfs.rc
init.usb.rc
init.zygote32.rc init/service_parser: Add arguments `window' and `target' for `critical' 2020-10-26 11:38:01 +08:00
init.zygote64.rc init/service_parser: Add arguments `window' and `target' for `critical' 2020-10-26 11:38:01 +08:00
init.zygote64_32.rc init/service_parser: Add arguments `window' and `target' for `critical' 2020-10-26 11:38:01 +08:00
ueventd.rc Setup ueventd to support DMA-BUF system-secure heap 2021-01-12 12:49:24 -08:00