diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-16 11:00:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-16 11:00:21 +0000 |
commit | ef9c9507b33fbd4b9392dd3f0d8e73be1d74f8ed (patch) | |
tree | c298e5c63e806c8c388f32bc8159db29cf65f14f /sysdeps | |
parent | 432b34cd0473bdb7699163b12f57c0c9305a6674 (diff) | |
download | glibc-ef9c9507b33fbd4b9392dd3f0d8e73be1d74f8ed.tar glibc-ef9c9507b33fbd4b9392dd3f0d8e73be1d74f8ed.tar.gz glibc-ef9c9507b33fbd4b9392dd3f0d8e73be1d74f8ed.tar.bz2 glibc-ef9c9507b33fbd4b9392dd3f0d8e73be1d74f8ed.zip |
2005-01-26 Ulrich Drepper <drepper@redhat.com>
[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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index f499a712c4..88850cfeac 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -79,6 +79,11 @@ # 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 |