Allow crash_dump on crosvm

Protected guest memory maps are now unmapped when crash_dump forks off
of crosvm, so we don't need or want this exception anymore.

Bug: 238324526
Test: ran debuggerd on protected vm
Change-Id: Iccff5dcc441dcf769fcdaa89e7b8e686341821fd
This commit is contained in:
Frederick Mayle 2023-02-16 13:05:24 -08:00
parent 300f93bf5a
commit 4f5390d640
2 changed files with 1 additions and 4 deletions

View file

@ -8,7 +8,6 @@ allow crash_dump {
-apexd
-bpfloader
-crash_dump
-crosvm # TODO(b/236672526): Remove exception for crosvm
-diced
-init
-kernel

View file

@ -2,9 +2,7 @@
# This occurs when the process crashes.
# We do not apply this to the su domain to avoid interfering with
# tests (b/114136122)
# We exempt crosvm because parts of its memory are inaccessible to the
# kernel. TODO(b/238324526): Remove this.
domain_auto_trans({ domain userdebug_or_eng(`-su') -crosvm }, crash_dump_exec, crash_dump);
domain_auto_trans({ domain userdebug_or_eng(`-su') }, crash_dump_exec, crash_dump);
allow domain crash_dump:process sigchld;
# Allow every process to check the heapprofd.enable properties to determine