Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-04 | Return an error much earlier if recvmsg fails | Theo de Raadt | |
2011-07-12 | Allow syslogc -n XX to display less than the whole file, and -n XX -f to | Stuart Henderson | |
display more/less than the default of 10. ok mpf@ jmc@ | |||
2010-04-30 | shuffle some things around to deal with incomplete types | Jonathan Gray | |
gcc4 gets upset about. based on suggestions from miod@, ok millert@ | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-22 | write UNIX-domain in a more consistent way; while here, replace a | Igor Sobrado | |
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@ | |||
2009-10-22 | use the UNIX-related macros (.At and .Ux) where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2008-11-23 | Remove some whitespace. | Brad Smith | |
2008-09-29 | initialize both sides of the lockpipe (only used in debug mode) to -1 to | Theo de Raadt | |
have averted the bug found in pr 5938 | |||
2008-09-29 | do not close a random file descriptor in debug mode, PR 5938 from mickey | Theo de Raadt | |
2008-04-21 | If a |program is too slow to process the input, | Marco Pfatschbacher | |
drop messages rather than to kill and restart it. Also log this error, but limited at a 2 minute rate. Discussed with henning. OK henning@ | |||
2008-03-24 | msg_controllen has to be CMSG_SPACE so that the kernel can account for | Theo de Raadt | |
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis | |||
2008-03-16 | avoid errno trashing, ok mpf henning | Theo de Raadt | |
2008-03-16 | syslogd leaves zombies around if multiple |/pathto/mylogprog | Marco Pfatschbacher | |
children died in a row. Do waitpid(2) in a loop until there's nothing left. OK henning@, millert@ | |||
2008-03-15 | Repair the simple cases for msg_controllen where it should just be | Theo de Raadt | |
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer | |||
2008-03-13 | Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to | Theo de Raadt | |
an extensive discussion with otto, kettenis, millert, and hshoexer | |||
2007-10-17 | remove "unused variable" warnings | Charles Longeau | |
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@ | |||
2007-09-07 | Initialize length variable slen properly to avoid possible EINVAL | Alexander Bluhm | |
errors from setsockopt(2) in function double_rbuf(). ok markus@ mpf@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-02 | - use getaddrinfo() instead of gethostbyname/getservbyname | Jason Wright | |
- reserve a poll descriptor entry for INET6 (not used yet) ok henning | |||
2007-03-30 | Preserve the contents of the memory buffers when syslogd reinitializes | Can Erkin Acar | |
logs in response to a HUP signal, as long as /etc/syslog.conf remains unchanged. ok mpf@ | |||
2007-03-15 | use warnx and not logerror in monitor, logerror is for the slave; | Damien Miller | |
ok henning@ while in lock | |||
2007-03-06 | mention log to pipe in the blurb here. the details are all in syslog.conf.5, | Henning Brauer | |
the syslogd.8 blurb has just a list. | |||
2007-02-21 | Create "syslogd: restart" message after the setup of signal | Marco Pfatschbacher | |
handlers. This prevents a race where syslogd could die on SIGPIPE at startup. Also distinguish between start and restart. OK henning@ | |||
2007-02-20 | document syslog to other programs, ok jmc | Henning Brauer | |
2007-02-20 | implement logging to other program's stdin. | Henning Brauer | |
if the target is like "| /path/to/program", syslogd forks and execs program and sends the selected log messages to program's stdin. uses a socketpair, grows the receive buffer on the reader side and has the socket nonblocking on syslog'd side to prevent syslogd blocking. I'm using that here to feed logsurfer from ports for automated log analysis, werks beautifully. lots of input & help mpf, ok mpf djm "no objections" millert | |||
2007-01-03 | Support for continuous reading of syslog memory buffers. | Marco Pfatschbacher | |
Works like ``tail -f'' on a log file. OK markus@, djm@ | |||
2006-09-17 | check that stdio file descriptors are actually closed before clobbering | Damien Miller | |
them, following an identical change in openssh | |||
2006-07-09 | Use sigaction() instead of signal() in the parent and use the | Todd C. Miller | |
SA_NOCLDSTOP flag for the SIGCHLD handler so the kernel does not notify us when the child has been stopped, only when it exits. Fixes a problem where if you suspended the child process the parent would exit. OK otto@ | |||
2006-06-22 | CAVEATS | Ray Lai | |
syslogd does not create files, it only logs to existing ones. From millert@: http://marc.theaimsgroup.com/?m=106329875409953 ``Good idea'' millert@, ``fine by me too'' jmc@ | |||
2006-02-18 | - mention ftp facility keyword. | Niall O'Higgins | |
ok jmc@ | |||
2005-12-02 | unlink() pid file on exit. ok deraadt@ | Moritz Jodeit | |
2005-09-21 | rearrange sanity checks to eliminate signed arithmatic, from stevesk@ | Damien Miller | |
2005-09-16 | reorder tests for improved sanity, from stevesk@ | Damien Miller | |
2005-09-16 | unneeded headers, from stevesk@ | Damien Miller | |
2005-06-10 | If any of fds 0-2 are not open, dup them to our /dev/null fd. | Todd C. Miller | |
Prevents the socket from being closed in this case. OK deraadt@ | |||
2005-06-06 | memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley; | Damien Miller | |
ok avsm@ | |||
2005-06-06 | fix fd leak on SIGHUP after config change, spotted by Stephen Marley; ok avsm@ | Damien Miller | |
2005-05-23 | noo need for endpwent() here at all, ok theo | Henning Brauer | |
2005-05-03 | setres[ug]id; ok deraadt@ | Damien Miller | |
2005-04-21 | avoid looping on failed tty or /dev/console writes and just drop the message | Damien Miller | |
noticed by newell AT cei.net; ok avsm@ deraadt@ | |||
2005-03-12 | shutdown the inetd socket for reading if secure; ok deraadt | Markus Friedl | |
2004-12-22 | avoid a null dereference when using membufs. | Dan Harnett | |
ok otto@ millert@ | |||
2004-12-21 | silently ignore some cases when sendto(2) fails rather than disabling | Dan Harnett | |
logging to a remote host. Similar patch sent by Marc Huber <Marc.Huber@web.de> in PR4044. ok deraadt@ henning@ millert@ | |||
2004-12-20 | Fix one case of broken duplicate supression, which happens if two lines | Otto Moerbeek | |
in syslog.conf contain the same target file, and log entries matching both the first and second line get written. This changes behaviour: e.g. previously repeating a line caused a log entry to be written twice, but not any more. Also, if a later line with the same target has a different priority for a facility, the last one will be used. Noted by camield@; help from millert@. ok camield@ millert@ hshoexer@ deraadt@ | |||
2004-12-02 | group paragraphs more logically; | Jason McIntyre | |
suggested by michael knudsen; | |||
2004-11-11 | strchr("whatever", 0) returns non NULL. From Patrick Latifi. | Otto Moerbeek | |
ok deraadt@ millert@ | |||
2004-09-14 | portable code should not use that gcc __func__ specific junk when it is not ↵ | Theo de Raadt | |
needed | |||
2004-09-14 | size_t vs ssize_t confusion | Theo de Raadt | |
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |