glibc/rt
Nikita Popov 4cc79c2177 librt: add test (bug 28213)
This test implements following logic:
1) Create POSIX message queue.
   Register a notification with mq_notify (using NULL attributes).
   Then immediately unregister the notification with mq_notify.
   Helper thread in a vulnerable version of glibc
   should cause NULL pointer dereference after these steps.
2) Once again, register the same notification.
   Try to send a dummy message.
   Test is considered successfulif the dummy message
   is successfully received by the callback function.

Signed-off-by: Nikita Popov <npv1310@gmail.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2021-08-12 16:09:50 +05:30
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_cancel.c Linux: Move aio_cancel, aio_cancel64 into libc 2021-06-25 11:48:46 +02:00
aio_error.c Linux: Move aio_error, aio_error64 into libc 2021-06-25 11:49:55 +02:00
aio_fsync.c Linux: Move aio_fsync, aio_fsync64 into libc 2021-06-25 11:50:24 +02:00
aio_misc.c Linux: Cleanups after librt move 2021-06-28 09:51:01 +02:00
aio_notify.c Linux: Cleanups after librt move 2021-06-28 09:51:01 +02:00
aio_read64.c Linux: Move aio_read, aio_read64 into libc 2021-06-25 11:53:37 +02:00
aio_read.c Linux: Move aio_read, aio_read64 into libc 2021-06-25 11:53:37 +02:00
aio_return.c Linux: Move aio_return, aio_return64 into libc 2021-06-25 11:55:01 +02:00
aio_sigqueue.c Linux: Cleanups after librt move 2021-06-28 09:51:01 +02:00
aio_suspend.c Linux: Move aio_suspend, aio_suspend64, __aio_suspend_time64 to libc 2021-06-25 11:55:27 +02:00
aio_write64.c Linux: Move aio_write, aio_write64 into libc 2021-06-25 12:19:15 +02:00
aio_write.c Linux: Move aio_write, aio_write64 into libc 2021-06-25 12:19:15 +02:00
aio.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
Depend hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
librt-compat.c Linux: Move timer_settime, __timer_settime64 from librt to libc 2021-06-28 09:51:01 +02:00
lio_listio64.c rt: Rework lio_listio implementation 2021-06-25 12:19:57 +02:00
lio_listio-common.c Linux: Move lio_listio, lio_listio64 from librt to libc 2021-06-25 12:19:58 +02:00
lio_listio.c rt: Rework lio_listio implementation 2021-06-25 12:19:57 +02:00
Makefile librt: add test (bug 28213) 2021-08-12 16:09:50 +05:30
mq_close.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_getattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_notify.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_open.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_receive.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_send.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_setattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_unlink.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mqueue.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
shm_open.c rt: Move shm_open into libc 2021-06-21 08:25:15 +02:00
shm_unlink.c rt: Move shm_unlink into libc 2021-06-21 08:25:15 +02:00
timer_create.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_delete.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_getoverr.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_gettime.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_settime.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
tst-aio2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio6-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-aio6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio8.c
tst-aio9.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio10.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-bz28213.c librt: add test (bug 28213) 2021-08-12 16:09:50 +05:30
tst-cpuclock2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cpuclock2.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cputimer1.c
tst-cputimer2.c
tst-cputimer3.c
tst-mqueue1-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue8-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue10-time64.c linux: Only use 64-bit syscall if required for mq_timedreceive 2021-06-22 12:09:52 -03:00
tst-mqueue10.c rt: Set the correct message queue for tst-mqueue10 2021-08-04 17:38:38 -03:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-shm-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-shm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer2.c
tst-timer3.c
tst-timer4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timer4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer5.c
tst-timer-sigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions Linux: Cleanups after librt move 2021-06-28 09:51:01 +02:00