summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2017-08-28Do not close the relay if data is still in the output buffer.Alexander Bluhm
Otherwise data not written could get lost. Also try to drain the buffers when socket splicing should be enabled. The latter was lost when the expicit bufferevent_enable() was added in relay_write(). bug report, analysis, initial fix, testing Rivo Nurges; OK beck@
2017-08-28add -z and -Z options to auto suspend or hibernate when low on battery.Ted Unangst
from Jesper Wallin
2017-08-28print id first to make this symetrical to address proposalsFlorian Obser
2017-08-28Inform the user when we are relinking the kernel.Antoine Jacoutot
2017-08-2865535 is a valid port to listen on.Florian Obser
Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT gmail, thanks! chris@ pointed out that more than httpd(8) is effected. OK gilles@
2017-08-25-Wextra is over the top; note that int < sizeof(..) is generally safe, sinceOtto Moerbeek
the left hand side gets converted to size_t, making negative values very large so the test fails; ok kettenis deraadt@
2017-08-24Disable enum warnings after checking the code is ok. ok millert@Otto Moerbeek
2017-08-23No need to handle more than one routing message here.Jeremie Courreges-Anglas
2017-08-23sync with upstream; unbound 1.6.5Stuart Henderson
2017-08-23Fix trust anchor installation when two anchors are present. Concretely, fixesStuart Henderson
root.key creation if unbound is installed between sep11 and oct11 2017. Looks good to jca. This is the only substantial change in Unbound 1.6.5; next commit will sync ancillary files.
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-08-23Switch from 4-clause to 2-clause BSD license.Frederic Cambus
Matthias Drochner rescinded the third and fourth clauses of wsconscfg(8) and wsfontload(8) licenses in 2008 in NetBSD. https://mail-index.netbsd.org/source-changes/2008/05/26/msg206199.html OK deraadt@
2017-08-22kill .TnIngo Schwarze
2017-08-22default automount dir was changed from /a to /tmp_mnt in amd.c rev. 1.15;Ingo Schwarze
noticed by Alessandro DE LAURENZIS <just22 at atlantide dot t28 dot net>
2017-08-22fix default automount dir below FILES, related to amd.c rev. 1.15;Ingo Schwarze
from Alessandro DE LAURENZIS <just22 at atlantide dot t28 dot net>
2017-08-22Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
2017-08-22slaacd.sock moved to /dev a while ago.Florian Obser
Noted by Christer Solskogen on misc@, thanks!
2017-08-22typoFlorian Obser
2017-08-22Add support for KARL:Antoine Jacoutot
- only extract the according /usr/share/compile/GENERIC{,.MP} - if a "kernel" patch was properly installed (or rolled back), run /usr/libexec/reorder_kernel _once_ just before exiting - don't backup /bsd anymore, reorder_kernel already does it for us - drop 2 now unused functions: install_kernel() and sp_cleanup() While it appears to work fine after some quick testing, it should still be considered WIP.
2017-08-22Remove legacy code.Antoine Jacoutot
2017-08-22Rename now oddly-named variable.Jeremie Courreges-Anglas
2017-08-21Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
2017-08-21Remove unnecessary NULL check and fix an incorrect warning.rob
Ok jca@
2017-08-21undo unintentional commitsPeter Hessler
2017-08-21When 'enforce neighbor-as no' is set, don't do a config-time check for the ↵Peter Hessler
neighbor-as, as it is dynamic.
2017-08-20vmd: Allow only upward migrationpd
This restricts receiving vms from hosts with more cpu features. Tested on broadwell -> skylake (works) skylake -> broadwell (don't work) ok mlarkin@
2017-08-20Stop tracking interface indexes. Suggested by deraadt.rob
Tweaks and ok jca@ "just get it in" deraadt@
2017-08-20Check that we haven't yet reached the end of the string before callingTheo Buehler
strcspn(3) instead of afterwards. Fixes an out-of-bound read that led to intermittent crashes experienced by rob in his regression test. ok rob
2017-08-20vmd: return VIRTIO_BLK_S_UNSUPP on any unknown vioblk command, not justMike Larkin
VIRTIO_BLK_T_GET_ID. suggested by sf@
2017-08-20vmd: reorganize some pci config space handling code, no functional change.Mike Larkin
originally suggested by kettenis@, I took that diff and modified it for -current
2017-08-18Show timeouts for addresses and default routers.Florian Obser
2017-08-18print default router IPFlorian Obser
2017-08-18nano second resolution is meaninglessFlorian Obser
2017-08-18Use "infinity" for pltime / vltime.Florian Obser
It's a bit easier on the eyes than 4294967295. While here standardize on a width of 10.
2017-08-18distinguish errors during vm launch and return different error codes toMike Larkin
vmctl so that it can display proper errors for "disk missing" and "bios missing" situations. Expands on an earlier idea/diff from jasper. ok jasper@, pd@, tedu@
2017-08-17Set the automatically generated device variables as local to preventAntoine Jacoutot
accumulating the size of all patches we are applying. from "trondd" on tech@
2017-08-17Fix checkfs() when running an MP kernel.Antoine Jacoutot
2017-08-17Honor TMPDIR if it is set to prevent erroring in some setup.Antoine Jacoutot
reported by Igor Falcomata
2017-08-17We're a shell script, so honor TMPDIR.Antoine Jacoutot
While here, use consistent variable substitution.
2017-08-15merge parse_vmid() and parse_vmname()Jasper Lievisse Adriaanse
ok mlarkin@ pd@
2017-08-15vmd: fix vm id displayed by vmctl when receiving a vmpd
Also fix two debug messages and an IMSG type.
2017-08-14return a proper error message instead of 'no such file or directory' whenJasper Lievisse Adriaanse
invoking 'stop' for a non-existent vm ok mlarkin@
2017-08-14whitespace and fix a comment typoJasper Lievisse Adriaanse
2017-08-14catch ENOENT and display a proper error message when a specified disk image isJasper Lievisse Adriaanse
not found ok mlarkin@
2017-08-14vmd: set MSR_MISC_ENABLE=0 on vm creation, this will be re-set in vmmMike Larkin
based on proper values from the host in use.
2017-08-14don't allow starting vms whose name starts with '-', '.' or '_'Jasper Lievisse Adriaanse
2017-08-14validate vm names before creating them; a valid name contains alphanumericJasper Lievisse Adriaanse
characters, including '.', '_' and '-'. but does not start with the latter three. ok mlarkin@ pd@
2017-08-14remove useless indirection for reading the file contentEric Faurot
ok gilles@
2017-08-14Remove some dead logging code that was never used.rob
Ok benno@
2017-08-13don't issue a termination command to an already stopped vmJasper Lievisse Adriaanse
ok mlarkin@