commit | bdb914770b18622bf86ad269c4dff752175d9b6d | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Feb 08 22:36:42 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 22 15:57:08 2016 -0800 |
tree | 0e889d3d8090ef8e7b83a8390a4a5f2057b45380 | |
parent | 6e850a8ad8cae457abe4e7ffb27b7355bb2b512e [diff] |
adb: setsid() for adb host server. To create a daemon for adb host server, we should call setsid() for the daemon process. However, previously we call setsid() for the adb client process, which results in nothing but EPERM error. Bug: 26982628 Change-Id: I2763ae3d5a243706927d7ef6af5095138c0ce2d8 (cherry picked from commit 6bf323b97a11194d6186f8db2ee4a5eaca8d0141)