summaryrefslogtreecommitdiff
path: root/lib/libc/gen/syslog.c
AgeCommit message (Expand)Author
2015-10-31Do not include a timestamp in the syslog message. There is no need --Theo de Raadt
2015-09-12Wrap <syslog.h> so that internal calls go direct and they're all weak symbolsPhilip Guenther
2011-05-30Make printf-like and scanf-like functions marked as such in llib-lc.lnMartynas Venckus
2009-11-18More shrinkage, a bit for ramdisks but mostly for static binaries:Philip Guenthe
2007-11-09Stash value of log_tag before calling closelog_r() and restore it after.Todd C. Miller
2005-08-08zap remaining rcsid.Marc Espie
2005-03-08handle snprintf() returning -1.Moritz Jodeit
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-27correctly check the return value of send(). fixes LOG_CONS from alwaysDan Harnett
2003-02-07Don't write log message to console unless we are unable to connect toTodd C. Miller
2003-01-20Don't reconnect to logging socket if send() returns an error and errnoTodd C. Miller
2003-01-02Handle things like "%%m" correctly; closes PR 3057Todd C. Miller
2002-11-24Fix instance where syslog(3) after closelog(3) could access freed logChad Loder
2002-06-20Close log file when leaving syslog_r(). deraadt@ okJean-Jacques Bernard-Gundol
2002-06-05If send() returns ENOBUFS, sleep for one microsecond and retry.Todd C. Miller
2002-05-26pid_t cleanupTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-18Open console with O_NONBLOCK to avoid blocking on a locked console.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-10-31Set default facility is noone is specified at syslog(3) time; millert@ jj@ ok.Federico G. Schwindt
2001-10-24syslog_r() implementation. deraadt@ ok.Jean-Jacques Bernard-Gundol
2001-08-18deal with -1 from snprintf, if it ever happensTheo de Raadt
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2000-01-02Try to reopen socket if send fails. (perhaps syslogd restarted)Hugh Graham
1998-03-19some -WallTodd C. Miller
1998-03-06And terminate SyslogAddr.sun_path (duh!)brian
1998-03-06sizeof(SyslogAddr.sun_path) -> sizeof(SyslogAddr.sun_path) - 1brian
1998-03-05Initialise sockaddr::sa_len (stopping a pretty nastybrian
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-09Clean up some -Wall complaints.Todd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt