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

Merge changes from topic 'crash_dump_append' am: cce8513c am: 6a25a388 am: 3766ef05

am: b569f770

Change-Id: Id1a8279bbf42a22bc4283b17d20b0e8ceca38795
parents 0ddf8a95 b569f770
Branches
Tags
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.
Please register or to comment