OpenBSD/src nb6nLm3sys/kern kern_tc.c

   kern.timecounter.choices: Don't offer the dummy counter as an option.

   The dummy counter is a stopgap during boot.  It is not useful after a
   real timecounter is attached and started and there is no reason to return
   to using it.

   So don't even offer it to the admin.  This is easy: never add it to the
   timecounter list.  It will effectively cease to exist after the first real
   timecounter is actived in tc_init().

   In principle this means that we can have an empty timecounter list so we
   need to check for that case in sysctl_tc_choice().

   "I don't mind" mpi@, ok visa@
VersionDeltaFile
1.46+5-2sys/kern/kern_tc.c
+5-21 files

OpenBSD/src 91dNGjRusr.sbin/vmd vmd.c

   drop fatalx calls when claiming a new vm id; otherwise it's possible
   to crash vmd and take all other vms with it. this required a little
   shuffling to get the error value reported back to the caller to
   handle the error properly.

   ok mlarkin@
VersionDeltaFile
1.113+31-15usr.sbin/vmd/vmd.c
+31-151 files

OpenBSD/src r2cqb0Busr.bin/tmux cfg.c cmd-source-file.c

   Fix ordering of source-file with multiple files and add flags to load_cfg.
VersionDeltaFile
1.70+15-12usr.bin/tmux/cfg.c
1.37+11-5usr.bin/tmux/cmd-source-file.c
1.901+4-2usr.bin/tmux/tmux.h
+30-193 files

OpenBSD/src N4euq38usr.bin/tmux menu.c cmd-display-panes.c

   Replace the various identical error callbacks with a single one in cmd-queue.c.

OpenBSD/src ZDp4Rn5usr.bin/tmux cmd-list.c

   Add a helper to allocate a cmd_list.
VersionDeltaFile
1.17+13-4usr.bin/tmux/cmd-list.c
+13-41 files

OpenBSD/src QWBCfMDusr.sbin/smtpd parse.y

   rev 1.219 of the file was a fix to an LMTP issue that was misunderstood. we
   fixed the root cause in mda_variables.c months ago independantely but we're
   still carrying this diff which is not only unnecessary now, but is also the
   cause of a bug with mailer-daemons going through an LMTP mda.

   issue reported by otto@
VersionDeltaFile
1.252+3-3usr.sbin/smtpd/parse.y
+3-31 files

OpenBSD/src TUwSFvalib/libcrypto/man RSA_set_method.3, lib/libssl/man SSL_CTX_set_cipher_list.3 SSL_CTX_use_certificate.3

   *an* RSA;

OpenBSD/src JP4aa6husr.bin/ssh ssh-keygen.1

   tweak previous;
VersionDeltaFile
1.160+5-4usr.bin/ssh/ssh-keygen.1
+5-41 files

OpenBSD/src A9owxnDusr.bin/tmux input.c

   Fix the color space parameter in RGB SGR, from Brad Town.
VersionDeltaFile
1.154+14-12usr.bin/tmux/input.c
+14-121 files

OpenBSD/src Lf7O7dRgames/tetris scores.c

   Remove unused variables; no binary change.

   From Jake Champlin
VersionDeltaFile
1.24+3-3games/tetris/scores.c
+3-31 files

OpenBSD/src AT05Xezusr.bin/ssh auth2-pubkey.c

   embiggen format buffer size for certificate serial number so
   that it will fit a full 64 bit integer. bz#3012 from Manoel Domingues
   Junior
VersionDeltaFile
1.88+2-2usr.bin/ssh/auth2-pubkey.c
+2-21 files

OpenBSD/src 0r0rUhhusr.bin/ssh ssh-keygen.1 sshkey.c

   When signing certificates with an RSA key, default to using the
   rsa-sha2-512 signature algorithm. Certificates signed by RSA keys
   will therefore be incompatible with OpenSSH < 7.2 unless the default
   is overridden.

   Document the ability of the ssh-keygen -t flag to override the
   signature algorithm when signing certificates, and the new default.

   ok deraadt@
VersionDeltaFile
1.159+11-2usr.bin/ssh/ssh-keygen.1
1.75+8-1usr.bin/ssh/sshkey.c
+19-32 files

OpenBSD/src wavQMPGshare/man/man1 update-plist.1

   It uses hw.ncpuonline since r1.170

   ok espie@
VersionDeltaFile
1.5+2-2share/man/man1/update-plist.1
+2-21 files

OpenBSD/src YdslfJKlib/libc/stdlib malloc.3

   clarify that later flags modify earlier flags;
   triggered by a question from Jan Stary <hans at stare dot cz> on misc@;
   OK otto@
VersionDeltaFile
1.125+4-2lib/libc/stdlib/malloc.3
+4-21 files

OpenBSD/src ZHE2uM5usr.bin/aucat aucat.c

   Fix integer overflow in block size calculation.

   Fixes truncation of contents of files with rate above 64kHz
   generate in off-line mode (i.e. -n option).
VersionDeltaFile
1.175+22-12usr.bin/aucat/aucat.c
+22-121 files

OpenBSD/src Gy0Sqxjregress/sys/dev/kcov kcov.c

   pass a context struct to each test function in order to reduce future churn
VersionDeltaFile
1.12+71-62regress/sys/dev/kcov/kcov.c
+71-621 files

OpenBSD/src iKl24tKsys/dev kcov.c

   During fuzzing, one or many fuzzing processes are often stuck waiting on
   memory from the subproc malloc subsystem which is exhausted. Attempt to
   circumvent such scenarios by allocation the kcov coverage buffer using
   km_alloc() instead.

   With help from kettenis@ and ok visa@
VersionDeltaFile
1.15+12-7sys/dev/kcov.c
+12-71 files

OpenBSD/src GVxIEMbsys/kern subr_witness.c

   include uvm.h -> uvm_extern.h; ok visa@
VersionDeltaFile
1.32+2-2sys/kern/subr_witness.c
+2-21 files

OpenBSD/src 5FSdUl1share/man/man1 update-plist.1

   unneeded escape, as noticed by jmc@ who can't commit right now
VersionDeltaFile
1.4+3-3share/man/man1/update-plist.1
+3-31 files

OpenBSD/src GOBOud0usr.bin/tmux control.c tmux.h

   Move the single command flag (CMD_CONTROL) into the shared flags.

OpenBSD/src oCaVCgcgames/tetris tetris.c scores.c

   Unveil tetris.

   ok brynet@, tedu@
VersionDeltaFile
1.34+22-3games/tetris/tetris.c
1.23+1-10games/tetris/scores.c
1.13+4-1games/tetris/tetris.h
+27-143 files

OpenBSD/src pn1ZAtUshare/man/man1 update-plist.1

   document -c and -I. Use compact literal for the examples, so that the
   description is not too lax.
VersionDeltaFile
1.3+68-1share/man/man1/update-plist.1
+68-11 files

OpenBSD/src n3BYBcSusr.sbin/ldapd modify.c

   Fix LDAP RFC reference in comment. Also noticed by martijn.

   ok guenther@, claudio@
VersionDeltaFile
1.22+3-3usr.sbin/ldapd/modify.c
+3-31 files

OpenBSD/src FVs0Yyfsys/arch/amd64/amd64 cpu.c

   Both FreeBSD and I appear to have been confused by intel's deep-dive doc:
   the RDCL_NO bit of the ARCH_CAPA msr only indicates one of the MDS
   subissues is mitigated; only the MDS_NO bit indicates they're all
   mitigated.

   ok jsg@ mlarkin@
VersionDeltaFile
1.136+2-3sys/arch/amd64/amd64/cpu.c
+2-31 files

OpenBSD/src LtvnsuBbin/md5 md5.c

   freezero() is of no use here, the computed digest is not a secret.
   ok millert@
VersionDeltaFile
1.95+2-2bin/md5/md5.c
+2-21 files

OpenBSD/src avPiYsSsys/arch/octeon/octeon machdep.c

   Add parsing for standard boot options.
VersionDeltaFile
1.111+28-2sys/arch/octeon/octeon/machdep.c
+28-21 files

OpenBSD/src 7TFWqibsys/dev softraid.c

   Correct free size. Fixes a panic when detaching crypto volumes.

   OK jan@, "yes please" tedu@
VersionDeltaFile
1.394+3-2sys/dev/softraid.c
+3-21 files

OpenBSD/src WIRLSLKsys/net bpf.c bpfdesc.h

   BPF: remove redundant reference counting of filedescriptors

   OK visa@, OK mpi@
VersionDeltaFile
1.175+9-44sys/net/bpf.c
1.38+1-2sys/net/bpfdesc.h
+10-462 files

OpenBSD/src NYi8uA5sbin/dhclient kroute.c

   Don't put dhclient into a loop when interface-mtu is present
   in a lease.

   dhclient.c r1.634 made every RTM_IFINFO restart the DHCP protocol
   and obtain a new/renewed lease. If the lease contained
   interface-mtu the interface MTU was set. An RTM_IFINFO is
   generated every time an interface MTU is set.

   So only set the interface MTU if it is different from the
   existing MTU. Fix using %d to print an unsigned value in passing.

   Noticed and fix inmproved & tested by Bj??rn Ketelaars while
   usihg the wifi on Dutch Railways.
VersionDeltaFile
1.163+10-4sbin/dhclient/kroute.c
+10-41 files

OpenBSD/src Vs9g2veregress/sys/kern Makefile

   Add realpath to regress
VersionDeltaFile
1.81+2-1regress/sys/kern/Makefile
+2-11 files

OpenBSD/src hk8oa8Ssys/arch/amd64/include cpu_full.h

   Oops, forgot to include a copyright year when originally added
VersionDeltaFile
1.5+2-2sys/arch/amd64/include/cpu_full.h
+2-21 files

OpenBSD/src d2WND8Osys/arch/amd64/amd64 mds.S cpu.c, sys/arch/amd64/include cpu.h

   Mitigate Intel's Microarchitectural Data Sampling vulnerability.
   If the CPU has the new VERW behavior than that is used, otherwise
   use the proper sequence from Intel's "Deep Dive" doc is used in the
   return-to-userspace and enter-VMM-guest paths.  The enter-C3-idle
   path is not mitigated because it's only a problem when SMT/HT is
   enabled: mitigating everything when that's enabled would be a _huge_
   set of changes that we see no point in doing.

   Update vmm(4) to pass through the MSR bits so that guests can apply
   the optimal mitigation.

   VMM help and specific feedback from mlarkin@
   vendor-portability help from jsg@ and kettenis@
   ok kettenis@ mlarkin@ deraadt@ jsg@

OpenBSD/src qPZrIzBgnu/usr.bin/clang/lld Makefile

   stop using the moribund MLINKS bsd.man.mk feature;
   no functional change intended;
   OK patrick@
VersionDeltaFile
1.17+4-2gnu/usr.bin/clang/lld/Makefile
+4-21 files

OpenBSD/src s37valggnu/usr.bin/binutils-2.17 Makefile.bsd-wrapper

   stop using the moribund MLINKS bsd.man.mk feature;
   no functional change intended;
   OK millert@

OpenBSD/src hfeTxOblib/libutil ber_get_string.3

   add various missing information
   and remove the lie that these functions would set errno;
   tweaks and OK jmc@; OK rob@ on the previous version
VersionDeltaFile
1.4+75-29lib/libutil/ber_get_string.3
+75-291 files

OpenBSD/src Z0PWsvqsys/dev/pci if_mcx.c

   Implement mcx_down() and use it to unwind unsuccessful mcx_up() attempts.
VersionDeltaFile
1.8+599-41sys/dev/pci/if_mcx.c
+599-411 files

OpenBSD/src gHndfJrusr.sbin/tcpdump print-gre.c

   handle ERSPAN type I

   type I and II share their GRE protocol, but you tell them apart by
   checking if a sequence number is used. type I does not use a sequence
   number and contains a bare ethernet frame. type II contains a
   sequence number and a shim header that is already handled by the
   code.

   tested with a Dell S5048F-ON and an encapsulated remote port mirror setup.
VersionDeltaFile
1.26+10-4usr.sbin/tcpdump/print-gre.c
+10-41 files

OpenBSD/src q03mdjgusr.bin/tmux tty-acs.c

   Change a couple of ACS characters to be more sensible and add a few
   missing ones, reported by Ricardo Banffy.
VersionDeltaFile
1.7+7-3usr.bin/tmux/tty-acs.c
+7-31 files

OpenBSD/src EcJqjU9usr.bin/tmux cmd-new-session.c

   Initialize default size variables, from Thomas Adam.
VersionDeltaFile
1.118+5-1usr.bin/tmux/cmd-new-session.c
+5-11 files

OpenBSD/src 0F71JFysys/kern kern_smr.c subr_xxx.c

   Add SMR_ASSERT_NONCRITICAL() in assertwaitok(). This eases debugging
   because now the error is detected before context switch.

   The sleep code path eventually calls assertwaitok() in mi_switch(),
   so the assertwaitok() in the SMR barrier function is somewhat redundant
   and can be removed.

   OK mpi@
VersionDeltaFile
1.4+1-4sys/kern/kern_smr.c
1.17+3-1sys/kern/subr_xxx.c
+4-52 files

OpenBSD/src KUtA0jmsys/dev/ic athn.c athnreg.h

   For AR9271, use correct clock control register and add a macro to access it.

   ok stsp@
VersionDeltaFile
1.104+2-2sys/dev/ic/athn.c
1.23+2-1sys/dev/ic/athnreg.h
+4-32 files

OpenBSD/src QKk0S8Vusr.sbin/vmd loadfile_elf.c loadfile.h

   Unbreak vmctl start foo -b /bsd -d disk.img -cL
   Define a local definition of LOADADDR() instead of pulling in
   machine/loadfile_machdep.h. vmd -b requires the addresses to be masked
   and the new bootloader no longer does that.
   OK pd@ kettenis@

OpenBSD/src usLfvABlib/libutil ber.c

   Add XXX to a comment.
VersionDeltaFile
1.7+2-2lib/libutil/ber.c
+2-21 files

OpenBSD/src 1L4jcegusr.sbin/ospfctl parser.c parser.h

   Accept address and number format for "ospfctl show database area XXX".

   OK denis@ benno@
VersionDeltaFile
1.21+41-3usr.sbin/ospfctl/parser.c
1.14+2-1usr.sbin/ospfctl/parser.h
+43-42 files

OpenBSD/src o65Fwg2lib/libutil ber_get_string.3 ber_read_elements.3

   Correct errno markup. Noticed by schwarze.

   Discussed with schwarze and jmc. ok schwarze

OpenBSD/src qUfzifvdistrib/sets/lists/man mi, gnu/usr.bin/perl Makefile.bsd-wrapper1

   Stop using the moribund MLINKS bsd.man.mk feature for Perl manuals.
   It was only used in a very unsystematic way for a small minority
   of Perl manual pages anyway, and using it consistently would entail
   unsustainable maintenance workload.
   Using input from afresh1@ espie@ and Grinnz#p5p;
   OK afresh1@ espie@ jmc@.

OpenBSD/src GeEEEBSdistrib/sets/lists/comp clang.sparc64 clang.macppc, gnu/llvm/tools/clang/docs/CommandGuide clang.rst

   Stop using the moribund MLINKS bsd.man.mk feature for clang(1).
   Patch clang.rst such that "gmake -f Makefile.sphinx man" keeps working.
   Using input from jsg@; OK patrick@; "no worries" deraadt@

OpenBSD/src sdKA23Susr.sbin/sensorsd sensorsd.c

   unveil code was unaware of -f option.
   From Anton Borowka.
   ok sthen
VersionDeltaFile
1.64+14-13usr.sbin/sensorsd/sensorsd.c
+14-131 files

OpenBSD/src Wbwe5sasys/kern kern_smr.c, sys/sys sched.h

   Remove incorrect optimization. The current logic for skipping idle CPUs
   does not establish strong enough ordering between CPUs. Consequently,
   smr_grace_wait() might incorrectly skip a CPU and invoke an SMR
   callback too early.

   Prompted by haesbaert@
VersionDeltaFile
1.3+3-21sys/kern/kern_smr.c
1.52+1-4sys/sys/sched.h
+4-252 files

OpenBSD/src LJFviwKlib/libc/gen err.3, lib/libc/stdio perror.3

   More consistently put remarks about the less useful LC_* categoties,
   i.e. those other than LC_CTYPE, into the CAVEATS section, and
   standardize wording somewhat.
   OK jmc@