commit | 6bf323b97a11194d6186f8db2ee4a5eaca8d0141 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Feb 08 22:36:42 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Tue Feb 09 16:15:56 2016 -0800 |
tree | 7a5dbf8a7c97653399b07bd24cb57ebd2a6eefb5 | |
parent | b2803b5060b3a790277bf17a97651c30102a183a [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