summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-15When looking up macro values while the macro tables are being builtIngo Schwarze
in makewhatis(8), use ohash rather than linear searches. This was identified as the main makewhatis(8) performance bottleneck by Baptiste Daroussin <bapt at FreeBSD>, who also suggested part of the improved algorithm. This reduces the run time of "makewhatis /usr/share/man" from eleven to five seconds on my notebook. Note that the changed code is not used in apropos(1), so don't expect speedups there. While here, sort macro values asciibetically, to improve reproducibility - which still isn't perfect, but getting better.
2017-01-15fix typo; from semarieTheo de Raadt
2017-01-14Disable the Load Stack Guard for OpenBSD on AArch64. We don't use itPatrick Wildt
on any other platform and it causes a segfault in combination with our IR Stack Guard. "looks reasonable" kettenis@ "looks good to me" stefan@
2017-01-14Update clang build infrastructure for LLVM 3.9.1Patrick Wildt
"go ahead" kettenis@ "just go ahead" deraadt@ "sounds good to me" stefan@
2017-01-14Merge LLVM 3.9.1Patrick Wildt
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2017-01-14killp -a should not kill the window if only one pane.Nicholas Marriott
2017-01-14add a geteuid check to make sure we're root before plowing into setauth.Ted Unangst
spare some debugging effort in case doas is not installed setuid.
2017-01-14HTTPS proxy support for ftp-ssl.Jeremie Courreges-Anglas
The install media already allow for plaintext HTTP proxying. The code to support CONNECT is short enough. Reported/fix tested by rpe@, ok deraadt@
2017-01-14It's not longer a syntax error to provide a flowdst without a portFlorian Obser
number. Drop argument altogether to provoke a syntax error.
2017-01-14Remove priority line, ifconfig(8) prints the interface index on theFlorian Obser
same line and that changes on every interface creation, messing up the diff to ifconfig.ok
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-01-14Revert aml_rdpciaddr changes; breaks several machines that were workingMark Kettenis
before.
2017-01-14Move a splx() in pmap_enter() to handle all return paths.Jonathan Gray
ok patrick@
2017-01-13In comparison to armv7, our arm64 port passes the bus space tag asPatrick Wildt
first argument instead of the bus space cookie.
2017-01-13Enable vmmci(4)Reyk Floeter
OK mlarkin@
2017-01-13Make it possible to remove VMs from vmd(8)'s internal queue.Edd Barrett
The semantics agreed with reyk@ are: * ad-hoc created vms, created with `vmctl start`, are removed once stopped. * Stopped VMs defined in a config file are flushed before a `vmctl reload`. OK reyk@
2017-01-13Add support for draft-ietf-idr-shutdownPeter Hessler
BGP state = Idle, marked down with shutdown reason "goodbye, we are upgrading to openbsd 6.1", down for 00:00:17 developed by Peter van Dijk <peter.van.dijk@powerdns.com> and Job Snijders <job@ntt.net>, thank you! OK benno@
2017-01-13traceroute never sees a timeout when poll(2) returns when it receivesFlorian Obser
a packet not intended for us. E.g. a ping(8) is running in parallel. In this case we need to account for the time we already waited. Pointed out by Gabriel Nieto <gabnietof AT gmail>, thanks! Looks good to and input millert@
2017-01-13syncTheo de Raadt
2017-01-13Disable and lock Silicon Debug feature on modern Intel CPUsMike Belopuhov
This implements one of the countermeasures against using Direct Connect Interface (DCI) to debug CPUs via USB3 mentioned in the "Tapping into the core" talk at the 33c3: identify and disable the Silicon Debug feature found in Haswell and newer CPUs. ok mlarkin, deraadt
2017-01-13whitespaceTheo de Raadt
2017-01-13tweak previous;Jason McIntyre
2017-01-13Let these hppa-specific tests print "SKIPPED" on non-hppa architectures.Mark Kettenis
Include some missing header files while I'm there.
2017-01-13I accidentally committed three lines from the future.Reyk Floeter
2017-01-13Mention attempted graceful shutdown and vmmci(4)Reyk Floeter
2017-01-13Add host side of vmmci(4) to vmd(8).Reyk Floeter
It currently uses the device to request graceful shutdown of a VM on "vmctl stop myvm" but will be extended for reboot and a other edge cases. OK mlarkin@
2017-01-13Add vmmci(4) manpageReyk Floeter
2017-01-13Add vmmci(4) (VMM control interface), a simple guest-side driver for vmm(4) VMsReyk Floeter
While we don't have ACPI in vmm(4), we need a simple way to shutdown and reboot VMs gracefully but the device also allows to add more direct communications between host and guest later. OK mlarkin@
2017-01-13syncReyk Floeter
2017-01-13Add PCI ID for vmm control interfaceReyk Floeter
OK mlarkin@
2017-01-13Always compile the mira code if net80211 is included.Stefan Sperling
Should unbreak the tree on many platforms broken since athn(4) 11n commit.
2017-01-13Call pmap_pte_update() where the vp lookup has already been donePatrick Wildt
before. Additionally, simplify pmap_clear_reference() to call pmap_pte_insert() instead of doing it itself.
2017-01-13Some code already does a vp lookup, so there's no need to callPatrick Wildt
pmap_pte_insert() which does the same thing again. Instead, split the function into two parts, so that those that don't need another lookup can simply call pmap_pte_update().
2017-01-13Rename pte_{insert,remove} to pmap_pte_{insert,remove} to betterPatrick Wildt
fit into the grand scheme of things.
2017-01-13options_get_style return const too.Nicholas Marriott
2017-01-13Make options_get_string return const string.Nicholas Marriott
2017-01-13Add -E to detach-client to exec a command to replace the client insteadNicholas Marriott
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
2017-01-13Ansify cpu_sysctl() on alpha, arm, arm64, luna88k and sparc64.Frederic Cambus
OK mpi@
2017-01-13Remove recursive splsoftnet() but use splsoftassert() instead.Martin Pieuchot
Tested by Hrvoje Popovski, ok bluhm@
2017-01-13SVM/RVI: vm_impl_init_svm implementation, create pmap for RVI VMsMike Larkin
2017-01-13Starting to merge my old AMD SVM/RVI tree, piece by piece.Mike Larkin
SVM/RVI: VMCB structure definitions for amd64/i386
2017-01-13Make mount points and makefiles for file system tests consistent.Alexander Bluhm
Link tests to the build.
2017-01-13Run the existing tests for FFS also on a NFS mount point.Alexander Bluhm
2017-01-13Use a NFS mount via loopback for testing file system operations.Alexander Bluhm
By changing files directly on the server and accessing them on the client or vice versa, specific kernel behavior can be triggered. Especially using file mmap(2) over NFS is tested.
2017-01-12Fix the "t" command for the case where we go down by just a few lines:Ingo Schwarze
clear the status before printing content on the last line of the screen. OK millert@ tom@
2017-01-11Add a test that creates a nested tree of mount points. All partitionsAlexander Bluhm
of a vnd(4) device are mounted under /mnt. A single umount(8) of /mnt should unmount all of them.
2017-01-12Execute XenStore watch callbacks on a dedicated task queueMike Belopuhov
Some watch callbacks like xen_hotplug can hog the task queue for a considerable amount of time due to XenStore interrupt driven I/O operations and running them on the system task queue causes problems with other timed operations for instance during boot. Bug reported and fix tested by ajacoutot@, thanks!
2017-01-12Rename ieee80211_mira_node_destroy() to ieee80211_mira_cancel_timeouts().Stefan Sperling
No functional change. The previous name was chosen at a time when I could not yet anticipate what this function would really end up doing. The new name should make this function's purpose more obvious, especially where it appears at strategic places in driver code.
2017-01-12Skipping all escape sequences at the beginning of strings in deroff()Ingo Schwarze
was too aggressive. There are strings that legitimately begin with an escape sequence. Only skip leading escape sequences representing whitespace. Bug reported by martijn@.