glibc/sysdeps/unix/sysv/linux/x86_64
Joseph Myers 0595c98494 Fix mq_notify socket, recv namespace (bug 18546).
mq_notify (in the 1996 edition of POSIX) brings in references to recv
and socket (not in POSIX until the 2001 edition).  This patch fixes
this by using __recv and __socket, exporting them from libc at version
GLIBC_PRIVATE.

Tested for x86_64 and x86 (testsuite and comparison of installed
stripped shared libraries; PLT / dynamic symbol table changes render
the comparison not particularly useful for libc).

	[BZ #18546]
	* socket/recv.c (__recv): Use libc_hidden_def.
	* socket/socket.c (__socket): Likewise.
	* sysdeps/mach/hurd/recv.c (__recv): Likewise.
	* sysdeps/mach/hurd/socket.c (__socket): Likewise.
	* sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
	* sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
	* sysdeps/unix/sysv/linux/socket.c (__socket): Use
	libc_hidden_def.
	* sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
	libc_hidden_weak.
	* include/sys/socket.h (__socket): Do not use attribute_hidden.
	Use libc_hidden_proto.
	(__recv): Likewise.
	* socket/Versions (libc): Export __recv and __socket at version
	GLIBC_PRIVATE.
	* sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
	instead of recv.
	(init_mq_netlink): Call __socket instead of socket.
	* conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
	Remove variable.
2015-06-17 20:20:08 +00:00
..
64
x32 Consolidate sched_getcpu 2015-06-09 14:56:21 -03:00
____longjmp_chk.S
__start_context.S
arch-fork.h
brk.c
cancellation.S
clone.S
compat-timer.h
configure
configure.ac
dl-cache.h
dl-procinfo.c
dl-procinfo.h
get_clockfreq.c
getcontext.S
Implies
init-first.c Consolidate sched_getcpu 2015-06-09 14:56:21 -03:00
kernel_stat.h
kernel-features.h
ldconfig.h
ldd-rewrite.sed
libc-cancellation.S
libc-lowlevellock.S
libmvec.abilist Vector pow for x86_64 and tests. 2015-06-17 16:22:26 +03:00
librt-cancellation.S
lll_timedlock_wait.c Split timed-wait functions out of nptl/lowlevellock.c. 2015-05-26 14:49:13 -07:00
lll_timedwait_tid.c Split timed-wait functions out of nptl/lowlevellock.c. 2015-05-26 14:49:13 -07:00
lowlevellock.h
lowlevellock.S
lowlevelrobustlock.S
makecontext.c
Makefile
profil-counter.h
pthread_barrier_wait.S Fix mq_notify pthread_barrier_* namespace (bug 18544). 2015-06-17 20:16:56 +00:00
pthread_cond_broadcast.S
pthread_cond_signal.S
pthread_cond_timedwait.S
pthread_cond_wait.S
pthread_setaffinity.c
readelflib.c
recv.c Fix mq_notify socket, recv namespace (bug 18546). 2015-06-17 20:20:08 +00:00
register-dump.h
sched_setaffinity.c
send.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
setcontext.S
sigaction.c
sigaltstack-offsets.sym
sigcontextinfo.h
sigpending.c
sigprocmask.c
swapcontext.S
syscall.S
syscalls.list
sysconf.c
sysdep-cancel.h
sysdep.h Consolidate sched_getcpu 2015-06-09 14:56:21 -03:00
sysdep.S
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
ucontext_i.sym
umount.c
Versions
vfork.S