OpenBSD/src 6SW0NlQlibexec/ld.so boot.c Makefile, libexec/ld.so/hppa boot_md.c Makefile.inc

   For more archs, ld.so itself only needs/uses the arch's "just add load offset"
   'relative' relocation.  Take advantage of that to simplify ld.so's self-reloc
   code:
    * give the exceptional archs (hppa and mips64) copies of the current boot.c
      as boot_md.c
    * teach the Makefile to use boot_md.c when present
    * reduce boot.c down to the minimum necessary to handle just relative reloc
    * teach the Makefile to fail if the built ld.so has other types of relocs

   ok visa@ kettenis@

OpenBSD/src ERuojFXusr.bin/tmux window-copy.c tmux.1

   Add formats for cursor and selection position in copy mode, from Jason Felice.
VersionDeltaFile
1.236+12-2usr.bin/tmux/window-copy.c
1.691+8-2usr.bin/tmux/tmux.1
+20-42 files

OpenBSD/src 9Xmsvx9sbin/unwind resolver.c

   Plug mem leak when the list of dhcp resolvers didn't change. ok florian@
VersionDeltaFile
1.46+8-2sbin/unwind/resolver.c
+8-21 files

OpenBSD/src mwINDbnsys/scsi sd.c

   Use !ISSET() for unset flag checks.
VersionDeltaFile
1.290+17-17sys/scsi/sd.c
+17-171 files

OpenBSD/src mMacXjKsys/scsi sd.c

   Use ISSET() for the easier flag checks.
VersionDeltaFile
1.289+54-54sys/scsi/sd.c
+54-541 files

OpenBSD/src ZgYt1rRsys/scsi sd.c

   Fix typo in previous, link->flag is link->flags.
VersionDeltaFile
1.288+2-2sys/scsi/sd.c
+2-21 files

OpenBSD/src TbsnmIzsys/scsi sd.c

   Resolve mix of '&=' and CLR() usage in favour of CLR().
VersionDeltaFile
1.287+6-6sys/scsi/sd.c
+6-61 files

OpenBSD/src p4Lp3VPsys/scsi sd.c

   Resolve mix of '|=' and SET() usage in favour of SET().
VersionDeltaFile
1.286+12-12sys/scsi/sd.c
+12-121 files

OpenBSD/src dhDpjModistrib/miniroot install.sub, usr.sbin/syspatch syspatch.sh

   Determine the OS version in a way that won't break after 9.9.
   Do it the same way in all three copies of the code.

   Based on a patch from Chris Waddey.
   with & ok ajacoutot

OpenBSD/src LX50VOkusr.bin/tmux layout-custom.c

   Do not crash trying to fix layout size if only one cell, from Azat Khuzhin.
VersionDeltaFile
1.18+2-2usr.bin/tmux/layout-custom.c
+2-21 files

OpenBSD/src LCQGXRmusr.sbin/bgpctl bgpctl.8

   The size limit of the shutdown reason was relaxed to 255 characters but
   instead of mentioning the limit, remove it. bgpctl will properly error
   out if the reason is too long.
   OK job@ sthen@
VersionDeltaFile
1.93+2-8usr.sbin/bgpctl/bgpctl.8
+2-81 files

OpenBSD/src O2b3xH7sys/miscfs/deadfs dead_vnops.c

   Unlock the vnode in vop_inactive of deadfs. The unlock operation is
   a no-op at the moment, but future work will introduce an actual lock
   that has to be released.

   OK mpi@ anton@
VersionDeltaFile
1.30+12-2sys/miscfs/deadfs/dead_vnops.c
+12-21 files

OpenBSD/src 5U8SGzKsys/netinet6 nd6_nbr.c

   Don't check that the ipv6 source address of a neighbor advertisment is
   from a neighbor's address. Sthen@ dug out RFC 4861 4.4 that says that
   the source address is "An address assigned to the interface from which
   the advertisement is sent." -- which can be from a network that the
   receiver does not know about. Indeed my provider sends such a neighbor
   advertisment for my default gateway, which breaks my uplink.

   Claudio@ added this check for symetry with NetBSD code when he added
   the same check to nd6_ns_input(), where it is needed to fix
   CVE-2008-2476. See also OpenBSD 4.2 errata 15.

   ok claudio@, kn@
VersionDeltaFile
1.128+1-10sys/netinet6/nd6_nbr.c
+1-101 files

OpenBSD/src gQDYu0rusr.bin/doas doas.c

   add some checks to avoid UID_MAX (-1) here. this is not problematic with
   the current code, but it's probably safer this way.
   ok deraadt
VersionDeltaFile
1.82+7-3usr.bin/doas/doas.c
+7-31 files

OpenBSD/src zyQ1y5Hlib/libc/gen login_cap.c

   setting uid to -1 won't work with setresuid, so detect that condition
   and return an error instead. may prevent some unset/missing confusion.
   ok deraadt millert
VersionDeltaFile
1.38+19-1lib/libc/gen/login_cap.c
+19-11 files

OpenBSD/src O3OvoImsys/dev/pci if_iwm.c if_iwmreg.h

   Add support for dynamic queue allocation (DQA) to iwm(4).

   Required for new firmware images because the command queue index has changed.
   The driver remains compatible with our current firmware images for now.

   Tested by benno, jan, kevlo, florian, jmatthew, Tracey Emery
   ok jmatthew
VersionDeltaFile
1.254+148-68sys/dev/pci/if_iwm.c
1.30+49-2sys/dev/pci/if_iwmreg.h
1.39+2-1sys/dev/pci/if_iwmvar.h
+199-713 files

OpenBSD/src MiwTnOpsbin/unwind parse.y, usr.sbin/rad parse.y

   Plug mem leak in error path; ok florian@ who also spotted the rad case
VersionDeltaFile
1.10+3-1sbin/unwind/parse.y
1.15+3-1usr.sbin/rad/parse.y
+6-22 files

OpenBSD/src nsgw7kfsbin/unwind parse.y

   Another case of using yacc effectively to avoid repeating code; ok florian@
VersionDeltaFile
1.9+11-36sbin/unwind/parse.y
+11-361 files

OpenBSD/src eeLsIwfsbin/unwind parse.y

   Reafctor forwarder clause to avoid having to write out the same code
   a couple of times by declaring optional stuff the proper way. ok @florian
VersionDeltaFile
1.8+40-164sbin/unwind/parse.y
+40-1641 files

OpenBSD/src u56Os55etc/etc.loongson login.conf, etc/etc.octeon login.conf

   Bump datasize-cur for pbuild on mips64, to make room for modernity.

   OK deraadt@

OpenBSD/src 5VhGKUT. Makefile.cross

   Add mips64el to LP64_ARCH.

   OK patrick@
VersionDeltaFile
1.106+2-2Makefile.cross
+2-21 files

OpenBSD/src joEu0gWsys/arch/arm64/conf RAMDISK GENERIC

   Enable sxidog(4).

   ok jsg@

OpenBSD/src FKkFO7jsys/dev/fdt sxidog.c

   Avoid including an armv7 MD header.

   ok jsg@
VersionDeltaFile
1.2+3-2sys/dev/fdt/sxidog.c
+3-21 files

OpenBSD/src lBPKd1Esys/dev/pci/drm/amd/display/dc/dce100 dce100_resource.c, sys/dev/pci/drm/amd/display/dc/dce110 dce110_resource.c

   drm/amd/display: num of sw i2c/aux engines less than num of connectors

   From Hersen Wu
   0e8e4fbf8d8905071c045f2922de55adbe1a6abe in mainline linux

   Avoids a NULL deref of aux_engine in dc_link_aux_transfer() with
   'ASRock A320M-HDV R4.0' and Raven Ridge reported by semarie@ on bugs@.
   ok semarie@

OpenBSD/src IWebH4vsbin/pfctl pfctl_parser.c parse.y, usr.bin/systat pftop.c

   Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX.
   This is the userland portion.  OK deraadt@ sashan@

OpenBSD/src CEDNIyFsbin/ifconfig ifconfig.c brconfig.c

   Fix some compiler warings in ifconfig(8).  Move all prototypes and
   variables used in multiple .c files into common ifconfig.h.  Basically
   this renames brconfig.h to ifconfig.h and also uses it for sff.c.
   Fix missing prototypes.  Global variable name s is bad as it shadows
   local variables.  Call it sock and use it everywhere.
   OK deraadt@

OpenBSD/src dTCDrKusys/arch/arm64/arm64 trap.c, sys/arch/arm64/include armreg.h

   Cache flush operations on arm64 were being incorrectly treated as write
   operations, however they should be treated as read per the design.
   Switch to using bit defines, correct said defines.
   Fixes cache flushing causing Firefox to abort.
   ok kettenis@ kurt@

OpenBSD/src Z1MYKwrlib/libcrypto/rsa rsa_oaep.c

   Sync RSA_padding_check_PKCS1_OAEP_mgf1().

   Update RSA_padding_check_PKCS1_OAEP_mgf1() with code from OpenSSL 1.1.1d
   (with some improvements/corrections to comments).

   This brings in code to make the padding check constant time.

   ok inoguchi@ tb@
VersionDeltaFile
1.33+111-64lib/libcrypto/rsa/rsa_oaep.c
+111-641 files

OpenBSD/src p79QBxtusr.bin/nc netcat.c

   Fix -N flag to actually shut down the (entire) socket when the input
   goes away. This allows for using nc in cases where the network server
   will no longer expect anything after eof, instead of hanging waiting
   for more input from our end.

   Additionaly, shut down if tls is in use if either side of the socket
   goes away, since we higher level TLS operations (tls_read and write)
   will require the socket to be both readable and writable as we can
   get TLS_WANT_POLLIN or TLS_WANT_POLLOUT on either operation.

   deraadt@ buying it.  found by sthen@
VersionDeltaFile
1.207+18-1usr.bin/nc/netcat.c
+18-11 files

OpenBSD/src tljhq8alib/libcrypto constant_time_locl.h, lib/libcrypto/err err.c

   Provide err_clear_last_constant_time() as a way of clearing an error from
   the top of the error stack in constant time.

   This will be used by upcoming RSA changes.

   From OpenSSL 1.1.1d.

   ok inoguchi@ tb@

OpenBSD/src ginQ3o9sys/arch/sgi/dev iockbc.c mkbc.c

   sgi: iockbc(4), mkbc(4): tsleep(9) -> tsleep_nsec(9); ok kn@ visa@

OpenBSD/src syZUVClsys/net pf.c if_pflog.c, sys/tmpfs tmpfs_subr.c

   Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX.
   This is clearer and more consistent with the rest of the kernel.
   OK deraadt@ sashan@
VersionDeltaFile
1.1090+7-7sys/net/pf.c
1.86+2-2sys/net/if_pflog.c
1.23+1-2sys/tmpfs/tmpfs_subr.c
+10-113 files

OpenBSD/src 2tNz7ijdistrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1539+1-1distrib/sets/lists/man/mi
+1-11 files

OpenBSD/src ycQnAvTsys/netinet in_pcb.h, sys/netinet6 in6_pcb.c

   in6_setsockaddr and in6_setpeeraddr can't fail, so let them return void.

   this also brings them in line with the AF_INET equivalents.

   ok visa@ bluhm@
VersionDeltaFile
1.109+3-7sys/netinet6/in6_pcb.c
1.117+3-3sys/netinet/in_pcb.h
+6-102 files

OpenBSD/src APkj773share/man/man4 sxidog.4 Makefile, share/man/man4/man4.armv7 Makefile sxidog.4

   Make sxidog(4) MI.

OpenBSD/src UDoeKyosys/arch/armv7/sunxi files.sunxi sxidog.c, sys/dev/fdt sxidog.c files.fdt

   Move sxidog(4) such that we can use it on arm64.

   ok patrick@

OpenBSD/src j12HtFYusr.sbin/rpki-client rpki-client.8 main.c

   tweak previous; help/ok claudio

OpenBSD/src COZNtHRregress/sbin Makefile

   Link regress ifconfig to build.
VersionDeltaFile
1.12+2-2regress/sbin/Makefile
+2-21 files

OpenBSD/src zvr0zt2regress/sbin/ifconfig Makefile Makefile

   Test various combinations of setting interface addresses with 
   ifconfig and check the expected result.  This covers the ifconfig(8)
   program and the SIOCAIFADDR and SIOCDIFADDR ioctl(2).

OpenBSD/src ZsIt3HZusr.sbin/rpki-client main.c output-bird.c

   Add an output format for bird and one doing CSV. Also update the manpage
   to include all the changes.

OpenBSD/src Ik3blRBusr.sbin/rpki-client output-json.c output-bgpd.c

   Clean up header includes. Most are no longer required.

OpenBSD/src cp9j9nbusr.sbin/rpki-client roa.c

   Set the maxlength to either the prefixlen itself or the value from the ROA.
   This way maxlength will always be set to a reasonable value and there is
   no need to use a conditional to print the value.
VersionDeltaFile
1.6+3-2usr.sbin/rpki-client/roa.c
+3-21 files

OpenBSD/src i74TUvJsys/netinet if_ether.c

   tsleep(9) -> tsleep_nsec(9)

   ok cheloha@, visa@
VersionDeltaFile
1.241+3-2sys/netinet/if_ether.c
+3-21 files

OpenBSD/src nQmODknsys/net if_tun.c switchctl.c

   tsleep(9) -> tsleep_nsec(9)

   ok cheloha@, visa@, akoshibe@
VersionDeltaFile
1.191+5-5sys/net/if_tun.c
1.16+3-2sys/net/switchctl.c
+8-72 files

OpenBSD/src 2N5DgZ5usr.bin/ssh auth.c

   potential NULL dereference for revoked hostkeys; reported by
   krishnaiah bommu
VersionDeltaFile
1.142+2-2usr.bin/ssh/auth.c
+2-21 files

OpenBSD/src lY8AAmZusr.bin/ssh ssh-keygen.c

   free buf before return; reported by krishnaiah bommu
VersionDeltaFile
1.356+2-1usr.bin/ssh/ssh-keygen.c
+2-11 files

OpenBSD/src vXC6vtIusr.sbin/vmd pci.c

   vmd(8): provide some additional info in a debug msg

   Print the guest %rip when it tries to do I/O to a nonexistent port.
   Also convert the message to a DPRINTF so that it doesn't leak
   guest address information into any logging the host might be doing
   under normal non-debug conditions.
VersionDeltaFile
1.28+4-3usr.sbin/vmd/pci.c
+4-31 files

OpenBSD/src 3QNQYtWsys/dev/acpi dsdt.c

   Add a few newer _OSI strings to the parser.

   Early in the release cycle is the right time to do this.

   "yes please" jcs@.  ok deraadt@
VersionDeltaFile
1.249+7-1sys/dev/acpi/dsdt.c
+7-11 files

OpenBSD/src 1UEUeQFsys/dev/pci pcidevs.h pcidevs_data.h

   regen
VersionDeltaFile
1.1890+1-1sys/dev/pci/pcidevs.h
1.1885+1-1sys/dev/pci/pcidevs_data.h
+2-22 files

OpenBSD/src ZjdJ9Npsys/dev/pci pcidevs

   Fix a bunch of lines that had whitespace at the end
VersionDeltaFile
1.1897+22-22sys/dev/pci/pcidevs
+22-221 files