summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/syslog.c
AgeCommit message (Expand)AuthorFilesLines
2015-10-31Do not include a timestamp in the syslog message. There is no need --deraadt1-12/+2
2015-09-12Wrap <syslog.h> so that internal calls go direct and they're all weak symbolsguenther1-19/+7
2011-05-30Make printf-like and scanf-like functions marked as such in llib-lc.lnmartynas1-1/+2
2009-11-18More shrinkage, a bit for ramdisks but mostly for static binaries:guenther1-266/+13
2007-11-09Stash value of log_tag before calling closelog_r() and restore it after.millert1-2/+6
2005-08-08zap remaining rcsid.espie1-4/+1
2005-03-08handle snprintf() returning -1.moritz1-1/+3
2004-05-18ansify function definitions and zap some `register'jfb1-29/+11
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2003-02-27correctly check the return value of send(). fixes LOG_CONS from alwaysdanh1-2/+2
2003-02-07Don't write log message to console unless we are unable to connect tomillert1-21/+7
2003-01-20Don't reconnect to logging socket if send() returns an error and errnomillert1-12/+13
2003-01-02Handle things like "%%m" correctly; closes PR 3057millert1-1/+6
2002-11-24Fix instance where syslog(3) after closelog(3) could access freed logcloder1-1/+2
2002-06-20Close log file when leaving syslog_r(). deraadt@ okjjbg1-1/+5
2002-06-05If send() returns ENOBUFS, sleep for one microsecond and retry.millert1-5/+12
2002-05-26pid_t cleanupderaadt1-2/+2
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert1-29/+1
2002-02-18Open console with O_NONBLOCK to avoid blocking on a locked console.millert1-5/+5
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-5/+5
2001-10-31Set default facility is noone is specified at syslog(3) time; millert@ jj@ ok.fgsch1-15/+19
2001-10-24syslog_r() implementation. deraadt@ ok.jjbg1-94/+167
2001-08-18deal with -1 from snprintf, if it ever happensderaadt1-2/+4
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel1-4/+3
2000-01-02Try to reopen socket if send fails. (perhaps syslogd restarted)hugh1-21/+56
1998-03-19some -Wallmillert1-2/+3
1998-03-06And terminate SyslogAddr.sun_path (duh!)brian1-1/+2
1998-03-06sizeof(SyslogAddr.sun_path) -> sizeof(SyslogAddr.sun_path) - 1brian1-2/+2
1998-03-05Initialise sockaddr::sa_len (stopping a pretty nastybrian1-6/+10
1997-07-25#if __STDC__ --> #ifdef __STDC__mickey1-4/+4
1997-07-09Clean up some -Wall complaints.millert1-2/+2
1996-08-19Fix RCS idstholo1-7/+1
1995-10-18initial import of NetBSD treederaadt1-0/+294