NetBSD/src P7YQF9s — doc CHANGES-11.1

   Tickets #539 - #544
VersionDeltaFile
1.1.2.28+54-1doc/CHANGES-11.1
+54-11 files

NetBSD/src xgKyKZU — doc CHANGES-10.3

   Tickets #1385 - #1389
VersionDeltaFile
1.1.2.21+41-1doc/CHANGES-10.3
+41-11 files

NetBSD/src 7gqCznw — common/lib/libc/arch/x86_64/string memchr.S

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

        common/lib/libc/arch/x86_64/string/memchr.S: revision 1.7
        common/lib/libc/arch/x86_64/string/memchr.S: revision 1.8
        tests/lib/libc/string/t_memchr.c: revision 1.4
        tests/lib/libc/string/t_memchr.c: revision 1.5
        tests/lib/libc/string/t_memchr.c: revision 1.6
        tests/lib/libc/string/t_memchr.c: revision 1.7
        (all via patch)

   PR lib/60744 demonstrate memchr(3) is busticated with a test


   PR lib/60744 at least this test passes on i386


   t_memchr: Sprinkle a few more NUL byte tests.
   PR lib/60744: memchr(3) is busticated


    [8 lines not shown]
VersionDeltaFile
1.6.40.1+53-14common/lib/libc/arch/x86_64/string/memchr.S
+53-141 files

NetBSD/src RlHI1lp — common/lib/libc/arch/x86_64/string memchr.S

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

        tests/lib/libc/string/Makefile: revision 1.16
        common/lib/libc/arch/x86_64/string/memchr.S: revision 1.7
        common/lib/libc/arch/x86_64/string/memchr.S: revision 1.8
        tests/lib/libc/string/t_memchr.c: revision 1.4
        tests/lib/libc/string/t_memchr.c: revision 1.5
        tests/lib/libc/string/t_memchr.c: revision 1.6
        tests/lib/libc/string/t_memchr.c: revision 1.7

   PR lib/60744 demonstrate memchr(3) is busticated with a test


   PR lib/60744 at least this test passes on i386


   t_memchr: Sprinkle a few more NUL byte tests.
   PR lib/60744: memchr(3) is busticated


    [8 lines not shown]
VersionDeltaFile
1.6.48.1+53-14common/lib/libc/arch/x86_64/string/memchr.S
+53-141 files

NetBSD/src NNFTfMz — sys/net if_l2tp.c

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

        sys/net/if_l2tp.c: revision 1.50
        sys/net/if_l2tp.c: revision 1.51

   l2tp(4): Add missing kauth checks for various configuration ioctls.
   PR kern/60743: l2tp(4): missing and broken access/sanity checks

   l2tp(4): Fix logic in cookie length checks.
   PR kern/60743: l2tp(4): missing and broken access/sanity checks
VersionDeltaFile
1.48.4.2+25-4sys/net/if_l2tp.c
+25-41 files

NetBSD/src YkGwd14 — sys/net if_l2tp.c

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

        sys/net/if_l2tp.c: revision 1.50
        sys/net/if_l2tp.c: revision 1.51

   l2tp(4): Add missing kauth checks for various configuration ioctls.
   PR kern/60743: l2tp(4): missing and broken access/sanity checks

   l2tp(4): Fix logic in cookie length checks.
   PR kern/60743: l2tp(4): missing and broken access/sanity checks
VersionDeltaFile
1.49.8.1+25-4sys/net/if_l2tp.c
+25-41 files

NetBSD/src 867OcP4 — sys/compat/linux32/arch/aarch64 linux32_exec_machdep.c

   Pull up the following requested by riastradh in ticket #1386:

        sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c 1.3 (patch)

   execve(2): Set p_stackbase in execve_runproc, not execve_loadvm.

   execve_loadvm must not have side effects on the running process for
   two reasons:

   1. If execve(2) fails, it has to be able to back out and return to
      the calling process.  For example, the shell will execute the
      first of a series of candidate paths that works when it searches
      $PATH, and if one fails, it has to be able to move on to try the
      next.

   2. The caller may be the _parent_ process -- this is the case when
      we're in posix_spawn.

   Instead, it must be set in execve_runproc, after we're committed to

    [22 lines not shown]
VersionDeltaFile
1.1.4.1+2-4sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c
+2-41 files

NetBSD/src hFZYqNG — sys/net if.c

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

        sys/net/if.c: revision 1.539

   ioctl(SIOCSIFGENERIC): Check for network interface setpriv.

   PR kern/60745: doifioctl: priv check for SIOCSIFGENERIC
VersionDeltaFile
1.528.2.3+3-2sys/net/if.c
+3-21 files

NetBSD/src kEkDTwv — sys/net if.c

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

        sys/net/if.c: revision 1.539

   ioctl(SIOCSIFGENERIC): Check for network interface setpriv.

   PR kern/60745: doifioctl: priv check for SIOCSIFGENERIC
VersionDeltaFile
1.535.2.3+3-2sys/net/if.c
+3-21 files

NetBSD/src ztX8oiR — sys/compat/netbsd32 netbsd32_signal.c, sys/kern exec_subr.c kern_fork.c

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

        sys/compat/netbsd32/netbsd32_signal.c: revision 1.57
        sys/kern/kern_fork.c: revision 1.235
        sys/kern/exec_subr.c: revision 1.93 (via patch)
        sys/kern/kern_exec.c: revision 1.534 (via patch)
        sys/kern/kern_exec.c: revision 1.535 (via patch)
        sys/kern/exec_script.c: revision 1.86 (via patch)

   exec: Free struct exec_package::ep_emul_arg in more error paths.

   We should really formalize the destruction path for these temporary
   exec data structures; these error branches are all tangled messes of
   spaghetti.

   PR kern/60657: panic: kernel diagnostic assertion "epp->ep_emul_arg
   == NULL" failed: file
   "/home/riastradh/netbsd/current/src/sys/kern/kern_exec.c", line 535


    [78 lines not shown]
VersionDeltaFile
1.518.4.5+28-2sys/kern/kern_exec.c
1.83.14.1+11-2sys/kern/exec_script.c
1.229.4.1+10-2sys/kern/kern_fork.c
1.53.4.2+4-3sys/compat/netbsd32/netbsd32_signal.c
1.84.20.3+2-4sys/kern/exec_subr.c
+55-135 files

NetBSD/src oqdsFVX — sys/compat/linux32/arch/aarch64 linux32_exec_machdep.c, sys/compat/netbsd32 netbsd32_signal.c

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

        sys/compat/netbsd32/netbsd32_signal.c: revision 1.57
        tests/kernel/h_getstack.c: revision 1.1
        sys/kern/kern_fork.c: revision 1.235
        sys/kern/exec_subr.c: revision 1.93
        tests/kernel/Makefile: revision 1.100
        tests/kernel/t_signal_and_sp.c: revision 1.22
        tests/kernel/t_signal_and_sp.c: revision 1.23
        tests/kernel/t_signal_and_sp.c: revision 1.24
        distrib/sets/lists/tests/mi: revision 1.1429
        tests/kernel/Makefile: revision 1.99
        distrib/sets/lists/debug/mi: revision 1.518
        tests/kernel/getstack.c: revision 1.1
        sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c: revision 1.3
        tests/kernel/getstack.h: revision 1.1
        sys/kern/kern_exec.c: revision 1.534
        sys/kern/kern_exec.c: revision 1.535
        sys/kern/exec_script.c: revision 1.86

    [89 lines not shown]
VersionDeltaFile
1.531.2.2+28-2sys/kern/kern_exec.c
1.85.2.1+11-2sys/kern/exec_script.c
1.232.2.1+10-2sys/kern/kern_fork.c
1.55.2.1+4-3sys/compat/netbsd32/netbsd32_signal.c
1.91.2.1+2-4sys/kern/exec_subr.c
1.2.8.1+2-4sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c
+57-176 files

NetBSD/src xI4cRDL — sys/arch/amd64/amd64 process_machdep.c, sys/arch/i386/i386 process_machdep.c

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

        sys/kern/sys_process_lwpstatus.c: revision 1.6
        sys/kern/sys_process_lwpstatus.c: revision 1.7
        sys/kern/sys_process_lwpstatus.c: revision 1.8
        sys/arch/x86/include/dbregs.h: revision 1.9
        sys/kern/sys_process_lwpstatus.c: revision 1.9
        sys/sys/ptrace.h: revision 1.78
        sys/arch/x86/x86/dbregs.c: revision 1.16
        sys/kern/sys_process_lwpstatus.c: revision 1.10
        sys/arch/i386/i386/process_machdep.c: revision 1.98
        sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.10
        sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.11
        sys/arch/amd64/amd64/process_machdep.c: revision 1.51

   ptrace/procfs: Take lwp lock around process_read/write_(fp)regs(32).

   And verify that the lwp is in LSSTOP state before trying to read.


    [62 lines not shown]
VersionDeltaFile
1.4.4.2+206-46sys/kern/sys_process_lwpstatus.c
1.9.4.1+142-69sys/compat/netbsd32/netbsd32_ptrace.c
1.15.24.1+55-9sys/arch/x86/x86/dbregs.c
1.96.20.1+13-2sys/arch/i386/i386/process_machdep.c
1.49.20.1+13-2sys/arch/amd64/amd64/process_machdep.c
1.75.4.2+5-1sys/sys/ptrace.h
+434-1291 files not shown
+436-1307 files

NetBSD/src NSl6qzZ — sys/arch/amd64/amd64 process_machdep.c, sys/arch/i386/i386 process_machdep.c

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

        sys/kern/sys_process_lwpstatus.c: revision 1.6
        sys/kern/sys_process_lwpstatus.c: revision 1.7
        sys/kern/sys_process_lwpstatus.c: revision 1.8
        sys/arch/x86/include/dbregs.h: revision 1.9
        sys/kern/sys_process_lwpstatus.c: revision 1.9
        sys/sys/ptrace.h: revision 1.78
        sys/arch/x86/x86/dbregs.c: revision 1.16
        sys/kern/sys_process_lwpstatus.c: revision 1.10
        sys/arch/i386/i386/process_machdep.c: revision 1.98
        sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.10
        sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.11
        sys/arch/amd64/amd64/process_machdep.c: revision 1.51

   ptrace/procfs: Take lwp lock around process_read/write_(fp)regs(32).

   And verify that the lwp is in LSSTOP state before trying to read.


    [62 lines not shown]
VersionDeltaFile
1.5.2.1+206-46sys/kern/sys_process_lwpstatus.c
1.9.12.1+142-69sys/compat/netbsd32/netbsd32_ptrace.c
1.15.32.1+55-9sys/arch/x86/x86/dbregs.c
1.97.4.1+13-2sys/arch/i386/i386/process_machdep.c
1.50.4.1+13-2sys/arch/amd64/amd64/process_machdep.c
1.77.2.1+5-1sys/sys/ptrace.h
+434-1291 files not shown
+436-1307 files

NetBSD/src 4JbG5qR — sys/arch/amd64/amd64 machdep.c

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

        sys/arch/amd64/amd64/machdep.c: revision 1.381

   amd64: Make XSAVE area overlap mcontext_t on signal delivery.

   Additionally, if the stack pointer is already such that pushing a
   struct sigframe_siginfo would make it congruent to -8 modulo the
   stack alignment, as the signal handler expects (-8 for the return
   address on an aligned stack frame), don't re-align it again -- it's
   just fine as is.

   Previously, for NetBSD 11.0, we would copy out an XSAVE area
   separately from ucontext_t, and copy out the FXSAVE content twice in
   two different places on the stack -- one in the ucontext_t for
   compatibility so older applications can still read x87/SSE registers,
   and one in the XSAVE area:

             +-----------------------+           | (other XSAVE stuff)   |  |

    [88 lines not shown]
VersionDeltaFile
1.376.2.3+126-13sys/arch/amd64/amd64/machdep.c
+126-131 files

NetBSD/src itIFRFJ — sys/dev/raidframe rf_alloclist.c rf_diskqueue.c

   Be more conservative with pool and freelist sizes and address potential deadlocks discovered while working on PR kern/60396.

   Note that with this change we track the total amount of memory allocated to
   both reserved buffers and pools on a per-array basis, and constrain
   "openings" to keep it under control on small-memory machines.

   1) Per suggestion from oster@, rename the "emergency" freelists that are now
      used before dynamic allocation to "reserved" freelists.

   2) Eliminate static pool sizes and compute dynamically instead.  For now,
      most are larger to avoid potential deadlocks discussed below.  With
      some restructuring of the I/O dispatch model they can probably get smaller.

   3) Address an M_WAITOK allocation with PSS_MUTEX held in "forced"
      reconstruction.  It appears this could deadlock rf_RaidIOThread
      and the recon thread.  Added another small set of emergency
      buffers to cover this case.

   4) Reorganize rf_Configure to initialize pools _after_ disk,

    [35 lines not shown]
VersionDeltaFile
1.146+141-81sys/dev/raidframe/rf_driver.c
1.131+70-28sys/dev/raidframe/rf_reconstruct.c
1.53+63-31sys/dev/raidframe/rf_map.c
1.60+54-30sys/dev/raidframe/rf_dagutils.c
1.67+29-14sys/dev/raidframe/rf_diskqueue.c
1.30+33-6sys/dev/raidframe/rf_alloclist.c
+390-19013 files not shown
+528-23919 files

NetBSD/src eiD5oCQ — doc CHANGES-10.3

   Ticket #1381
VersionDeltaFile
1.1.2.20+12-1doc/CHANGES-10.3
+12-11 files

NetBSD/src LadQFXp — lib/libc/gen arc4random.c, lib/libc/include arc4random.h

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

        lib/libc/gen/arc4random.c: revision 1.39
        sys/kern/kern_entropy.c: revision 1.73
        lib/libc/gen/arc4random.c: revision 1.50
        lib/libc/include/arc4random.h: revision 1.2
        lib/libc/include/arc4random.h: revision 1.3
        lib/libc/include/arc4random.h: revision 1.4
        lib/libc/gen/arc4random.c: revision 1.42
        lib/libc/gen/arc4random.c: revision 1.44
        lib/libc/gen/arc4random.c: revision 1.45
        lib/libc/gen/arc4random.c: revision 1.46
        lib/libc/gen/arc4random.c: revision 1.47
        lib/libc/gen/arc4random.c: revision 1.48
        lib/libc/gen/arc4random.c: revision 1.49
        tests/lib/libc/gen/t_arc4random.c: revision 1.2
        tests/lib/libc/gen/t_arc4random.c: revision 1.3
        tests/lib/libc/gen/t_arc4random.c: revision 1.4
        tests/lib/libc/gen/t_arc4random.c: revision 1.5

    [138 lines not shown]
VersionDeltaFile
1.33.2.3+207-95lib/libc/gen/arc4random.c
1.1.2.3+235-7tests/lib/libc/gen/t_arc4random.c
1.236.4.1+8-1sys/sys/sysctl.h
1.57.4.7+4-4sys/kern/kern_entropy.c
1.1.2.3+4-1lib/libc/include/arc4random.h
+458-1085 files

NetBSD/src 4c86xB1 — doc CHANGES-10.3

   Tickets #1384
VersionDeltaFile
1.1.2.19+10-1doc/CHANGES-10.3
+10-11 files

NetBSD/src 9R8P3PI — external/bsd/file/dist configure.ac, external/bsd/file/dist/src fsmagic.c

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

        external/bsd/file/dist/src/fsmagic.c: revision 1.19
        external/bsd/file/include/config.h: revision 1.22
        tests/dev/fss/t_fss.sh: revision 1.8
        lib/libutil/stat_flags.c: revision 1.4
        lib/libutil/stat_flags.c: revision 1.5
        external/bsd/file/dist/configure.ac: revision 1.24
        (all via patch)

   string_to_flags(3): Support `snap' (SF_SNAPSHOT).

   PR bin/60380: find(1) can't find snapshots


   string_to_flags(3): Put `snap' under #ifdef SF_SNAPSHOT.

   Same as in flags_to_string(3).  Not really sure why, but let's keep it
   consistent so there's only one question to ponder and not two.

    [13 lines not shown]
VersionDeltaFile
1.5.2.1+62-2tests/dev/fss/t_fss.sh
1.17.2.1+24-2external/bsd/file/dist/src/fsmagic.c
1.3.2.1+5-2lib/libutil/stat_flags.c
1.18.2.1+3-0external/bsd/file/include/config.h
1.21.2.1+1-0external/bsd/file/dist/configure.ac
+95-65 files

NetBSD/src DwLcWUh — doc CHANGES-11.1

   ticket #538
VersionDeltaFile
1.1.2.27+10-1doc/CHANGES-11.1
+10-11 files

NetBSD/src 280MIO1 — external/bsd/file/dist configure.ac, external/bsd/file/dist/src fsmagic.c

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

        external/bsd/file/dist/src/fsmagic.c: revision 1.19
        external/bsd/file/include/config.h: revision 1.22
        tests/dev/fss/t_fss.sh: revision 1.8
        lib/libutil/stat_flags.c: revision 1.4
        lib/libutil/stat_flags.c: revision 1.5
        external/bsd/file/dist/configure.ac: revision 1.24
        (all via patch)

   string_to_flags(3): Support `snap' (SF_SNAPSHOT).

   PR bin/60380: find(1) can't find snapshots


   string_to_flags(3): Put `snap' under #ifdef SF_SNAPSHOT.

   Same as in flags_to_string(3).  Not really sure why, but let's keep it
   consistent so there's only one question to ponder and not two.

    [13 lines not shown]
VersionDeltaFile
1.7.2.1+61-1tests/dev/fss/t_fss.sh
1.18.4.1+24-2external/bsd/file/dist/src/fsmagic.c
1.3.6.1+5-2lib/libutil/stat_flags.c
1.20.2.1+3-0external/bsd/file/include/config.h
1.22.4.1+1-0external/bsd/file/dist/configure.ac
+94-55 files

NetBSD/src ovVXW4z — doc CHANGES-10.3

   Tickets #1375 - #1380
VersionDeltaFile
1.1.2.18+55-1doc/CHANGES-10.3
+55-11 files

NetBSD/src 4mDpQI1 — lib/libc/gen pthread_atfork.c

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

        lib/libc/gen/pthread_atfork.c: revision 1.19

   PR/59112: Martin Husemann: switch to using mmap instead of malloc
VersionDeltaFile
1.17.2.1+10-5lib/libc/gen/pthread_atfork.c
+10-51 files

NetBSD/src QOLdPAC — tests/kernel t_execregs.c t_execregs.c, tests/kernel/arch/aarch64 execregs.c execregs.c

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

        sys/arch/vax/vax/trap.c: revision 1.139
        tests/kernel/arch/aarch64/execregs.c: revision 1.1
        tests/kernel/Makefile: revision 1.85
        tests/kernel/Makefile: revision 1.86
        distrib/sets/lists/tests/mi: revision 1.1359
        tests/kernel/Makefile: revision 1.87
        sys/arch/alpha/alpha/machdep.c: revision 1.380
        tests/kernel/arch/aarch64/execregs.h: revision 1.1
        sys/arch/m68k/m68k/m68k_machdep.c: revision 1.12
        sys/arch/i386/i386/machdep.c: revision 1.844
        sys/arch/i386/i386/machdep.c: revision 1.845
        sys/arch/hppa/hppa/machdep.c: revision 1.22
        sys/arch/sh3/sh3/sh3_machdep.c: revision 1.114
        tests/kernel/arch/x86_64/execregs.c: revision 1.1
        tests/kernel/arch/aarch64/h_execregs.S: revision 1.1
        sys/arch/mips/mips/mips_machdep.c: revision 1.307
        tests/kernel/h_execregs_unimpl.c: revision 1.1

    [131 lines not shown]
VersionDeltaFile
1.2.4.1+0-387tests/kernel/arch/hppa/execregs.c
1.2.4.2+387-0tests/kernel/arch/hppa/execregs.c
1.1.6.1+0-226tests/kernel/arch/aarch64/execregs.c
1.1.6.2+226-0tests/kernel/arch/aarch64/execregs.c
1.7.6.1+0-197tests/kernel/t_execregs.c
1.7.6.2+197-0tests/kernel/t_execregs.c
+810-81042 files not shown
+2,437-2,38648 files

NetBSD/src ppKam6v — lib/libc/arch/arm/misc arm_initfini.c

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

        lib/libc/arch/arm/misc/arm_initfini.c: revision 1.8
        lib/libc/arch/arm/misc/arm_initfini.c: revision 1.9
        lib/libc/arch/arm/misc/arm_initfini.c: revision 1.10

   PR/59063: Martin Husemann: Avoid using malloc through sysctlbyname by doing
   the sysctl name to mib translation directly. Thanks martin@ for testing!

   use the latest version that does not abort on error.

   don't abort, just fail.
VersionDeltaFile
1.7.38.1+39-8lib/libc/arch/arm/misc/arm_initfini.c
+39-81 files

NetBSD/src QHibXIW — external/bsd/nvi/dist/regex regcomp.c

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

        external/bsd/nvi/dist/regex/regcomp.c: revision 1.9

   PR/59103: RVP: Search of non-ASCII chars. broken when `:set extended' is set
VersionDeltaFile
1.8.4.1+4-4external/bsd/nvi/dist/regex/regcomp.c
+4-41 files

NetBSD/src a5WaIpn — share/man/man9 module.9

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

        share/man/man9/module.9: revision 1.55

   PR 59102: fix signature of module callback function.
VersionDeltaFile
1.54.2.1+2-2share/man/man9/module.9
+2-21 files

NetBSD/src fUUIxxB — sys/dev/usb ohci.c

   revert ohci 1.330:

   ---
   use PR_ZERO on on pool allcoated memory and get rid of memset.

   currently, xfer is zeroed using the wrong size.
   remove it and simplify code.

   reviewed by christos@
   ---

   Taylor pointed out that pool_cache*() does not document or honour
   PR_ZERO, so this actually no longer is returning zeroed ohci_xfer
   structures.  it also did not have the "wrong size", but that is an
   understandable mistake -- the cost assignes to "struct usb_xfer *",
   but is really a "struct ohci_xfer", which is usb_xfer + more, so
   while it appears to be memset()ing beyond the buffer, it isn't.

   wrt pool_cache and PR_ZERO, there's a strange conflict between the

    [11 lines not shown]
VersionDeltaFile
1.333+7-5sys/dev/usb/ohci.c
+7-51 files

NetBSD/src xedkbq2 — sys/net/npf npf_ext_route.c

   s/suucessfuly/successfully/ in comment.
VersionDeltaFile
1.18+2-2sys/net/npf/npf_ext_route.c
+2-21 files

NetBSD/src euJPiek — libexec/httpd/libbozohttpd libbozohttpd.3

   s/sucess/success/
VersionDeltaFile
1.8+2-2libexec/httpd/libbozohttpd/libbozohttpd.3
+2-21 files