summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-27uxrcom(4)Mark Kettenis
2019-03-27Add uxrcom(4), a driver for the Exar XR21V1410 USB serial adapter.Mark Kettenis
Even though these chips implement the standard USB CDC class protocol we need a separate driver to be able to disable hardware flow control. Hardware flow control is automatically enabled in CDC mode but if the relevant lines aren't connected this prevents the chip from getting input. ok deraadt@
2019-03-27regenMark Kettenis
2019-03-27Add Exar XR21V1410.Mark Kettenis
ok deraadt@
2019-03-27remove documentation for obsolete announce all|none|default-route, seeSebastian Benoit
parse.y rev 1.381 2019/02/27 ok sthen@
2019-03-27Tweak output and correct a comment.rob
2019-03-27Modify a test to stress embedded ber elements in ber_printf_elements(). Alsorob
cleanup some output.
2019-03-27Add support for displaying fontwidth and fontheight values, this allowsFrederic Cambus
users to know the size of the currently used font. Based on a diff from Artturi Alm, thanks! OK sthen@, kettenis@, tedu@, jcs@
2019-03-27Replace "garbage" test with an explicit test of an incorrect length (i.e. notrob
enough data). Expects a failure (with errno = ECANCELED).
2019-03-27Check errno on expected failures. Also fix some output wording.rob
2019-03-27Cast nonce bytes to avoid undefined behaviour when left shifting.Joel Sing
Reported by oss-fuzz, really fixes issue #13805. ok beck@ tb@
2019-03-27Only perform position and memory checks on short form encoding (i.e. shortrob
form tagging and short form length encoding). Add two tests for long form length encoding.
2019-03-27Fix stop-selection, from Avi Halachmi.Nicholas Marriott
2019-03-27merge unbound 1.9.1Stuart Henderson
2019-03-27remove duplicate set key file call. from alf.Ted Unangst
ok jsing
2019-03-27fix interaction between ClientAliveInterval and RekeyLimit that couldDamien Miller
cause connection to close incorrectly; Report and patch from Jakub Jelen in bz#2757; ok dtucker@ markus@
2019-03-27Add AR8152 PCI ids to alc_phy_down(), based on FreeBSD r272730.Kevin Lo
From Brad
2019-03-27comment out the optional "duration" argument to powersave:Jason McIntyre
only two older cards currently attempt to set this, and it should not be neccessary anyway; i've added in a some (commented) info to explain this; discussed with and ok stsp
2019-03-27Cleanup output and main return code.rob
2019-03-27bump to 2.9.1Brent Cook
2019-03-26Fix white space.rob
2019-03-26Add ber api regress. Assumes that ber has been built into libutil.rob
Not hooked up to the build.
2019-03-26Break copy mode commands into individual functions instead of a big loadNicholas Marriott
of if statements.
2019-03-26The recently introduced "router-id changed" warning is a bit long.remi
Shorten it to better match the style of other log messages. ok jca@
2019-03-26note that powersave is disabled by default (i.e. no need to explicitlyJason McIntyre
disable this), and provide a little more info on "duration"; some driver-specific notes hopefully to follow... help/ok stsp
2019-03-26vmm(4): On VMX, use sgdt/sidt to reset the GDT/IDT limits after exitingMike Larkin
the guest VM. By default, VMX sets the limits to 0xFFFF on exit, which is larger than what we want and can lead to security issues. While here, reset the LDT as well. We don't use this in OpenBSD, and VMX loads a null LDT selector on exit anyway, but resetting it here prevents any future surprises. Pointed out by Maxime Villard from NetBSD - thanks! ok deraadt@
2019-03-26Same INT32_MAX vs -1 confusion on the write-sideTheo de Raadt
(previous commit was for read-side)
2019-03-26Update to tzdata2019a from www.iana.orgTodd C. Miller
2019-03-26Tweak previous: include <sys/stdint.h> for INT64_MAX/INT64_MIN.cheloha
2019-03-26add the dcf600usb; from paul de weerdJason McIntyre
2019-03-26INT32_MAX isn't -1, to indicate re-read for 64-bit value.Theo de Raadt
Diagnosed by krw, ok florian
2019-03-26adjtime(2): set EINVAL if delta overflows 64 bits of microseconds.cheloha
No other (known) BSD-derived adjtime(2) implementation checks for overflow when converting delta into its final denomination of fractional seconds. This is peculiar, as the call originates in 4.3BSD. However, glibc, uclibc, and (to an extent) musl /do/ check the input and set EINVAL if it exceeds a certain bound, so we'll just use the errno that they use to be consistent with extant practice. Prompted by the comment kettenis@ left when we switched to storing the adjustment in an int64_t like ~5 years ago (kern_time.c,v 1.87). Positive feedback from deraadt@, manpage bits ok jmc@, no code complaints from otto@ or tedu@.
2019-03-26Remove this assert, I can't do this here with UNVEIL_INSPECTBob Beck
added aggressively today. Hopefully post release a glorious flensing will remove UNVEIL_INSPECT anyway Reported-by: syzbot+3375ce307ac7909b907b@syzkaller.appspotmail.com
2019-03-26Use limits.h instead of sys/limits.h for portability.Joel Sing
From phrocker via github.
2019-03-26Make sure that each ci has its spc_deferred queue initialized.Visa Hankala
Otherwise, the system can crash in smr_call_impl() if SMT is enabled later. Crash reported by jcs@
2019-03-25MP-safe timecounting: new rwlock: tc_lockcheloha
tc_lock allows adjfreq(2) and the kern.timecounter.hardware sysctl(2) to read/write the active timecounter pointer and the .tc_adj_freq member of the active timecounter safely. This eliminates any possibility of a torn read/write for the .tc_adj_freq member when we drop the KERNEL_LOCK from the timecounting layer. It also ensures the active timecounter does not change in the midst of an adjfreq(2) call. Because these are not high-traffic paths, we can get away with using tc_lock in write-mode to ensure combination read/write adjtime(2) calls are relatively atomic (a) to other writer adjtime(2) calls, and (b) to settimeofday(2)/clock_settime(2) calls, which cancel ongoing adjtime(2) adjustment. When the KERNEL_LOCK is dropped, an unprivileged user will be able to create some tc_lock contention via adjfreq(2); it is very unlikely to ever be a problem. If it ever is actually a problem a lockless read could be added to address it. While here, reorganize sys_adjfreq()/sys_adjtime() to minimize code under the lock. Also while here, make tc_adjfreq() void, as it cannot fail under any circumstance. Also also while here, annotate various globals/struct members with lock ordering details. With lots of input from mpi@ and visa@. ok visa@
2019-03-25Fix authentication failures when "AuthenticationMethods any" in aDamien Miller
Match block overrides a more restrictive global default. Spotted by jmc@, ok markus@
2019-03-25whitespaceDamien Miller
2019-03-25fix copy pasto: flag -> atflags; ok deraadt@ jca@ millert@anton
2019-03-25-z support isn't as trivial as linking -lz so it hasn't been writtenTheo de Raadt
yet. In the meantime, make it a warning-no-op, as most usage cases will be satisfied by this (and hopefully annoy someone to write support) ok florian benno
2019-03-25One more TODO entry for reload support: check router-id changesJeremie Courreges-Anglas
ok benno@
2019-03-25Abort reload if router-id changedJeremie Courreges-Anglas
Additional code would be needed to support actually changing the router-id at runtime; for now be consistent and reject the new configuration to avoid users a "wtf" moment. From Mitchell Krome, input from benno@ and deraadt@, ok benno@
2019-03-25panic() adds a newline, so don't include one in the format stringPhilip Guenther
ok krw@ millert@
2019-03-25Add StatusDefault binding for the mouse on any otherwise unassignedNicholas Marriott
parts of the status line, from Avi Halachmi.
2019-03-25Fix pctr(4) issues with MP and suspend:Philip Guenther
- use an IPI to notify other CPUs toi update CR4 and the MSRs - use the cpu(4) resume callback to restore the pctr(4) settings after suspend/hibernate ok kettenis@ deraadt@
2019-03-25X86_IPI_NAMES's only use was #if 0'ed out; delete bothPhilip Guenther
ok kettenis@ deraadt@
2019-03-25update the example key size; from randy hartmanJason McIntyre
ok tedu sobrado deraadt
2019-03-25Update regress following sigalgs changes.Joel Sing
2019-03-25Strip out all of the pkey to sigalg and sigalg to pkey linkages.Joel Sing
These are no longer used now that we defer signature algorithm selection. ok beck@
2019-03-25tls1_process_sigalgs() is no longer needed.Joel Sing
ok beck@