commit | 6f380a897982d16ef5c5073c64f25d90fb14846e | [log] [tgz] |
---|---|---|
author | David Dai <davidai@google.com> | Tue Feb 06 17:15:27 2024 -0800 |
committer | David Dai <davidai@google.com> | Tue Feb 27 10:43:18 2024 -0800 |
tree | e69101e7ca680d92e4d5c020538656f8c1bc3756 | |
parent | 51aceed13b32961f5a78624d7858c3d149f0407d [diff] |
Move createVmRequiresPermission test into a separate APK This is a squash of aosp/2974230 and aosp/2974230 With associating a new gid for MANAGE_VIRTUAL_MACHINE permissions, this causes ActivityManager to kill processes that attempt to modify its gid at runtime. Remove runtime grant/revoke of MANAGE_VIRTUAL_MACHINE permissions from existing tests. Move the createVmRequiresPermission that's testing for a lack of MANAGE_VIRTUAL_MACHINE into its own APK. Bug: 323448288 Bug: 322197421 Test: atest MicrodroidTests and atest MicrodroidTestAppNoPerm Merged-In: I1ec62228462efb198ada9141ad91c987d0f8710d Change-Id: I1ec62228462efb198ada9141ad91c987d0f8710d Signed-off-by: David Dai <davidai@google.com>
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.