glibc/sysdeps/unix
Joseph Myers d710902750 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.
2014-06-20 23:22:08 +00:00
..
alpha alpha: Fix __pointer_chk_guard definition for the testsuite 2014-04-16 21:35:27 -07:00
arm Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
bsd
i386
inet
mips Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
powerpc
sh
sysv/linux Remove __ASSUME_SOCK_CLOEXEC / SOCK_CLOEXEC conditionals in Linux-specific code. 2014-06-20 23:22:08 +00:00
x86_64
Implies
Makefile
Subdirs
clock_gettime.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
clock_nanosleep.c
clock_settime.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
confstr.h
get_child_max.c
getlogin.c
getlogin_r.c
getpagesize.c
grantpt.c Fix macro warning on HAVE_PT_CHOWN 2014-05-14 09:46:54 +02:00
ifreq.c
make-syscalls.sh
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c
stime.c
syscall-template.S
syscall.S
syscalls.list
sysdep.h