Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-11 | Do for most running out of memory err() what was done for most running | Kenneth R Westerback | |
out of memory log_warn(). i.e. ("%s", __func__) instead of manual function names and redundant verbiage about which wrapper detected the out of memory condition. ok henning@ | |||
2018-07-09 | No need to mention which memory allocation entry point failed (malloc, | Kenneth R Westerback | |
calloc or strdup), we just need to log that we ran out of memory in a particular function. Recommended by florian@ and deraadt@ ok benno@ henning@ tb@ | |||
2018-07-08 | Be consistent in warn() and log_warn() usage when | Kenneth R Westerback | |
running out of memory. Next step, be correct *and* consistent. ok dennis@ tb@ benno@ schwarze@ | |||
2018-06-18 | remove the SECTIONS header, since a one line DESCRIPTION is a bit silly; | Jason McIntyre | |
use a more general text for the sections, and avoid the catchup issue that was trying to document how many there were; ok benno rob | |||
2018-04-26 | Plug leak in error case of the common 'varset' implementations. | Kenneth R Westerback | |
ok benno@ | |||
2017-07-24 | Unify ROUNDUP macros for parsing route messages. | friehm | |
Use the macro from route(8) / ospf6d(8) since it works also with argument 0. OK claudio@ | |||
2017-03-21 | From a syslog perspective it does not make sense to log fatal and | Alexander Bluhm | |
warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@ | |||
2017-01-08 | Replace hand-rolled for(;;) traversal of ctl_conns TAILQ with | Kenneth R Westerback | |
TAILQ_FOREACH(). No intentional functional change. ok reyk@ | |||
2017-01-05 | Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with more | Kenneth R Westerback | |
modern TAILQ_FOREACH_SAFE(). No intentional functional change. ok millert@ bluhm@ gilles@ | |||
2017-01-05 | Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQ | Kenneth R Westerback | |
with more modern TAILQ_FOREACH(). This what symget() was already doing. Add paranoia '{}' around body of symget()'s TAILQ_FOREACH(). No intentional functional change. ok bluhm@ otto@ | |||
2016-09-02 | work on making log.c similar in all daemons: | Sebastian Benoit | |
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@ | |||
2016-09-02 | Simplify shutdown process. | Renato Westphal | |
On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. "reads good" claudio@ | |||
2016-09-02 | Close connections when msgbuf_write() returns 0. | Renato Westphal | |
Pulled from ospfd. Original author: claudio@ ok rzalamena@ benno@ claudio@ | |||
2016-09-02 | Don't fatal if the imsg pipe is closed, this is often triggered in the | Renato Westphal | |
parent and hides the real cause of the termination. Pulled from ospfd. Original author: claudio@ ok rzalamena@ benno@ claudio@ | |||
2016-06-21 | do not allow whitespace in macro names, i.e. "this is" = "a variable". | Sebastian Benoit | |
change this in all config parsers in our tree that support macros. problem reported by sven falempin. feedback from henning@, stsp@, deraadt@ ok florian@ mikeb@ | |||
2016-02-02 | Remove setproctitle() for the parent process. Because rc.d(8) uses process | Stuart Henderson | |
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@ | |||
2015-12-07 | Remove unneeded strings.h includes. From Serguey Parkhomovsky. | mmcc | |
2015-12-07 | Replace bzero with memset, and change a strings.h include to string.h to | mmcc | |
get the declaration. From Serguey Parkhomovsky. No objects from deraadt@. | |||
2015-12-07 | strings.h -> string.h to prevent implicit declarations. From Serguey | mmcc | |
Parkhomovsky. | |||
2015-12-05 | EAGAIN handling for imsg_read. OK henning@ benno@ | Claudio Jeker | |
2015-09-27 | As done for bgpd recently, rename if_mediatype to if_type in dvrmpd. | Stefan Sperling | |
Remove unused function get_ifms_type(). No ifmedia in here anymore. "move forward" deraadt@ | |||
2015-07-27 | use file system path (.Pa) semantic markup macros where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2015-05-22 | fix a non safe use of LIST_FOREACH with LIST_REMOVE | Jonathan Gray | |
ok claudio@ kettenis@ reyk@ | |||
2015-05-05 | use the sizeof the struct not the sizeof a pointer to the struct | Jonathan Gray | |
ok claudio@ | |||
2015-02-11 | Use sizeof(u_short) in the first check since there are RT messages that | Claudio Jeker | |
are less then sizeof(*rtm) bytes long (e.g. interface announcements). Found the hard way by phessler@ | |||
2015-02-10 | More SOCK_NONBLOCK adjustments similar to the other daemons. | Claudio Jeker | |
2015-02-09 | Oups forgot to remove the enums | Claudio Jeker | |
2015-02-09 | Kill another session_socket_blockmode() ... 6 or so to go. | Claudio Jeker | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-11-20 | Don't allow embedded nul characters in strings. | Jonathan Gray | |
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | |||
2014-11-18 | Nuke more obvious #include duplications. | Kenneth R Westerback | |
ok deraadt@ millert@ tedu@ | |||
2014-11-14 | Add gcc printf format attributes to yyerror() in parse.y files. | Doug Hogan | |
No yyerror() calls needed to be changed. ok bluhm@ | |||
2014-11-03 | Convert the logic in yyerror(). Instead of creating a temporary | Alexander Bluhm | |
format string, create a temporary message. OK benno@ doug@ claudio@ | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-07-20 | Fixed typo in error message. | Tobias Stoeckmann | |
okay deraadt@ | |||
2014-07-12 | msgbuf_write() <= 0 for a few more daemons. | Kenneth R Westerback | |
ok claudio@ | |||
2014-07-11 | Close the control fd when it has reported EOF. | Kenneth R Westerback | |
ok henning@ | |||
2014-06-23 | The second level of the CTL_NET sysctl is a PF_*, not an AF_* | Philip Guenther | |
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de) | |||
2014-01-22 | relax the cfg file secrecy check slightly to allow group readability | Henning Brauer | |
default permissions and mtree NOT changed. prodded by benno, ok phessler benno jmatthew theo pelikan florian | |||
2013-11-26 | deal with msgbuf_write EAGAIN, ok gilles benno | Henning Brauer | |
2013-11-25 | use u_char for buffers in yylex, for ctype calls | Sebastian Benoit | |
found by millert@, ok deraadt@ | |||
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-04-21 | the DVMRP protocol generation number can work beyond 2038 because it | Theo de Raadt | |
is unsigned. Cast it specifically, with a comment, to make this more clear. | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2013-03-06 | as done in ospf{,6}d/relayd, sync yyerror in various other daemons with | Stuart Henderson | |
that from bgpd, so that it logs to syslog when daemonized. | |||
2012-09-26 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2012-04-24 | take a stab at documenting when arguments need quoted, and valid macro | Jason McIntyre | |
characters; prompted by a diff from robert peichaer org thanks gilles and henning for feedback ok deraadt zinke | |||
2012-04-11 | delete excessive evtimer_pending; ok claudio | Theo de Raadt | |
2012-04-10 | Handle file descriptor exhaustion in the accept() case. | Theo de Raadt | |
ok claudio | |||
2011-08-20 | Decouple log_verbose() from log_init() so the verbose flag stays set with | Stuart Henderson | |
"-v" (previously only "-vd" worked). Similar to recent ospfd commit. ok claudio@ |