commit | 9ae2e62349ef8c3b230c51ea0b58fb192ba8b85e | [log] [tgz] |
---|---|---|
author | Shikha Panwar <shikhapanwar@google.com> | Tue Jan 30 12:22:30 2024 +0000 |
committer | Shikha Panwar <shikhapanwar@google.com> | Tue Jan 30 14:40:36 2024 +0000 |
tree | bb286362fa181d171785c8df2f2a5f79037f9132 | |
parent | 6bc52c7e8659921bfc5fdfa07133616b4b27c37a [diff] |
Move cursor to start after truncating the file File::set_len(0), while reducing the file to size 0, does not move the cursor, which will then be past the end with undefined behavior. Fix this by explicitly using File::seek(_, start). Bug: 322794510 Test: #test_create_or_update_idsig_on_non_empty_file Change-Id: I1ad648ae3bcf1552921430b8dd95d36ad8a3e1bf
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: