NetBSD/src 4LyLrAWdoc CHANGES-11.0

   Ticket #348
VersionDeltaFile
1.1.2.109+7-1doc/CHANGES-11.0
+7-11 files

NetBSD/src 2pQEbXFusr.sbin/npf/npftest/libnpftest npf_rid_test.c

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

        usr.sbin/npf/npftest/libnpftest/npf_rid_test.c: revision 1.4

   adjust to holding the softnet_lock now that the kernel has changed to not do it.
VersionDeltaFile
1.3.2.1+5-1usr.sbin/npf/npftest/libnpftest/npf_rid_test.c
+5-11 files

NetBSD/src PPz6FHDsys/arch/evbmips/cavium mach_intr.c

   Fix accidentally deleted "Octeon"
VersionDeltaFile
1.6+3-3sys/arch/evbmips/cavium/mach_intr.c
+3-31 files

NetBSD/src Wxo6xiuusr.sbin/sysinst util.c run.c

   Make sysinst intercept kernel console messages using TIOCCONS at all
   times, not just when running an external command, and discard those
   that occur when not running an external command so that they don't
   mess up the display when running sysinst on the console.  Fixes
   PR install/54932.
VersionDeltaFile
1.85+48-1usr.sbin/sysinst/util.c
1.17+3-16usr.sbin/sysinst/run.c
1.39+4-1usr.sbin/sysinst/main.c
1.98+3-1usr.sbin/sysinst/defs.h
+58-194 files

NetBSD/src xUrVOX2doc CHANGES-9.5

   Tickets #2023 and #2018
VersionDeltaFile
1.1.2.106+26-1doc/CHANGES-9.5
+26-11 files

NetBSD/src l0Ubfhqusr.bin/pr egetopt.c

   pr: clean up

   Remove parenthesized return values, redundant casts.

   Fix lint warning about effectively discarding const qualifier when
   calling strchr.

   No binary change.
VersionDeltaFile
1.11+22-28usr.bin/pr/egetopt.c
+22-281 files

NetBSD/src 7sBUnPIexternal/bsd/jemalloc/dist/src jemalloc.c, external/cddl/osnet/dist/lib/libuutil/common uu_avl.c uu_list.c

   Apply patch, requested by riastradh in ticket #2018

        distrib/sets/lists/base/shl.mi                  (apply patch)
        distrib/sets/lists/debug/shl.mi                 (apply patch)
        external/bsd/jemalloc/dist/src/jemalloc.c       (apply patch)
        external/cddl/osnet/dist/lib/libuutil/common/libuutil_impl.h    (apply patch)
        external/cddl/osnet/dist/lib/libuutil/common/uu_avl.c   (apply patch)
        external/cddl/osnet/dist/lib/libuutil/common/uu_list.c  (apply patch)
        external/cddl/osnet/dist/lib/libuutil/common/uu_misc.c  (apply patch)
        lib/libc/gen/arc4random.c                       (apply patch)
        lib/libc/gen/pthread_atfork.c                   (apply patch)
        lib/libc/include/extern.h                       (apply patch)
        lib/libc/shlib_version                          (apply patch)
        lib/libc/stdlib/jemalloc.c                      (apply patch)
        lib/libc/stdlib/malloc.c                        (apply patch)

   libc, libuutil (zfs stuff): Fix postfork mutex actions to
   reinitialize the mutex instead of unlocking it.  Avoids potential
   deadlocks after fork in case other threads are waiting for a

    [3 lines not shown]
VersionDeltaFile
1.46.2.1+22-2lib/libc/stdlib/jemalloc.c
1.7.4.2+14-4external/bsd/jemalloc/dist/src/jemalloc.c
1.59.16.3+16-2lib/libc/stdlib/malloc.c
1.1.1.2.4.3+12-0external/cddl/osnet/dist/lib/libuutil/common/uu_avl.c
1.1.1.1.48.3+12-0external/cddl/osnet/dist/lib/libuutil/common/uu_list.c
1.10.18.2+6-2lib/libc/gen/pthread_atfork.c
+82-107 files not shown
+103-2213 files

NetBSD/src M3N9Tbbusr.bin/pr egetopt.c

   pr: fix ctype segmentation fault

   Could be triggered by running "pg +ä".
VersionDeltaFile
1.10+3-3usr.bin/pr/egetopt.c
+3-31 files

NetBSD/src jq8e522doc CHANGES-11.0

   Tickets #346 and #347
VersionDeltaFile
1.1.2.108+12-1doc/CHANGES-11.0
+12-11 files

NetBSD/src D4IRCqxsys/arch/virt68k/virt68k bus_dma.c

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

        sys/arch/virt68k/virt68k/bus_dma.c: revision 1.5

   Fill in bus_dmamap_sync() for 68030.  Since 68030 caches are write-through,
   this is pretty trivial: just invalidate the on-chip + any external D cache
   in the PREREAD case.  (See comment in code for why PREREAD is preferred
   over POSTREAD.)

   PR kern/60144
VersionDeltaFile
1.1.4.1+21-3sys/arch/virt68k/virt68k/bus_dma.c
+21-31 files

NetBSD/src 987IXpnsys/uvm uvm_km.c

   Pull up following revision(s) (requested by kbowling in ticket #2023):

        sys/uvm/uvm_km.c: revision 1.168

   uvm_km_pgremove: pmap_update before freeing pages

   Update the commentary in uvm_km_free to reflect this reality while here
   Reviewd by skrll@

   PR kern/60376
VersionDeltaFile
1.146.4.2+6-4sys/uvm/uvm_km.c
+6-41 files

NetBSD/src LeY7d5Zdoc CHANGES-10.2

   Ticket #1293
VersionDeltaFile
1.1.2.104+6-1doc/CHANGES-10.2
+6-11 files

NetBSD/src kZb3Hkqsys/uvm uvm_km.c

   Pull up following revision(s) (requested by kbowling in ticket #1293):

        sys/uvm/uvm_km.c: revision 1.168

   uvm_km_pgremove: pmap_update before freeing pages

   Update the commentary in uvm_km_free to reflect this reality while here
   Reviewd by skrll@

   PR kern/60376
VersionDeltaFile
1.162.4.3+6-4sys/uvm/uvm_km.c
+6-41 files

NetBSD/src OXMWLpbsys/uvm uvm_km.c

   Pull up following revision(s) (requested by kbowling in ticket #346):

        sys/uvm/uvm_km.c: revision 1.168

   uvm_km_pgremove: pmap_update before freeing pages

   Update the commentary in uvm_km_free to reflect this reality while here
   Reviewd by skrll@

   PR kern/60376
VersionDeltaFile
1.166.2.2+6-4sys/uvm/uvm_km.c
+6-41 files

NetBSD/src t0oB7eqsys/arch/evbmips/cavium mach_intr.c

   Correct Alchemy to Octeon from port origination
VersionDeltaFile
1.5+4-4sys/arch/evbmips/cavium/mach_intr.c
+4-41 files

NetBSD/src EFoiHpMsys/uvm uvm_km.c

   uvm_km_pgremove: pmap_update before freeing pages

   Update the commentary in uvm_km_free to reflect this reality while here

   Reviewd by skrll@

   PR kern/60376
VersionDeltaFile
1.168+6-4sys/uvm/uvm_km.c
+6-41 files

NetBSD/src nAQ89UJdoc CHANGES-9.5

   Remove entries for #2018 and #2019, they have been undone temporarily.
VersionDeltaFile
1.1.2.105+1-23doc/CHANGES-9.5
+1-231 files

NetBSD/src f6Ckb8Dexternal/cddl/osnet/dist/lib/libuutil/common uu_avl.c uu_list.c, lib/libc/gen arc4random.c

   Undo ticket #2018 for now, needs more work
VersionDeltaFile
1.59.16.2+2-16lib/libc/stdlib/malloc.c
1.1.1.2.4.2+0-12external/cddl/osnet/dist/lib/libuutil/common/uu_avl.c
1.1.1.1.48.2+0-12external/cddl/osnet/dist/lib/libuutil/common/uu_list.c
1.4.4.2+1-6external/cddl/osnet/dist/lib/libuutil/common/uu_misc.c
1.31.18.2+1-1lib/libc/gen/arc4random.c
1.1.1.1.48.2+0-2external/cddl/osnet/dist/lib/libuutil/common/libuutil_impl.h
+4-496 files

NetBSD/src G7OxhMYsys/kern uipc_usrreq.c, tests/net/net t_unix.c

   Undo ticket #2019 for now, needs more work
VersionDeltaFile
1.18.2.2+3-94tests/net/net/t_unix.c
1.194.2.4+2-2sys/kern/uipc_usrreq.c
+5-962 files

NetBSD/src DqQmmDgtests/lib/libc/locale t_mbstowcs.c t_mbrtowc.c

   t_mbstowcs: Mark UTF-8 test cases xfail.

   mbrtowc fails to reject invalid (legacy 5/6-byte) UTF-8.

   Need to split this test up into:

   1. correctly decoding the valid inputs
   2. correctly rejecting the invalid inputs

   Also don't stop at the first failing test in t_mbrtowc; keep going to
   test everything, for better diagnostics at the end in the test
   report.

   As with t_mbrtowc, this should be split into multiple parts, TBD.

   PR lib/60369: mbrtowc, mbrlen have wrong return value for some
   invalid byte sequences: Invalid sequence
VersionDeltaFile
1.4+33-13tests/lib/libc/locale/t_mbstowcs.c
1.4+4-3tests/lib/libc/locale/t_mbrtowc.c
+37-162 files

NetBSD/src qXdoLbCsys/dev mm.c

   mm(4): Only grant kva exposure if user opens /dev/kmem.

   Don't apply the same to /dev/null, /dev/zero, or anything else.

   PR kern/60374: opening /dev/null exposes kva
VersionDeltaFile
1.26+6-3sys/dev/mm.c
+6-31 files

NetBSD/src wAChPHzsys/compat/netbsd32 netbsd32_socket.c

   compat32: Fix accidental use of error branch in recvmsg(2).

   Avoids use-after-free / double-free.

   PR kern/60373: compat32: kernel use-after-free in recvmsg
VersionDeltaFile
1.57+4-3sys/compat/netbsd32/netbsd32_socket.c
+4-31 files

NetBSD/src SrVi9krdoc CHANGES-9.5

   Tickets #2014 - #2022, #2004
VersionDeltaFile
1.1.2.104+85-1doc/CHANGES-9.5
+85-11 files

NetBSD/src 75uQnYXlib/libnvmm libnvmm.c

   Pull up following revision(s) (requested by nia in ticket #2004):

        lib/libnvmm/libnvmm.c: revision 1.21 (patch)

   libnvmm(3): Check return value of malloc.

   adapted from a patch by Aaron LI at DragonflyBSD, commit id
   7c543ef0a3b08473f10dcc066e531c459fbc3879
VersionDeltaFile
1.14.4.2+11-4lib/libnvmm/libnvmm.c
+11-41 files

NetBSD/src G56XgMOsys/uvm uvm_km.c

   Pull up following revision(s) (requested by kbowling in ticket #2022):

        sys/uvm/uvm_km.c: revision 1.167

   uvm_km_pgremove_intrsafe: drain TLB shootdown before freeing pages

   Call pmap_update(pmap_kernel()) between pmap_kremove and the page
   free so the shootdown completes first.

   Reviewed by skrll@
VersionDeltaFile
1.146.4.1+3-2sys/uvm/uvm_km.c
+3-21 files

NetBSD/src ybldGCndoc CHANGES-10.2

   Tickets #1273 - #1274, #1276 - #1292
VersionDeltaFile
1.1.2.103+2,986-1doc/CHANGES-10.2
+2,986-11 files

NetBSD/src zJiji9ksys/uvm uvm_km.c

   Pull up following revision(s) (requested by kbowling in ticket #1292):

        sys/uvm/uvm_km.c: revision 1.167

   uvm_km_pgremove_intrsafe: drain TLB shootdown before freeing pages

   Call pmap_update(pmap_kernel()) between pmap_kremove and the page
   free so the shootdown completes first.

   Reviewed by skrll@
VersionDeltaFile
1.162.4.2+3-2sys/uvm/uvm_km.c
+3-21 files

NetBSD/src hIaHxcvdoc CHANGES-11.0

   Tickets #313 - #315, #317, #318, #325, #326, #328 - #334,
   #338 - #343, #345
VersionDeltaFile
1.1.2.107+601-1doc/CHANGES-11.0
+601-11 files

NetBSD/src Sn51iGdsys/uvm uvm_km.c

   Pull up following revision(s) (requested by kbowling in ticket #345):

        sys/uvm/uvm_km.c: revision 1.167

   uvm_km_pgremove_intrsafe: drain TLB shootdown before freeing pages

   Call pmap_update(pmap_kernel()) between pmap_kremove and the page
   free so the shootdown completes first.

   Reviewed by skrll@
VersionDeltaFile
1.166.2.1+3-2sys/uvm/uvm_km.c
+3-21 files

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

   lua(4): Fix and test some issues.

   - Require read permission for LUAINFO.
   - Require write permission for all others:
     . LUACREATE
     . LUADESTROY
     . LUALOAD
     . LUAREQUIRE
   - Don't panic in LUAINFO if there's zero states.
   - Add missing sys/stdbool.h in sys/lua.h.

   This is not a real test suite for lua.kmod -- it doesn't verify the
   module does anything useful; it just verifies that _if_ you go out of
   your way to load the experimental kernel module, it doesn't enable
   unprivileged users to wreak havoc with /dev/lua.

   PR misc/60375: lua.kmod enables local privilege escalation
VersionDeltaFile
1.1+233-0tests/kernel/t_lua.c
1.29+13-1sys/modules/lua/lua.c
1.10+3-1sys/sys/lua.h
1.1422+2-1distrib/sets/lists/tests/mi
1.97+2-1tests/kernel/Makefile
1.514+2-1distrib/sets/lists/debug/mi
+255-56 files