summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2015-09-25Output the contents of the environment in debug mode which isTodd C. Miller
most helpful in debugging interactions between httpd and slowcgi. OK florian@
2015-09-25Use .Cm rather than .Ar for fixed strings on the command lineIngo Schwarze
and remove invalid escaping of `@' characters.
2015-09-25avoid trailing .Ns, reduce .Xo and .Sm, drop redundant .BkIngo Schwarze
2015-09-25drop useless .Xo and .Bk, and shorten by avoiding some .SmIngo Schwarze
2015-09-25exec.c provided indirection for multiple exec formats. ELF-only now, so...Philip Guenther
2015-09-22typo.Igor Sobrado
2015-09-21Make UKC handle device locators as longsPhilip Guenther
ok miod@
2015-09-21typo in documentation.Igor Sobrado
2015-09-21sort;Jason McIntyre
2015-09-21Let us log all updates sent from an individual peer. Since this can bePeter Hessler
applied to a group, also let us disable logging on a sub-member of the group. Very handy for debugging naughty peers on a router with multiple peers. OK benno@
2015-09-21Allow for empty blocks for peers. While this is bad style for permantPeter Hessler
use, this is very nice to temporarily disable a peer option. OK sthen@ benno@
2015-09-20Misuse of libevent in TLS read and write might have caused strangeAlexander Bluhm
event loss in syslogd. The ev_read and ev_write event structures were used for both EV_READ and EV_WRITE events intermixedly. The correct way is to use each event for its read and write purpose and instead switch the handler. Then libevent is no longer confused. When doing TLS read and a TLS_WANT_POLLOUT occures, call event_set() for the write event to change the callback to read. As there might be an event scheduled on the event, call event_del() before event_set(). After a successful TLS read, change back the write event. Add analog code for TLS write and handshake. OK beck@
2015-09-20Add a set of flags to rmt(8) to make it run in a restricted mode,Alexander Hall
designed to work with rdump(8) to remote disk. -d <directory> confines rmt to operate within a single directory. -r enforces read-only mode. -w enforces write-only mode. This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys: command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3... ok semarie@
2015-09-19Use correct function name in error messageClaudio Jeker
2015-09-18In case of a hard error, remove all checksums except for examplessum whichAntoine Jacoutot
is special. Otherwise, we may miss comparing files at next run; we may miss some automation on the next run but it's safer this way.
2015-09-18Simplify: we don't need a work directory anymore, temproot is enough.Antoine Jacoutot
2015-09-18Tweak warning/error output a bit.Antoine Jacoutot
Check for examples changes at the end.
2015-09-18More dead code.Antoine Jacoutot
2015-09-16Another ifmedia64 fix, this time for bgpd's ift2ifm().Stefan Sperling
And rename struct kif's media_type to if_type to avoid confusion with ifmedia's media type. Same rename in other daemons will follow. ok claudio henning benno
2015-09-15avoid useless .Ns before punctuation after in-line macrosIngo Schwarze
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
In some cases, do additional cleanup in the immediate vicinity.
2015-09-13More FNDELAY/FIONBIO --> SOCK_NONBLOCK conversionsPhilip Guenther
ok millert@
2015-09-13Rename the routines used for packing/unpacking rmtcall RPCs so they don'tPhilip Guenther
conflict with those in libc. They're already static, but best to be clear that they're different in functionality, supporting operations that libc's don't need or have. with deraadt@
2015-09-13match a few if_media uint64_t conversions; ok miodTheo de Raadt
2015-09-13explicit_bzero() from Michael McConville, thanks!Florian Obser
OK claudio
2015-09-13Set the index of the interface in handroller link_addr(3) like code.Martin Pieuchot
This is now necessary on OpenBSD because our routing interface no longer use ifunit() to find the corresponding interface. ok yasuoka@, dlg@
2015-09-12mark up arguments individually and drop redundant .BkIngo Schwarze
2015-09-12add missing .Ar macrosIngo Schwarze
2015-09-12use .Cm for fixed string argumentsIngo Schwarze
2015-09-12It is not necessary to reset errno to 0 since we use logerrorx().Alexander Bluhm
Spotted by jung@
2015-09-12Remove dead get_host_seed() function; Martin NatanoMiod Vallat
2015-09-11Instead of printing errno strings here and there, add a logerrorx()Alexander Bluhm
to syslogd that does not do that. Use it for anything that does not look like a system call or library call around it. Also add logerrorctx() that prints the TLS error instead. Reduce the maximum CAfile limit to 50MB, requested by Bob. OK beck@
2015-09-11consistency: .Ic -> .Cm; and drop redundant .BkIngo Schwarze
2015-09-11add some missing .Cm macros and drop some redundant .Bk while hereIngo Schwarze
2015-09-11kill strcpy deadBob Beck
ok deraadt@
2015-09-11RTF_XRESOLVE is gone.Martin Pieuchot
2015-09-11Since immediate_abort is modified by a signal handler it must beTodd C. Miller
volatile sig_atomic_t.
2015-09-11Fix server_handshake_tls() - we should only call server_input() in the caseJoel Sing
where the handshake has successfully completed. ok beck@
2015-09-11Put a private copy of the ypresp_allfn/ypresp_data interface into ypservTheo de Raadt
(which uses it in a strange way..) thereby making it possible to static the interface in libc. ok guenther
2015-09-11Syslog does not need the global list of TCP clients, libevent handlesAlexander Bluhm
everything. OK benno@
2015-09-11Change device locators type from int to long, for the sake of 64-bit portsMiod Vallat
without proper device trees. Be sure to build and install config(8) and rerun it before attempting to build a kernel. ok kettenis@ deraadt@ jasper@ visa@
2015-09-10Instead of having global variables containing the libevent structures,Alexander Bluhm
allocate them with malloc. This makes the address space layout more random. OK deraadt@ benno@
2015-09-10Hide netgroup internals inside libc. The parts that netgroup_mkdbTheo de Raadt
wants to use, well.... copy them there. ok guenther
2015-09-10Convert syslogd TLS connect to use handshake callback. The bt_hostnameAlexander Bluhm
can go away as the callback does not need the hostname anymore. Call tls_handshake() until successful. Remove the function tls_socket() as it has a bad prefix. Just call tls_client(), tls_configure() and tls_connect_socket() after the TCP socket has been created. There is no need to wait until TCP connect has finished. OK beck@ jsing@
2015-09-10delete obsolete .Bk from the SYNOPSISIngo Schwarze
and delete some useless .No while here
2015-09-10Assign the return value of getopt() to an int, not a char, so that optionsMiod Vallat
actually work on unsigned char platforms.
2015-09-10regen configure, reported by deraadt@Stuart Henderson
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-09-10Remove compat files no longer required.Stuart Henderson
2015-09-10Fix handling of compat/b64_{ntop,pton} by using __-prefixed versions directly,Stuart Henderson
similar to what ssh does. Otherwise they need resolv.h including, which causes problems on OS with newer resolv.h/nameser.h headers which cause conflicts with NSD's T_xxx resource record #defines. autoconf bits adapted from tmux portable. ok florian@