OpenBSD/src iwgHjMPlib/libevent event.3

   Document bufferevent_setwatermark(). Initial diff from Geoff Hill on tech@ with
   some tweaks.

   With feedback and ok jmc@
VersionDeltaFile
1.55+30-2lib/libevent/event.3
+30-21 files

OpenBSD/src fUiMCXsetc/signify openbsd-65-syspatch.pub

   add 6.5 syspatch public key

OpenBSD/src Ae4pR5Ysys/arch/amd64/amd64 efifb.c mainbus.c, sys/arch/amd64/include efifbvar.h

   Remap the UEFI buffer early such that we can use a write combining mapping
   which speeds things up considerably compared to an uncached mapping.

   ok deraadt@

OpenBSD/src OK2SaHNsys/dev/rasops rasops.c

   Only clear the character backing store when the RI_CLEAR flag is set.

   ok deraadt@
VersionDeltaFile
1.57+7-5sys/dev/rasops/rasops.c
+7-51 files

OpenBSD/src rW9ap5Uusr.bin/top utils.c top.local.h

   Remove unused Table_size define and digits() function.
VersionDeltaFile
1.29+1-17usr.bin/top/utils.c
1.5+1-13usr.bin/top/top.local.h
1.11+1-2usr.bin/top/utils.h
+3-323 files

OpenBSD/src rorbovnusr.bin/top top.c machine.c

   Use user_from_uid() and uid_from_user() directly.  The wrappers
   in username.c are now so simple there is no longer a good reason
   to use them.  OK deraadt@

OpenBSD/src dyievmfregress/lib/libcrypto/wycheproof wycheproof.go

   Add a comment on the acceptable RSASSA cases.

OpenBSD/src k7u6Tppregress/lib/libcrypto/wycheproof wycheproof.go

   gather statistics in checkAead{Open,Seal}() as well.

OpenBSD/src MwEtbSasys/dev/pci if_iwm.c

   Back out the following if_iwm.c revisions:

   r1.232 Fix length checks in the receive path of iwm(4)
   r1.230 Add monitor mode support to iwm(4)
   r1.229 Implement Rx of multiple frames per interrupt in the iwm(4) driver

   There is an apparent block-ack problem (base.tgz takes 8 hours to download)
   which goes away when these changes are reverted. To be revisited after release.

   ok deraadt@
VersionDeltaFile
1.233+79-190sys/dev/pci/if_iwm.c
+79-1901 files

OpenBSD/src RifAVYGregress/lib/libcrypto/wycheproof wycheproof.go

   remove some unneeded checks

OpenBSD/src YWfR104regress/lib/libcrypto/wycheproof wycheproof.go

   gather and print some statistics on the acceptable cases we need to
   look into

OpenBSD/src HGjOPLEsys/arch/macppc/conf RAMDISK

   Enable USB bwfm(4) on macppc RAMDISK as well, matching GENERIC.
   Passes 'make release' build.
VersionDeltaFile
1.118+2-1sys/arch/macppc/conf/RAMDISK
+2-11 files

OpenBSD/src dVhDGFPdistrib/miniroot install.sub, sbin/dhclient dhclient.c

   Harmonize spacing after ellipses in displayed messages.

   We were using spacing after ellipses in an inconsistent way in the
   installer. Standardize on using "... " everywhere and take into account
   the cursor position while we are waiting for the task to complete: the
   cursor is now always positioned after the last dot, and the space is
   added when displaying completion confirmation.

   While there, also take cursor position into account in vfs_shutdown(),
   and remove the extra leading space before ticks in dhclient.

   OK deraadt@
VersionDeltaFile
1.1104+10-10distrib/miniroot/install.sub
1.280+4-4sys/kern/vfs_subr.c
1.577+2-2sbin/dhclient/dhclient.c
+16-163 files

OpenBSD/src zXc91Opregress/lib/libcrypto/wycheproof wycheproof.go

   more flags printing

OpenBSD/src l8uASo9lib/libc/gen pwcache.c

   Correct the uid_from_user() and gid_from_group() comments.
VersionDeltaFile
1.15+7-7lib/libc/gen/pwcache.c
+7-71 files

OpenBSD/src WKPtpiMsbin/sysctl sysctl.c

   Revert previous. It broke /etc/rc.

   Prompted by kn@
VersionDeltaFile
1.236+65-8sbin/sysctl/sysctl.c
+65-81 files

OpenBSD/src DfwSL3Tusr.bin/top username.c

   fix uid -> username lookup
   ok deraadt@
VersionDeltaFile
1.20+5-3usr.bin/top/username.c
+5-31 files

OpenBSD/src 52s57Boregress/lib/libcrypto/wycheproof wycheproof.go

   improve logic involving acceptableAudit

OpenBSD/src DegGw5Iregress/lib/libcrypto/wycheproof wycheproof.go

   Swap order of "action" and "wt.Flags" in a few fmt.Printfs.

OpenBSD/src cllxdnZregress/lib/libcrypto/wycheproof wycheproof.go Makefile

   Introduce a couple of convenience targets to help with auditing the
   acceptable cases.

OpenBSD/src VweR892regress/lib/libcrypto/wycheproof wycheproof.go

   Print the flags field in INFO: and FAIL: messages. It's helpful in
   identifying the important failures while auditing.

OpenBSD/src vcaKlnrusr.sbin/bgpd config.c

   sync host*() changes from pfctl

   This simplifies host() and merges host_v{4,6}() into host_ip() as recently
   done for pfctl and ntpd.

   Tested and OK denis, OK deraadt, "go ahead" benno
VersionDeltaFile
1.76+28-51usr.sbin/bgpd/config.c
+28-511 files

OpenBSD/src FzmkiMZusr.bin/rdistd server.c

   Use password/group cache functions and avoid stashing a pointer to
   the return value of getgrgid(3) or getgrnam(3) which relies on
   undefined behavior.  The rdist server will now use getgroups(2) to
   determine group membership of the invoking user.  In addition, there
   is now one implementation of tilde expansion instead of two.
   OK tb@ tim@
VersionDeltaFile
1.45+20-32usr.bin/rdistd/server.c
+20-321 files

OpenBSD/src pGkW9WZusr.bin/rdist common.c expand.c

   Use password/group cache functions and avoid stashing a pointer to
   the return value of getgrgid(3) or getgrnam(3) which relies on
   undefined behavior.  The rdist server will now use getgroups(2) to
   determine group membership of the invoking user.  In addition, there
   is now one implementation of tilde expansion instead of two.
   OK tb@ tim@
VersionDeltaFile
1.39+24-15usr.bin/rdist/common.c
1.17+8-28usr.bin/rdist/expand.c
1.38+3-1usr.bin/rdist/defs.h
+35-443 files

OpenBSD/src IslDoBJsbin/sysctl sysctl.c

   Stop displaying vfsconf reference counts so that the vfc_refcount field
   can be removed from struct mount.

   As a result of this diff, arrays vfsname[] and vfsvars[] are indexed
   by filesystem typenum. This makes the vfs_typenums[] array redundant.

   OK bluhm@ mpi@
VersionDeltaFile
1.235+8-65sbin/sysctl/sysctl.c
+8-651 files

OpenBSD/src 4fxPtDOsbin/disklabel disklabel.8 editor.c

   Increase /usr/local max size to 20 GB in default template
   ok krw@ deraadt@ jca@
VersionDeltaFile
1.129+3-3sbin/disklabel/disklabel.8
1.351+2-2sbin/disklabel/editor.c
+5-52 files

OpenBSD/src 8Wfsamhusr.sbin/vmctl vmctl.8

   Add explanations about vmctl send command

   ok jmc@ jca@ mlarkin@
   mdoc tip from bentley@
VersionDeltaFile
1.48+9-2usr.sbin/vmctl/vmctl.8
+9-21 files

OpenBSD/src w6fnBmEusr.bin/ssh clientloop.c ssh_config.5

   Allow ssh_config ForwardX11Timeout=0 to disable the timeout and allow
   X11 connections in untrusted mode indefinitely. ok dtucker@
VersionDeltaFile
1.318+28-15usr.bin/ssh/clientloop.c
1.285+6-2usr.bin/ssh/ssh_config.5
+34-172 files

OpenBSD/src EaRgprtsys/arch/macppc/conf GENERIC

   Enable bwfm(4) in GENERIC on macppc.
   Tested by Christian Hammerschmidt.
VersionDeltaFile
1.266+2-1sys/arch/macppc/conf/GENERIC
+2-11 files

OpenBSD/src mkzK0oDusr.bin/ssh sshd.c

   when compiled with GSSAPI support, cache supported method OIDs by
   calling ssh_gssapi_prepare_supported_oids() regardless of whether
   GSSAPI authentication is enabled in the main config.

   This avoids sandbox violations for configurations that enable GSSAPI
   auth later, e.g.

   Match user djm
        GSSAPIAuthentication yes

   bz#2107; ok dtucker@
VersionDeltaFile
1.516+2-3usr.bin/ssh/sshd.c
+2-31 files

OpenBSD/src t3LmR2tusr.bin/ssh authfile.c

   In sshkey_in_file(), ignore keys that are considered for being too
   short (i.e. SSH_ERR_KEY_LENGTH). These keys will not be considered to
   be "in the file". This allows key revocation lists to contain short
   keys without the entire revocation list being considered invalid.

   bz#2897; ok dtucker
VersionDeltaFile
1.131+10-4usr.bin/ssh/authfile.c
+10-41 files

OpenBSD/src uht0fJVusr.sbin/bgpd parse.y

   Both AS 23456 and AS 0 are reserved and can nor be used. Extend check for
   AS 0 and adjust yyerror message to print the right number.
   With input and OK denis@
VersionDeltaFile
1.359+5-5usr.sbin/bgpd/parse.y
+5-51 files

OpenBSD/src banrP5Fetc/signify openbsd-65-fw.pub

   6.5 firmware key
VersionDeltaFile
1.1+2-0etc/signify/openbsd-65-fw.pub
+2-01 files

OpenBSD/src FZwxySvusr.sbin/bgpd parse.y

   better yyerror messages. "syntax error" is generally not very helpful.
   OK denis@
VersionDeltaFile
1.358+4-4usr.sbin/bgpd/parse.y
+4-41 files

OpenBSD/src w25uf1Fshare/man/man4 pci.4

   update rtwn;
VersionDeltaFile
1.365+3-3share/man/man4/pci.4
+3-31 files

OpenBSD/src xGehNK4regress/usr.sbin/bgpd/config bgpd.conf.9.ok bgpd.conf.9.in

   Basic testing of roa-sets.

OpenBSD/src k5NEzCkusr.sbin/bgpd parse.y

   Move setting of the PREFIXSET_FLAG_OPS higher up since prefixset_item rule
   is now also used by roa-set. Also set the prefix operation for roa-set
   items to OP_NONE since that what it actually needs to be.
VersionDeltaFile
1.357+7-4usr.sbin/bgpd/parse.y
+7-41 files

OpenBSD/src 9XCcAlbregress/usr.sbin/bgpd/config bgpd.conf.7.in bgpd.conf.7.ok

   Add some more prefix-set test cases. Mainly to test edge cases in the RB
   tree implementation now used.

OpenBSD/src djjKRKKusr.sbin/bgpd parse.y rde.c

   Implement code to parse, print and reload roa-set tables.
   This is sharing a lot of code with prefixset which makes all a bit easier.
   A roa-set is defined like this:
   roa-set "test2" {
     1.2.3.0/24 source-as 1,
     1.2.8.0/22 maxlen 24 source-as 3
   }
   No support for acting on this data yet.
   Put it in deraadt@, OK benno@, input and OK denis@

OpenBSD/src tsZsCEVusr.bin/ssh ssh.c ssh_config.5

   Treat connections with ProxyJump specified the same as ones with a
   ProxyCommand set with regards to hostname canonicalisation (i.e.
   don't try to canonicalise the hostname unless CanonicalizeHostname
   is set to 'always').

   Patch from Sven Wegener via bz#2896
VersionDeltaFile
1.493+3-4usr.bin/ssh/ssh.c
1.284+4-2usr.bin/ssh/ssh_config.5
+7-62 files

OpenBSD/src 0AHJG91distrib/armv7/miniroot/am335x Makefile, distrib/armv7/ramdisk list

   U-Boot 2018.05 and later will attempt to load a dtb for PocketBeagle if
   the hardware is detected.  Add this to the miniroot/ramdisk.
   requires dtb 4.18

   U-Boot 2018.09 and later will load a dtb for 'SanCloud BeagleBone
   Enhanced' if required which will be in dtb 4.19 after linux 4.19 is
   released and can be added then.

OpenBSD/src k0mF9NYshare/man/man4 rtwn.4

   mention RTL8188EE support
VersionDeltaFile
1.6+8-6share/man/man4/rtwn.4
+8-61 files

OpenBSD/src kw0Acw3sys/dev/ic r92creg.h rtwn.c, sys/dev/pci if_rtwn.c

   Add support for RTL8188EE.

   This needs a new firmware image, which should be added to the rtwn
   firmware package shortly.

   testing and lots of help from kevlo@
   ok kevlo@ stsp@
VersionDeltaFile
1.33+419-43sys/dev/pci/if_rtwn.c
1.18+51-3sys/dev/ic/r92creg.h
1.38+43-11sys/dev/ic/rtwn.c
1.11+16-4sys/dev/ic/rtwnvar.h
+529-614 files

OpenBSD/src 9xxmY3qusr.sbin/dvmrpd rde_srt.c

   add missing braces implied by indentation
   ok millert@ claudio@
VersionDeltaFile
1.27+3-2usr.sbin/dvmrpd/rde_srt.c
+3-21 files

OpenBSD/src 7HgWvvHusr.bin/ssh servconf.c

   actually make CASignatureAlgorithms available as a config option
VersionDeltaFile
1.342+2-1usr.bin/ssh/servconf.c
+2-11 files

OpenBSD/src mloEWbwusr.sbin/unbound configure, usr.sbin/unbound/daemon worker.c

   merge unbound 1.8.0

OpenBSD/src wpZEtYfusr.sbin/unbound configure, usr.sbin/unbound/daemon worker.c

   import unbound 1.8.0, tested by myself and benno@

OpenBSD/src UkyQhErsys/kern kern_sysctl.c, sys/netinet in_pcb.c in_pcb.h

   As a step towards per inpcb or socket locks, remove the net lock
   for netstat -a.  Introduce a global mutex that protects the tables
   and hashes for the internet PCBs.  To detect detached PCB, set its
   inp_socket field to NULL.  This has to be protected by a per PCB
   mutex.  The protocol pointer has to be protected by the mutex as
   netstat uses it.
   Always take the kernel lock in in_pcbnotifyall() and in6_pcbnotify()
   before the table mutex to avoid lock ordering problems in the notify
   functions.
   OK visa@

OpenBSD/src Ab2kNq7share/man/man5 disktab.5

   missing space after comma
VersionDeltaFile
1.19+3-3share/man/man5/disktab.5
+3-31 files

OpenBSD/src LwxpHVbetc/etc.alpha disktab, etc/etc.hppa disktab

   grow alpha and hppa media to accomodate some recent growth