summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorAkilesh Kailash <akailash@google.com>2021-04-27 02:30:39 +0000
committerAkilesh Kailash <akailash@google.com>2021-04-27 02:36:18 +0000
commit83658e0d36a80d227c527796f48bff9c4da78bfe (patch)
tree705681e811813432426b1c24721bcb484c955215 /trusty/coverage/coverage_test.cpp
parent4a3ab034c6bd435c1e2134d7164945d3f085f120 (diff)
libsnapshot: Pass MSG_NOSIGNAL socket flags
If one end of the communication socket is closed for some reason, there is no need to terminate the daemon or the client. Mask the SIGPIPE using MSG_NOSIGNAL flag - we will still get EPIPE error but process will not be terminated. Bug: 186213024 Test: Full OTA Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: Iaa53545c0c4059618f6b49afb9ec24ea5372c7e0
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions