mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-17 05:23:34 +08:00
3a50811c2f
* rt/Makefile (headers): Add bits/mqueue2.h. * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, optimizing with GCC and __va_arg_pack_len is defined. * rt/bits/mqueue2.h: New file. * rt/mq_open.c (__mq_open): Renamed from mq_open. (mq_open): New strong_alias. (__mq_open_2): New function. * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. (mq_open): New strong_alias. (__mq_open_2): New function. * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. * Versions.def (librt): Add GLIBC_2.7 version. * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. * include/stdio.h (__fortify_fail): Add libc_hidden_proto. * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len is defined rather than when not C++. * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, __openat64_alias): New redirects. (__open_too_many_args, __open_missing_mode, __open64_too_many_args, __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, __openat64_too_many_args, __openat64_missing_mode): New __errordecls. (open, open64, openat, openat64): Rewrite as __extern_always_inline functions instead of function-like macros.
29 lines
706 B
Plaintext
29 lines
706 B
Plaintext
librt {
|
|
GLIBC_2.1 {
|
|
# AIO functions.
|
|
aio_cancel; aio_cancel64; aio_error; aio_error64; aio_fsync; aio_fsync64;
|
|
aio_init; aio_read; aio_read64; aio_return; aio_return64; aio_suspend;
|
|
aio_suspend64; aio_write; aio_write64; lio_listio; lio_listio64;
|
|
}
|
|
GLIBC_2.2 {
|
|
# c*
|
|
clock_getres; clock_gettime; clock_settime; clock_getcpuclockid;
|
|
clock_nanosleep;
|
|
|
|
# s*
|
|
shm_open; shm_unlink;
|
|
|
|
# t*
|
|
timer_create; timer_delete; timer_getoverrun; timer_gettime;
|
|
timer_settime;
|
|
}
|
|
GLIBC_2.3.4 {
|
|
# m*
|
|
mq_open; mq_close; mq_unlink; mq_getattr; mq_setattr;
|
|
mq_notify; mq_send; mq_receive; mq_timedsend; mq_timedreceive;
|
|
}
|
|
GLIBC_2.7 {
|
|
__mq_open_2;
|
|
}
|
|
}
|