android_system_core/rootdir
Eric Biggers ef9275223c Move creation of /data/user/0 and /data/media/obb to vold
To prevent bugs, directory creation and encryption should happen
together.  /data/user/0 (and its "alias" /data/data) is a per-user
encrypted directory; such directories can only be encrypted by vold.
Therefore, move its creation to vold as well.

Besides closing the uncomfortably-large gap between the creation and
encryption of /data/user/0, this allows removing init's write access to
/data/user and similar directories (SELinux type system_userdir_file) to
prevent any such issues from being reintroduced in the future.

To also allow removing init's write access to /data/media (SELinux type
media_userdir_file), which also contains per-user encrypted directories,
also move the creation and encryption of /data/media/obb to vold.

Bug: 156305599
BYPASS_INCLUSIVE_LANGUAGE_REASON=Linux API ("slave" mount flag)
Change-Id: I7245251eeb56b345b6c7711482c0aa5848648edb
2022-05-11 21:50:35 +00:00
..
avb Remove unused rootdir/avb/*-gsi.avbpubkey modules 2022-01-10 14:25:42 +00:00
etc Add etc to hwasan-postsubmit 2022-03-18 21:38:47 +00:00
adb_debug.prop Adding adb_debug.prop into debug ramdisk 2019-04-23 11:13:46 +08:00
Android.bp Completely migrate init first stage to Soong 2021-06-18 14:26:55 +09:00
Android.mk Set '%c' in LLVM_PROFILE_FILE for continuous mode 2022-03-04 12:47:55 -08:00
asan.options
asan_extract.rc
asan_extract.sh
init-debug.rc Prevent debugfs unmount on debug builds with a persist property 2021-04-16 13:59:15 -07:00
init.environ.rc.in Export *CLASSPATH variables after apexes are configured. 2021-02-19 17:12:26 +00:00
init.no_zygote.rc Reland "Add a core configuration that disables the zygote." 2022-02-15 16:03:35 -08:00
init.rc Move creation of /data/user/0 and /data/media/obb to vold 2022-05-11 21:50:35 +00:00
init.usb.configfs.rc
init.usb.rc Copy vendor.sys.usb.adb.enabled to sys.usb.adb.enabled. 2021-03-22 16:36:17 -07:00
init.zygote32.rc Restart media.tuner when zygote is restarted. 2021-11-16 04:51:49 +00:00
init.zygote64.rc Restart media.tuner when zygote is restarted. 2021-11-16 04:51:49 +00:00
init.zygote64_32.rc Restart media.tuner when zygote is restarted. 2021-11-16 04:51:49 +00:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
ueventd.rc /dev/[kvm|vhost-vsock] are owned by system 2022-04-15 00:05:38 +09:00