OSDN Git Service

dumpsys: switch to using a pipe to work around selinux denial.
authorJosh Gao <jmgao@google.com>
Fri, 4 Mar 2016 21:12:29 +0000 (13:12 -0800)
committerJosh Gao <jmgao@google.com>
Fri, 4 Mar 2016 21:14:33 +0000 (13:14 -0800)
commit49f0a0cddbcad9be1d408425ee608ca925c6885b
tree312fb4f156371107ed7091007b22dae73e35a5de
parent99dccfc3ec4b304d1ee3497ecbcc3322a84cf606
dumpsys: switch to using a pipe to work around selinux denial.

Some services can't write to the socket that we were passing in, due to
selinux policies. Use a pipe for now.

Bug: http://b/27500248
Change-Id: Ic681121597a1717d31ef356bd6fe2c2daaa86d94
cmds/dumpsys/dumpsys.cpp