NetBSD/src Ci4gjpOsys/arch/aarch64/include armreg.h

   Fix ID_AA64PFR0_EL1_SEL2 definition - it's unused at present
VersionDeltaFile
1.77+2-2sys/arch/aarch64/include/armreg.h
+2-21 files

NetBSD/src wbEeJWCsys/arch/aarch64/include armreg.h

   Use __BITS(hi,lo) for consistency
VersionDeltaFile
1.76+2-2sys/arch/aarch64/include/armreg.h
+2-21 files

NetBSD/src 4EJ10oosys/arch/aarch64/aarch64 locore_el2.S

   Improve comment format
VersionDeltaFile
1.14+5-5sys/arch/aarch64/aarch64/locore_el2.S
+5-51 files

NetBSD/src 0aYR70Susr.sbin/syslogd syslogd.c

   syslogd: Add missing SLIST_INIT()

    Add missing SLIST_INIT() in main(). This is not a real bug
   because the tls_opt is in BSS and SLIST_INIT() assign NULL.
   Written by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.155+4-2usr.sbin/syslogd/syslogd.c
+4-21 files

NetBSD/src eIOYn9kusr.sbin/syslogd tls.c syslogd.c

   syslogd: Consistently use FREEPTR() for debugging
VersionDeltaFile
1.27+12-12usr.sbin/syslogd/tls.c
1.154+7-7usr.sbin/syslogd/syslogd.c
+19-192 files

NetBSD/src LFcw8fzusr.sbin/syslogd syslogd.c extern.h

   syslogd: Make some linebuf related variables static
VersionDeltaFile
1.153+4-4usr.sbin/syslogd/syslogd.c
1.5+1-3usr.sbin/syslogd/extern.h
+5-72 files

NetBSD/src 5Cw2wdJusr.sbin/syslogd syslogd.h

   syslogd: Remove unused MAXSVLINE
VersionDeltaFile
1.11+1-2usr.sbin/syslogd/syslogd.h
+1-21 files

NetBSD/src KWgD6Q3usr.sbin/syslogd syslogd.c syslogd.h

   syslogd: KNF. No functional change
VersionDeltaFile
1.152+30-24usr.sbin/syslogd/syslogd.c
1.10+14-13usr.sbin/syslogd/syslogd.h
1.26+10-10usr.sbin/syslogd/tls.c
1.10+7-7usr.sbin/syslogd/sign.c
1.4+4-4usr.sbin/syslogd/sign.h
1.4+2-2usr.sbin/syslogd/tls.h
+67-606 files

NetBSD/src EFgpSunusr.sbin/syslogd syslogd.c

   syslogd: Retry sendto() if it raises EBUSY, too

    Written by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.151+3-2usr.sbin/syslogd/syslogd.c
+3-21 files

NetBSD/src QCHq2Efusr.sbin/syslogd tls.c

   syslogd: Fix memory-leak during tls_send()

    Dealocate unhandled line buffers when error occurred.
   Note that it's freed in dispatch_tls_send() on success.
   Found and fixed by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.25+4-2usr.sbin/syslogd/tls.c
+4-21 files

NetBSD/src dNU769Wusr.sbin/syslogd tls.c

   syslogd: Fix mem-leak of match_hostname()

    ASN1_OCTET_STRING must be deallocated.
   Found and fixed by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.24+20-10usr.sbin/syslogd/tls.c
+20-101 files

NetBSD/src XVTU1j8usr.sbin/syslogd tls.c

   syslogd: Use X509_free() to deallocate certfile data in init_global_TLS_CTX()

    Found and fixed by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.23+4-2usr.sbin/syslogd/tls.c
+4-21 files

NetBSD/src zDTqfJrusr.sbin/syslogd tls.c

   syslogd: Fix memory leak in match_certfile()

    Found and fixed by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.22+8-6usr.sbin/syslogd/tls.c
+8-61 files

NetBSD/src ULc8B6yusr.sbin/syslogd syslogd.c

   syslogd: Fix incorrect comparison in buf_queue_obj_size()

    Found and fixed by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.150+4-4usr.sbin/syslogd/syslogd.c
+4-41 files

NetBSD/src 83t62wAusr.sbin/syslogd syslogd.c

   syslogd: Fix a bug that tls_ca mistakenly matches tls_cadir

    Found and fixed by Masakazu OOHASHI at IIJ.
VersionDeltaFile
1.149+3-3usr.sbin/syslogd/syslogd.c
+3-31 files

NetBSD/src DHX8pJFsys/net if_spppsubr.c

   sppp: Fix double counting and missing counts
VersionDeltaFile
1.299+24-8sys/net/if_spppsubr.c
+24-81 files

NetBSD/src XTmRtnlsys/arch/aarch64/aarch64 locore_el2.S

   aarch64: actually set SCTLR_EL2.EOS=1

   Set SCTLR_EL2.EOS=1 if FEAT_ExS is supported as the previous change
   expects it. (SCTLR_EL2 != SCTLR_EL1, oops)
VersionDeltaFile
1.13+22-4sys/arch/aarch64/aarch64/locore_el2.S
+22-41 files

NetBSD/src Fsjr5hdsys/net if_spppsubr.c

   sppp: use time_uptime32 and atomic_loadstore for safety
VersionDeltaFile
1.298+10-8sys/net/if_spppsubr.c
+10-81 files

NetBSD/src gq5Yi43usr.bin/make/filemon filemon_dev.c

   filemon_close:  FILEMON_FLUSH_IOCTL if defined
VersionDeltaFile
1.10+14-1usr.bin/make/filemon/filemon_dev.c
+14-11 files

NetBSD/src 6RR8v9Fsys/dev/ic dm9000.c

   Do not panic when frame_length > ETHER_MAX_LEN, reset the chip instead

   There is no need to panic when RX FIFO desync occurred or garbage frame
   arrived. We can recover by resetting the chip, so do that. It's the
   same recovery path the driver already used for a bad avail marker.
VersionDeltaFile
1.45+24-9sys/dev/ic/dm9000.c
+24-91 files

NetBSD/src zVRebtKsys/dev/sdmmc sdmmc_mem.c

   Do not unload bounce buffer dmamap on error during DMA read/write

   Discovered when hacking on jzmmc.

   The two functions: sdmmc_mem_single_segment_dma_write_block and
   sdmmc_mem_single_segment_dma_read_block are not the owners of bounce
   buffer dmamap and have no business in unloading it.

   This caused bus_dmamap_sync: bad offset panic during DMA on non-coherent
   CPU cores.

   Note that this particular code path (bounce buffers) is generally not
   well exercised on mainstream platforms, which caused the bug to get
   unnoticed.
VersionDeltaFile
1.80+2-4sys/dev/sdmmc/sdmmc_mem.c
+2-41 files

NetBSD/src FHobqHAsys/arch/amd64/conf GENERIC, sys/arch/i386/conf GENERIC

   x86/GENERIC: Enable PCI_RESOURCE.

   Has been needed for motherboards that are already several years old
   by now, which require the OS to allocate PCI memory regions for some
   devices like iwm(4); let's get some experience with having it on by
   default.

   PR port-amd64/59118: Thinkpad T495s - iwm PCI BAR is zero
VersionDeltaFile
1.622+3-3sys/arch/amd64/conf/GENERIC
1.1263+3-3sys/arch/i386/conf/GENERIC
+6-62 files

NetBSD/src yuFlxfgusr.bin/make meta.c make.1

   make: in meta mode allow more general filtering

   When a pre-built tree is cloned or relocated it is necessary to
   filter all paths in .meta files that refer to the original location
   to refer to the new.
   For example (SB names the parent directory of src):

   .if ${SB} != ${SB_ORIGIN:U${SB}}
   .MAKE.META.FILTER += S,${SB_ORIGIN},${SB},
   .endif

   for commands; this is applied prior to any filters from
   .MAKE.META.CMP_FILTER
   but it is also applied to paths in the filemon syscall records
   so we do not lose the benefit of them.

   Reviewed by: rillig
VersionDeltaFile
1.222+105-35usr.bin/make/meta.c
1.393+21-6usr.bin/make/make.1
+126-412 files

NetBSD/src kAUVeQTsys/sys atomic.h

   atomic_store(9): Fix byte indexing on hash-locked architectures.

   Fixes the easy part of:

   PR kern/60393: hash-locked atomic_store_* is all kinds of busted

   The hard part will require redoing these to just hash-lock the whole
   store.
VersionDeltaFile
1.30+15-2sys/sys/atomic.h
+15-21 files

NetBSD/src PJdm6oBsys/arch/mips/mips lock_stubs_ras.S

   Pass the actual mutex to mutex_spin_retry()

   Avoid a situation where leftover splraise SR-mask cookie stays in a0.
   Make UP kernel that double-acquires a spin mutex die with
   "locking against myself" rather misleading garbage-pointer crash.
VersionDeltaFile
1.13+3-3sys/arch/mips/mips/lock_stubs_ras.S
+3-31 files

NetBSD/src pzaSw6mlib/libcurses refresh.c

   Part of fix for PR lib/58282

   Redo the logic for erasing lines when we have the capability, it was
   broken and caused blanks to be written when clearing the screen instead
   which caused thrashing and large outputs.

   Back out changes to quickch() which were actually just work arounds
   for broken hashes and were the cause of an infinite hang seen in
   the previous commit of these changes.
VersionDeltaFile
1.134+110-86lib/libcurses/refresh.c
+110-861 files

NetBSD/src v24NZWasys/rump/net/lib/libwg wg_user.c

   wg-userspace(8): Ignore recvfrom errors.

   On IPv6 networks, issuing sendto(2) when we've lost IPv6 connectivity
   may eventually lead to the next recvfrom(2) failing with EHOSTDOWN.
   Example ktrace:

     8072  16529 rump_server 1782951176.090085182 CALL  sendto(0xa,0x70fb4fa1b50c,0x60,0,0x70fb4f236b00,0x1c)
     8072  16529 rump_server 1782951176.090085664 MISC  msghdr: [name=0x70fb4f236b00, namelen=28, iov=0xffffc5126bfa8f50, iovlen=1, control=0x0, controllen=0, flags=0]
     8072  16529 rump_server 1782951176.090086919 MISC  mbsoname: [2601:...]
     8072  16529 rump_server 1782951176.090093493 GIO   fd 10 wrote 96 bytes
     8072  16529 rump_server 1782951176.090094033 RET   sendto 96/0x60
   ...
     8072  23248 rump_server 1782951180.090105990 CALL  recvfrom(0xa,0x70fb4efe203c,0x233a,0,0x70fb3f7cff50,0x70fb3f7cff4c)
     8072  23248 rump_server 1782951180.090106339 MISC  msghdr: [name=0x0, namelen=0, iov=0xffffc5126c63ff20, iovlen=1, control=0x0, controllen=0, flags=0]
     8072  23248 rump_server 1782951180.090107309 RET   recvfrom -1 errno 64 Host is down

   In this case, wg_user_rcvthread mistakenly ignored the failing result
   and blithely shoved the ssize_t -1 error indicator into
   iov[1].iov_len and passed it on to rumpkern_recv_peer:

    [34 lines not shown]
VersionDeltaFile
1.4+4-4sys/rump/net/lib/libwg/wg_user.c
+4-41 files

NetBSD/src 8EpGHCysys/net if_wg.c

   wg-userspace(8): Drop <4-byte UDP packets immediately.

   Same as the kernel already does.  Add an assertion into
   wg_receive_packets about this and a couple comments cross-referencing
   wg_overudp_cb and wg_receive_packets.

   And, while here, as a precaution in case the
   inpcb_register_overudp_cb mechanism ever breaks down or gets
   refactored, make wg_receive_packets drop <4-byte packets too -- this
   path should be hit only when handling handshake packets, so adding
   another predicted-not-taken branch here should cost essentially
   nothing.

   PR bin/60392: assertion "mbuflen >= sizeof(struct wg_msg)" failed
VersionDeltaFile
1.141+25-3sys/net/if_wg.c
+25-31 files

NetBSD/src gcejoLlrescue list.ldd

   rescue/ldd: Add a couple new symbols for recent rtld changes.

   Should fix:

   #      link  rescue/rescue
   ...
   /tmp/build/2026.07.01.20.39.44-i386/tools/lib/gcc/i486--netbsdelf/14.3.0/../../../../i486--netbsdelf/bin/ld: /tmp/build/2026.07.01.20.39.44-i386/obj/usr.bin/ldd/elf32/libldd_elf32.a(load.o): in function `_rtld_load_object':
   load.c:(.text+0x23b): undefined reference to `_rtld_objgen'
   /tmp/build/2026.07.01.20.39.44-i386/tools/lib/gcc/i486--netbsdelf/14.3.0/../../../../i486--netbsdelf/bin/ld: load.c:(.text+0x256): undefined reference to `_rtld_objrelocpending'

   PR lib/59751: dlclose is not MT-safe depending on the libraries
   unloaded
VersionDeltaFile
1.8+2-1rescue/list.ldd
+2-11 files

NetBSD/src s9PmQw9doc 3RDPARTY

   libevent-2.1.13 out
VersionDeltaFile
1.2227+3-3doc/3RDPARTY
+3-31 files