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

crash_dump_fallback: allow dumpstate:pipe_file write.

It appears that selinux requires the write permission to receive
a writable pipe from dumpstate, for unclear reasons. Add the permission
for now.

Bug: http://b/62297059
Test: dumpstate
Merged-In: I0f25682177115aacd5c2203ddc0008228b0380ad
Change-Id: I0f25682177115aacd5c2203ddc0008228b0380ad
(cherry picked from commit 7aa08523)
parent 1fc0682e
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,8 @@ userdebug_or_eng(`
')
allow $1 anr_data_file:file append;
allow $1 dumpstate:fd use;
allow $1 dumpstate:fifo_file append;
# TODO: Figure out why write is needed and remove.
allow $1 dumpstate:fifo_file { append write };
allow $1 tombstoned:unix_stream_socket connectto;
allow $1 tombstoned:fd use;
allow $1 tombstoned_crash_socket:sock_file write;
......
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