NetBSD/src 6dmhbbNlib/libc/atomic membar_ops.3

   membar_ops(3): Clarify language about membar_datadep_consumer.

   I must have deleted a sentence about the temptation to pair it with
   membar_producer in some earlier revision; let's write a new such
   sentence.
VersionDeltaFile
1.11+12-6lib/libc/atomic/membar_ops.3
+12-61 files

NetBSD/src 3rsMEnUsys/arch/emips/emips bus_dma.c, sys/arch/m68k/include pmap_68k.h

   s/write-though/write-through/ in comments.
VersionDeltaFile
1.39+4-4sys/arch/newsmips/newsmips/bus.c
1.10+4-4sys/arch/emips/emips/bus_dma.c
1.6+4-4sys/arch/pmax/pmax/bus.c
1.65+4-4sys/arch/pmax/pmax/bus_dma.c
1.8+3-3sys/arch/mips/mips/cache_r3k.c
1.19+2-2sys/arch/m68k/include/pmap_68k.h
+21-212 files not shown
+25-258 files

NetBSD/src nPb8eblsys/arch/m68k/m68k pmap_68k.c

   fix various typos in comments.
VersionDeltaFile
1.72+7-7sys/arch/m68k/m68k/pmap_68k.c
+7-71 files

NetBSD/src vP6qKPosys/arch/x68k/conf GENERIC INSTALL, sys/arch/x68k/dev mfp.c

   Fix typos in comments:
   s/genuin\s/genuine/
   s/periferal/peripheral/
   add dash between multi-function.

   From Miod Vallat by email.
VersionDeltaFile
1.211+4-4sys/arch/x68k/conf/GENERIC
1.123+3-3sys/arch/x68k/conf/INSTALL
1.34+3-3sys/arch/x68k/dev/mfp.c
1.15+2-2sys/arch/x68k/conf/std.x68k
1.20+2-2sys/arch/x68k/x68k/iodevice.h
+14-145 files

NetBSD/src 8N4mBrmsys/opencrypto ocryptodev.c cryptodev.c

   crypto(4): Nix spurious mutex_exit; add missing bounds checks.

   Consistently use `foo = kmem_alloc(n * sizeof(*foo), ...)' instead of
   `sizeof(struct whatever_foo_is)'.  Makes it easier for a reader to
   notice a discrepancy this way.

   Move CRYPTODEV_OPS_MAX to cryptodev_internal.h so it can be used by
   the compat ocryptodev.c shims too.  I think this is waaaaaaaaaaaaay
   too high, by the way.  For example, it looks like qat(4) puts a limit
   of 16384 on the number of sessions.  Other devices like hifn(4) look
   like they're limited to numbers of sessions ranging from 2 to around
   256.

   PR kern/60281: crypto(4): bugs in reference counting and test
VersionDeltaFile
1.19+24-23sys/opencrypto/ocryptodev.c
1.133+13-14sys/opencrypto/cryptodev.c
1.5+16-2sys/opencrypto/cryptodev_internal.h
+53-393 files

NetBSD/src NHDvZNRsys/opencrypto cryptodev.c

   crypto(4): Omit needless locking in fcrypt_dtor.

   We must have exclusive access to the object for this function to work
   at all, so if removing the locks appeared to cause issues, it would
   necessarily happen only because there is a bug somewhere else.

   PR kern/60281: crypto(4): bugs in reference counting and test
VersionDeltaFile
1.132+2-4sys/opencrypto/cryptodev.c
+2-41 files

NetBSD/src GWQzCaCsys/opencrypto cryptodev.c cryptosoft.c, sys/rump/dev/lib/libopencrypto opencrypto_component.c OPENCRYPTO.ioconf

   crypto(4): Disentangle initialization and attachment goo.

   Lotta unnecessary boilerplate deleted here!

   Disable module unloading: can't be done safely.  Explain precisely
   why it can't be done safely.

   This also fixes annoying `crypto: unable to register devsw, error 17'
   messages in rump dmesg by having exactly one path to devsw_attach.

   PR kern/60281: crypto(4): bugs in reference counting and test
VersionDeltaFile
1.131+91-124sys/opencrypto/cryptodev.c
1.67+29-115sys/opencrypto/cryptosoft.c
1.7+10-39sys/rump/dev/lib/libopencrypto/opencrypto_component.c
1.14+6-1tests/crypto/opencrypto/t_opencrypto.sh
1.2+1-2sys/rump/dev/lib/libopencrypto/OPENCRYPTO.ioconf
+137-2815 files

NetBSD/src G2gBy2zsys/opencrypto cryptodev.c

   crypto(4): Fix missing membars on reference count release.

   If two threads A and B both hold references, we need to ensure that
   memory ops in thread A happen before memory free in thread B in:

   thread A                thread B                notes
   --------                --------                -----
   memory ops
   atomic_dec(&refcnt)                             goes from 2 to 1
                           atomic_dec(&refcnt)     goes from 1 to 0
                           memory free

   This requires a membar_release in thread A before the atomic_dec (or
   atomic_dec with memory_order_release), and a membar_acquire in thread
   B after the atomic_dec is found to have brought the reference count
   down to zero (or atomic_dec wiht memory_order_acquire).

   kern/60281: crypto(4): bugs in reference counting and test
VersionDeltaFile
1.130+4-2sys/opencrypto/cryptodev.c
+4-21 files

NetBSD/src ngEakn3sys/opencrypto cryptodev.c

   crypto(4): Take reference _before_ releasing the lock.

   Otherwise nothing ensures the object will still exist by the time we
   try to take the reference.

   Also guard against too many references, since this is only a 32-bit
   reference count.

   PR kern/60281: crypto(4): bugs in reference counting and test
VersionDeltaFile
1.129+6-3sys/opencrypto/cryptodev.c
+6-31 files

NetBSD/src 3HIGMFBtests/crypto/opencrypto h_thread.c t_opencrypto.sh

   crypto(4): Make test more reliable, and test more.

   1. New thread to concurrently create and destroy sessions.

      (There should really be multiple threads to concurrently compete
      with each other to create and destroy sessions, but this is
      already surfacing more crashes, as I expected.)

   2. Handle EBUSY in CIOCFSESSION in case there is a concurrent
      CIOCCRYPT, as we are trying to test.

   3. Handle CIOCCRYPT failure if a concurrent CIOCFSESSION beat us to
      it, as we are trying to test

   4. Dump core if the threads get stuck for too long.

   5. Provide stack traces from the test program or rump server if they
      dump core.

   PR kern/60281: crypto(4): bugs in reference counting and test
VersionDeltaFile
1.2+119-44tests/crypto/opencrypto/h_thread.c
1.13+9-1tests/crypto/opencrypto/t_opencrypto.sh
+128-452 files

NetBSD/src EPrBDs6sys/arch/hppa/dev hyperfb.c gftfb.c

   proper bold support with mono fonts
VersionDeltaFile
1.35+26-2sys/arch/hppa/dev/hyperfb.c
1.41+25-1sys/arch/hppa/dev/gftfb.c
+51-32 files

NetBSD/src 41gjbfhsys/dev/pci radeonfb.c

   catch up with gffb, summitfb etc. regarding bold & WSATTR_HILIT
VersionDeltaFile
1.120+105-39sys/dev/pci/radeonfb.c
+105-391 files

NetBSD/src 4sOBNcjsys/arch/hppa/dev summitfb.c

   use bold or bright for WSATTR_HILIT, but not both
VersionDeltaFile
1.42+26-2sys/arch/hppa/dev/summitfb.c
+26-21 files

NetBSD/src 3RXJkcZdoc CHANGES-11.0

   Tickets #288 - #292
VersionDeltaFile
1.1.2.93+36-1doc/CHANGES-11.0
+36-11 files

NetBSD/src eSb3hHfexternal/mit/xorg/tools/fc-cache Makefile

   Pull up following revision(s) (requested by hgutch in ticket #292):

        external/mit/xorg/tools/fc-cache/Makefile: revision 1.24

   Build fc-cache tool with -std=gnu99 instead of -std=c99 to get necessary
   function prototypes on gcc-14/glibc build hosts.
VersionDeltaFile
1.23.2.1+2-2external/mit/xorg/tools/fc-cache/Makefile
+2-21 files

NetBSD/src XvIf1OPdoc CHANGES-10.2

   Tickets #1267 and #1268
VersionDeltaFile
1.1.2.98+11-1doc/CHANGES-10.2
+11-11 files

NetBSD/src zZQGn8Setc/etc.luna68k MAKEDEV.conf

   Pull up following revision(s) (requested by isaki in ticket #1268):

        etc/etc.luna68k/MAKEDEV.conf: revision 1.12

   luna68k: Add missing audio devices to MAKEDEV.
VersionDeltaFile
1.11.22.1+2-1etc/etc.luna68k/MAKEDEV.conf
+2-11 files

NetBSD/src qiki3ooetc/etc.luna68k MAKEDEV.conf

   Pull up following revision(s) (requested by isaki in ticket #291):

        etc/etc.luna68k/MAKEDEV.conf: revision 1.12

   luna68k: Add missing audio devices to MAKEDEV.
VersionDeltaFile
1.11.26.1+2-1etc/etc.luna68k/MAKEDEV.conf
+2-11 files

NetBSD/src Atm0Su3tests/usr.sbin/inetd t_accept_max.sh t_accept_max.sh, usr.sbin/inetd inetd.c parse_v2.c

   Pull up following revision(s) (requested by riastradh in ticket #290):

        usr.sbin/inetd/inetd.h: revision 1.7
        usr.sbin/inetd/inetd.h: revision 1.8
        usr.sbin/inetd/inetd.c: revision 1.142
        tests/usr.sbin/inetd/Makefile: revision 1.3
        usr.sbin/inetd/parse_v2.c: revision 1.8
        usr.sbin/inetd/inetd.8: revision 1.69
        tests/usr.sbin/inetd/t_accept_max.sh: revision 1.1
        tests/usr.sbin/inetd/t_accept_max.sh: revision 1.2
        distrib/sets/lists/tests/mi: revision 1.1418
        usr.sbin/inetd/parse.c: revision 1.6

        (all via patch)

   Fix various typos in comments.

   Add an optional accept limit to stream/nowait services.
   Old syntax:

    [18 lines not shown]
VersionDeltaFile
1.2.2.2+254-0tests/usr.sbin/inetd/t_accept_max.sh
1.2.2.1+0-254tests/usr.sbin/inetd/t_accept_max.sh
1.141.6.1+125-7usr.sbin/inetd/inetd.c
1.7.4.1+42-2usr.sbin/inetd/parse_v2.c
1.5.6.1+33-2usr.sbin/inetd/parse.c
1.68.4.1+17-6usr.sbin/inetd/inetd.8
+471-2713 files not shown
+482-2759 files

NetBSD/src oxtmwGhusr.bin/ruptime ruptime.c, usr.sbin/inetd ratelimit.c

   Pull up following revision(s) (requested by riastradh in ticket #289):

        usr.bin/ruptime/ruptime.c: revision 1.16
        usr.sbin/inetd/ratelimit.c: revision 1.3

   fix a couple of "allocate too little" issues GCC 14 pointed out.
   both ruptime and inetd allocate a less-than-struct-sized space and
   assign it to a struct pointer.  neither of them actually use more
   than the allocated memory, but this is still dodgy and technically
   wrong.  just allocate the right size.
VersionDeltaFile
1.2.6.1+5-2usr.sbin/inetd/ratelimit.c
1.15.56.1+3-3usr.bin/ruptime/ruptime.c
+8-52 files

NetBSD/src WZwejjpcrypto/external/bsd/openssh/dist sshd-auth.c sshd-session.c

   Pull up following revision(s) (requested by christos in ticket #288):

        crypto/external/bsd/openssh/dist/sshd-session.c: revision 1.13
        crypto/external/bsd/openssh/dist/sshd-auth.c: revision 1.6

   PR/60270: Jose Luis Duran: Add back accidentally removed probes.
VersionDeltaFile
1.3.2.3+7-3crypto/external/bsd/openssh/dist/sshd-auth.c
1.10.2.3+5-3crypto/external/bsd/openssh/dist/sshd-session.c
+12-62 files

NetBSD/src CwIG1IHbin/sh jobs.c trap.c

   PR bin/60275 discard even less arriving signals

   Avoid signals arriving immediately after a fork() (or vfork())
   by blocking everything (everything possible) while the fork()
   happens, in the parent, for (close to) the minimum possible time,
   in the child, until it has its state init'd enough that it is
   safe for signals to arrive.

   Further, if a signal does arrive (in a child) which was trapped
   in the parent, but hasn't been cleaned up fully yet, instead of
   simply ignoring it, send it to ourselves, after setting its state
   to SIG_DFL (which is what would eventually happen to a trapped
   signal anyway).   If that doesn't kill us, then we will end up
   (harmlessly) setting the state to SIG_DFL again later as would happen
   if the signal hadn't arrived in this short window; we cannot record that
   it happened to avoid that, as we might be in a vforked child, and
   anything recorded by that would be visible back in the parent later
   (where the signal action was not changed).


    [12 lines not shown]
VersionDeltaFile
1.126+28-4bin/sh/jobs.c
1.60+16-2bin/sh/trap.c
1.198+10-3bin/sh/eval.c
1.28+2-2bin/sh/jobs.h
+56-114 files

NetBSD/src Eeg5sQDdoc CHANGES-9.5

   Ticket #2012
VersionDeltaFile
1.1.2.102+6-1doc/CHANGES-9.5
+6-11 files

NetBSD/src 6m83OsXsys/fs/cd9660 cd9660_rrip.c

   Pull up following revision(s) (requested by mrg in ticket #2012):

        sys/fs/cd9660/cd9660_rrip.c: revision 1.19

   cd9660: make sure that NM records are at least 5 bytes long.

   avoids an integer underflow when this length has 5 subtracted from it
   for a later path.

   Reported by Adam Crosser, Praetorian
VersionDeltaFile
1.18.22.1+8-2sys/fs/cd9660/cd9660_rrip.c
+8-21 files

NetBSD/src fG7umgGsys/fs/cd9660 cd9660_rrip.c

   Pull up following revision(s) (requested by mrg in ticket #1267):

        sys/fs/cd9660/cd9660_rrip.c: revision 1.19

   cd9660: make sure that NM records are at least 5 bytes long.

   avoids an integer underflow when this length has 5 subtracted from it
   for a later path.

   Reported by Adam Crosser, Praetorian
VersionDeltaFile
1.18.48.1+8-2sys/fs/cd9660/cd9660_rrip.c
+8-21 files

NetBSD/src RLE91U1. build.sh

   build.sh: Make MAKEVERBOSE tests consistent.

   - Use "${MAKEVERBOSE}" to avoid trouble in case it has spaces or
     asterisks or whatever in the environment.

   - Default to 2 if it's not defined or empty.

   Should fix build.sh pkg=... without any -N argument or any
   MAKEVERBOSE set in the environment.
VersionDeltaFile
1.402+4-4build.sh
+4-41 files

NetBSD/src fV8ggDOexternal/bsd/elftoolchain README

   elftoolchain: Improve the instructions for importing from upstream.
VersionDeltaFile
1.3+21-6external/bsd/elftoolchain/README
+21-61 files

NetBSD/src XOn4m6Edoc 3RDPARTY

   doc/3RDPARTY: note updated in-tree Elftoolchain version.
VersionDeltaFile
1.2207+2-2doc/3RDPARTY
+2-21 files

NetBSD/src pfpNERhsys/dev/pci gffb.c

   now that we support bold characters, use it as intended with WSATTR_HILIT and
   change colour only for alpha fonts, where we can't draw bold (yet)
VersionDeltaFile
1.35+30-5sys/dev/pci/gffb.c
+30-51 files

NetBSD/src 8kMcVvHsys/arch/riscv/conf GENERIC64 GENERIC

   Annotate the commented out *HIST_PRINT options with KERNHIST_DELAY=0
VersionDeltaFile
1.25+4-4sys/arch/riscv/conf/GENERIC64
1.26+4-4sys/arch/riscv/conf/GENERIC
+8-82 files