glibc/libio
Ulrich Drepper 553cc5f9ad * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
map if requested.
	* debug/chk_fail.c: Request backtrace and memory map dump.

	* Versions.def: Add GLIBC_2.4 for libc.
	* debug/fgets_chk.c: New file.
	* debug/fgets_u_chk.c: New file.
	* debug/getcwd_chk.c: New file.
	* debug/getwd_chk.c: New file.
	* debug/readlink_chk.c: New file.
	* debug/read_chk.c: New file.
	* debug/pread_chk.c: New file.
	* debug/pread64_chk.c: New file.
	* debug/recv_chk.c: New file.
	* debug/recvfrom_chk.c: New file.
	* debug/Versions: Add all new functions with version GLIBC_2.4.
	* debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
	pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
	getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
	* debug/tst-chk1.c: Add more tests.
	* libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
	* include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
	* posix/unistd.h: Include <bits/unistd.h> for fortification.
	* posix/bits/unistd.h: New file.
	* posix/Makefile (headers): Add bits/unistd.h.
	* socket/sys/socket.h: Include <bits/socket2.h> for fortification.
	* socket/bits/socket2.h: New file.
	* socket/Makefile (headers): Add bits/socket2.h.

	* string/bits/string3.h: Extend memset macro to check for zero 3rd
	parameter and use __memset_zero_constant_len_parameter in that case.
	* sysdeps/generic/memset_chk.c: Add
	__memset_zero_constant_len_parameter alias and linker warning.
	* debug/Versions: Add __memset_zero_constant_len_parameter to libc
	with version GLIBC_2.4.

	* sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
	in __STD_TYPE definition.

2005-02-21  Jakub Jelinek  <jakub@redhat.com>

	* malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
	the error message rather than program name.

2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2005-02-21 23:14:10 +00:00
..
bits * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
.cvsignore
Banner
Depend
Makefile 2.5-18.1 2007-07-12 18:26:36 +00:00
Versions 2.5-18.1 2007-07-12 18:26:36 +00:00
__fbufsize.c
__flbf.c
__fpending.c
__fpurge.c
__freadable.c
__freading.c
__fsetlocking.c
__fwritable.c
__fwriting.c
bug-fopena+.c
bug-fseek.c
bug-ftell.c * libio/bug-ftell.c (do_test): Add a cast. 2003-11-01 21:11:05 +00:00
bug-mmap-fflush.c
bug-rewind.c
bug-rewind2.c
bug-ungetc.c
bug-ungetc2.c Update. 2003-09-06 09:56:14 +00:00
bug-ungetc3.c Update. 2004-11-09 07:05:27 +00:00
bug-ungetc4.c Test for ungetc bug. 2004-12-06 22:33:26 +00:00
bug-ungetwc1.c
bug-ungetwc2.c
bug-wfflush.c
clearerr.c
clearerr_u.c
fcloseall.c
feof.c
feof_u.c
ferror.c
ferror_u.c
filedoalloc.c
fileno.c
fileops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fmemopen.c * sysdeps/mach/hurd/tls.h: Include <stdbool.h> 2005-02-02 19:44:07 +00:00
fputc.c Update. 2003-08-29 19:58:49 +00:00
fputc_u.c
fputwc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fputwc_u.c 2.5-18.1 2007-07-12 18:26:36 +00:00
freopen.c Update. 2003-08-29 19:58:49 +00:00
freopen64.c Update. 2003-08-29 19:58:49 +00:00
fseek.c Update. 2003-08-29 19:58:49 +00:00
fseeko.c Update. 2003-08-29 19:58:49 +00:00
fseeko64.c Update. 2003-08-29 19:58:49 +00:00
ftello.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
ftello64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
fwide.c Update. 2003-08-29 19:58:49 +00:00
fwprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fwscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
genops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getc.c Update. 2003-08-29 19:58:49 +00:00
getc_u.c
getchar.c Update. 2003-08-29 19:58:49 +00:00
getchar_u.c
getwc.c Update. 2003-08-29 19:58:49 +00:00
getwc_u.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getwchar.c Update. 2003-08-29 19:58:49 +00:00
getwchar_u.c
iofclose.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iofdopen.c
iofflush.c Update. 2003-08-29 19:58:49 +00:00
iofflush_u.c
iofgetpos.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofgetpos64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofgets.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iofgets_u.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iofgetws.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iofgetws_u.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iofopen.c
iofopen64.c
iofopncook.c * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo 2005-01-19 19:26:29 +00:00
iofputs.c Update. 2003-08-29 19:58:49 +00:00
iofputs_u.c
iofputws.c Update. 2003-08-29 19:58:49 +00:00
iofputws_u.c
iofread.c Update. 2003-08-29 19:58:49 +00:00
iofread_u.c
iofsetpos.c Update. 2003-08-29 19:58:49 +00:00
iofsetpos64.c Update. 2003-08-29 19:58:49 +00:00
ioftell.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofwide.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iofwrite.c Update. 2003-08-29 19:58:49 +00:00
iofwrite_u.c
iogetdelim.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iogetline.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iogets.c Update. 2003-08-29 19:58:49 +00:00
iogetwline.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iolibio.h Update. 2004-11-27 19:32:49 +00:00
iopadn.c
iopopen.c Update. 2004-09-14 04:41:35 +00:00
ioputs.c Update. 2003-08-29 19:58:49 +00:00
ioseekoff.c Update. 2003-08-29 19:58:49 +00:00
ioseekpos.c Update. 2004-12-06 22:48:11 +00:00
iosetbuffer.c Update. 2003-08-29 19:58:49 +00:00
iosetvbuf.c Update. 2003-08-29 19:58:49 +00:00
ioungetc.c Update. 2003-08-29 19:58:49 +00:00
ioungetwc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovdprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovsprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovsscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovswscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iowpadn.c
libio.h [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
libioP.h 2.5-18.1 2007-07-12 18:26:36 +00:00
memstream.c 2.5-18.1 2007-07-12 18:26:36 +00:00
obprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
oldfileops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
oldiofclose.c 2.5-18.1 2007-07-12 18:26:36 +00:00
oldiofdopen.c Update. 2004-03-10 09:29:17 +00:00
oldiofgetpos.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
oldiofgetpos64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
oldiofopen.c Update. 2004-03-10 09:29:17 +00:00
oldiofsetpos.c Update. 2004-03-10 09:29:17 +00:00
oldiofsetpos64.c Update. 2004-03-10 09:29:17 +00:00
oldiopopen.c Update. 2004-09-14 04:41:35 +00:00
oldpclose.c Update. 2004-03-10 09:29:17 +00:00
oldstdfiles.c Update. 2004-09-14 04:41:35 +00:00
oldtmpfile.c Update. 2004-03-10 09:29:17 +00:00
pclose.c
peekc.c Update. 2003-08-29 19:58:49 +00:00
putc.c Update. 2003-08-29 19:58:49 +00:00
putc_u.c
putchar.c Update. 2003-08-29 19:58:49 +00:00
putchar_u.c
putwc.c Update. 2003-08-29 19:58:49 +00:00
putwc_u.c
putwchar.c Update. 2003-08-29 19:58:49 +00:00
putwchar_u.c
rewind.c Update. 2003-08-29 19:58:49 +00:00
setbuf.c
setlinebuf.c
stdfiles.c
stdio.c
stdio.h Update. 2005-01-07 19:30:51 +00:00
strfile.h 2.5-18.1 2007-07-12 18:26:36 +00:00
strops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
swprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
swscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
test-fmemopen.c
test-freopen.c
test-freopen.sh
tst-atime.c
tst-eof.c
tst-ext.c
tst-fgetws.c
tst-fopenloc.c
tst-freopen.c
tst-mmap-eofsync.c
tst-mmap-fflushsync.c
tst-mmap-offend.c
tst-mmap-setvbuf.c
tst-mmap2-eofsync.c
tst-sscanf.c
tst-swscanf.c
tst-ungetwc1.c
tst-ungetwc2.c
tst-widetext.c
tst-widetext.input
tst_getwc.c
tst_getwc.input
tst_putwc.c
tst_swprintf.c
tst_swscanf.c
tst_wprintf.c
tst_wprintf2.c
tst_wscanf.c
tst_wscanf.input
vasprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vsnprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vswprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vwprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vwscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wfiledoalloc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wfileops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wgenops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wstrops.c 2.5-18.1 2007-07-12 18:26:36 +00:00