diff options
| author | Josh Gao <jmgao@google.com> | 2015-10-23 15:03:31 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2015-10-23 15:04:33 -0700 |
| commit | 8dcdb57dafd554e801de97012e7d0ef6ec63a5ac (patch) | |
| tree | c19d3ab114519f49ccf28b9551efc282ccb4dee7 /base/errors_unix.cpp | |
| parent | 38aee48fc695c25e15435e4ef235c8bc2e0afde9 (diff) | |
adb: Mask SIGTTIN so that I/O works when backgrounded.
SIGTTIN gets sent to the process when we attempt to read from
stdin when we're in the background, which stops the process by
default. Mask the signal so that the read returns -1 with errno
set to EIO, instead.
Change-Id: I4ae626b0670c05a1a05165539b9eed709e83d536
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
