glibc/debug
Ulrich Drepper 35f1e82763 * Versions.def (ld): Add GLIBC_2.4.
* configure.in: Add --enable-stackguard-randomization option.
	(ENABLE_STACKGUARD_RANDOMIZE): New define.
	* config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
	(_dl_setup_stack_chk_guard): New inline function.
	* sysdeps/generic/dl-osinfo.h: Include stdint.h.
	(_dl_setup_stack_chk_guard): New inline function.
	* elf/rtld.c (__stack_chk_guard): New variable.
	(dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
	Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
	use THREAD_SET_STACK_GUARD if defined.
	* elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
	* sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
	(__libc_start_main): Set __stack_chk_guard to
	_dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
	traces of TLS_INIT_TP_EXPENSIVE.
	* debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
	* debug/Makefile (routines): Add stack_chk_fail.
	(static-only-routines): Add stack_chk_fail_local.
	* debug/stack_chk_fail_local.c: New file.
	* debug/stack_chk_fail.c: New file.
	* elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
	tests.
	* elf/tst-stackguard1.c: New file.
	* elf/tst-stackguard1-static.c: New file.
	* elf/stackguard-macros.h: New file.
2005-06-26 18:14:26 +00:00
..
backtrace-tst.c Update. 2000-11-25 01:26:30 +00:00
catchsegv.sh * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
chk_fail.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
execinfo.h 2.5-18.1 2007-07-12 18:26:36 +00:00
fgets_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
fgets_u_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
fprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getcwd_chk.c (__getcwd_chk): Always fail if the buffer is too small. 2005-03-01 00:42:41 +00:00
gets_chk.c 2004-10-15 Jakub Jelinek <jakub@redhat.com> 2004-10-18 04:17:19 +00:00
getwd_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
Makefile * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
noophooks.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pcprofile.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pcprofiledump.c [BZ #40] 2004-05-17 18:59:35 +00:00
pread64_chk.c * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
pread_chk.c [BZ #779] 2005-03-19 00:28:51 +00:00
printf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
read_chk.c * debug/read_chk.c (__read_chk): Always fail if the buffer is too 2005-03-01 01:20:39 +00:00
readlink_chk.c * debug/read_chk.c (__read_chk): Always fail if the buffer is too 2005-03-01 01:20:39 +00:00
recv_chk.c * debug/recv_chk.c (__recv_chk): Always fail if request could 2005-03-06 21:25:22 +00:00
recvfrom_chk.c * debug/recv_chk.c (__recv_chk): Always fail if request could 2005-03-06 21:25:22 +00:00
snprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
stack_chk_fail_local.c * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
stack_chk_fail.c * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
test-stpcpy_chk.c 2004-10-15 Jakub Jelinek <jakub@redhat.com> 2004-10-18 04:17:19 +00:00
test-strcpy_chk.c Update. 2004-11-13 03:13:00 +00:00
tst-chk1.c [BZ #779] 2005-03-19 00:28:51 +00:00
tst-chk2.c 2004-10-15 Jakub Jelinek <jakub@redhat.com> 2004-10-18 04:17:19 +00:00
tst-chk3.c 2004-10-15 Jakub Jelinek <jakub@redhat.com> 2004-10-18 04:17:19 +00:00
tst-lfschk1.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk2.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk3.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
Versions * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
vfprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vsnprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vsprintf_chk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
warning-nop.c (__builtin___memcpy_chk): Define away to 2005-03-28 07:09:47 +00:00
xtrace.sh * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00