freebsd-src/lib/libc/gen
Gleb Smirnoff 2e89951b6f When send()ing to syslogd return ENOBUFS keep trying until success.
This fixes a case, when DoSed syslogd completely loses messages.

PR:		bin/72366
Discussed with:	dwmalone, millert@OpenBSD.org
Approved by:	julian (mentor)
Obtained from:	OpenBSD (rev. 1.17, 1.21 by millert)
MFC after:	3 months
2004-10-08 21:15:21 +00:00
..
__xuname.c
_pthread_stubs.c Use newly added __used attribute to keep static function symbols from being 2004-07-29 18:07:08 +00:00
_rand48.c
_spinlock_stub.c
_thread_init.c
alarm.3
alarm.c
arc4random.3
arc4random.c Add locking so that arc4random(3) functions are all reentrant for 2004-03-24 14:44:57 +00:00
assert.c
basename.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
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 Remove ',' accidentally added after ".Xr fork 2". 2003-11-10 22:04:51 +00:00
daemon.c Prevent abnormal termination of a child daemon process when created 2003-11-10 22:01:42 +00:00
devname.3
devname.c
directory.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
dirname.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dirname.c
disklabel.c
dladdr.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dlfcn.c Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
dlfunc.c
dlinfo.3 Spelling fixes. 2004-06-21 19:30:45 +00:00
dllockinit.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dlopen.3 Fix the ordering in the description of the dlsym() lookup procedure to 2004-06-03 10:13:26 +00:00
drand48.c
erand48.c
err.3 Mutually cross-reference sysexits(3) and err(3). Add text to err(3) 2004-10-04 14:04:37 +00:00
err.c
errlst.c
errno.c
exec.3
exec.c
fmtcheck.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
fmtcheck.c When *printf() and *scanf() are compiled without floating-point 2004-05-02 10:55:05 +00:00
fmtmsg.3
fmtmsg.c
fnmatch.3 Remove claim of conformance to IEEE Std. 1003.2. Replace it with a list 2004-07-18 06:56:40 +00:00
fnmatch.c Add support for multibyte characters. 2004-07-29 03:13:10 +00:00
fpclassify.3 Bump document date for recent changes. 2004-07-09 06:37:44 +00:00
fpclassify.c
frexp.3
frexp.c Replace seven nominally MD implementations of frexp() that are broken 2004-07-18 21:23:39 +00:00
fstab.c
ftok.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
ftok.c Change the signature of ftok from (const char *, char) to (const char *, int) 2004-06-01 06:53:07 +00:00
fts-compat.c In fts_build(), if we try to chdir and fail (e.g. due to lack of search 2004-06-08 06:23:23 +00:00
fts-compat.h Fix some^Wseveral style bugs from last commit. 2004-05-12 21:38:39 +00:00
fts.3 Add cross-reference to ftw(3). 2004-08-29 06:39:58 +00:00
fts.c In fts_build(), if we try to chdir and fail (e.g. due to lack of search 2004-06-08 06:23:23 +00:00
ftw.3 Fixed markup. 2004-07-07 20:11:35 +00:00
ftw.c Replace the current implementations of ftw() and nftw() with the OpenBSD 2004-08-24 13:00:55 +00:00
getbootfile.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getbootfile.c
getbsize.3
getbsize.c
getcap.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
getcap.c
getcontext.3
getcwd.3
getcwd.c
getdiskbyname.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getdomainname.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getdomainname.c
getfsent.3 Spelling fixes. 2004-06-21 19:30:45 +00:00
getgrent.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getgrent.c getgrent() and friends should set errno if there is an error. 2004-05-17 22:15:49 +00:00
getgrouplist.3
getgrouplist.c
gethostname.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c ANSIfy and constify; this now builds with GCC 3.4. 2004-07-28 11:56:03 +00:00
getobjformat.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getobjformat.c
getosreldate.3
getosreldate.c
getpagesize.3
getpagesize.c
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
getpwent.c POSIX prohibits any library function from setting errno to 0. 2004-05-17 18:27:05 +00:00
getttyent.3 Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
getttyent.c
getusershell.3
getusershell.c
getvfsbyname.3
getvfsbyname.c
glob.3 Septepber -> September 2004-09-01 23:28:27 +00:00
glob.c Add support for multibyte characters. 2004-07-29 03:48:52 +00:00
initgroups.3
initgroups.c Fix problem where initgroups would silently truncate groups with 2003-11-19 15:51:26 +00:00
isatty.c
isgreater.3
isinf.c Unbreak alpha: On alpha a long double is the same as a double and 2004-07-10 15:52:26 +00:00
isnan.c Remove __isnanl() to avoid conflicting with the same function in libm. 2004-09-24 06:33:22 +00:00
jrand48.c
lcong48.c
ldexp.3
lockf.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
lockf.c
lrand48.c
makecontext.3
Makefile.inc Replace the current implementations of ftw() and nftw() with the OpenBSD 2004-08-24 13:00:55 +00:00
modf.3
mrand48.c
msgctl.3
msgget.3
msgrcv.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
msgsnd.3
nftw.c Replace the current implementations of ftw() and nftw() with the OpenBSD 2004-08-24 13:00:55 +00:00
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
ntp_gettime.c
opendir.c Avoid using void pointers in additive expressions. 2004-08-14 17:46:10 +00:00
pause.3
pause.c
pmadvise.c
popen.3
popen.c
posixshm.c
pselect.3
pselect.c
psignal.3
psignal.c
pw_scan.c add missing endusershell() call. Original version was incorrect. 2004-01-18 21:33:25 +00:00
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
rand48.h
readdir.c
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3
scandir.3
scandir.c
seed48.c
seekdir.c
sem.c Prevent memory leak on sem_destroy() by destroying the semaphore's 2004-02-06 15:15:44 +00:00
sem_destroy.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_getvalue.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_init.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_open.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_post.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_wait.3 Markup tidying. 2004-07-02 16:45:56 +00:00
semctl.c
setdomainname.c
sethostname.c
setjmp.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
setjmperr.c
setmode.3
setmode.c
setproctitle.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
setproctitle.c
setprogname.c
shm_open.3 Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
siginterrupt.3
siginterrupt.c
siglist.c
signal.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
signal.c
sigsetops.3
sigsetops.c
sleep.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sleep.c
srand48.c
statvfs.3
statvfs.c
stringlist.3
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
sysconf.3 Back out previous commit due to incorrect content. 2003-12-23 18:42:55 +00:00
sysconf.c
sysctl.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sysctl.c
sysctlbyname.c
sysctlnametomib.c
syslog.3
syslog.c When send()ing to syslogd return ENOBUFS keep trying until success. 2004-10-08 21:15:21 +00:00
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
telldir.c
telldir.h
termios.c
time.3 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
time.c
times.3
times.c
timezone.3
timezone.c
tls.c Arbitraly choose the Variant II for arm. 2004-09-23 23:14:09 +00:00
ttyname.3
ttyname.c Remove unused variables and function declarations. Add missing headers. 2004-01-06 18:26:15 +00:00
ttyslot.c
tzset.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
ualarm.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
ualarm.c
ucontext.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
ulimit.3
ulimit.c
uname.3
uname.c
unvis.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
unvis.c Remove an implicit int parameter by using prototypes. 2004-08-02 08:46:23 +00:00
usleep.3
usleep.c
utime.3
utime.c
valloc.3
valloc.c
vis.3 Fix typo: carat -> caret. 2004-07-17 12:27:25 +00:00
vis.c Add '#' to the characters VIS_GLOB encodes. This fixes a bug in mtree. 2003-10-30 12:41:50 +00:00
wait.c
wait3.c
waitpid.c
wordexp.3 Document incorrect handling of multibyte characters due to limitations 2004-07-28 15:43:33 +00:00
wordexp.c Fix typo: WRDE_DOOFS -> WRDE_DOOFFS. 2004-06-30 13:55:08 +00:00