mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 19:30:10 +00:00
8215c9ecf2
* include/bits/wchar2.h: New file. * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is requested. * wcsmbs/wcsncpy.c: Add __wcsncpy alias. * string/bits/string3.h: Add fortified stpncpy definitions. * sysdeps/generic/stpncpy_chk.c: New file. * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h. Export _IO_wstrn_jumps. * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps. * include/wchar.h: Declare __wcsncpy and __vswprintf_chk. * debug/fgetws_chk.c: New file. * debug/fgetws_u_chk.c: New file. * debug/fwprintf_chk.c: New file. * debug/swprintf_chk.c: New file. * debug/vfwprintf_chk.c: New file. * debug/vswprintf_chk.c: New file. * debug/vwprintf_chk.c: New file. * debug/wcpcpy_chk.c: New file. * debug/wcpncpy_chk.c: New file. * debug/wcscat_chk.c: New file. * debug/wcscpy_chk.c: New file. * debug/wcsncat_chk.c: New file. * debug/wcsncpy_chk.c: New file. * debug/wmemcpy_chk.c: New file. * debug/wmemmove_chk.c: New file. * debug/wmempcpy_chk.c: New file. * debug/wmemset_chk.c: New file. * debug/wprintf_chk.c: New file. * debug/tst-chk1.c: Add tests for new functions. * debug/Versions: Export new functions. * debug/Makefile (routines): Add new functions.
36 lines
1.2 KiB
Plaintext
36 lines
1.2 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;
|
|
|
|
__stack_chk_fail;
|
|
}
|
|
}
|