summaryrefslogtreecommitdiffstats
path: root/base/logging.cpp
diff options
context:
space:
mode:
authorTao Wu <lepton@google.com>2016-09-20 17:58:55 -0700
committerTao Wu <lepton@google.com>2016-09-20 18:15:22 -0700
commitc8fab89f1b5ae8c3752979e1a1004eda8b185687 (patch)
tree80c0735781fcae61848fbc4c21fab76c1f0eb4e8 /base/logging.cpp
parent41595685482aec3ec4413c4e0bedf03c34a35a94 (diff)
downloadsystem_core-c8fab89f1b5ae8c3752979e1a1004eda8b185687.tar.gz
system_core-c8fab89f1b5ae8c3752979e1a1004eda8b185687.tar.bz2
system_core-c8fab89f1b5ae8c3752979e1a1004eda8b185687.zip
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 'base/logging.cpp')
0 files changed, 0 insertions, 0 deletions