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

Merge changes from topic 'crash_dump_append'

am: cce8513c

Change-Id: I4fa0bca933289c60894403cfb70650608da5cee0
parents c3358ae3 cce8513c
No related branches found
No related tags found
No related merge requests found
### HACK: Make crash_dump permissive temporarily to catch denials without breaking backtraces.
userdebug_or_eng(`
permissive crash_dump;
')
......@@ -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