commit | 53cc5cac42f75422880d0a3315690a6b49cdd988 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Tue Aug 30 14:28:19 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Thu Sep 01 11:12:30 2022 +0100 |
tree | 0ed3dadbc9567a7b90576aa967c09956003427ed | |
parent | 8e77b805adc87428d9c4f6bb066bb316f52ca807 [diff] |
Fix partition verification Switch from a denylist to an allowlist for the selinux labels of disk partitions. Fix the code to match against type rather than the full label. Extend the list of exempted partitions. Add a unit test (and delete the redundant placeholder test). Simplify SeContext since we no longer need to construct one from a string, add the ability to extract the type. Along the way, I improved error reporting to give the full context for errors (otherwise the interesting bits get omitted). Bug: 237054515 Test: atest MicrodroidHostTestCases ComposHostTestCases Test: test virtualizationservice_device_test Change-Id: Ia3993a9b783b1f31bc5312af40dd5a17bf4ebfb0
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.