commit | efe261fb4d7b18683c6e370dbb74c8c26961db96 | [log] [tgz] |
---|---|---|
author | Shikha Panwar <shikhapanwar@google.com> | Fri Oct 20 20:46:05 2023 +0000 |
committer | Shikha Panwar <shikhapanwar@google.com> | Thu Nov 02 15:46:57 2023 +0000 |
tree | 728ed23d89398cb5d437574b958e714f9c8f6cc1 | |
parent | ac080d3a79aa27f3cd4d3f4d558ac0e352960ff9 [diff] |
Dice Policy: Add dice chain matching functionality This method compares the dice policy against an input dice chain, returning successfully if the dice chain matches the policy or returning error in case of mismatch. We also 3 unit tests to check that a policy: 1 Matches the original dice_chain that it was constructed from. 2 Matches the 'updated' chain. 3 Mismatches the 'downgraded' chain. Note: The input chain in unit test is highly simplified & hypothetical. The 'update' means one of the Integer (contrained by 'GreaterOrEqual') increases in the updated chain & downgraded means the opposite & is for the purpose of unit testing the constraints only. Test: atest libdice_policy.test Bug: 291238565 Change-Id: I575eb96e2356661e5f16e7a9dd3c860a287ad08b
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: