summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2016-01-12Let smtpd start on machines without a FQDN as hostname.Sunil Nimmagadda
Ok millert@ gilles@ jung@
2016-01-12Do not print an error if the list of prefixes is empty.Martin Pieuchot
This is becoming more and more comon now that the list is only used for autoconfigured prefix. From Florian Riehm.
2016-01-12Remove wireless turbo mode support. It is a non-standard extensionStefan Sperling
which only worked with ath(4) devices from a decade ago. Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. ok reyk deraadt chris sthen kettenis
2016-01-11This adds the host_error output and the http code (when available) to theSebastian Benoit
host-check log. ok claudio@
2016-01-11sneaky whitespace snuck in againTheo de Raadt
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd C. Miller
stash a struct timespec, not just a time_t. Fixes a bug where cron could skip re-reading the spool after two consecutive changes.
2016-01-11remove filter api man page, this needs reworkJoerg Jung
ok gilles
2016-01-10remove a duplicate break statementJonathan Gray
2016-01-09do not install filter_api.3 until the names are changed, to avoid namespaceJoerg Jung
pollution, this api should really be renamed with a prefix smtpd_* prodded by deraadt
2016-01-08adjust a debug message to use decimal instead of hexJoerg Jung
ok gilles millert
2016-01-08Zap extraneous SYNOPSIS sections.Vadim Zhukov
The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@
2016-01-08Add missing space in "Delivered-to:%s\n" header.Christopher Zimmermann
OK sunil@
2016-01-08Keep the pledge of the vmm and vm processes disabled for now as longReyk Floeter
as there is some more expected progress in the kernel interface. It can be tested, and should work, with the previous kernel commit of the "vmm" pledge, but is not called.
2016-01-08Must set MAX_PORTS to 65536, since we assign toStefan Kempf
ioports_map[VMM_PCI_IO_BAR_END (= 65535)]. Fixes an off-by-one. ok mlarkin@, reyk@
2016-01-07If transparent-as is set to no AS paths are prepended with the localFlorian Obser
AS not "their" AS. Which would be silly, the peer would just reject the prefix because the AS path contains its own AS. Pointed out by Colin Petrie cpetrie AT ripe DOT net, thanks! OK phessler, sthen, benno, jmc
2016-01-05don't use the second argument of pledge(2) as the whitelist is not stabilizedSebastien Marie
for now. ok reyk@
2016-01-05Make some things static that are only used in loadfile_elf.cMike Larkin
diff from Michal Mazurek, thanks!
2016-01-05Fail fast if elf64_exec fails. No need to populate the bootargs/stackMike Larkin
and gdt pages if we couldn't load the kernel. diff from Michal Mazurek, thanks!
2016-01-05more bzero -> memset conversionsMike Larkin
from Michal Mazurek, thanks!
2016-01-04no need for af on divert-to rule; from/ok mikebJason McIntyre
2016-01-04add proc and exec to pledge in lka, required to run external add-ons outside ofJoerg Jung
the daemon memory space, makes -extras tables work again reported by Tim van der Molen on misc@opensmtpd.org verified together with sunil ok gilles
2016-01-04switch to /usr/local/libexec when looking for -extras and drop loop iteratingJoerg Jung
paths this effectively reverts table.c r1.21 which was mainly introduced for a smooth transition in -current ok gilles
2016-01-04Use an bitmap of handler function pointers to track I/O device to handlerMike Larkin
function mappings. First step in reworking device support in vmd to better handle interrupts.
2016-01-04bzero -> memset for consistencyMike Larkin
2016-01-03Clarify vmctl console operation.Mike Larkin
From Michal Mazurek, thanks!
2016-01-03Add a cleanup block, fix a couple of memory leaks, fix a typo and a bitMike Larkin
of KNF. Submitted by Michal Mazurek, thanks!
2016-01-03forgot to call RB_INIT. but yet things mostly worked...Ted Unangst
2016-01-03fix wording which becomes confusing now that filters is a real thingGilles Chehade
diff from Marcus MERIGHI <mcmer-openbsd@tor.at> ok jmc@ while at it, fixed an example
2016-01-02fix typo in comment, found by Michal Mazurek, thanksSebastian Benoit
2016-01-01add grp.h for setgroups, not necessarily required on OpenBSD but reduces diffJoerg Jung
to -portable ok gilles
2015-12-31Provide a prototype for yyparse(). Unbreaks the tree.Mark Kettenis
ok millert@
2015-12-31Do not mix EX_* from sysexits.h and EXIT_* from stdlib.h, just useTodd C. Miller
EXIT_*.
2015-12-30SSL_CTX_free() and SSL_free() check for null so dont do it in smtpdSebastian Benoit
ok jung@ tedu@ deraadt@
2015-12-30SSL_CTX_free() and SSL_free() check for null so dont do it in relaydSebastian Benoit
ok jung@ tedu@ deraadt@
2015-12-30SSL_CTX_free() and SSL_free() check for null so dont do it in ldapdSebastian Benoit
ok jung@ tedu@ deraadt@
2015-12-30pledge(2) tokenadm(8): it needs "rpath wpath cpath fattr flock" for operationsmestre
on the DB files and before that it also needs "getpw" due to calling getgrnam(3) to get the group (TOKEN_GROUP). This was OK bluhm@ and also with a slightly tweak sugested from him
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
ok mmcc@ millert@
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
ok mmcc@ millert@ tb@ claudio@
2015-12-30d_namlen is not portable, there is no reason to keep a delta with -portable andJoerg Jung
it is not even "optimizing" things, this is a startup loop which will not bring any benefit at runtime. thus, change it and reduce diff to -portable. ok gilles sunil
2015-12-29Don't assume fprintf() will set the FILE * error condition.Todd C. Miller
Instead, check the return value of fprintf() and fflush() and call clearerr() before returning on error. OK jca@
2015-12-29Change send_line() return value to be 1/0 like get_responses() andTodd C. Miller
check the return value in the callers. The inital value of inheaders has been changed to improve readability. OK gilles@ jung@
2015-12-29When running syslogd in debug mode, use a callback to print theAlexander Bluhm
libevent messages. Before the code was removed from libevent, the library itself printed that to stderr. OK nicm@
2015-12-28Replace lseek/[read|write] with pread|pwrite.Kenneth R Westerback
ok millert@ a while ago.
2015-12-28remove spaces after '!'Joerg Jung
no binary change ok millert
2015-12-28build mopd with -Werror-implicit-function-declarationSebastian Benoit
ok tb@
2015-12-28build all lpr tools with -Werror-implicit-function-declarationSebastian Benoit
ok tb@
2015-12-28fprintf() may not set the error indicator on failure so just useTodd C. Miller
fputs() + putc() to write the string and trailing newline. OK jung@
2015-12-28remove unused copy argument from addarg()Joerg Jung
diff from Serguey Parkhomovsky via tech@ ok sunil millert
2015-12-28build smtpd and smtpctl with -Werror-implicit-function-declarationSebastian Benoit
ok tedu@
2015-12-28build most of usr.sbin with -Werror-implicit-function-declarationSebastian Benoit
ok florian@