]> git.ipfire.org Git - thirdparty/chrony.git/commit
util: handle or ignore SIGPIPE signal
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 1 Aug 2018 10:20:17 +0000 (12:20 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 3 Aug 2018 15:21:02 +0000 (17:21 +0200)
commit879d936277382f189f8d29ee0a5ef3a6bed6f135
tree3e9a994138b6aa810dc7366f3fd62e12d9616eca
parent5bb2bf9361b9c445c968873f6891053d53b1efba
util: handle or ignore SIGPIPE signal

In chronyc handle SIGPIPE similarly to SIGTERM. In chronyd ignore the
signal to avoid crashing when a TCP socket will be needed (e.g. for
NTS-KE) and will be unexpectedly closed from the other side.
client.c
main.c
privops.c
util.c
util.h