Skip to content
Snippets Groups Projects
Commit 409b38bc authored by Jeffrey Vander Stoep's avatar Jeffrey Vander Stoep Committed by android-build-merger
Browse files

Merge "zygote: grant perms from domain_deprecated" am: eecaa0b5

am: fde8ca53

* commit 'fde8ca53':
  zygote: grant perms from domain_deprecated
parents 8a788747 fde8ca53
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,16 @@ allow zygote storage_file:dir { search mounton }; ...@@ -64,6 +64,16 @@ allow zygote storage_file:dir { search mounton };
# Handle --invoke-with command when launching Zygote with a wrapper command. # Handle --invoke-with command when launching Zygote with a wrapper command.
allow zygote zygote_exec:file rx_file_perms; allow zygote zygote_exec:file rx_file_perms;
# Read access to pseudo filesystems.
r_dir_file(zygote, proc_net)
# Root fs.
allow zygote rootfs:file r_file_perms;
# System file accesses.
allow zygote system_file:dir r_dir_perms;
allow zygote system_file:file r_file_perms;
userdebug_or_eng(` userdebug_or_eng(`
# Allow zygote to create and write method traces in /data/misc/trace. # Allow zygote to create and write method traces in /data/misc/trace.
allow zygote method_trace_data_file:dir w_dir_perms; allow zygote method_trace_data_file:dir w_dir_perms;
......
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