NetBSD/src fX4jVAcsys/arch/vax/vax crl.h

   s/transation/transaction/ in comment.
VersionDeltaFile
1.3+2-2sys/arch/vax/vax/crl.h
+2-21 files

NetBSD/src eb83k8wsys/dev/usb umcpmio.c


   Break out for a couple of error branches, don't ignore an error when
   putting flash configs.

   Thanks riastradh at netbsd.org
VersionDeltaFile
1.5+14-12sys/dev/usb/umcpmio.c
+14-121 files

NetBSD/src lWvLCO5sys/dev/pci ohci_pci.c

   ohci at pci: Don't detach on shutdown.

   If there's some USB device that requires detach on shutdown (which
   would be surprising, because USB devices should generally be safe to
   yank at any time, and _storage_ drivers such as ld(4) or sd(4) should
   already be synced at shutdown some other way) then that driver should
   have DVF_DETACH_SHUTDOWN -- not the entire HCI.

   PR port-amd64/59180: System reboots instead of shutting down
   PR kern/59179: DVF_DETACH_SHUTDOWN: audit drivers for unnecessary use
VersionDeltaFile
1.61+3-3sys/dev/pci/ohci_pci.c
+3-31 files

NetBSD/src 4AfcphIsys/arch/arm/xscale pxa2x0_ohci.c, sys/arch/mips/ralink ralink_ohci.c

   ohci(4): Rework detach logic and justify the ordering.

   Handle failed attach when we detach.

   This changes the signature of the ohci_detach function, but it is
   only ever used by statically linked ohci bus attachments, never by
   modules so far, so no kernel revbump.

   PR port-amd64/59180: System reboots instead of shutting down
VersionDeltaFile
1.60+42-17sys/dev/pci/ohci_pci.c
1.8+43-13sys/arch/mips/ralink/ralink_ohci.c
1.47+45-9sys/dev/cardbus/ohci_cardbus.c
1.14+37-11sys/arch/arm/xscale/pxa2x0_ohci.c
1.330+11-11sys/dev/usb/ohci.c
1.64+3-2sys/dev/usb/ohcivar.h
+181-636 files

NetBSD/src DQ8lZqRsys/arch/mips/ralink ralink_ehci.c, sys/dev/cardbus ehci_cardbus.c

   ehci(4): Make usb_*_rem work as noop on zero-initialized input.

   This way, if some *hci_attach function fails before usb_*_add, the
   caller need not maintain boolean state to decide whether to call
   usb_*_rem on detach -- it'll just work without extra effort.

   Cleanup in preparation for:

   PR port-amd64/59180: System reboots instead of shutting down
VersionDeltaFile
1.11+4-3sys/arch/mips/ralink/ralink_ehci.c
1.39+4-3sys/dev/cardbus/ehci_cardbus.c
1.9+4-3sys/dev/pci/usb_pci.c
+12-93 files

NetBSD/src 3UncWVPsys/arch/mips/ralink ralink_ehci.c, sys/dev/cardbus ehci_cardbus.c

   ehci(4): Sprinkle KERNEL_LOCKED_P and KNF on usb_*_add/rem.

   Mark with XXXSMP comments to be fixed later without the kernel lock.

   No functional change intended: callers generally do this from
   autoconf *_attach/detach routines, which run kernel-locked anyway
   (for the moment).

   Cleanup in preparation for:

   PR port-amd64/59180: System reboots instead of shutting down
VersionDeltaFile
1.10+12-9sys/arch/mips/ralink/ralink_ehci.c
1.8+12-6sys/dev/pci/usb_pci.c
1.38+10-3sys/dev/cardbus/ehci_cardbus.c
1.78+3-2sys/dev/pci/ehci_pci.c
+37-204 files

NetBSD/src 6OPZPn2sys/dev/usb usbdivar.h

   usbdivar.h: Add missing usbdi.h include for usbd_status &c.

   Sort includes while here.

   Prompted by:

   PR port-amd64/59180: System reboots instead of shutting down
VersionDeltaFile
1.139+4-2sys/dev/usb/usbdivar.h
+4-21 files

NetBSD/src xPd0Xr9usr.bin/make main.c

   make(1): Nix trailing whitespace.

   No functional change intended.
VersionDeltaFile
1.641+3-3usr.bin/make/main.c
+3-31 files

NetBSD/src 3uWLHDgdistrib/sets/lists/base shl.mi, distrib/sets/lists/debug shl.mi

   libpthread(3): Add missing cancellation points.

   - accept4
   - tcdrain

   XXX Should our nonstandard alias paccept(2) also be a cancellation
   point?

   PR lib/59240: POSIX.1-2024: cancellation point audit
VersionDeltaFile
1.47+31-2lib/libpthread/pthread_cancelstub.c
1.3+4-7tests/lib/libpthread/t_cancellation.c
1.359+3-3distrib/sets/lists/debug/shl.mi
1.999+3-3distrib/sets/lists/base/shl.mi
1.20+2-2lib/libpthread/shlib_version
1.2+2-0lib/libpthread/pthread_mi.expsym
+45-176 files

NetBSD/src LsBWxfjlib/libpthread pthread.c pthread_cond.c, tests/lib/libpthread t_cancellation.c

   pthread_cancel(3): Rework.

   Make pthread_setcancelstate(3) async-signal-safe.  (As a side effect,
   this also makes pthread_setcanceltype(3) async-signal-safe, although
   that is not required.)

   PR lib/59134: POSIX-1.2024: pthread_setcancelstate must be
   async-signal-safe
VersionDeltaFile
1.186+133-62lib/libpthread/pthread.c
1.78+13-4lib/libpthread/pthread_cond.c
1.113+9-5lib/libpthread/pthread_int.h
1.46+10-3lib/libpthread/pthread_cancelstub.c
1.2+2-5tests/lib/libpthread/t_cancellation.c
+167-795 files

NetBSD/src epCih2gdistrib/sets/lists/debug mi, distrib/sets/lists/tests mi

   pthread_cancel(3): Add some automatic tests.

   PR lib/59240: POSIX.1-2024: cancellation point audit
   PR lib/59134: POSIX-1.2024: pthread_setcancelstate must be
   async-signal-safe
VersionDeltaFile
1.1+1,622-0tests/lib/libpthread/t_cancellation.c
1.17+3-1tests/lib/libpthread/Makefile
1.471+2-1distrib/sets/lists/debug/mi
1.1363+2-1distrib/sets/lists/tests/mi
+1,629-34 files

NetBSD/src 1LTnxGfsys/arch/m68k/m68k switch_subr.s

   Wrap up lc040 compatability nops in a macro.

   Also add a comment describing why they are there so they wont be accidently
   removed in the future.

   Addresses PR port-mac68k/13078.
VersionDeltaFile
1.40+24-9sys/arch/m68k/m68k/switch_subr.s
+24-91 files

NetBSD/src ydM2EzFsys/netinet6 nd6.c

   nd6: send packets through the fast path even if DELAY and PROBE

   If there is a valid ND cache, we can send packets for the destination
   of the cache.  If the state of the cache is STALE, we need to go
   through the slow path to change its state.  In the other cases
   including the DELAY and PROBE states, we can send packets through
   the fast path.
VersionDeltaFile
1.283+6-3sys/netinet6/nd6.c
+6-31 files

NetBSD/src mlgepOltests/lib/libpthread t_once.c

   tests/lib/libpthread/t_once: Test fork and pthread_once race.

   Test is disabled by default because it triggers only with very low
   probability in each trial, but let's make it easy to run if you want.

   PR lib/59125: pthread_once(3) races with concurrent fork
VersionDeltaFile
1.3+76-2tests/lib/libpthread/t_once.c
+76-21 files

NetBSD/src xlJV0YEusr.bin/make main.c var.c

   make: POSIX mode, check for sysV style modifiers first

   A POSIX compatible makefile should not be using any
   of our native modifiers, so give preference to the sysV style modifier
   and only check the others as a fallback.

   Reviewed by: rillig
VersionDeltaFile
1.640+12-3usr.bin/make/main.c
1.1158+9-4usr.bin/make/var.c
1.382+4-2usr.bin/make/make.1
1.741+3-2usr.bin/make/parse.c
1.352+2-1usr.bin/make/make.h
+30-125 files

NetBSD/src RzLiLijsys/arch/amd64/amd64 locore.S

   locore.S: remove duplicate comment

   Trivial change, tested anyway on NetBSD/amd64; NFCI.

   "Go go" imil@
VersionDeltaFile
1.228+1-4sys/arch/amd64/amd64/locore.S
+1-41 files

NetBSD/src SOGs5Fvusr.bin/make for.c, usr.bin/make/unit-tests directive-for.exp directive-for.mk

   make: if there is an error in the items of a .for loop, don't iterate
VersionDeltaFile
1.29+8-13usr.bin/make/unit-tests/directive-for.exp
1.30+1-13usr.bin/make/unit-tests/directive-for.mk
1.36+6-8usr.bin/make/unit-tests/varmod-indirect.exp
1.16+3-9usr.bin/make/unit-tests/directive-for-errors.mk
1.183+5-5usr.bin/make/for.c
1.24+2-4usr.bin/make/unit-tests/varmod-indirect.mk
+25-521 files not shown
+26-567 files

NetBSD/src RLgJ4zOlib/libc/string strlcpy.3

   strlcpy(3): Pick some nits in the prose.
VersionDeltaFile
1.24+15-5lib/libc/string/strlcpy.3
+15-51 files

NetBSD/src deL8X3alib/libc/gen ctype_guard.h

   ctype(3): Sprinkle _C_LABEL_STRING in a few more places.

   Mostly for hygiene and to avoid raising questions about inconsistent
   usage; this doesn't actually affect the build any more.

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.6+5-4lib/libc/gen/ctype_guard.h
+5-41 files

NetBSD/src BPrqLEnlib/libc Makefile, lib/libc/gen ctype_guard.h

   ctype(3): Actually conditionalize guard page on shared libc.

   Apparently we build the libc .o files with -fPIC too (I guess this is
   so that libc.a works in position-independent executables? but why
   don't they just use libc_pic.a?), so use a purpose-built cpp macro
   _CTYPE_DYNAMIC for this instead of using __PIC__.

   Now this shows the right symbol sizes:

   $ readelf -s ctype_.pico | grep _C_ctype_tab_guarded_
        3: 0000000000000000  4610 OBJECT  LOCAL  DEFAULT   11 _C_ctype_tab_guarded_
   $ readelf -s ctype_.po | grep _C_ctype_tab_guarded_
        3: 0000000000000000   514 OBJECT  LOCAL  DEFAULT    7 _C_ctype_tab_guarded_
   $ readelf -s ctype_.o | grep _C_ctype_tab_guarded_
        3: 0000000000000000   514 OBJECT  LOCAL  DEFAULT    7 _C_ctype_tab_guarded_

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.175+5-1lib/libc/Makefile
1.5+2-2lib/libc/gen/ctype_guard.h
+7-32 files

NetBSD/src In3Ltc8lib/libc/gen ctype_guard.h, tests/lib/libc/gen t_ctype.c Makefile

   ctype(3): Disable guard page in static libc.

   Adding the guard page may have overflown several small installation
   media.  Let's try to keep this case small.

   Update the tests to detect the cases where we will be running against
   a libc without a guard page on the LC_CTYPE=C tables, and skip
   testing abuse detection when it would rely on the guard page.

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.11+26-2tests/lib/libc/gen/t_ctype.c
1.4+5-3lib/libc/gen/ctype_guard.h
1.59+3-1tests/lib/libc/gen/Makefile
+34-63 files

NetBSD/src 1Gr0Nu4distrib/notes/common main

   distrib/notes: remove space between "NetBSD -current"
VersionDeltaFile
1.577+4-4distrib/notes/common/main
+4-41 files

NetBSD/src kxA5bxBsbin/efi efiio.c defs.h, sys/dev efi.c

   efi(8)/efi(9): Rename EFI_VARNAME_MAXLENGTH -> EFI_VARNAME_MAXBYTES.

   This should help avoid potential confusion over the units.

   No functional change intended.

   Prompted by (but will not fix):

   PR kern/59235: efi(8) panics
VersionDeltaFile
1.10+9-9sys/dev/efi.c
1.4+4-4sbin/efi/efiio.c
1.2+4-4sbin/efi/defs.h
+17-173 files

NetBSD/src 6Swpi2wsbin/efi efiio.c

   efi(8): EFI_VARNAME_MAXLENGTH is in bytes, not CHAR16.

   Same with struct efi_var_ioc::namesize.

   This shouldn't change the semantics of the program -- it was just
   allocating twice the maximum buffer space that the kernel would ever
   actually use; now it only allocates exactly the maximum buffer space
   that the kernel will ever actually use.

   Prompted by (but will not fix):

   PR kern/59235: efi(8) panics
VersionDeltaFile
1.3+3-3sbin/efi/efiio.c
+3-31 files

NetBSD/src yPgpHMTusr.bin/elf2ecoff elf2ecoff.c

   Revert "debug" variable to global to override it on debugger etc.
VersionDeltaFile
1.36+3-2usr.bin/elf2ecoff/elf2ecoff.c
+3-21 files

NetBSD/src veGmSzVusr.bin/make/unit-tests directive-misspellings.exp directive-for-escape.exp

   make: use '"filename" line 123' for locations instead of 'filename:123'

   The format 'filename:123' is commonly used for identifying a location in
   a file. Text editors recognize it and allow quick navigation through it.
   The previous format was specific to make and would have required custom
   support in editors.

   The new format was already used in stack traces, except for the first
   line. Now all lines use the same format.
VersionDeltaFile
1.4+42-42usr.bin/make/unit-tests/directive-misspellings.exp
1.33+31-31usr.bin/make/unit-tests/directive-for-escape.exp
1.28+29-29usr.bin/make/unit-tests/directive-for.exp
1.22+23-23usr.bin/make/unit-tests/varmod.exp
1.28+23-23usr.bin/make/unit-tests/varmod-ifelse.exp
1.20+22-22usr.bin/make/unit-tests/varparse-errors.exp
+170-170112 files not shown
+661-662118 files

NetBSD/src NRFi6uGsys/arch/m68k/m68k switch_subr.s

   Sprinkle nop.

   This is the kernel part of addressing the issue with fpu emulation on lc040
   cpus.

   The idea is that we might be switch from or to an f-line (MMU/FPU Trap)
   instruction so prepend a nop to flush the caches.

   Addresses part of PR/13078.

   The second part to this (patch to binutils/gas) has been submitted upstream
   and will be fixed when this part is reviewed and included in our local copy
   of binutils or (hopefully) in a later version of binutils from upstream.

   See:
   https://sourceware.org/pipermail/binutils/2025-March/140270.html
VersionDeltaFile
1.39+9-1sys/arch/m68k/m68k/switch_subr.s
+9-11 files

NetBSD/src bPq56Gdusr.sbin/installboot/arch hp300.c

   Always read LIF volume/directory from stage1 even on cd9660 stage2 case.

   mmap(2) against the bootstrap file in the target cd9660 could fail
   because the sector size of ISO9660 is 2048 so each file could be
   allocated at an offset not pagesize (4096 or 8192) aligned.

   This could fail if stage1 (specified via "primary" arg on command line)
   and stage2 (on the target filesystem) files are different, but
   in "build.sh iso-image" case they are always identical.

   The problem (build failures in auotomated builds for hp300 on Linux)
   was reported by Jan-Benedict Glaw.

   Should also be pulled up to netbsd-10.
VersionDeltaFile
1.20+11-23usr.sbin/installboot/arch/hp300.c
+11-231 files

NetBSD/src eiN8wILexternal/bsd/blocklist/lib bl.c

   PR/59218: Taylor R Campbell: fix NUL termination
VersionDeltaFile
1.9+3-3external/bsd/blocklist/lib/bl.c
+3-31 files

NetBSD/src YCCwBTNusr.bin/make/unit-tests varparse-errors.mk

   tests/make: fix test for printing the stack trace

   Depending on the exact environment in which the test is run, the "./"
   path component may or may not be trimmed from the output. Use an
   absolute path instead.
VersionDeltaFile
1.23+3-3usr.bin/make/unit-tests/varparse-errors.mk
+3-31 files