commit | 961083eed137ee9c011ee5e0b2f0b962f126a087 | [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 | 2d414d3cdad67a121b6d14fe15b7a98ebae8324d | |
parent | 49c2edf55314577efa22337badb316a221c1d7fd [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