freebsd-dev/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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
_spinlock_stub.c - Define a _spinunlock() function so that threading implementations may do 2003-03-26 04:02:24 +00:00
_thread_init.c
alarm.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
alarm.c
arc4random.3 The upper end of the range of arc4random(3) is 2**32-1, not 2**31-1. 2003-07-31 06:18:24 +00:00
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 Fix LP64 architectures and especially ia64. Functions that return 2002-12-30 01:41:14 +00:00
check_utility_compat.3 mdoc(7) police: overhaul. 2002-12-04 15:47:41 +00:00
check_utility_compat.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
clock.3
clock.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
closedir.c
confstr.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
confstr.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
crypt.c Oops. Also provide a lint-compatible unused argument warning killer. 2002-10-18 16:24:20 +00:00
ctermid.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
ctermid.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 mdoc(7): Fix common mistakes made in the SEE ALSO section. 2003-09-12 21:54:11 +00:00
devname.c Add devname_r(3) which takes a buffer as argument. 2003-06-20 09:52:27 +00:00
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 Fix LP64 architectures and especially ia64. Functions that return 2002-12-30 01:41:14 +00:00
disklabel.c Fix libc build breakage by defining FSTYPENAMES before including 2002-08-16 15:33:20 +00:00
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 Add `restrict' type-qualifier. 2002-09-11 05:05:48 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
erand48.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 Do not use __progname directly (except in [gs]etprogname(3)). 2002-03-29 22:43:43 +00:00
errlst.c Drop almost 3k from /bin/sync by moving errno to a seperate file 2002-10-09 08:04:24 +00:00
errno.c Drop almost 3k from /bin/sync by moving errno to a seperate file 2002-10-09 08:04:24 +00:00
exec.3 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
exec.c Fixed some style bugs. 2003-07-01 12:30:03 +00:00
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 Consistently mark std(in|out|err) with .Dv, because that's how they 2002-12-04 18:57:46 +00:00
fmtmsg.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
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 Implement fpclassify(): 2003-02-08 20:37:55 +00:00
frexp.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
frexp.c Replace seven nominally MD implementations of frexp() that are broken 2004-07-18 21:23:39 +00:00
fstab.c - Add setfstab() and getfstab(). 2003-04-07 12:55:00 +00:00
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 Return "/boot/kernel/kernel" instead of "/kernel" if the sysctl() call 2003-04-11 13:54:28 +00:00
getbsize.3 Back out the s/int */size_t */ commit. 2002-12-30 11:12:16 +00:00
getbsize.c Back out the s/int */size_t */ commit. 2002-12-30 11:12:16 +00:00
getcap.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
getcap.c In cgetmatch(3), return -1 if a NULL or 0-length name parameter is used. 2003-01-02 10:19:43 +00:00
getcontext.3 mdoc(7) police: overhaul. 2002-12-04 15:47:41 +00:00
getcwd.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
getcwd.c Remove incomplete support for running FreeBSD userland on old NetBSD kernels 2003-10-29 10:45:01 +00:00
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 Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
gethostname.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
gethostname.c Add a kluge suggested by Marcel to paper over the difference between 2003-08-19 23:01:46 +00:00
getloadavg.3
getloadavg.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getlogin.c Remove incomplete support for running FreeBSD userland on old NetBSD kernels 2003-10-29 10:45:01 +00:00
getmntinfo.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getmntinfo.c
getnetgrent.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
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 Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
getosreldate.3 Fixed copyright. 2003-02-24 22:55:33 +00:00
getosreldate.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
getpagesize.3 english(4) police. 2002-12-27 12:15:40 +00:00
getpagesize.c
getpass.3
getpeereid.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
getpeereid.c o getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. It 2002-12-16 13:42:13 +00:00
getprogname.3
getprogname.c Do not use __progname directly (except in [gs]etprogname(3)). 2002-03-29 22:43:43 +00:00
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 Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by 2003-04-24 20:16:21 +00:00
getvfsbyname.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getvfsbyname.c Remove incomplete support for running FreeBSD userland on old NetBSD kernels 2003-10-29 10:45:01 +00:00
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 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
lcong48.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ldexp.3
lockf.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
lockf.c
lrand48.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
makecontext.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
Makefile.inc Replace the current implementations of ftw() and nftw() with the OpenBSD 2004-08-24 13:00:55 +00:00
modf.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
mrand48.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
msgctl.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
msgget.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
msgrcv.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
msgsnd.3 Add const qualifier to data argument for msgsnd. 2003-01-26 20:09:34 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
nlist.3
nlist.c Eliminate 19 warnings in libc (at level WARNS=2) of the 2003-02-27 13:40:01 +00:00
nrand48.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
popen.3 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
popen.c Remove unused variable: omask. 2003-01-04 00:15:15 +00:00
posixshm.c
pselect.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
pselect.c Add restrict type-qualifier. 2002-10-12 16:13:41 +00:00
psignal.3 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
psignal.c
pw_scan.c add missing endusershell() call. Original version was incorrect. 2004-01-18 21:33:25 +00:00
pw_scan.h Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00
pwcache.3 Make user_from_uid and group_from_gid return const char *, just like 2002-03-22 02:35:47 +00:00
pwcache.c Make user_from_uid and group_from_gid return const char *, just like 2002-03-22 02:35:47 +00:00
raise.3
raise.c Make raise and _raise as weak symbols, so they can be overriden by 2003-07-19 05:22:56 +00:00
rand48.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
rand48.h
readdir.c
readpassphrase.3 english(4) police. 2002-12-27 12:15:40 +00:00
readpassphrase.c
rewinddir.c
rfork_thread.3 Replace the return value of rfork_thread(3) in its manual page 2003-04-27 21:07:27 +00:00
scandir.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
scandir.c
seed48.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
seekdir.c
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
sem.c Prevent memory leak on sem_destroy() by destroying the semaphore's 2004-02-06 15:15:44 +00:00
semctl.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
setdomainname.c
sethostname.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
setjmp.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
setjmperr.c
setmode.3
setmode.c More changes from NetBSD: 2003-02-23 00:24:03 +00:00
setproctitle.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
setproctitle.c Don't segfault if setproctitle(3) is called with NULL initially. 2003-07-01 09:45:35 +00:00
setprogname.c Do not use __progname directly (except in [gs]etprogname(3)). 2002-03-29 22:43:43 +00:00
shm_open.3 Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
siginterrupt.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
siginterrupt.c
siglist.c Two arrays were born from the same seeds, both grew into complementary sets 2002-09-07 08:14:19 +00:00
signal.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
signal.c
sigsetops.3 Supplement the cross-references section with those to sigpending(2) 2003-06-24 15:27:31 +00:00
sigsetops.c
sleep.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sleep.c
srand48.c
statvfs.3 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
statvfs.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
stringlist.3 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
stringlist.c Sync with NetBSD -- sl_add() now returns an int. 2003-01-19 01:16:01 +00:00
strtofflags.3
strtofflags.c Support the snapshot file flag, so that tools like 'ls -ol' work 2002-04-16 11:03:22 +00:00
swapcontext.c Don't peek into MD structures from MI code. The getcontext(3) and 2002-09-20 08:13:21 +00:00
sysconf.3 Back out previous commit due to incorrect content. 2003-12-23 18:42:55 +00:00
sysconf.c goto break; != break; 2002-11-17 08:54:29 +00:00
sysctl.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sysctl.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
sysctlbyname.c
sysctlnametomib.c #include <string.h> for strlen()'s prototype. 2003-01-04 00:11:11 +00:00
syslog.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
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 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
tcsetattr.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
tcsetpgrp.3
telldir.c
telldir.h
termios.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
time.3 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
time.c C99 compliance: time() always sets its return value in both places 2003-07-19 02:53:46 +00:00
times.3
times.c
timezone.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
timezone.c
tls.c Arbitraly choose the Variant II for arm. 2004-09-23 23:14:09 +00:00
ttyname.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
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 Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
ucontext.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
ulimit.3 Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are 2003-01-04 01:11:49 +00:00
ulimit.c Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are 2003-01-04 01:11:49 +00:00
uname.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
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 Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
usleep.c Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
utime.3 Note that <sys/types.h> in no longer a prerequisite for <utime.h> and 2002-08-24 00:39:43 +00:00
utime.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
valloc.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
valloc.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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
wait3.c
wait.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