glibc/sysdeps/unix/sysv/linux
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
..
alpha * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated 2005-02-15 00:13:06 +00:00
arm 2.5-18.1 2007-07-12 18:26:36 +00:00
bits Define __WNOTHREAD. 2005-01-05 19:11:59 +00:00
hppa 2.5-18.1 2007-07-12 18:26:36 +00:00
i386 (check_consistency): Define. 2005-02-08 06:48:30 +00:00
ia64 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated 2005-02-15 00:13:06 +00:00
m68k 2.5-18.1 2007-07-12 18:26:36 +00:00
mips 2.5-18.1 2007-07-12 18:26:36 +00:00
net 2.5-18.1 2007-07-12 18:26:36 +00:00
netash
netatalk Update. 2004-08-06 18:32:16 +00:00
netax25
neteconet
netinet 2.5-18.1 2007-07-12 18:26:36 +00:00
netipx
netpacket
netrom
netrose
nfs
powerpc [BZ #700] 2005-02-07 23:27:36 +00:00
s390 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated 2005-02-15 00:13:06 +00:00
scsi
sh 2.5-18.1 2007-07-12 18:26:36 +00:00
sparc 2.5-18.1 2007-07-12 18:26:36 +00:00
sys [BZ #720] 2005-02-15 00:16:39 +00:00
wordsize-64 2.5-18.1 2007-07-12 18:26:36 +00:00
x86_64 2.5-18.1 2007-07-12 18:26:36 +00:00
_exit.c Update. 2003-09-03 03:22:23 +00:00
a.out.h Update. 2003-07-25 09:06:04 +00:00
accept.S
adjtime.c * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype style definition. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If __ASSUME_TIMEVAL64, define __adjtime directly rather than via strong_alias. 2004-10-15 07:06:56 +00:00
aio_sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
bind.S
check_pf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_getres.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_gettime.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_nanosleep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_settime.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock.c
cmsg_nxthdr.c
configure 2.5-18.1 2007-07-12 18:26:36 +00:00
configure.in 2.5-18.1 2007-07-12 18:26:36 +00:00
connect.S
device-nrs.h 2.5-18.1 2007-07-12 18:26:36 +00:00
Dist 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-brk.c
dl-execstack.c * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using 2005-02-08 08:25:22 +00:00
dl-librecon.h Update. 2004-03-05 10:29:47 +00:00
dl-origin.c Update. 2004-07-06 04:26:42 +00:00
dl-osinfo.h 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-sbrk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-sysdep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
errqueue.h
execve.c Update. 2003-09-03 03:22:23 +00:00
exit-thread.S
fatal-prepare.h Update. 2003-04-19 16:57:17 +00:00
fcntl.c Update. 2004-07-16 18:11:48 +00:00
fd_to_filename.h
fexecve.c
fpathconf.c Update. 2003-08-08 07:43:03 +00:00
fstatfs64.c Update. 2003-06-24 18:59:03 +00:00
fstatvfs64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fstatvfs.c Update. 2003-09-17 00:49:19 +00:00
ftime.c
ftruncate64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
futimes.c (__futimes): Use __set_errno. 2005-01-07 04:56:33 +00:00
fxstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fxstat.c Update. 2003-06-28 08:11:28 +00:00
gai_sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getclktck.c Update. 2004-03-05 10:29:47 +00:00
getcwd.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getdents64.c
getdents.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getdirentries64.c
getdirentries.c
getdtsz.c
gethostid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getipv4sourcefilter.c Update. 2004-08-06 09:25:59 +00:00
getloadavg.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getpagesize.c Update. 2004-03-05 10:29:47 +00:00
getpeername.S
getpriority.c Update. 2003-09-03 03:22:23 +00:00
getpt.c
getsockname.S
getsockopt.S
getsourcefilter.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getsysstats.c 2.5-18.1 2007-07-12 18:26:36 +00:00
grantpt.c
if_index.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifaddrs.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifreq.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifreq.h 2.5-18.1 2007-07-12 18:26:36 +00:00
Implies
init-first.c (__libc_init_first): Don't make __libc_init_first hidden. 2005-01-07 19:21:52 +00:00
internal_statvfs64.c Update. 2004-04-03 07:50:20 +00:00
internal_statvfs.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ipc_priv.h Update. 2003-09-03 03:22:23 +00:00
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
kernel-features.h Update. 2005-01-26 20:02:05 +00:00
ldd-rewrite.sed
lddlibc4.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ldsodefs.h 2.5-18.1 2007-07-12 18:26:36 +00:00
libc_fatal.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
linux_fsinfo.h 2.5-18.1 2007-07-12 18:26:36 +00:00
listen.S
llseek.c Update. 2003-09-03 03:22:23 +00:00
lseek64.c
lxstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
lxstat.c Update. 2003-06-28 08:11:28 +00:00
makedev.c Update. 2003-09-24 21:13:55 +00:00
Makefile 2.5-18.1 2007-07-12 18:26:36 +00:00
mmap64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_close.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_getattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_notify.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_open.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_receive.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_send.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_unlink.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgget.c
msgrcv.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgsnd.c
netlinkaccess.h 2.5-18.1 2007-07-12 18:26:36 +00:00
nice.c
not-cancel.h 2.5-18.1 2007-07-12 18:26:36 +00:00
nscd_setup_thread.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ntp_gettime.c
open64.c
opendir.c 2.5-18.1 2007-07-12 18:26:36 +00:00
opensock.c
pathconf.c Update. 2003-09-04 14:42:25 +00:00
pathconf.h Update. 2003-06-11 23:22:36 +00:00
paths.h 2.5-18.1 2007-07-12 18:26:36 +00:00
poll.c 2.5-18.1 2007-07-12 18:26:36 +00:00
posix_fadvise64.c Update. 2004-03-10 19:28:58 +00:00
posix_fadvise.c Update. 2003-08-17 00:37:19 +00:00
pread64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pread.c 2.5-18.1 2007-07-12 18:26:36 +00:00
prof-freq.c 2.5-18.1 2007-07-12 18:26:36 +00:00
profil.c
ptrace.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ptsname.c
pwrite64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pwrite.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readahead.c Update. 2004-01-20 23:25:27 +00:00
readdir64_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readdir64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readonly-area.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readv.c Update. 2003-09-03 03:22:23 +00:00
reboot.c Update. 2003-09-03 03:22:23 +00:00
recv.S
recvfrom.S
recvmsg.S
sa_len.c
sched_getaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sched_setaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
segfault.c 2.5-18.1 2007-07-12 18:26:36 +00:00
semctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
semget.c
semop.c
semtimedop.c Update. 2003-05-01 21:41:01 +00:00
send.S
sendmsg.S
sendto.S
setegid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
seteuid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
setgid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
sethostid.c
setipv4sourcefilter.c Update. 2004-08-07 18:22:26 +00:00
setregid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setresgid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setresuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setreuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setsockopt.S
setsourcefilter.c 2.5-18.1 2007-07-12 18:26:36 +00:00
setuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
shm_open.c 2.5-18.1 2007-07-12 18:26:36 +00:00
shm_unlink.c
shmat.c
shmctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
shmdt.c
shmget.c
shutdown.S
sigaction.c 2.5-18.1 2007-07-12 18:26:36 +00:00
siglist.h Update. 2003-04-01 06:20:33 +00:00
signal.c
sigpending.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigprocmask.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigreturn.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigset-cvt-mask.h
sigstack.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigsuspend.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigtimedwait.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigwait.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigwaitinfo.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sizes.h
sleep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
socketcall.h
socketpair.S
speed.c 2003-09-08 Roland McGrath <roland@frob.com> 2003-09-09 06:44:48 +00:00
statfs64.c Update. 2004-04-03 07:50:20 +00:00
statvfs64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
statvfs.c Update. 2003-09-17 00:49:19 +00:00
syscalls.list 2.5-18.1 2007-07-12 18:26:36 +00:00
sysconf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sysctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
syslog.c Update. 2005-01-24 22:57:26 +00:00
system.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcdrain.c
tcflow.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcflush.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcgetattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcgetpgrp.c
tcsetattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcsetpgrp.c
termio.h
testrtsig.h 2.5-18.1 2007-07-12 18:26:36 +00:00
truncate64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ttyname_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ttyname.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ualarm.c
ulimit.c
umount2.S
umount.S
unlockpt.c
updwtmp.c 2.5-18.1 2007-07-12 18:26:36 +00:00
usleep.c Update. 2003-06-15 21:22:26 +00:00
ustat.c Update. 2003-09-27 17:02:41 +00:00
utimes.c 2.5-18.1 2007-07-12 18:26:36 +00:00
utmp_file.c 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
vfork.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wait3.c
wait.c Update. 2003-06-16 19:39:00 +00:00
waitid.c Update. 2004-10-30 18:04:21 +00:00
waitpid.c Update. 2003-05-13 23:57:02 +00:00
writev.c Update. 2003-09-03 03:22:23 +00:00
xmknod.c Update. 2003-09-27 17:02:41 +00:00
xstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
xstat.c Update. 2003-06-28 08:11:28 +00:00
xstatconv.c Update. 2003-06-16 17:18:06 +00:00
xstatconv.h 2.5-18.1 2007-07-12 18:26:36 +00:00