]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-01-26 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:00:21 +0000 (11:00 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:00:21 +0000 (11:00 +0000)
[BZ #671]
* sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
MSG_NOSIGNAL being in 2.2 kernels.
2005-01-24  Ulrich Drepper  <drepper@redhat.com>

[BZ #671]
* misc/syslog.c: Moved to...
* sysdeps/generic/syslog.c: ...here.
[NO_SIGIPE]: Don't install SIGPIPE handler.
* sysdeps/unix/sysv/linux/syslog.c: New file.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_MSG_NOSIGNAL.

sysdeps/unix/sysv/linux/kernel-features.h

index f499a712c4bc8448d57fb7ebaf501201cffe73ac..88850cfeac48cea8458c677d9bc107791d749708 100644 (file)
 # define __ASSUME_SIOCGIFNAME          1
 #endif
 
+/* MSG_NOSIGNAL was at least available with Linux 2.2.0.  */
+#if __LINUX_KERNEL_VERSION >= 131584
+# define __ASSUME_MSG_NOSIGNAL         1
+#endif
+
 /* On x86 another `getrlimit' syscall was added in 2.3.25.  */
 #if __LINUX_KERNEL_VERSION >= 131865 && defined __i386__
 # define __ASSUME_NEW_GETRLIMIT_SYSCALL        1