misc: syslog: Assume MSG_NOSIGNAL support (BZ #17144)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 9 Apr 2021 18:53:04 +0000 (15:53 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 15 Apr 2021 14:32:40 +0000 (11:32 -0300)
commitded3cef36135afa3510ce3c12b982f659b8ea244
tree5ed66470854edd6dda0c90285da62a22e4de4cc9
parent7cb10381a45767f27409857da1dd9f67ef2c9f96
misc: syslog: Assume MSG_NOSIGNAL support (BZ #17144)

MSG_NOSIGNAL was added on POSIX 2008 and Hurd seems to support it.
The SIGPIPE handling also makes the implementation not thread-safe
(due the sigaction usage).

Checked on x86_64-linux-gnu.
misc/syslog.c
sysdeps/unix/sysv/linux/syslog.c [deleted file]