summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Collapse)Author
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-02KNF, and remove unneccessary signal blocking and errno saving, since not ↵Theo de Raadt
signal handlers anymore; millert ok
2001-11-17use volatile sig_atomic_t where possible; simply volatile i other placesTheo de Raadt
2001-11-17missing prototype (getmsgbufsize).Markus Friedl
2001-11-17reread config from main loop instead of signal hander; ok deraadt@Markus Friedl
2001-11-16no need for setjmp.hTheo de Raadt
2001-08-03Open files with O_NONBLOCK but turn off non-blocking mode forTodd C. Miller
non-ttys. If write(2) returns EAGAIN just ignore the error and move on. This prevents a locked terminal from causing syslogd grief. If we ever want to support logging to a fifo this will probably have to be revisited.
2001-08-03fix typo; jcs@rt.fmTheo de Raadt
2001-07-27Wall cleanupPeter Valchev
2001-05-03fix typo; isaki@par.odn.ne.jpTheo de Raadt
2001-02-07Remove support for #!. It's not intuitive and if you happen to addFederico G. Schwindt
lines as the end of a stock syslog.conf you're going to spend some time figuring why is not working as it should; problem found by riq@core-sdi.com, millert@ ok.
2001-01-19mark remaining signal races which are difficult to fixTheo de Raadt
2001-01-16fix another signal race, and check signal flags even in non-EINTR from ↵Theo de Raadt
select case
2001-01-11fd_set overflows, move races out of signal handlers, and fd_set repairs;Theo de Raadt
some conversations with alejo@core-sdi.com, not sure yet if this is 100% perfect, but i have tested it and it works..
2000-09-13Use vis(3) when escaping non-printable characters instead of doing itTodd C. Miller
(poorly) by hand. Also fixes a potential one byte overflow noted by Solar Designer.
2000-08-17do the save_errno thing, but other races still exist in hereTheo de Raadt
2000-04-16for the Nth time, the damn syslog socket is requiredTheo de Raadt
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
1999-07-06union wait -> intTodd C. Miller
wait3 -> waitpid (for portability)
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-04-02all .Nm macros should have an argument in SYNOPSIS; also misc cleanupAaron Campbell
1999-03-11cleanupAaron Campbell
1999-02-03The necessary defs are in paths.h now.Angelos D. Keromytis
1999-01-05careful about sunx.sun_path termination; matter@research.suspicious.orgTheo de Raadt
1998-06-26make it 21 total log devsTheo de Raadt
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-06-11bogus use of variable for two purposes; guido@gvr.orgTheo de Raadt
1998-05-18MAXHOSTNAMELEN not MAXHOSTNAMELEN+1Theo de Raadt
1998-05-05select on nfds+1, not nfds. ficus@openbsd.orgTodd C. Miller
1998-03-01use sigset_t all over the placeTheo de Raadt
1998-02-11syslogd gets a new -a argument: specify additional AF_UNIX log devicesTheo de Raadt
syslogd should create & listen to. As in "syslogd -a /chroot/dev/log", I'm sure you get the idea.
1998-02-03workaround gethostbyaddr() race in signal handler; more correct fix wouldTheo de Raadt
change SIGHUP handler to only set a flag that the main loop catches. But I'm lazy, and starting to believe noone gives a damn...
1997-11-09$OpenBSD$Todd T. Fries
1997-11-07Rewrite bad code.bri
Suggested by: Theo
1997-11-06indentTheo de Raadt
1997-11-06indentTheo de Raadt
1997-11-06Understand sections in syslog.conf.bri
Current syslog.conf files are still understood andtreated the same.
1997-09-21$OpenBSD$Theo de Raadt
1997-09-15F_FORW has no associated fd; init sin_len tooTheo de Raadt
1997-09-13be more careful about f_file handling throughoutTheo de Raadt
1997-09-08Ignore trailing spaces on priority in /etc/syslogd.confBob Beck
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-21WallTheo de Raadt
1997-06-18act in-Initialized inside part of die(); avoids printing mangled log entry; ↵Theo de Raadt
joerg
1997-04-04do not whack pid file if run -d; hwr@pilhuhn.deTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-20actually explain what -u doesTheo de Raadt