virtmgr: Use rodata=on kernel command line parameter for appsearch VM

The rodata feature allows the linear mapping to be updated to read-only
to match the virtual mapping to eliminate the possibility of the data
being overwritten. However, this comes at the cost of having to map RAM
down to the base page size, instead of using block mappings, which
results in additional memory usage for pagetables. Additionally, the
number of pagetable entries can cause additional TLB pressure and
degrade performance.

Use rodata=on for the appsearch VM, since it protects the kernel image's
read-only section from being written to, and has most of the security
benefits as using rodata=full. It also means that we don't have to map
RAM to the base page size, which means we can save memory.

Bug: 437196556
Flag: EXEMPT ...
Change-Id: I17b1e9969230baab933818ea12a0d6b710a8ee28
1 file changed
tree: 5a9e066182511b4ea22c1825ea1aac707f6a614d
  1. android/
  2. build/
  3. docs/
  4. guest/
  5. libs/
  6. microfuchsia/
  7. tests/
  8. .clang-format
  9. .gitignore
  10. Android.bp
  11. dice_for_avf_guest.cddl
  12. NOTICE
  13. OWNERS
  14. PREUPLOAD.cfg
  15. README.md
  16. rustfmt.toml
  17. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

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: