libc - Do not allow a stuck syslogd to screw up the entire system
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 24 Mar 2012 00:33:51 +0000 (17:33 -0700)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Tue, 27 Mar 2012 13:47:06 +0000 (06:47 -0700)
commit83d890e1fd1d3be68acd0eaf860bda2db05872c9
tree08d03939116e9850a3c198c41790368e8099643d
parent82e60c53f4889f9499f9061bfbccffc35b78494f
libc - Do not allow a stuck syslogd to screw up the entire system

* If syslogd gets stuck the socket buffer will still full forever.
  Only try writing a limited number of times before giving up.
lib/libc/gen/syslog.c