android_system_core/rootdir
Mohammad Samiul Islam 0098201dc3 Activate encryption for /data/app-staging folder
Without enabling the encryption on this folder, we will not be able to
rename files from this folder to /data/app folder, since /data/app
folder is encrypted. Trying to rename files between unencrypted folder
to encrypted folder throws EXDEV error.

Turning on encryption for /data/app-staging has the following concerns:

1. Turning on the encryption will erase all of its content. But this is fine
since during OTA we fail all staged sessions anyway.
2. We need to create hardlinks from /data/app-staging to
/data/apex/active. This is also fine since we will be creating link from
encrypted folder (/data/app-staging) to non-encrypted folder and this
does not throw EXDEV error.

Bug: 163037460
Test: atest StagedInstallTest
Change-Id: Ie78f6df0c0e08de54a39c5e406957ad0a56b7727
2020-09-24 19:37:21 +01:00
..
avb Adding new GSI public keys 2020-02-19 08:50:26 +00:00
etc Add a new public library libicu.so 2020-08-28 15:17:08 +01:00
adb_debug.prop Adding adb_debug.prop into debug ramdisk 2019-04-23 11:13:46 +08:00
Android.bp Move init and ueventd scripts from / to /system/etc 2019-11-08 10:15:49 -08:00
Android.mk Revert "rootdir: Add modules directory" 2020-09-15 20:07:03 +00:00
asan.options
asan_extract.rc
asan_extract.sh
init-debug.rc
init.environ.rc.in Set Clang coverage environment variables. 2020-01-13 14:38:15 -08:00
init.rc Activate encryption for /data/app-staging folder 2020-09-24 19:37:21 +01:00
init.usb.configfs.rc Remove sys.usb.ffs.mtp.ready property 2018-03-22 11:35:20 -07:00
init.usb.rc Don't reset sys.usb.configfs during userspace reboot 2020-01-31 15:59:19 +00:00
init.zygote32.rc Abort FUSE filesystem when Zygote restarts. 2020-05-28 19:11:01 +02:00
init.zygote64.rc Abort FUSE filesystem when Zygote restarts. 2020-05-28 19:11:01 +02:00
init.zygote64_32.rc Move zygote64 into the top-app stune group. 2020-06-18 10:43:01 -07:00
OWNERS rootdir: add ccross to OWNERS. 2018-10-15 14:18:04 -07:00
ueventd.rc Setup ueventd to support DMA-BUF heaps 2020-09-11 14:42:31 -07:00