summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-28Redraw status line if size changes, GitHub issue 1762. Also fix lengthNicholas Marriott
of target buffer when pasting into status line.
2019-05-28Fix reporting of up->down transition in routing messagekn
The code for updating the laststate and timer is looking at laststate before it's been updated. From Mitchell Krome <mitchellkrome at gmail dot com>, thanks! OK claudio
2019-05-28Do not read past the end of the argument string if it is empty.Nicholas Marriott
2019-05-28unintialized fd passed to close(), found by hiltjo posthumaTheo de Raadt
2019-05-28Correct the test for when the L1TF vulnerablity has been mitigated viaPhilip Guenther
either hardware update (RDCL_NO) or our being nested in a VM which is handling the flushing via the L1D_FLUSH MSR. ok mlarkin@
2019-05-28Skip doing MDS mitigation on vmm entry if the new firmware is present,Philip Guenther
as it enhances the L1D_FLUSH MSR to flush MDS too ok mlarkin@
2019-05-28Cleanup some bootloader codeMike Larkin
Refactoring to remove 'long_kernel' variable and consistent use of 'entry' and 'marks[MARK_ENTRY]'. Prompted by guenther@. No functional change. tested by jca@ and myself ok guenther@, kettenis@
2019-05-28Fix typo and label indent.Joel Sing
2019-05-28Tidy up some names/structures following the renaming of TLS extensionJoel Sing
functions based on message type (clienthello/serverhello), to which side is handling the processing. No intended functional change. ok beck@
2019-05-28_thread_sys___realpath must be exported like _thread_sys___getcwd obviously.Theo de Raadt
None will all it, but this is the mechanism by which ramdisk build determines which .o files to build for it's libraries.
2019-05-28Remove mention of YP lookup from hosts(5), as support was removed fromBryan Steele
resolv.conf in 2015. Diff from Jan-Piet Mens <jp () mens ! de> ok deraadt@
2019-05-28Enable the use of the kernel __realpath() system call in the libc wrapper.Bob Beck
For now, this also still uses the existing realpath implmentation and emits a syslog if we see differening results. Once we have run with that for a little while we will remove the old code ok deraadt@
2019-05-28Exit 1 correctly if source-file fails.Nicholas Marriott
2019-05-28Allow source-file to take multiple arguments.Nicholas Marriott
2019-05-28Include pthread.h to make this header standalone (needs pthread_t and others)Jeremie Courreges-Anglas
Will get us rid of pointless patches in the ports tree. ok guenther@
2019-05-28Change the default right click pane to open the menu if not in a modeNicholas Marriott
and no application mouse.
2019-05-28Add key bindings to open the window and pane menus (C-m and M-m for now).Nicholas Marriott
2019-05-28Allow menu items to be disabled by putting a - at the start of theirNicholas Marriott
name, rather than just including #[dim] which still allowed them to be chosen.
2019-05-28Enable virtio again since the compilation problems have been fixed.Stefan Fritsch
ok deraadt@
2019-05-28Make vmd(8)'s ns8250 emulation more correctMike Larkin
Remove the scratch register (8250s don't have this), and reorganize some constants to be able to more easily support more than one serial port in the future. ok deraadt Diff from Katherine Rohl, thanks!
2019-05-28Change display-menu from taking a single string to a set of arguments,Nicholas Marriott
which is much easier to work with. Based on a diff from Avi Halachmi.
2019-05-28A step in solving the bootstrap problem in a dnssec environement.Otto Moerbeek
If the time is wrong, we cannot validate dnssec, leading to failed DNS lookups, so we cannot adjust or set the time. Work around this by repeating a failed DNS lookup with a lookup with the DC (check disabled) bit set. ok florian@
2019-05-28Remove a 15 year old XXX commentMike Larkin
2019-05-28vmd: unset CR0_CD and CR0_NW in default flat64 register valuespd
These never got unset on AMD/SVM guests when booted via vmctl start -b causing them to run very slow ok mlarkin@
2019-05-27spelling fixes in comments and one printf; from j sissonJason McIntyre
2019-05-27only reschedule the periodic interrupt after updating register AJasper Lievisse Adriaanse
if something changed in register A. when updating register A we were checking in register B if the PIE bit was set in order to decide if rtc_reschedule_per needed to be called. if that bit was changed then the timer rate would already have been adjusted by rtc_update_regb so the call from rtc_update_rega is not needed. this now matches what qemu and other emulators are doing too. ok mlarkin@
2019-05-27Clarify newlines inside {} a little.Nicholas Marriott
2019-05-27fix virtio_pci on 32bit archsStefan Fritsch
bus_space_read/write_8 do not exist there, use two 32bit operations.
2019-05-27fix multitouch by properly reading multi-finger data on type4Joshua Stein
devices which have padding between finger data tested on an older model by bru@
2019-05-27Go less crazy with horizontal separators on default menus.Nicholas Marriott
2019-05-27For "gunzip -N", only use the basename of the stored path.Todd C. Miller
Fixes a directory traversal bug when the stored name includes a directory component. Both GNU gzip and our gzip store the basename of the path when compressing but a malicious .gz file could contain an arbitrary path. Problem found by elvis alien. OK deraadt@
2019-05-27disable virtio. a serially careless & procedure violating developerTheo de Raadt
has broken the tree once again. ok kettenis
2019-05-27Fix crash when killing the current window, reported by Jesus RafaelNicholas Marriott
Sanchez in GitHub issue 1760.
2019-05-27Add an additional {} syntax for defining strings in the configurationNicholas Marriott
file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to expect a string if it is only given one argument, so {} can be used with it as well. From Avi Halachmi.
2019-05-27Use getopts instead of getopt(1)Jeremie Courreges-Anglas
getopts is a standard shell builtin (POSIX) and lets you handle whitespace in parameters. ok mpi@ sunil@
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
getpeerbyid() gets a lot quicker at finding the peer when many peers are configured. In my test case the difference is around 20% runtime. OK denis@
2019-05-27fix core dump reported by Adam Thomson; ok tb@Otto Moerbeek
2019-05-27add vulkan dirsJonathan Gray
2019-05-27Fix the intended ordering of items in buffer mode - it should not alwaysNicholas Marriott
be tag 0 when the tree is empty. GitHub issue 1759.
2019-05-26support -T erspan so arbitrary gre protocols can be seen as erspanDavid Gwynne
this lets me configure a custom gre protocol on a dell s4810 or s5048 and see what's inside it when it lands on an openbsd box. ok lteo@
2019-05-26tweak previous;Jason McIntyre
2019-05-26Add keys for new menu items.Nicholas Marriott
2019-05-26Always redraw overlay if it is on (so status line doesn't redraw over it).Nicholas Marriott
2019-05-26Do not accept choice unless mouse has actually moved before.Nicholas Marriott
2019-05-26Add formats for word and line under the mouse and use them to add someNicholas Marriott
items to the pane menu.
2019-05-26reflect current realityMarc Espie
it's much simpler now that md5 is entirely gone
2019-05-26document somewhat oldish improvementsMarc Espie
2019-05-26adjust comment. ArcCheck hasn't dealt with long names ever sinceMarc Espie
OpenBSD::Ustar gained support for xhdr.
2019-05-26perl makewhatis has been dead a few yearsMarc Espie
2019-05-26Support virtio 1.0 for virtio_pciStefan Fritsch
virtio 1.0 for virtio_mmio it not yet implemented, but 0.9 devices continue to work.