]> sourceware.org Git - glibc.git/commit - ChangeLog
Remove __ASSUME_SOCK_CLOEXEC / SOCK_CLOEXEC conditionals in Linux-specific code.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 20 Jun 2014 23:22:08 +0000 (23:22 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 20 Jun 2014 23:22:08 +0000 (23:22 +0000)
commitd7109027508c8ef5f4218abc737fcb1a411c2bd3
tree728ba80e4c799382361d2ecc8b9472d1392188fe
parentd92d8f8a42b5623e98a5f83775015a7907029884
Remove __ASSUME_SOCK_CLOEXEC / SOCK_CLOEXEC conditionals in Linux-specific code.

This patch removes conditionals on __ASSUME_SOCK_CLOEXEC, and on
SOCK_CLOEXEC being defined, in Linux-specific code, now that all
supported Linux kernel versions can be assumed to have this
functionality.  (The macro is also used in OS-independent code and is
not defined for Hurd.)

Tested x86_64 that the disassembly of installed shared libraries is
unchanged by this patch.

* nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
<kernel-features.h>.
(init_mq_netlink): Remove conditional have_sock_cloexec
definitions.  Remove code conditional on have_sock_cloexec < 0.
(init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
(init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
* sysdeps/unix/sysv/linux/opensock.c: Do not include
<kernel-features.h>.
(__opensock) [SOCK_CLOEXEC]: Make code unconditional.
(__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
ChangeLog
nptl/sysdeps/unix/sysv/linux/mq_notify.c
sysdeps/unix/sysv/linux/opensock.c
This page took 0.040075 seconds and 5 git commands to generate.