crash_dump_fallback: allow writing to system_server pipes.

am: 3c9b91977d

Change-Id: If292e297a21af84c35131ed42c2a65658bec2ed9
This commit is contained in:
Josh Gao 2017-07-20 18:30:39 +00:00 committed by android-build-merger
commit 762a2b85ab

View file

@ -470,8 +470,9 @@ userdebug_or_eng(`
') ')
allow $1 anr_data_file:file append; allow $1 anr_data_file:file append;
allow $1 dumpstate:fd use; allow $1 dumpstate:fd use;
# TODO: Figure out why write is needed and remove. # TODO: Figure out why write is needed.
allow $1 dumpstate:fifo_file { append write }; allow $1 dumpstate:fifo_file { append write };
allow $1 system_server:fifo_file { append write };
allow $1 tombstoned:unix_stream_socket connectto; allow $1 tombstoned:unix_stream_socket connectto;
allow $1 tombstoned:fd use; allow $1 tombstoned:fd use;
allow $1 tombstoned_crash_socket:sock_file write; allow $1 tombstoned_crash_socket:sock_file write;