platform_system_core/libsysutils/src
Tom Cherry 2b3ebaf5c0 SocketClient: don't ignore SIGPIPE
1) All current users are better off ignoring SIGPIPE at the beginning
   of their process instead of ignoring it just for SocketClient
2) This isn't thread safe if users did want it, since sigaction()
   ignores SIGPIPE for the entire process
3) This costs 5-10% of logd CPU time when logcat is reading logs

Also clean up the error handling in SocketClient::sendDataLockedv().

Test: kill logcat and see that logd doesn't crash
Test: run simpleperf and see that no cycles are going to sigaction
Change-Id: I6532c8a0d71338e534411707b9a9bd785145c730
2020-07-31 15:53:18 -07:00
..
FrameworkCommand.cpp system/core: preparation to pull back interfaces from android/log.h 2016-10-20 08:11:39 -07:00
FrameworkListener.cpp Enlarge cmd buffer size of FrameworkListener 2019-03-21 23:09:16 +08:00
NetlinkEvent.cpp Cleanup for #inclusivefixit. 2020-07-28 11:11:55 -07:00
NetlinkListener.cpp Remove old LOG_EVENT_* code from libsysutils 2017-07-11 15:14:26 -07:00
OWNERS Refactor OWNERS files for Android Core Networking 2019-02-14 14:13:53 +08:00
ServiceManager.cpp There's no longer a limit to property names. 2017-02-28 14:12:54 -08:00
SocketClient.cpp SocketClient: don't ignore SIGPIPE 2020-07-31 15:53:18 -07:00
SocketListener.cpp Make the SocketListener control pipe O_CLOEXEC. 2019-04-10 12:11:42 +09:00
SocketListener_test.cpp Delete sysutils/List.h 2018-09-05 21:07:23 +09:00