android_system_core/rootdir
Jiyong Park 1a2dbd917e Remove stale files in /data/misc/virtualizationservice
[1] changed the UID of the virtualizationservice daemon and
/data/misc/virtualizationservice directory to `system`. However, this
can cause a permission denial issue when the directory has stale files
when the device was running a build before [1] and an OTA to [1] (or
above) is attempted. The daemon tries to delete the stale files - which
must have been still labeled as old UID and thus the daemon has no
privileged to delete them.

Fixing this issue by ensuring that the directory is always empty by
init.

[1] https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2059527

Bug: 230056726
Test: watch TH
Merged-In: I61c0297503347932b14b83859bec9ff82628336f
Change-Id: I61c0297503347932b14b83859bec9ff82628336f
2022-04-25 09:47:12 +09: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 Include asan options from data partition. 2017-08-09 15:32:23 -07:00
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 Remove stale files in /data/misc/virtualizationservice 2022-04-25 09:47:12 +09:00
init.usb.configfs.rc Remove sys.usb.ffs.mtp.ready property 2018-03-22 11:35:20 -07:00
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