Skip to content
Snippets Groups Projects
Commit 99ce20e5 authored by Nicolas Geoffray's avatar Nicolas Geoffray Committed by Gerrit Code Review
Browse files

Merge "Allow zygote to JIT."

parents 39a39054 6949a392
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,9 @@ allow zygote resourcecache_data_file:file create_file_perms; ...@@ -48,6 +48,9 @@ allow zygote resourcecache_data_file:file create_file_perms;
# https://bugs.chromium.org/p/project-zero/issues/detail?id=955 for example. # https://bugs.chromium.org/p/project-zero/issues/detail?id=955 for example.
allow { zygote with_dexpreopt(`-zygote') } dalvikcache_data_file:file execute; allow { zygote with_dexpreopt(`-zygote') } dalvikcache_data_file:file execute;
# Allow zygote to create JIT memory.
allow zygote self:process execmem;
# Execute idmap and dex2oat within zygote's own domain. # Execute idmap and dex2oat within zygote's own domain.
# TODO: Should either of these be transitioned to the same domain # TODO: Should either of these be transitioned to the same domain
# used by installd or stay in-domain for zygote? # used by installd or stay in-domain for zygote?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment