commit | 843845ddb7496cee94340e7df41d86695de64e2c | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Tue Jan 23 23:35:01 2024 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Thu Feb 08 18:06:23 2024 +0000 |
tree | b704e99f7fc4efd5c788bc773078c406cbdfbb63 | |
parent | a4eaba9a7bf94bd846b468e0cfa60b1fabb404d9 [diff] |
libfdt: Add setprop_placeholder & Improve trimprop Add a wrapper for the previously unsupported fdt_setprop_placeholder(). As fdt_setprop() internally calls fdt_setprop_placeholder()+memcpy(), the previous implementation of trimprop() was effectively resulting in fdt_setprop_placeholder(..., len, ...); memcpy(data, data, len); for which it needed to use getprop_internal() to play some tricks around the borrow checker to make that memcpy have no effect. Instead, simply implement it by calling fdt_setprop_placeholder() directly, making the C calls more efficient and the Rust code simpler and safer. Test: m pvmfw Test: atest liblibfdt.integration_test Change-Id: I4b847dd51c230d4c6c9b6b2efd6c45087544c955
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:
AVF APIs:
How-Tos: