glibc/sysdeps/generic
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
elf
net
netinet
sys
__longjmp.c
_exit.c
_G_config.h
_strerror.c
a.out.h
abort-instr.h
abort.c
accept.c
access.c
acct.c
add_n.c
addmul_1.c
adjtime.c
aio_cancel.c
aio_fsync.c
aio_misc.c
aio_misc.h
aio_notify.c
aio_read64.c
aio_read.c
aio_sigqueue.c
aio_suspend.c
aio_write64.c
aio_write.c
alarm.c
allocalim.h
allocrtsig.c
alphasort64.c
asm-syntax.h
backtrace.c
backtracesyms.c
backtracesymsfd.c
bb_init_func.c
bcopy.c
bind.c
bp-checks.h
bp-semctl.h
bp-start.h
bp-sym.h
bp-thunks.h
brdinit.c
brk.c
bsd-_setjmp.c
bsd-setjmp.c
bzero.c
cabsf.c
cargf.c
chdir.c
check_fds.c
check_pf.c
chflags.c
chmod.c
chown.c
chroot.c
cimagf.c
clock_getcpuclockid.c
clock_getres.c
clock_gettime.c
clock_nanosleep.c
clock_settime.c
clock.c
close.c
closedir.c
cmp.c
configure
configure.in
confstr.h
conjf.c
connect.c
console.c
crealf.c
creat64.c
creat.c
ctermid.c
cuserid.c
dbl2mpn.c
det_endian.c
device-nrs.h
dirfd.c
dirstream.h
Dist
div.c
divmod_1.c
divrem.c
dl-brk.c
dl-cache.c
dl-cache.h
dl-dtprocnum.h
dl-environ.c
dl-execstack.c
dl-fptr.c
dl-fptr.h [BZ #677] 2005-02-07 22:56:07 +00:00
dl-hash.h [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
dl-librecon.h
dl-lookupcfg.h [BZ #677] 2005-02-07 22:56:07 +00:00
dl-machine.h
dl-origin.c
dl-osinfo.h
dl-procinfo.c
dl-procinfo.h
dl-sbrk.c
dl-symaddr.c
dl-sysdep.c
dl-sysdep.h
dl-tls.c Update. 2005-01-10 11:10:54 +00:00
dl-tls.h
dl-trampoline.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dup2.c
dup.c
dwarf2.h
e_acoshl.c
e_acosl.c
e_asinl.c
e_atan2l.c
e_atanhl.c
e_coshl.c
e_exp2l.c
e_exp10.c
e_exp10f.c
e_exp10l.c
e_expl.c
e_fmodl.c
e_gammal_r.c
e_hypotl.c
e_j0l.c
e_j1l.c
e_jnl.c
e_lgammal_r.c
e_log2l.c
e_log10l.c
e_logl.c
e_powl.c
e_rem_pio2l.c
e_scalb.c
e_scalbf.c
e_scalbl.c
e_sinhl.c
e_sqrtl.c
enbl-secure.c
endutxent.c
entry.h
environ.c
errlist.c
errno-loc.c
errno.c
errqueue.h
euidaccess.c
exc2signal.c
execve.c
fattach.c
fchdir.c
fchflags.c
fchmod.c
fchown.c
fclrexcpt.c
fcntl.c
fd_to_filename.h
fdatasync.c
fdetach.c
fedisblxcpt.c
feenablxcpt.c
fegetenv.c
fegetexcept.c
fegetround.c
feholdexcpt.c
fesetenv.c
fesetround.c
feupdateenv.c
fexecve.c
ffs.c
ffsll.c
fgetexcptflg.c
fgetxattr.c
flistxattr.c
flock.c
flockfile.c
fork.c
fork.h
fpathconf.c
fpu_control.c
fpu_control.h
fraiseexcpt.c
frame.h
framestate.c
fremovexattr.c
fsetexcptflg.c
fsetxattr.c
fstatfs64.c
fstatfs.c
fstatvfs64.c
fstatvfs.c
fsync.c
ftestexcept.c
ftime.c
ftruncate64.c
ftruncate.c
ftrylockfile.c
funlockfile.c
futimes.c
fxstat64.c
fxstat.c
gai_sigqueue.c
gai_strerror.c
gccframe.h
get_clockfreq.c
getaddrinfo.c
getclktck.c
getcontext.c
getcwd.c
getdents64.c
getdents.c
getdomain.c
getdtsz.c
getegid.c
getenv.c
geteuid.c
getgid.c
getgroups.c
gethostid.c
gethostname.c
getipv4sourcefilter.c
getitimer.c
getloadavg.c
getlogin_r.c
getlogin.c
getmsg.c
getpagesize.c
getpeername.c
getpgid.c
getpgrp.c
getpid.c
getpmsg.c
getppid.c
getpriority.c
getpt.c
getresgid.c
getresuid.c
getrlimit64.c
getrlimit.c
getrusage.c
getsid.c
getsockname.c
getsockopt.c
getsourcefilter.c
getsysstats.c
gettimeofday.c
getuid.c
getutmp.c
getutmpx.c
getutxent.c
getutxid.c
getutxline.c
getxattr.c
glob64.c
glob.c
gmp-mparam.h
grantpt.c
group_member.c
gtty.c
herrno-loc.c
hp-timing.h
htonl.c
htons.c
if_index.c
ifaddrs.c
ifreq.c
ifreq.h
init-first.c
init-posix.c
initfini.c
inlines.c
intr-msg.h
inttypes.h
ioctl.c
isastream.c
isatty.c
isfdtype.c
jmp-unwind.c
k_cosl.c
k_rem_pio2l.c
k_sincosl.c
k_sinl.c
k_tanl.c
kill.c
killpg.c
labs.c
lchmod.c
lchown.c
ldbl2mpn.c
ldconfig.h
ldiv.c
ldsodefs.h Update. 2005-01-29 04:14:35 +00:00
lgetxattr.c
libc_fatal.c
libc-start.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
libc-tls.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
libm-test-ulps
link.c
lio_listio64.c
lio_listio.c
listen.c
listxattr.c
llabs.c
lldiv.c
llistxattr.c
lockf64.c
lockf.c
longjmp-ts.c
longjmp.c
lremovexattr.c
lseek64.c
lseek.c
lsetxattr.c
lshift.c
lutimes.c
lxstat64.c
lxstat.c
machine-gmon.h
machine-lock.h
machine-sp.h
madvise.c
makecontext.c
Makefile
malloc-machine.h
math_ldbl.h
memccpy.c
memchr.c
memcmp.c
memcopy.h
memcpy_chk.c
memcpy.c
memmem.c
memmove_chk.c
memmove.c
mempcpy_chk.c
mempcpy.c
memrchr.c
memset_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
memset.c
memusage.h
mig-reply.c
mincore.c
mkdir.c
mkfifo.c
mknod.c
mlock.c
mlockall.c
mmap64.c
mmap.c
mod_1.c
morecore.c
mp_clz_tab.c
mpn2dbl.c
mpn2flt.c
mpn2ldbl.c
mprotect.c
mq_close.c
mq_getattr.c
mq_notify.c
mq_open.c
mq_receive.c
mq_send.c
mq_setattr.c
mq_timedreceive.c
mq_timedsend.c
mq_unlink.c
msgctl.c
msgget.c
msgrcv.c
msgsnd.c
msync.c
mul_1.c
mul_n.c
mul.c
munlock.c
munlockall.c
munmap.c
nanosleep.c
nice.c
not-cancel.h
nscd_setup_thread.c
nscd-types.h
open64.c
open.c
opendir.c
opensock.c
pagecopy.h
pathconf.c
paths.h
pause.c
pipe.c
poll.c
posix_fadvise64.c
posix_fadvise.c
posix_fallocate64.c
posix_fallocate.c
posix_madvise.c
pread64.c
pread.c
printf_fphex.c
prof-freq.c
profil-counter.h
profil.c
pselect.c
ptrace.c
ptsname.c
pty-private.h
putenv.c
putmsg.c
putpmsg.c
pututxline.c
pwrite64.c
pwrite.c
raise.c
rawmemchr.c
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readelflib.c
readlink.c
readonly-area.c
readv.c
reboot.c
recv.c
recvfrom.c
recvmsg.c
register-dump.h
remap_file_pages.c
remove.c
removexattr.c
rename.c
res-state.c
revoke.c
rewinddir.c
rmdir.c
rshift.c
s_asinhl.c
s_atanl.c
s_cacos.c
s_cacosf.c
s_cacosh.c
s_cacoshf.c
s_cacoshl.c
s_cacosl.c
s_casin.c
s_casinf.c
s_casinh.c
s_casinhf.c
s_casinhl.c
s_casinl.c
s_catan.c
s_catanf.c
s_catanh.c
s_catanhf.c
s_catanhl.c
s_catanl.c
s_cbrtl.c
s_ccos.c
s_ccosf.c
s_ccosh.c
s_ccoshf.c
s_ccoshl.c
s_ccosl.c
s_cexp.c
s_cexpf.c
s_cexpl.c
s_clog10.c
s_clog10f.c
s_clog10l.c
s_clog.c
s_clogf.c
s_clogl.c
s_cpow.c
s_cpowf.c
s_cpowl.c
s_cproj.c
s_cprojf.c
s_cprojl.c
s_csin.c
s_csinf.c
s_csinh.c
s_csinhf.c
s_csinhl.c
s_csinl.c
s_csqrt.c
s_csqrtf.c
s_csqrtl.c
s_ctan.c
s_ctanf.c
s_ctanh.c
s_ctanhf.c
s_ctanhl.c
s_ctanl.c
s_erfl.c
s_expm1l.c
s_fdim.c
s_fdimf.c
s_fdiml.c
s_fma.c
s_fmaf.c
s_fmal.c
s_fmax.c
s_fmaxf.c
s_fmaxl.c
s_fmin.c
s_fminf.c
s_fminl.c
s_ldexp.c
s_ldexpf.c
s_ldexpl.c
s_log1pl.c
s_nan.c
s_nanf.c
s_nanl.c
s_nextafter.c
s_nexttowardf.c
s_nexttowardl.c
s_significand.c
s_significandf.c
s_significandl.c
s_tanhl.c
sbrk.c
scandir64.c
sched_getaffinity.c
sched_getp.c
sched_gets.c
sched_primax.c
sched_primin.c
sched_rr_gi.c
sched_setaffinity.c
sched_setp.c
sched_sets.c
sched_yield.c
seekdir.c
segfault.c
select.c
semctl.c
semget.c
semop.c
semtimedop.c
send.c
sendfile64.c
sendfile.c
sendmsg.c
sendto.c
setcontext.c
setdomain.c
setegid.c
setenv.c
seteuid.c
setfpucw.c
setgid.c
setgroups.c
sethostid.c
sethostname.c
setipv4sourcefilter.c
setitimer.c
setjmp.c
setlogin.c
setpgid.c
setpgrp.c
setpriority.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit64.c
setrlimit.c
setsid.c
setsockopt.c
setsourcefilter.c
settimeofday.c
setuid.c
setutxent.c
setxattr.c
shm_open.c
shm_unlink.c
shmat.c
shmctl.c
shmdt.c
shmget.c
shutdown.c
sigaction.c
sigaltstack.c
sigblock.c
sigcontextinfo.h
sigfillset.c
sigignore.c
sigintr.c
sigjmp.c
siglist.c
siglist.h
signal.c
signame.c
signame.h
sigpause.c
sigpending.c
sigprocmask.c
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigset.c
sigsetmask.c
sigstack.c
sigsuspend.c
sigtimedwait.c
sigvec.c
sigwait.c
sigwaitinfo.c
sleep.c
sockatmark.c
socket.c
socketpair.c
spawni.c
speed.c
sprofil.c
sstk.c
stackinfo.h
start.c
statfs64.c
statfs.c
statvfs64.c
statvfs.c
stdint.h
stime.c
stpcpy_chk.c
stpcpy.c
stpncpy.c
strcasecmp_l.c
strcasecmp.c
strcasestr.c
strcat_chk.c
strcat.c
strchr.c
strchrnul.c
strcmp.c
strcpy_chk.c
strcpy.c
strcspn.c
string-inlines.c
strlen.c
strncase_l.c
strncase.c
strncat_chk.c
strncat.c
strncmp.c
strncpy_chk.c
strncpy.c
strnlen.c
strpbrk.c
strrchr.c
strsep.c
strspn.c
strstr.c
strtoimax.c
strtok_r.c
strtok.c
strtol_l.c
strtol.c
strtold_l.c
strtoll_l.c
strtoll.c
strtoul_l.c
strtoul.c
strtoull_l.c
strtoull.c
strtoumax.c
strtsupp.c
stty.c
sub_n.c
submul_1.c
swapcontext.c
swapoff.c
swapon.c
symbol-hacks.h
symlink.c
sync.c
syscall.c
sysconf.c
sysdep-cancel.h
sysdep.c
sysdep.h
syslog.c * sysdeps/mach/hurd/tls.h: Include <stdbool.h> 2005-02-02 19:44:07 +00:00
system.c
sysv_signal.c
t_sincosl.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsendbrk.c
tcsetattr.c
tcsetpgrp.c
telldir.c
tempname.c
testrtsig.h
thread_state.h
time.c
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
times.c
tls.h
tmpfile64.c
tmpfile.c
trampoline.c
truncate64.c
truncate.c
tst-stack-align.h
tst-timer.c
ttyname_r.c
ttyname.c
ualarm.c
udiv_qrnnd.c
ulimit.c
umask.c
uname.c
unlink.c
unlockpt.c
unsecvars.h * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
unwind-dw2-fde-glibc.c
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c
unwind-pe.c
unwind-pe.h
unwind.h
updwtmp.c
updwtmpx.c
usleep.c
ustat.c
utime.c
utimes.c
utmp_file.c
utmp-equal.h
utmpxname.c
versionsort64.c
vfork.c
vhangup.c
vlimit.c
vtimes.c
w_acos.c
w_acosf.c
w_acosh.c
w_acoshf.c
w_acoshl.c
w_acosl.c
w_asin.c
w_asinf.c
w_asinl.c
w_atan2.c
w_atan2f.c
w_atan2l.c
w_atanh.c
w_atanhf.c
w_atanhl.c
w_cosh.c
w_coshf.c
w_coshl.c
w_drem.c
w_dremf.c
w_dreml.c
w_exp2.c
w_exp2f.c
w_exp2l.c
w_exp10.c
w_exp10f.c
w_exp10l.c
w_expl.c
w_fmod.c
w_fmodf.c
w_fmodl.c
w_hypot.c
w_hypotf.c
w_hypotl.c
w_j0.c
w_j0f.c
w_j0l.c
w_j1.c
w_j1f.c
w_j1l.c
w_jn.c
w_jnf.c
w_jnl.c
w_lgamma_r.c
w_lgamma.c
w_lgammaf_r.c
w_lgammaf.c
w_lgammal_r.c
w_lgammal.c
w_log2.c
w_log2f.c
w_log2l.c
w_log10.c
w_log10f.c
w_log10l.c
w_log.c
w_logf.c
w_logl.c
w_pow.c
w_powf.c
w_powl.c
w_remainder.c
w_remainderf.c
w_remainderl.c
w_scalb.c
w_scalbf.c
w_scalbl.c
w_sinh.c
w_sinhf.c
w_sinhl.c
w_sqrt.c
w_sqrtf.c
w_sqrtl.c
w_tgamma.c
w_tgammaf.c
w_tgammal.c
wait3.c
wait4.c
wait.c
waitid.c
waitpid.c
wcstoimax.c
wcstol_l.c
wcstol.c
wcstoll_l.c
wcstoll.c
wcstoul_l.c
wcstoul.c
wcstoull_l.c
wcstoull.c
wcstoumax.c
wordcopy.c
wordexp.c (exec_comm): Add a few TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to exec_comm_child. (exec_comm_child): Can now be inlined. 2005-01-20 19:47:10 +00:00
write.c
writev.c
xmknod.c
xpg-strerror.c
xstat64.c
xstat.c