glibc/rt
Joseph Myers dfa2d21450 Fix mq_receive, mq_send mq_timed* namespace (bug 18545).
mq_receive calls mq_timedreceive, and mq_send calls mq_timedsend.  But
mq_receive and mq_send were in POSIX by 1996, while mq_timed* were
added in the 2001 edition of POSIX.  This patch fixes this by making
mq_timed* into weak aliases for __mq_timed* and calling the
__mq_timed* names.

Tested for x86_64 and x86 (testsuite, and that disassembly of
installed shared libraries is unchanged by the patch).

	[BZ #18545]
	* rt/mq_timedreceive.c (mq_timedreceive): Rename to
	__mq_timedreceive and define as alias of __mq_timedreceive.  Use
	hidden_weak.
	* rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
	define as alias of __mq_timedsend.  Use hidden_weak.
	* sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
	__mq_timedsend as strong name.
	(mq_timedreceive): Use __mq_timedreceive as strong name.
	* include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
	(__mq_timedreceive): Likewise.
	* sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
	__mq_timedreceive instead of mq_timedreceive.
	* sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
	instead of mq_timedsend.
	* conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
	Remove variable.
2015-06-17 20:19:04 +00:00
..
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_cancel.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_error.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_fsync.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_misc.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_notify.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_read64.c
aio_read.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_return.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_suspend.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_write64.c
aio_write.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_getres.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_gettime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock-compat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Depend
get_clockfreq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lio_listio64.c
lio_listio.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_close.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_notify.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_setattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_timedreceive.c Fix mq_receive, mq_send mq_timed* namespace (bug 18545). 2015-06-17 20:19:04 +00:00
mq_timedsend.c Fix mq_receive, mq_send mq_timed* namespace (bug 18545). 2015-06-17 20:19:04 +00:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm_open.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm_unlink.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio3.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio4.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio5.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio6.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio7.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio8.c
tst-aio9.c
tst-aio10.c
tst-aio64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-aio.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-clock2.c
tst-clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-clock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-cpuclock1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-cpuclock2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-cputimer1.c
tst-cputimer2.c
tst-cputimer3.c
tst-mqueue1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue5.c Conditionalize some test code for SIGRTMIN, SA_SIGINFO. 2015-03-04 15:14:56 -08:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-shm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-timer2.c Don't set unused field in rt/tst-timer2. 2015-02-06 12:30:38 -08:00
tst-timer3.c
tst-timer4.c Conditionalize some test code for SIGRTMIN, SA_SIGINFO. 2015-03-04 15:14:56 -08:00
tst-timer5.c
tst-timer.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions