about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-09 15:53:04 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-15 11:32:40 -0300
commitded3cef36135afa3510ce3c12b982f659b8ea244 (patch)
tree5ed66470854edd6dda0c90285da62a22e4de4cc9 /sysdeps
parent7cb10381a45767f27409857da1dd9f67ef2c9f96 (diff)
downloadglibc-ded3cef36135afa3510ce3c12b982f659b8ea244.tar.gz
glibc-ded3cef36135afa3510ce3c12b982f659b8ea244.tar.xz
glibc-ded3cef36135afa3510ce3c12b982f659b8ea244.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/syslog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/syslog.c b/sysdeps/unix/sysv/linux/syslog.c
deleted file mode 100644
index cf8ce23385..0000000000
--- a/sysdeps/unix/sysv/linux/syslog.c
+++ /dev/null
@@ -1,4 +0,0 @@
-#define NO_SIGPIPE
-#define send_flags MSG_NOSIGNAL
-
-#include <misc/syslog.c>