freebsd-skq/lib/libc/gen
Warner Losh f183d53e63 Fix the root cause of the fts buffer overflow. This is a temporary
patch to stop the core dumps while others come up with a better
reviewed patch which may also fix other problems.  We do illegal
pointer arithmetic, but it should be OK since FreeBSD only supports
machines with flat address spaces.

Submitted by: bde
1999-09-02 07:45:07 +00:00
..
__xuname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
_rand48.c
_spinlock_stub.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alarm.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alarm.c
arc4random.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
arc4random.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
assert.c Don't include <sys/types.h> when it isn't used. 1996-04-19 18:40:25 +00:00
clock.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
clock.c
closedir.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
confstr.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
confstr.c
crypt.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
crypt.c $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
ctermid.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ctermid.c
daemon.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
daemon.c
devname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
devname.c Make devname(3) return something more intelligent than NULL if it doesn't 1999-07-18 10:19:48 +00:00
directory.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
disklabel.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dladdr.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dlfcn.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dlopen.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
drand48.c
erand48.c
err.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
err.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
errlst.c Add missing strings. 1999-04-24 18:28:24 +00:00
exec.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
exec.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fnmatch.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fnmatch.c Style optimization in newly added POSIX range []] conformance, redo 1997-06-07 01:33:10 +00:00
frexp.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fstab.c Ignore the fs_spec entry for "/" in /etc/fstab if the device which 1999-01-01 14:14:44 +00:00
ftok.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ftok.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fts-compat.c Fix the root cause of the fts buffer overflow. This is a temporary 1999-09-02 07:45:07 +00:00
fts-compat.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
fts.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fts.c Fix the root cause of the fts buffer overflow. This is a temporary 1999-09-02 07:45:07 +00:00
getbootfile.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getbootfile.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getbsize.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getbsize.c Fixed printf format errors. 1998-08-02 14:41:34 +00:00
getcap.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getcap.c Don't be so selective about which errors cause us to continue and 1999-03-21 03:45:58 +00:00
getcwd.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getcwd.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getdiskbyname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getdomainname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getdomainname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getfsent.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getgrent.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getgrent.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getgrouplist.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getgrouplist.c Fixed merging error. Lite2 fixed premature failure and didn't 1997-03-12 14:54:22 +00:00
gethostname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
gethostname.c gethostname() returns int, not long. Answered my own question by 1996-12-05 18:14:56 +00:00
getloadavg.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getloadavg.c
getlogin.c The NetBSD getlogin syscall has a different name. 1998-02-20 08:07:40 +00:00
getmntinfo.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getmntinfo.c
getnetgrent.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getnetgrent.c Replace previous commit with a check disallowing ptr from running 1998-03-01 18:49:37 +00:00
getobjformat.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getobjformat.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getosreldate.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpagesize.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpagesize.c Cache the result of getpagesize() so we only make one syscall. 1996-05-02 08:43:05 +00:00
getpass.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpass.c Do signal handlig he Posix way 1998-02-10 20:05:15 +00:00
getpwent.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpwent.c Apply patch for PR #12008: remember to reset _yp_enabled flag in 1999-06-04 02:27:35 +00:00
getttyent.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getttyent.c Fix typo. 1997-04-13 16:55:56 +00:00
getusershell.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getusershell.c
getvfsbyname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getvfsbyname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getvfsent.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getvfsent.c vfsload maps into kldload only now, no more fork/exec of modload(8). 1999-04-19 14:28:45 +00:00
glob.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
glob.c NetBSD kernels don't have issetugid(), so #ifdef this out when 1998-02-20 07:54:56 +00:00
initgroups.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
initgroups.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
isatty.c Implement compile time debug mode for thread locks. 1998-06-09 08:32:23 +00:00
isinf.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
jrand48.c
lcong48.c
ldexp.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lockf.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lockf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lrand48.c
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
modf.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mrand48.c
msgctl.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msgctl.c
msgget.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msgget.c
msgrcv.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msgrcv.c
msgsnd.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msgsnd.c
nice.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
nice.c Remove extern int errno and #include <errno.h> to get the proper definition. 1998-05-05 22:04:13 +00:00
nlist.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
nlist.c Handle ELF symbols better. This fixes "vmstat -i" for the case 1998-10-28 06:37:49 +00:00
nrand48.c
ntp_gettime.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
opendir.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
pause.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pause.c
popen.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
popen.c Conform to POSIX and close any copies of popen() descriptors inherited by a 1998-10-15 01:47:40 +00:00
psignal.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
psignal.c The man page implies that the string argument to psignal() may be 1998-10-29 11:39:39 +00:00
pw_scan.c Back out previous commit. I mistook passing commentary from bde for 1999-08-31 13:11:39 +00:00
pw_scan.h
pwcache.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pwcache.c Honor the nouser/nogroup flag when determing if NULL should 1997-04-03 01:51:34 +00:00
raise.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
raise.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
rand48.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rand48.h
readdir.c Fix a bogus cast for a bogus pointer check. This only checks if the 1998-02-20 08:00:01 +00:00
rewinddir.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
scandir.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
scandir.c Fix a memory leak 1998-10-07 01:30:02 +00:00
seed48.c
seekdir.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
semconfig.c
semctl.c Fix this so that it compiles in the !__STDC__ case. 1998-06-06 18:52:43 +00:00
semget.c
semop.c
setdomainname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setflags.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
setflagsbyname.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
sethostname.c sethostname() returns int, not long. I could get used to having this 1996-12-05 18:27:20 +00:00
setjmp.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setjmperr.c
setmode.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setmode.c
setproctitle.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setproctitle.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmat.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmctl.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmdt.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmget.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
siginterrupt.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
siginterrupt.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
siglist.c Add a strsignal(3) (like strerror(3)) for libc compatability with other 1999-05-18 04:48:58 +00:00
signal.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
signal.c
sigsetops.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigsetops.c Fix bit-twiddling in sigismember(3). 1997-11-21 23:18:05 +00:00
sleep.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sleep.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
srand48.c
stringlist.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
stringlist.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
strtofflags.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
sysconf.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sysconf.c Add a trivial mechanism for returning a useful default value if one is 1998-06-01 20:58:03 +00:00
sysctl.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sysctl.c Make the implementation and documentation agree. Specifically: 1999-01-06 18:11:53 +00:00
sysctlbyname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
syslog.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
syslog.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tcgetpgrp.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tcsendbreak.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tcsetattr.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tcsetpgrp.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
telldir.c
termios.c Back out one of my previous changes: don't clear PARODD, 1996-03-28 13:33:18 +00:00
time.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
time.c
times.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
times.c
timezone.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
timezone.c Eliminate sprintf 1998-01-21 21:46:36 +00:00
ttyname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ttyname.c Implement compile time debug mode for thread locks. 1998-06-09 08:32:23 +00:00
ttyslot.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
tzset.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ualarm.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ualarm.c
uname.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
uname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
unvis.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
unvis.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
usleep.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
usleep.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
utime.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
utime.c
valloc.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
valloc.c Fix a cast from a pointer to a long instead of an int which was enough 1998-01-24 20:57:38 +00:00
vis.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vis.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
wait3.c
wait.c
waitpid.c