diff options
| author | Tao Wu <lepton@google.com> | 2016-09-20 17:58:55 -0700 |
|---|---|---|
| committer | Tao Wu <lepton@google.com> | 2016-09-20 18:15:22 -0700 |
| commit | c8fab89f1b5ae8c3752979e1a1004eda8b185687 (patch) | |
| tree | 80c0735781fcae61848fbc4c21fab76c1f0eb4e8 /trusty/coverage/coverage.cpp | |
| parent | 41595685482aec3ec4413c4e0bedf03c34a35a94 (diff) | |
Ignore setsid error in some cases.
If the calling process has already been a leading process of session.
setsid just fail with EPERM, ignore such error.
Test: killall adb;exec 3>f;adb fork-server server --reply-fd 3 & cat f
Change-Id: I1aeac079f29e10aa63ed724b5a43663f25c25ad5
Signed-off-by: Tao Wu <lepton@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
