OpenBSD/src B4TwMnL — sys/dev/ic athn.c

   Remove unused athn_rx_abort().
VersionDeltaFile
1.113+1-19sys/dev/ic/athn.c
+1-191 files

OpenBSD/src nyeboWR — sys/dev/ic athnvar.h

   Removed unused eep_def softc field.
VersionDeltaFile
1.43+1-2sys/dev/ic/athnvar.h
+1-21 files

OpenBSD/src QpWuxoG — sys/arch/amd64/amd64 process_machdep.c

   re-mask mxcsr.  from Acts1631.
   ok kettenis
VersionDeltaFile
1.19+2-1sys/arch/amd64/amd64/process_machdep.c
+2-11 files

OpenBSD/src GY6Yo8c — sys/dev/ic qwx.c

   Revert %u -> 0x%x part.

   ok krw@
VersionDeltaFile
1.151+2-2sys/dev/ic/qwx.c
+2-21 files

OpenBSD/src 8rWoNCi — sys/uvm uvm_pager.c

   drop the swap vnode hold on async pageout completion

   OK kirill@
VersionDeltaFile
1.102+3-1sys/uvm/uvm_pager.c
+3-11 files

OpenBSD/src kC9nSM5 — sbin/scan_ffs scan_ffs.c

   Use better data structures to remove the need for an alignment attribute.
   ok millert@
VersionDeltaFile
1.26+3-3sbin/scan_ffs/scan_ffs.c
+3-31 files

OpenBSD/src gwf2mh7 — sys/dev/fdt if_dwxe.c

   Don't deallocate the Tx and Rx rings in dwxe_down() and only allocate
   them in dwxe_up() if they haven't been allocated already.  This avoids
   memory allocations that might sleep in DVACT_RESUME.

   ok deraadt@
VersionDeltaFile
1.25+37-41sys/dev/fdt/if_dwxe.c
+37-411 files

OpenBSD/src vBDFIs4 — sbin/ifconfig sff.c

   Fix the OM3 link length for SFP modules.

   SFF-8472 defines the byte 19 length in units of 10 meters, the same as
   the OM1 and OM2 lengths, so scale it by 10 instead of 20.

   ok deraadt@ dlg@
VersionDeltaFile
1.25+2-2sbin/ifconfig/sff.c
+2-21 files

OpenBSD/src 5UlN1WH — sys/kern sys_futex.c

   fix a mistake i made with the scope of futex addresses.

   only futexes pointing at shared memory mappings should allow
   coordination between processes.

   Wouter Spee reported a preforking gunicorn server would with a futex
   in a COW mapping across a fork had futex wakeups delivered to the
   wrong process.

   this is a slightly different fix to the one they provided, but
   semantically equivalent.

   ok kettenis@ deraadt@
VersionDeltaFile
1.27+4-7sys/kern/sys_futex.c
+4-71 files

OpenBSD/src WRkmK0v — sys/dev/ic qwx.c

   Fix debug mode.

   ok stsp@
VersionDeltaFile
1.150+3-3sys/dev/ic/qwx.c
+3-31 files

OpenBSD/src n7loYWd — regress/usr.bin/pkgconf/t/solver path-requires-traversal.test path-requires-file.test, regress/usr.bin/pkgconf/tests/api test-bytecode.c test-util.c

   Update pkgconf regress to 3.0.11
VersionDeltaFile
1.1+116-0regress/usr.bin/pkgconf/tests/api/test-util.c
1.2+31-0regress/usr.bin/pkgconf/tests/api/test-bytecode.c
1.1+8-0regress/usr.bin/pkgconf/tests/lib1/variable-self-reference-growth.pc
1.1+6-0regress/usr.bin/pkgconf/t/solver/path-requires-traversal.test
1.1+6-0regress/usr.bin/pkgconf/t/solver/path-requires-file.test
1.1+6-0regress/usr.bin/pkgconf/t/solver/path-requires-alias.test
+173-010 files not shown
+206-216 files

OpenBSD/src gXa2N66 — usr.bin/pkgconf/cli main.c, usr.bin/pkgconf/libpkgconf config.h libpkgconf.h

   Update to pkgconf 3.0.11

   no concerns by sthen and jca

   * Security fixes:
     - Package paths are accepted only in queries made directly on the command
       line, not in Requires or Requires.private.  This prevents a crafted pc(5)
       file from causing infinite recursion by requiring itself through a path.
       See GHSA-qcp5-98c5-hvh7.
     - Limit the bytecode produced when a variable is repeatedly redefined in
       terms of itself.  This prevents a crafted pc(5) file from causing
       exponential memory growth through self-referential variable expansion.
       See GHSA-fr7f-m8jv-4qcm.

   * Documentation and command-line help:
     - List the existing --debug and --license-file options in --help output.
       Patch by Andrej730.

   https://github.com/pkgconf/pkgconf/blob/pkgconf-3.0.11/NEWS
VersionDeltaFile
1.5+42-14usr.bin/pkgconf/libpkgconf/pkg.c
1.2+46-0usr.bin/pkgconf/libpkgconf/bytecode.c
1.3+3-2usr.bin/pkgconf/libpkgconf/tuple.c
1.8+2-2usr.bin/pkgconf/libpkgconf/libpkgconf.h
1.10+1-1usr.bin/pkgconf/libpkgconf/config.h
1.5+2-0usr.bin/pkgconf/cli/main.c
+96-196 files

OpenBSD/src Q2xCKrL — usr.sbin/rpki-client ca.c

   rpki-client: fix doc comment for carepo_increment()

   ca.c 1.17 changed carepo_increment() to a void function, so it no longer
   returns the counter.

   Pointed out by Ties de Kock
VersionDeltaFile
1.18+2-2usr.sbin/rpki-client/ca.c
+2-21 files

OpenBSD/src d2WHxvY — usr.bin/sndiod listen.c

   sndiod: Use size_t to store the socket path length
VersionDeltaFile
1.21+3-2usr.bin/sndiod/listen.c
+3-21 files

OpenBSD/src qQriJu7 — usr.bin/sndiod listen.c file.c

   sndiod: Handle -1 return value from snprintf(3)

   Wrap snprintf(3) in a new xsnprintf() function that aborts if -1 is
   returned. Use the value returned by xsnprintf() to determine the
   expected output string size (i.e. the number of bytes that would have
   been written if the buffer size was unlimited).
VersionDeltaFile
1.148+28-31usr.bin/sndiod/dev.c
1.10+31-1usr.bin/sndiod/utils.c
1.48+6-7usr.bin/sndiod/midi.c
1.9+10-2usr.bin/sndiod/utils.h
1.30+5-5usr.bin/sndiod/file.c
1.20+4-4usr.bin/sndiod/listen.c
+84-504 files not shown
+93-5910 files

OpenBSD/src oVeExBs — usr.sbin/rpki-client http.c

   rpki-client: switch a warn() to warnx() in http.c

   Pointed out by Ties de Kock
VersionDeltaFile
1.112+3-2usr.sbin/rpki-client/http.c
+3-21 files

OpenBSD/src wWWUJhH — usr.bin/awk run.c

   Fix buffer overflow in printf %s and %c formats for UTF-8 chars.

   Awk allocates its buffer based on the length in characters instead
   of bytes, which can lead to a buffer overflow when formatting UTF-8
   characters in a UTF-8 locale.

   From Martin Chang
VersionDeltaFile
1.91+12-3usr.bin/awk/run.c
+12-31 files

OpenBSD/src 5UGwLnk — usr.bin/awk lex.c

   Fix buffer overflow in string() when storing escaped unicode.

   Only two bytes were allocated but escaped unicode can require up to 5
   (four plus a NUL).

   From Martin Chang
VersionDeltaFile
1.36+3-2usr.bin/awk/lex.c
+3-21 files

OpenBSD/src OSb6bYV — sys/dev/pci if_rgereg.h if_rge.c

   Add support for the Realtek RTL8127ATF SFP+ controller.

   ok deraadt@
VersionDeltaFile
1.50+410-13sys/dev/pci/if_rge.c
1.22+64-4sys/dev/pci/if_rgereg.h
+474-172 files

OpenBSD/src V4ZElgc — sys/kern vfs_lookup.c kern_unveil.c

   sys/unveil: respect vnode contract

   OK: beck@
VersionDeltaFile
1.60+23-15sys/kern/kern_unveil.c
1.96+28-7sys/kern/vfs_lookup.c
+51-222 files

OpenBSD/src 3ucdSAP — sys/net80211 ieee80211_input.c

   ieee80211_input_hwdecrypt() must free the mbuf before returning NULL.

   Like ieee80211_decrypt(), ieee80211_input_hwdecrypt() is responsible for
   freeing discarded frames, but failed to do so. This bug was introduced by
   me in ieee80211_input.c,v r1.216 2020/05/15 when adding this function.

   This sounds very bad, but my own impact analysis is as follows:

   Only drivers which offload TKIP/CCMP decryption to hardware can be affected.
   These are: athn, iwm, iwn, iwx, mtw, mwx, qwx, qwz, ral, run, urtwn, and wpi.

   The following drivers filter duplicate data frames in hardware or in the
   driver itself: athn, iwm, iwn, iwx, qwx, qwz, wpi, and urtwn.
   In which case the leak won't trigger for regular data frames.

   Encrypted multicast or management (PMF) frames might also trigger the leak
   where drivers offload the group cipher to hardware: iwx, run, qwx, and qwz.
   Under normal conditions such frames are rare enough for a leak to go unnoticed.


    [30 lines not shown]
VersionDeltaFile
1.264+12-3sys/net80211/ieee80211_input.c
+12-31 files

OpenBSD/src UV9Lmf2 — sbin/shutdown shutdown.c

   Provide a seperate restricted environment for the shell execution
   which is less likely to be misinterpreted by a downstream use.
   ok millert
VersionDeltaFile
1.58+12-4sbin/shutdown/shutdown.c
+12-41 files

OpenBSD/src i9UMim1 — sys/arch/arm64/stand/efiboot efiboot.c

   Use the generic timer counter to implement getsecs() in efiboot.

   On the HP OmniBook X, the notify function of the periodic UEFI timer event
   is never called, so ticks stays at 0 and the boot prompt timeout never
   expires.  Reading CNTVCT_EL0 directly avoids depending on firmware timer
   events.  Fall back to the timer event ticks if CNTFRQ_EL0 isn't set. Apply
   the same Cortex-A73 errata 858921 workaround as agtimer(4).

   Help, testing, and ok kettenis@
VersionDeltaFile
1.74+14-2sys/arch/arm64/stand/efiboot/efiboot.c
+14-21 files

OpenBSD/src 7hTd3zK — share/man/man4 sti.4, sys/dev/ic stivar.h sti.c

   Support for the IBM FireGL-UX boards.

   The last piece of the puzzle was to pass the right flags at the first init
   microcode call, in order to correctly completely initialize its own "softc".
   This makes character drawing operation point to the right offset within the
   frame buffer.

   Thanks to Daniel Dickman for noticing the microcode had a specific code path
   when some bits (which we did not set) in the init flags were set.
VersionDeltaFile
1.88+37-7sys/dev/ic/sti.c
1.17+22-3sys/dev/pci/sti_pci.c
1.31+6-1sys/dev/ic/stivar.h
1.28+3-2share/man/man4/sti.4
+68-134 files

OpenBSD/src McORVeG — sys/dev/ic stireg.h sti.c

   sti regions are always defined in 4KB chunks, regardless of the actual MMU
   page size of the hardware, so don't abuse PAGE_SIZE here. From NetBSD.
VersionDeltaFile
1.87+11-9sys/dev/ic/sti.c
1.18+3-1sys/dev/ic/stireg.h
+14-102 files

OpenBSD/src BrfI4kw — sys/dev/fdt qcpas.c

   Battery notifications only require the low byte, mask the rest.
   This silences unknown battery notification messages on some machines.

   ok mlarkin@, deraadt@
VersionDeltaFile
1.15+2-5sys/dev/fdt/qcpas.c
+2-51 files

OpenBSD/src q7YHlCZ — share/man/man1 update-plist.1

   Document -t and -H for update-plist.

   Committing on behalf of espie@.

   OK tb@
VersionDeltaFile
1.11+25-2share/man/man1/update-plist.1
+25-21 files

OpenBSD/src J6HpQXH — sbin/shutdown shutdown.c

   _shutdown group members can run shutdown with their own environment
   including PATH, which is not good.  Reuse the (extremely, maybe too restricted?)
   restricted_environ[] used by the the wall(1) run.
   from Acts1631
VersionDeltaFile
1.57+3-2sbin/shutdown/shutdown.c
+3-21 files

OpenBSD/src UmCb2hL — distrib/miniroot install.sub

   Properly quote the hostname before putting it into rc.firsttime(8)

   Before dhcpleased/engine.c r1.72 invalid host- or domain-name values
   could make it through lease files and the installer and be placed in
   shell code on first boot.

   Use quote() over single quotes to handle special characters;
   they should no longer make it to the installer, though.

   from Acts1631
   OK afresh1
VersionDeltaFile
1.1294+2-2distrib/miniroot/install.sub
+2-21 files

OpenBSD/src keZhPLM — sys/uvm uvm_pager.c

   Fix typo in my last commit
VersionDeltaFile
1.101+2-2sys/uvm/uvm_pager.c
+2-21 files