glibc/sysdeps/unix/sysv/linux
Greg McGary 2ed5fd9a2a update
2000-07-26  Greg McGary  <greg@mcgary.org>

	* Makeconfig (+link-bounded, link-libc-bounded,
	link-extra-libs-bounded): New variables.
	(built-program-cmd): Omit $(run-program-prefix) for static BP tests.
	* Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
	* Rules (tests-bp.out): New variable.
	(tests): Conditionally add BP tests.
	(binaries-bounded): Add variable and associated rule.
	* csu/Makefile [build-bounded] (extra-objs, install-lib):
	Move conditional stuff after place where condition is defined.

	* malloc/malloc.c (bp-checks.h): Add #include.
	(mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
	(_bin_at): Add unbounded version of bin_at.
	(IAV, chunk_alloc): Use unbounded _bin_at.
	(mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
	chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
	Wrap BOUNDED_N around return value.
	(chunk_realloc): Adjust oldsize once.

	* sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
	(__ubp_memchr): Add correct decl.
	(_CHECK_STRING): Use __ubp_memchr.
	* sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
	New alias for unbounded-pointer __memchr.
	* sysdeps/i386/memchr.S: Likewise.
	* sysdeps/ia64/memchr.S: Likewise.
	* sysdeps/m68k/memchr.S: Likewise.
	* sysdeps/sparc/sparc32/memchr.S: Likewise.
	* sysdeps/sparc/sparc64/memchr.S: Likewise.
	* sysdeps/vax/memchr.s: Likewise.

	* sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
	(SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
	(strtok): Don't bother to write into SAVE_PTR when returning NULL.
	* sysdeps/i386/i686/strtok.S: Likewise.
	* sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
	RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.

	* sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
	* sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.

	* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
	bounds of copy_result to mount_proc.
2000-07-26 18:21:25 +00:00
..
alpha Update. 2000-06-22 17:59:07 +00:00
arm Update. 2000-07-10 16:25:03 +00:00
bits Update. 2000-06-22 17:59:07 +00:00
i386 Update. 2000-07-10 16:25:03 +00:00
ia64 * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
m68k Remove mmap64 alias. 2000-07-24 13:33:15 +00:00
mips * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
net * sysdeps/mach/hurd/if_index.c: New file. 2000-03-24 20:59:00 +00:00
netash
netatalk
netax25
neteconet
netinet Update. 2000-07-26 13:49:15 +00:00
netipx
netpacket
netrom
netrose
nfs
powerpc (__mmap64): Really fix check for offset. 2000-07-24 16:52:03 +00:00
scsi Update. 2000-05-21 21:01:01 +00:00
sh Update. 2000-06-13 01:52:33 +00:00
sparc Update. 2000-07-10 16:25:03 +00:00
sys * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS. 2000-07-06 16:58:19 +00:00
_G_config.h
a.out.h
accept.S
adjtime.c
aio_sigqueue.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
bind.S
clock.c
cmsg_nxthdr.c
configure * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
configure.in * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
connect.S
Dist Update. 2000-04-06 04:58:34 +00:00
dl-origin.c Update. 2000-03-23 20:31:46 +00:00
dl-sysdep.c
errlist.c Update. 2000-04-04 06:03:48 +00:00
errlist.h
execve.c * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to 2000-07-17 22:31:56 +00:00
fpathconf.c Update. 2000-06-08 10:05:46 +00:00
fstatfs64.c update. 2000-04-14 07:51:02 +00:00
fstatvfs64.c Update. 2000-02-28 05:08:01 +00:00
fstatvfs.c Update. 2000-01-18 10:53:15 +00:00
ftime.c
ftruncate64.c * string/endian.h (__LONG_LONG_PAIR): New macro. 2000-07-06 23:42:33 +00:00
fxstat64.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
fxstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
getcwd.c Update. 2000-07-16 04:35:55 +00:00
getdents64.c
getdents.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
getdirentries64.c
getdirentries.c
getdtsz.c Update. 2000-06-08 15:14:02 +00:00
gethostid.c
getloadavg.c
getpeername.S
getpriority.c Update. 2000-02-28 05:08:01 +00:00
getpt.c
getsockname.S
getsockopt.S
getsysstats.c update 2000-07-26 18:21:25 +00:00
glob64.c
grantpt.c
if_index.c Update. 2000-04-30 09:40:55 +00:00
ifreq.h
Implies
init-first.c Update. 2000-04-22 07:19:25 +00:00
internal_statvfs.c Update. 2000-02-28 05:08:01 +00:00
ipc_priv.h Update. 2000-01-24 12:38:46 +00:00
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
kernel-features.h Update. 2000-05-24 15:33:21 +00:00
ldd-rewrite.sed
lddlibc4.c
linux_fsinfo.h Update. 2000-04-15 19:21:10 +00:00
listen.S
llseek.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
lseek64.c
lxstat64.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
lxstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
Makefile * sysdeps/mach/hurd/if_index.c: New file. 2000-03-24 20:59:00 +00:00
mmap64.c
msgctl.c Update. 2000-03-31 05:50:02 +00:00
msgget.c Update. 2000-01-24 12:38:46 +00:00
msgrcv.c Update. 2000-01-24 12:38:46 +00:00
msgsnd.c Update. 2000-01-24 12:38:46 +00:00
ntp_gettime.c
pathconf.c Update. 2000-06-08 10:05:46 +00:00
paths.h
poll.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
pread64.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
pread.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
profil.c
ptrace.c * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to 2000-07-17 22:31:56 +00:00
ptsname.c
pwrite64.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
pwrite.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
readdir64_r.c
readdir64.c
readv.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
reboot.c
recv.S
recvfrom.S
recvmsg.S
rt_sigaction.c
rt_sigpending.c
rt_sigprocmask.c
rt_sigqueueinfo.c
rt_sigreturn.c
rt_sigsuspend.c
rt_sigtimedwait.c
s_pread64.c
s_pwrite64.c
sa_len.c
semctl.c 2000-03-31 Andreas Jaeger <aj@suse.de> 2000-03-31 10:21:40 +00:00
semget.c Update. 2000-01-24 12:38:46 +00:00
semop.c Update. 2000-01-24 12:38:46 +00:00
send.S
sendmsg.S
sendto.S
setegid.c Update. 2000-01-17 05:24:52 +00:00
seteuid.c
sethostid.c
setsockopt.S
shm_open.c Update. 2000-06-09 17:34:27 +00:00
shm_unlink.c Update. 2000-04-12 04:59:33 +00:00
shmat.c Update. 2000-01-24 12:38:46 +00:00
shmctl.c 2000-03-31 Andreas Jaeger <aj@suse.de> 2000-03-31 10:21:40 +00:00
shmdt.c Update. 2000-01-24 12:38:46 +00:00
shmget.c Update. 2000-01-24 12:38:46 +00:00
shutdown.S
sigaction.c Update. 2000-07-10 16:25:03 +00:00
siglist.h
signal.c
sigpending.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
sigprocmask.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
sigqueue.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
sigreturn.c
sigset-cvt-mask.h
sigstack.c Update. 2000-02-23 06:02:09 +00:00
sigsuspend.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
sigtimedwait.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
sigwaitinfo.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
sizes.h
sleep.c
socketcall.h
socketpair.S
speed.c
statfs64.c update. 2000-04-14 07:51:02 +00:00
statvfs64.c Update. 2000-02-28 05:08:01 +00:00
statvfs.c Update. 2000-01-18 10:53:15 +00:00
syscalls.list * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
sysctl.c * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): 2000-07-11 19:30:53 +00:00
system.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsetattr.c
tcsetpgrp.c
termio.h
testrtsig.h
truncate64.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
ttyname_r.c Update. 2000-05-23 08:43:26 +00:00
ttyname.c Update. 2000-05-23 08:43:26 +00:00
ualarm.c
ulimit.c
umount2.S
umount.S
unlockpt.c
updwtmp.c
usleep.c
ustat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
utmp_file.c
Versions Update. 2000-07-18 21:33:02 +00:00
vfork.c
wait3.c
wait.c
waitpid.c
writev.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
xmknod.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
xstat64.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
xstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
xstatconv.c Update. 2000-01-18 03:13:08 +00:00