commit | f46a17c5595017c4e7ca9b18b2c5d12c2b7b7f3e | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@android.com> | Sun Jan 05 15:50:18 2025 +0000 |
committer | Alan Stokes <alanstokes@android.com> | Sun Jan 05 16:34:56 2025 +0000 |
tree | c7436e65457b82857d4bde2c25d21d690edd4fb0 | |
parent | a2a8c081dea3a550160d9b148e6d6cf2afcc5ffa [diff] |
Use C string literals not cstr! Since Rust 1.77.0 the language has supported C string literals, so the `cstr!` macro is no longer needed. Replace existing usages with the equivalent literal. See https://doc.rust-lang.org/reference/tokens.html#c-string-literals. I believe that the two are equivalent: - Escapes are handled the same way; - Both allow arbitrary Unicode, which is mapped to UTF-8 (I don't think we made any use of this); - Both treat any embedded NUL character as a compile time error. This is of no significance whatsoever, but it does make the code a tiny bit simpler. It should not change the compiled code at all, so no flagging should be needed. I'm not deleting the macro in this CL; I'll do a follow-up for that, since there may be usages I can't see, and it has greater chance of accidental conflict. Test: TH Change-Id: I4354b3b0a0c53fbec0c2d78b4182786e4e2d0ce8
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: