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

crash_dump: allow appending to pipes.

Bug: http://b/34978531
Bug: http://b/35209835
Test: debuggerd -b `pidof zygote`
Change-Id: I0611cd4f8d4893740ef8787df09d296b2f7ed97f
parent 3067af14
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,10 @@ userdebug_or_eng(`
# Use inherited file descriptors
allow crash_dump domain:fd use;
allow crash_dump domain:fifo_file write;
# Write to the IPC pipe inherited from crashing processes.
# Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
allow crash_dump domain:fifo_file { write 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