summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@
2017-10-24Remove terminate_vm/vm_remove logic from vmm_dispatch_parent. ThisMike Larkin
logic is present in vmm_sighdlr when a VM process has signaled SIGCHLD for proper cleanup. From: Carlos Cardenas, thanks!
2017-10-24The VMD parent process didn't handle the case of a VM exitingMike Larkin
with a non 0 return properly (i.e. EIO). From: Carlos Cardenas, thanks!
2017-10-23When the partition of /var/log was full, syslogd(8) stopped writingAlexander Bluhm
to files located there. It did this permanently, so cleaning /var without SIGHUP to syslogd did not help. Better retry, write an error message to other log hosts, and write a summary of dropped messages after it works again. OK millert@ friehm@
2017-10-23Close the socket (and dfd) in at(1) child processesJeremie Courreges-Anglas
Fixes a failure at restart if a child process still has the socket opened. Spotted by millert@, ok friehm@ millert@
2017-10-23Close cron sockets in child processes.friehm
ok jca@
2017-10-22make messages involving fs clearer, parse the mount point AND the deviceMarc Espie
and display a name (/dev/sd0h on /usr/local) based on that
2017-10-20When adding a missing "Date" header, use the same timestamp as the "Received"Eric Faurot
header for consistency. ok gilles@
2017-10-20Tweak heuristics to make sure /memory properties are more likely to beMark Kettenis
printed as hex. ok visa@
2017-10-19remove useless initialisationEric Faurot
2017-10-19don't try to print uninitialised memory as a string in error pathsJonathan Gray
ok deraadt@ claudio@
2017-10-19fix a use after free and a memory leak in error pathsJonathan Gray
ok deraadt@ florian@
2017-10-17add missing HISTORY; based on CVS logs and release announcementsIngo Schwarze
2017-10-16Ensure last character in ssv mode is a newlinejob
OK benno@
2017-10-15Add "ssv" variant which turns a rib route output into a singleTheo de Raadt
semicolon-seperated line, so that grep and such can operate easier; then use tr ';' '\n' to convert it to normal form later. This helps with scanning vast swathes of routes.. ok benno claudio job
2017-10-15Kill unused definesJeremie Courreges-Anglas
2017-10-14Add bwfm(4) to fw_update(1).Patrick Wildt
ok espie@ sthen@
2017-10-13Don't check for mirror availability but directly try to fetch SHA256.sig. ThatAntoine Jacoutot
check was not safe (index needed to be enabled, top URL may not be available etc.). based on a comment from tj@
2017-10-12Simplify and explicitely state when we cannot access our mirror.Antoine Jacoutot
2017-10-12Loosen up installurl(5) check: it's OK to have a trailing slash.Antoine Jacoutot
2017-10-12Better error if installurl points to a local directory.Antoine Jacoutot
2017-10-12Don't return 1 if the syspatch release directory does not exist; it justAntoine Jacoutot
means that no patch is available yet.
2017-10-12add -G to usage();Jason McIntyre
2017-10-11Allow GREY entries to be removed by IP address. OK beck@Todd C. Miller
2017-10-10reorder the description so that important parts come first.Marc Espie
Ditch "old style" signature checks that are no longer relevant at all.
2017-10-10in -u mode, the pkgname is optionalMarc Espie
2017-10-10clean-up option handling slightly, some more to be done.Marc Espie
Add a -S option that computes signatures, so that we may remove code from bsd.port.mk that does the exact same thing, and no longer work since the addition of @version. For now, -S is exclusive of other package creation options, as it exits as soon as it computes what it needs.
2017-10-10thinkoMarc Espie
noticed by Bryan Vyhmeister, thx
2017-10-10Use clock_gettime(CLOCK_REALTIME) instead of gettimeofday+TIMEVAL_TO_TIMESPECPhilip Guenther
ok jung@
2017-10-09correct calls to this constructor *must* include a state. If they don'tMarc Espie
you won't notice until the repository wants to output an error message, which is bad. if code breaks thanks to this commit, the call site needs to be fixed.
2017-10-07delete #ifdef SYSV code, along with a beautiful #define bcopy memcpyTheo de Raadt
2017-10-07Prefer memset() over bzero()Philip Guenther
ok deraadt@ mlarkin@
2017-10-07kill reporting old signature schemes, they've been gone for long enoughMarc Espie
2017-10-07Adjust verbose message in case PKG_PATH is undefined.Marc Espie
Problem noticed by anton@
2017-10-07The 'dumps' option only accepts a single devicePhilip Guenther
ok deraadt@ jmc@
2017-10-07vmd: retain ownership on vm rebootMike Larkin
from Jesper Wallin, thanks!
2017-10-06The problem when npppd receives a zero length 1701/udp packet seemed toYASUOKA Masahiko
be fixed at 1.16, but it wasn't fixed. Fix it again.
2017-10-05When syslogd writes some startup errors to stderr or console, theyAlexander Bluhm
never appear in any log file. After initialization, write a summary into log files and to remote log host. So the problem shows up, when someone is looking at the persistent messages. Print the "dropped message" warning in a common function. OK sthen@ millert@
2017-10-05I have touched more than half the source code lines of syslogd(8).Alexander Bluhm
Add my copyright explicitly.
2017-10-04Fix pledge(2) usageJeremie Courreges-Anglas
We should not try to tighten pledge promises in the master inetd process, since those are needed to reload the configuration. Only tighten down if 1) we have forked 2) we're running one of the builtin routines, which are dealing with network input. Pointed out by and ok benno@
2017-10-04Don't try to handle IPv4-compatible IPv6 addressesJeremie Courreges-Anglas
ok florian@ millert@
2017-10-04inetd actually supports stream and datagram sockets onlyJeremie Courreges-Anglas
ok deraadt@
2017-10-04inetd needs cpath pledge to unlink unix socket at program termination.Sebastian Benoit
From Anthony Coulter - thanks! ok jca@
2017-10-02Also ignore "Can't assign requested address" error when sendto(2)Alexander Bluhm
to UDP loghost fails. Otherwise syslogd(8) would no longer send to this destination after the error occured once. tested by Rivo Nurges; OK millert@ benno@ deraadt@
2017-09-29update to unbound-1.6.6, ok florianStuart Henderson
2012-03-26Import Unbound 1.4.16 to work on in-tree (not yet linked to the build).Stuart Henderson
These are the direct sources from NLnet Labs upstream, minus these: compat contrib libunbound/python pythonmod testcode testdata winrc ok deraadt@ jakob@
2017-09-27config -e's adds new devices to an extra locator array, which is accountedTheo de Raadt
using a variable which started at 0 and hence got planted in .bss. Refactor that variable to begin at the maximum and decrease, such that it lands in .data instead. ok jsg
2017-09-27Document how ioctl(2) LIOCSFD on /dev/klog registers a socket pairAlexander Bluhm
to receive sendsyslog(2) messages. discussed with martijn@; OK jmc@ deraadt@
2017-09-25Mark error() as __dead so clang doesn't reportKenneth R Westerback
use of uninitialized variables after calls to error(). ok millert@ guenther@
2017-09-23The relayd regression tests for chunked HTTP traffic were failingAlexander Bluhm
sporadically. If the \r and \n were read in separate chunks, relayd got out of sync with the protocol as they were interpreted as two lines. Use evbuffer_readln() with EVBUFFER_EOL_CRLF instead of evbuffer_readline(). OK benno@