Skip to content
Snippets Groups Projects
Commit 914a7fb9 authored by Josh Gao's avatar Josh Gao
Browse files

crash_dump: allow reading from pipes.

Bug: http://b/63989615
Test: mma
Change-Id: I41506ecb0400867230502181c1aad7e51ce16d70
parent 9b2dc9cf
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,11 @@ userdebug_or_eng(`
# Use inherited file descriptors
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)
allow crash_dump domain:fifo_file { write append };
allow crash_dump domain:fifo_file { append };
r_dir_file(crash_dump, domain)
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