commit | ce3e313212ab24a1031883cd925151f1c58a50b8 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Thu Aug 17 10:24:22 2023 +0100 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Thu Aug 24 11:32:05 2023 +0100 |
tree | 0426e9011b40ea426ae7f01c71415f3a5c64d304 | |
parent | bf5978ca4c735eb874de6fbc0e3473b7e0c959e2 [diff] |
pvmfw: config: Treat v1.x as latest version known Currently, pvmfw rejects config data of versions it doesn't support, which leads to the pVM boot being aborted. Instead, as the config header format was designed to be forward compatible[*], if a version v1.x higher than the latest known version is encountered, treat it as the highest supported version i.e. read the entries that were supported in that latest version and ignore any new (unknown) entries. For the same reason, stop rejecting unknown config data flags being set. Rename body_offset() to body_lowest_bound() to make it clear that it is a best-effort value. [*]: its first fields (magic, version, size, flags) are fixed and its array of entries (of version-dependent size) contains offsets from the base (not end) of the header. Bug: 296207806 Test: atest DebugPolicyHostTests Change-Id: I7969d0189be48a6d54c85965d0092495b43e1982
Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.
Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.
If you want a quick start, see the getting started guideline and follow the steps there.
For in-depth explanations about individual topics and components, visit the following links.
AVF components:
How-Tos: