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

crash_dump: allow reading from pipes. am: 914a7fb9

am: d7ff4d0b

Change-Id: I72c5e0a1278e164a3889f610bd91c53fb523b9c0
parents a7f988d0 d7ff4d0b
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