2021-06-21 14:25:15 +08:00
|
|
|
libc {
|
2021-06-25 16:30:35 +08:00
|
|
|
GLIBC_2.1 {
|
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
aio_init;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_cancel;
|
|
|
|
aio_cancel64;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_error;
|
|
|
|
aio_error64;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_fsync;
|
|
|
|
aio_fsync64;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_read;
|
|
|
|
aio_read64;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_return;
|
|
|
|
aio_return64;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_suspend;
|
|
|
|
aio_suspend64;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_write;
|
|
|
|
aio_write64;
|
2021-06-25 16:30:36 +08:00
|
|
|
lio_listio;
|
|
|
|
lio_listio64;
|
2021-06-25 16:30:35 +08:00
|
|
|
%endif
|
|
|
|
}
|
2021-06-21 14:25:15 +08:00
|
|
|
GLIBC_2.2 {
|
2021-06-28 15:51:00 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
timer_create;
|
|
|
|
timer_delete;
|
|
|
|
%endif
|
2021-06-21 14:25:15 +08:00
|
|
|
shm_open;
|
2021-06-21 14:25:15 +08:00
|
|
|
shm_unlink;
|
2021-06-21 14:25:15 +08:00
|
|
|
}
|
2021-06-25 16:30:36 +08:00
|
|
|
GLIBC_2.3.4 {
|
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
mq_close;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_getattr;
|
2021-06-25 16:42:52 +08:00
|
|
|
mq_notify;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_open;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_receive;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_send;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_setattr;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_timedreceive;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_timedsend;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_unlink;
|
2021-06-25 16:30:36 +08:00
|
|
|
%endif
|
|
|
|
}
|
2021-06-25 16:30:36 +08:00
|
|
|
GLIBC_2.4 {
|
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
lio_listio;
|
|
|
|
lio_listio64;
|
2021-06-25 16:42:54 +08:00
|
|
|
%endif
|
|
|
|
}
|
|
|
|
GLIBC_2.7 {
|
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
__mq_open_2;
|
2021-06-25 16:30:36 +08:00
|
|
|
%endif
|
|
|
|
}
|
2021-06-21 14:25:15 +08:00
|
|
|
GLIBC_2.34 {
|
2021-06-25 16:30:35 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
2021-06-25 16:42:54 +08:00
|
|
|
__mq_open_2;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_cancel64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_cancel;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_error64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_error;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_fsync64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_fsync;
|
|
|
|
aio_init;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_read64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_read;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_return64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_return;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_suspend64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_suspend;
|
2021-06-25 16:30:36 +08:00
|
|
|
aio_write64;
|
2021-06-28 15:51:00 +08:00
|
|
|
aio_write;
|
2021-06-25 16:30:36 +08:00
|
|
|
lio_listio64;
|
2021-06-28 15:51:00 +08:00
|
|
|
lio_listio;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_close;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_getattr;
|
2021-06-25 16:42:52 +08:00
|
|
|
mq_notify;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_open;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_receive;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_send;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_setattr;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_timedreceive;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_timedsend;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_unlink;
|
2021-06-28 15:51:00 +08:00
|
|
|
timer_create;
|
|
|
|
timer_delete;
|
2021-06-25 16:30:35 +08:00
|
|
|
%endif
|
2021-06-21 14:25:15 +08:00
|
|
|
shm_open;
|
2021-06-21 14:25:15 +08:00
|
|
|
shm_unlink;
|
2021-06-21 14:25:15 +08:00
|
|
|
}
|
2021-06-25 16:30:35 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
GLIBC_PRIVATE {
|
|
|
|
__aio_enqueue_request;
|
|
|
|
__aio_find_req;
|
|
|
|
__aio_find_req_fd;
|
|
|
|
__aio_free_request;
|
|
|
|
__aio_notify;
|
|
|
|
__aio_notify_only;
|
|
|
|
__aio_remove_request;
|
|
|
|
__aio_requests_mutex;
|
|
|
|
__aio_sigqueue;
|
|
|
|
}
|
|
|
|
%endif
|
2021-06-21 14:25:15 +08:00
|
|
|
}
|
1998-07-03 06:51:40 +08:00
|
|
|
librt {
|
|
|
|
GLIBC_2.1 {
|
2021-06-25 16:30:36 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
__librt_version_placeholder;
|
|
|
|
%else
|
2021-06-21 14:25:15 +08:00
|
|
|
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;
|
2021-06-25 16:30:36 +08:00
|
|
|
%endif
|
1998-07-03 06:51:40 +08:00
|
|
|
}
|
Update.
2000-04-10 Ulrich Drepper <drepper@redhat.com>
* Versions.def (librt): Add GLIBC_2.2.
* rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
timer_getoverr, timer_gettime, and timer_settime.
* rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/generic/clock_getcpuclockid.c: New file.
* sysdeps/generic/get_clockfreq.c: New file.
* sysdeps/unix/i386/clock_getcpuclockid.c: New file.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
* sysdeps/mach/hurd/i386/bits/time.h: New file.
* sysdeps/unix/i386/i586/clock_getres.c: New file.
* sysdeps/unix/i386/i586/clock_gettime.c: New file.
* sysdeps/unix/i386/i686/Implies: New file.
* sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
* time/Makefile (routines): Move clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverr,
timer_gettime, and timer_settime to rt/Makefile.
* time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
and not const as attribute name.
2000-04-11 15:08:31 +08:00
|
|
|
GLIBC_2.2 {
|
2021-06-28 15:51:00 +08:00
|
|
|
%if !PTHREAD_IN_LIBC
|
2021-06-21 14:25:15 +08:00
|
|
|
timer_create;
|
|
|
|
timer_delete;
|
2021-06-28 15:51:00 +08:00
|
|
|
%endif
|
2021-06-21 14:25:15 +08:00
|
|
|
timer_getoverrun;
|
|
|
|
timer_gettime;
|
Update.
2000-04-10 Ulrich Drepper <drepper@redhat.com>
* Versions.def (librt): Add GLIBC_2.2.
* rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
timer_getoverr, timer_gettime, and timer_settime.
* rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/generic/clock_getcpuclockid.c: New file.
* sysdeps/generic/get_clockfreq.c: New file.
* sysdeps/unix/i386/clock_getcpuclockid.c: New file.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
* sysdeps/mach/hurd/i386/bits/time.h: New file.
* sysdeps/unix/i386/i586/clock_getres.c: New file.
* sysdeps/unix/i386/i586/clock_gettime.c: New file.
* sysdeps/unix/i386/i686/Implies: New file.
* sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
* time/Makefile (routines): Move clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverr,
timer_gettime, and timer_settime to rt/Makefile.
* time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
and not const as attribute name.
2000-04-11 15:08:31 +08:00
|
|
|
timer_settime;
|
|
|
|
}
|
2004-04-13 10:15:43 +08:00
|
|
|
GLIBC_2.3.4 {
|
2021-06-25 16:42:54 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
__librt_version_placeholder;
|
|
|
|
%else
|
2021-06-21 14:25:15 +08:00
|
|
|
mq_close;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_getattr;
|
2021-06-25 16:42:52 +08:00
|
|
|
mq_notify;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_open;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_receive;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_send;
|
2021-06-25 16:30:36 +08:00
|
|
|
mq_setattr;
|
2021-06-25 16:42:54 +08:00
|
|
|
mq_timedreceive;
|
2021-06-21 14:25:15 +08:00
|
|
|
mq_timedsend;
|
|
|
|
mq_unlink;
|
2021-06-25 16:42:54 +08:00
|
|
|
%endif
|
2004-04-13 10:15:43 +08:00
|
|
|
}
|
2021-06-22 15:50:27 +08:00
|
|
|
GLIBC_2.4 {
|
2021-06-25 16:30:36 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
__librt_version_placeholder;
|
|
|
|
%else
|
2021-06-22 15:50:27 +08:00
|
|
|
lio_listio;
|
|
|
|
lio_listio64;
|
2021-06-25 16:30:36 +08:00
|
|
|
%endif
|
2021-06-22 15:50:27 +08:00
|
|
|
}
|
* rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7.
* 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.
2007-09-16 06:35:27 +08:00
|
|
|
GLIBC_2.7 {
|
2021-06-25 16:42:54 +08:00
|
|
|
%if PTHREAD_IN_LIBC
|
|
|
|
__librt_version_placeholder;
|
|
|
|
%else
|
* rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7.
* 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.
2007-09-16 06:35:27 +08:00
|
|
|
__mq_open_2;
|
2021-06-25 16:42:54 +08:00
|
|
|
%endif
|
* rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7.
* 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.
2007-09-16 06:35:27 +08:00
|
|
|
}
|
1998-07-03 06:51:40 +08:00
|
|
|
}
|