Skip to content
Snippets Groups Projects
Commit d7ff4d0b authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

crash_dump: allow reading from pipes.

am: 914a7fb9

Change-Id: I053ba4143c225fc471c6c70afdcc0ce284060f69
parents 3ed28773 914a7fb9
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,11 @@ userdebug_or_eng(` ...@@ -23,9 +23,11 @@ userdebug_or_eng(`
# Use inherited file descriptors # Use inherited file descriptors
allow crash_dump domain:fd use; allow crash_dump domain:fd use;
# Write to the IPC pipe inherited from crashing processes. # Read/write IPC pipes inherited from crashing processes.
allow crash_dump domain:fifo_file { read write };
# Append to pipes given to us by processes requesting dumps (e.g. dumpstate) # Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
allow crash_dump domain:fifo_file { write append }; allow crash_dump domain:fifo_file { append };
r_dir_file(crash_dump, domain) r_dir_file(crash_dump, domain)
allow crash_dump exec_type:file r_file_perms; allow crash_dump exec_type:file r_file_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