lib: Add restrict_access_flags enum to use with restrict_access[_by_env]() Swap parameter locations in the functions to make sure plugins are updated to use the new api.
global: don't cast NULL to void * NULL is guaranteed to be a void * thanks to dd6043c05e32a8e8db1233ed711a2c74d1477a89.
Updated copyright notices to include the year 2018.
global: start relying on io_remove{,_closed}(NULL) being a no-op Cleanup performed with the following semantic patch: @@ expression E; @@ - if (E != NULL) { - io_remove(&E); - } + io_remove(&E); @@ expression E; @@ - if (E != NULL) { - io_remove_closed(&E); - } + io_remove_closed(&E);
Updated copyright notices to include the year 2017.
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
Remove now-unnecessary direct stdlib.h #includes.
global: freshen copyright Robomatically: git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/' Happy 2015 everyone! Signed-off-by: Phil Carmody <phil@dovecot.fi>
Updated copyright notices to include year 2014.
Call master_service_init_finish() only after all of the initialization is done. This way if the init crashes, the master process will throttle a buggy service.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
Fixed compiling with OSes where NULL isn't defined as void pointer (e.g. Solaris).
Make sure we check all the functions' return values. Minor API changes to simplify this. Checked using a patched clang that adds attribute(warn_unused_result) to all functions. This commit fixes several error handling mistakes.
Marked functions parameters that are allowed to be NULL. Some APIs were also changed. The non-obvious APIs where NULL parameter was changed to "" are master_service_init() and auth_master_user_list_init(). These checks can currently be enabled only on a patched clang: http://llvm.org/bugs/show_bug.cgi?id=6786
Updated copyright notices to include year 2012.
anvil: Handle crash restarts without failing completely.
Updated copyright notices to include year 2011.
anvil: Don't die until all of our clients have gone.
anvil: Show number of connections in process title if verbose_proctitle=yes
lib-master API changed to avoid accidentally leaking client connections. This change also fixes many such leaks. --HG-- branch : HEAD
Updated copyright notices to include year 2010. --HG-- branch : HEAD
anvil: After master gets a SIGHUP, start logging via new log process. --HG-- branch : HEAD
anvil, config, log, ssl-params: Drop privileges as configured. --HG-- branch : HEAD
anvil: Stay alive until it has no more clients. --HG-- branch : HEAD
anvil: Added support for penalty tracking. --HG-- branch : HEAD
Moved process title init to lib-master. With Linux-hack enabled it now preserves command args. --HG-- branch : HEAD
Moved most of getopt() handling to lib-master. --HG-- branch : HEAD
Removed mail_log_max_lines_per_sec setting and related code. It's pretty unnecessary and there's really no good way to implement it with shared log pipes. --HG-- branch : HEAD
anvil: Stop immediately when master asks, instead of waiting for clients to finish. --HG-- branch : HEAD
anvil: Read from FIFOs in packets instead of using streams. --HG-- branch : HEAD
anvil: Fixed checking what the master connection is. --HG-- branch : HEAD
lib-master has now a global master_service variable that all binaries use. There should always be only one of them anyway. --HG-- branch : HEAD
Implemented anvil service, which is used to implement mail_max_userip_connections. --HG-- branch : HEAD