freebsd-dev/lib/libc/gen
Maxim Konovalov 0ec15b18a2 o compat_group() and files_group() are more complicated than I thought
in rev. 1.34.  Mainly I missed the fact that the buffer is used for two
purposes:

1) storing a group line from the group file;

2) __gr_parse_entry() parses the buffer and tries to put the group
members to the remaining part of the buffer and can fail if there
is no enough room for them.

Re-arrange the buffer size checks to account the latter case.

Submitted by:	Kirk R Webb
MFC after:	2 weeks
2006-07-14 17:45:33 +00:00
..
__xuname.c
_pthread_stubs.c
_rand48.c
_spinlock_stub.c Make _spinunlock() point to the spinunlock stub, not the 2006-03-13 01:17:39 +00:00
_thread_init.c
alarm.3
alarm.c
arc4random.3
arc4random.c
assert.c
basename.3
basename.c
check_utility_compat.3
check_utility_compat.c
clock.3
clock.c
closedir.c
confstr.3
confstr.c
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3
devname.c
directory.3
dirname.3
dirname.c
disklabel.c
dladdr.3
dlfcn.c
dlfunc.c
dlinfo.3
dllockinit.3
dlopen.3
drand48.c
erand48.c
err.3
err.c
errlst.c
errno.c
exec.3
exec.c
fmtcheck.3
fmtcheck.c
fmtmsg.3
fmtmsg.c
fnmatch.3
fnmatch.c
fpclassify.3
fpclassify.c
frexp.3
frexp.c
fstab.c
ftok.3
ftok.c
fts-compat.c
fts-compat.h
fts.3
fts.c
ftw.3
ftw.c
getbootfile.3
getbootfile.c
getbsize.3
getbsize.c
getcap.3
getcap.c
getcontext.3
getcwd.3
getcwd.c
getdiskbyname.3
getdomainname.3
getdomainname.c
getfsent.3
getgrent.3
getgrent.c o compat_group() and files_group() are more complicated than I thought 2006-07-14 17:45:33 +00:00
getgrouplist.3
getgrouplist.c
gethostname.3
gethostname.c Remove the kludge, as asked in the Makefile: 2006-05-22 05:04:53 +00:00
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getobjformat.3
getobjformat.c
getosreldate.3
getosreldate.c
getpagesize.3
getpagesize.c
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3
getpwent.c - Extend the nsswitch to support Services, Protocols and Rpc 2006-04-28 12:03:38 +00:00
getttyent.3
getttyent.c
getusershell.3
getusershell.c
getvfsbyname.3
getvfsbyname.c
glob.3 Reflect int -> size_t changes in glob.h 2006-05-22 06:53:35 +00:00
glob.c - ANSIfy. 2006-06-05 18:22:13 +00:00
initgroups.3
initgroups.c
isatty.c
isgreater.3
isinf.c
isnan.c
jrand48.c
lcong48.c
ldexp.3
ldexp.c
lockf.3
lockf.c
lrand48.c
makecontext.3
Makefile.inc Add each directory's symbol map file to SYM_MAPS. 2006-03-13 01:15:01 +00:00
modf.3
mrand48.c
msgctl.3
msgget.3
msgrcv.3
msgsnd.3
nftw.c
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
opendir.c
pause.3
pause.c
pmadvise.c
popen.3
popen.c
posixshm.c
pselect.3
pselect.c
psignal.3
psignal.c
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3
rand48.h
readdir.c
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3
scandir.3
scandir.c
seed48.c
seekdir.c
sem_destroy.3
sem_getvalue.3
sem_init.3
sem_open.3
sem_post.3
sem_wait.3
sem.c
semctl.c
setdomainname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c
setproctitle.3
setproctitle.c
setprogname.c
shm_open.3
siginterrupt.3
siginterrupt.c
siglist.c
signal.3 Fix the output. 2006-05-27 09:04:43 +00:00
signal.c
sigsetops.3
sigsetops.c
sleep.3
sleep.c
srand48.c
statvfs.3
statvfs.c
stringlist.3
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
Symbol.map
sysconf.3
sysconf.c
sysctl.3
sysctl.c
sysctlbyname.c
sysctlnametomib.c
syslog.3
syslog.c Save errno before calling pthread_mutex_lock because pthread_mutex_lock 2006-05-11 09:10:33 +00:00
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
telldir.c
telldir.h
termios.c
time.3
time.c
times.3
times.c
timezone.3
timezone.c
tls.c Allocate space for thread pointer, this allows thread library to access 2006-03-28 06:09:24 +00:00
ttyname.3
ttyname.c
ttyslot.c
tzset.3
ualarm.3
ualarm.c
ucontext.3
ulimit.3
ulimit.c
uname.3
uname.c
unvis.3
unvis.c
usleep.3
usleep.c
utime.3
utime.c
valloc.3
valloc.c
vis.3 Document that VIS_CSTYLE encodes space (040) as '\s'. 2006-04-09 16:39:43 +00:00
vis.c
wait3.c
wait.c
waitpid.c
wordexp.3 Correct usage example. 2006-04-18 21:37:24 +00:00
wordexp.c