commit | 9eb551868bc9b8ab775767b620a017d3f93ca6c7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 17 11:14:33 2017 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Feb 17 11:14:33 2017 -0800 |
tree | b12beb17aedf35833dc8a468d29ddc0195216c36 | |
parent | 892b158af89073d7d6efa8d3198a8cbf2411ac8d [diff] |
adbd's children should have SIGPIPE set to SIG_DFL. POSIX lets you choose whether or not SIGPIPE disposition is inherited, and Linux chose "yes". Work around that. Bug: http://b/35209888 Test: "ps -A | head" without the toybox workaround Change-Id: I6b5afa3d87eb2af04b24c6c37fa338ab60ad2336