mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00: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.
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
libc {
|
|
GLIBC_2.1 {
|
|
# functions used in other libraries
|
|
__backtrace; __backtrace_symbols; __backtrace_symbols_fd;
|
|
|
|
# b*
|
|
backtrace; backtrace_symbols; backtrace_symbols_fd;
|
|
}
|
|
GLIBC_2.2 {
|
|
# These are to support some gcc features.
|
|
__cyg_profile_func_enter; __cyg_profile_func_exit;
|
|
}
|
|
GLIBC_2.3.4 {
|
|
__chk_fail;
|
|
__memcpy_chk; __memmove_chk; __mempcpy_chk; __memset_chk; __stpcpy_chk;
|
|
__strcat_chk; __strcpy_chk; __strncat_chk; __strncpy_chk;
|
|
__sprintf_chk; __vsprintf_chk; __snprintf_chk; __vsnprintf_chk;
|
|
__printf_chk; __fprintf_chk; __vprintf_chk; __vfprintf_chk;
|
|
__gets_chk;
|
|
}
|
|
GLIBC_2.4 {
|
|
__fgets_chk; __fgets_unlocked_chk;
|
|
__read_chk; __pread_chk; __pread64_chk;
|
|
__readlink_chk; __getcwd_chk; __getwd_chk;
|
|
__recv_chk; __recvfrom_chk;
|
|
__realpath_chk; __ptsname_r_chk; __wctomb_chk;
|
|
__stpncpy_chk;
|
|
__wcscpy_chk; __wmemcpy_chk; __wmemmove_chk; __wmempcpy_chk; __wcpcpy_chk;
|
|
__wcsncpy_chk; __wcscat_chk; __wcsncat_chk; __wmemset_chk; __wcpncpy_chk;
|
|
__swprintf_chk; __vswprintf_chk; __wprintf_chk; __fwprintf_chk;
|
|
__vwprintf_chk; __vfwprintf_chk; __fgetws_chk; __fgetws_unlocked_chk;
|
|
__confstr_chk; __getgroups_chk; __ttyname_r_chk; __getlogin_r_chk;
|
|
__gethostname_chk; __getdomainname_chk; __wcrtomb_chk; __mbsnrtowcs_chk;
|
|
__wcsnrtombs_chk; __mbsrtowcs_chk; __wcsrtombs_chk; __mbstowcs_chk;
|
|
__wcstombs_chk;
|
|
|
|
__stack_chk_fail;
|
|
}
|
|
GLIBC_2.5 {
|
|
__readlinkat_chk;
|
|
}
|
|
GLIBC_2.7 {
|
|
__fread_chk; __fread_unlocked_chk;
|
|
}
|
|
GLIBC_PRIVATE {
|
|
__fortify_fail;
|
|
}
|
|
}
|