NetBSD/src lTTUVnP — doc CHANGES-10.3

   Ticket #1355
VersionDeltaFile
1.1.2.11+9-1doc/CHANGES-10.3
+9-11 files

NetBSD/src XajSzMJ — libexec/ld.elf_so Makefile, share/mk bsd.lib.mk bsd.kmodule.mk

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

        share/mk/bsd.prog.mk: revision 1.360
        share/mk/bsd.lib.mk: revision 1.424
        share/mk/bsd.prog.mk: revision 1.361
        share/mk/bsd.kmodule.mk: revision 1.87
        share/mk/bsd.kmodule.mk: revision 1.88
        libexec/ld.elf_so/Makefile: revision 1.152
        (all via patch)

   bsd.prog.mk: Fix parallel builds of debug data.

   Previously, we had one rule to generate foo, and another rule to
   derive foo.debug from it with objcopy -- and then rewrite foo _in
   place_ to strip the debug data with objcopy.

   This is wrong -- one rule should never overwrite another rule's
   target; this violates the contract with make(1), and can lead it to
   run rules in parallel on files that are changing, which in turn can

    [39 lines not shown]
VersionDeltaFile
1.341.2.4+33-9share/mk/bsd.prog.mk
1.81.2.2+21-13share/mk/bsd.kmodule.mk
1.144.2.3+6-12libexec/ld.elf_so/Makefile
1.389.2.3+5-5share/mk/bsd.lib.mk
+65-394 files

NetBSD/src 8MCuTWL — doc CHANGES-10.3

   Ticket #1357
VersionDeltaFile
1.1.2.10+7-1doc/CHANGES-10.3
+7-11 files

NetBSD/src HcKOLql — . build.sh, tools Makefile.gnuhost

   Pull up following revision(s) (requested by tls in ticket #516):

        tools/Makefile.gnuhost: revision 1.58
        build.sh: revision 1.406

   Protect against autoconf/Xcode mishegas on macOS.

   This seems to strike periodically, confuse a developer or two for a little
   while, and then go away.  Why?  Because it happens in the interval between
   Apple issuing a version of Xcode that supports a newer OS, and newer APIs,
   and a given developer's system being upgraded (Apple typically ships Xcode
   supporting a new version of macOS a little prior to the OS itself).

   The symptom is that autoconf detects symbols that are weakly available with
   the new Xcode but which will cause built executables to dump core if called
   on the old host OS.  This is evidently being addressed in newer versions of
   autoconf but who knows when we'll get those across our tree.  The fix is to
   tell Xcode to use an older SDK if the potential for this condition is detected.
VersionDeltaFile
1.365.2.9+65-2build.sh
1.54.2.2+6-1tools/Makefile.gnuhost
+71-32 files

NetBSD/src azrnM6J — doc CHANGES-11.1

   Ticket #516
VersionDeltaFile
1.1.2.22+7-1doc/CHANGES-11.1
+7-11 files

NetBSD/src x1qdHcr — . build.sh, tools Makefile.gnuhost

   Pull up following revision(s) (requested by tls in ticket #516):

        tools/Makefile.gnuhost: revision 1.58
        build.sh: revision 1.406

   Protect against autoconf/Xcode mishegas on macOS.

   This seems to strike periodically, confuse a developer or two for a little
   while, and then go away.  Why?  Because it happens in the interval between
   Apple issuing a version of Xcode that supports a newer OS, and newer APIs,
   and a given developer's system being upgraded (Apple typically ships Xcode
   supporting a new version of macOS a little prior to the OS itself).

   The symptom is that autoconf detects symbols that are weakly available with
   the new Xcode but which will cause built executables to dump core if called
   on the old host OS.  This is evidently being addressed in newer versions of
   autoconf but who knows when we'll get those across our tree.  The fix is to
   tell Xcode to use an older SDK if the potential for this condition is detected.
VersionDeltaFile
1.399.2.1+65-2build.sh
1.57.2.1+6-1tools/Makefile.gnuhost
+71-32 files

NetBSD/src qvvBwwm — crypto/external/bsd/openssh/dist sshd-session.c

   sshd-session: For libwrap, check only "sshd"

   Reapply fix for PR bin/60512, which was lost during merge.
VersionDeltaFile
1.18+5-6crypto/external/bsd/openssh/dist/sshd-session.c
+5-61 files

NetBSD/src InEgmxN — sys/dev/sun kbdvar.h kbd.c

   make sure WSKBDIO_GETLEDS returns a wskbd-compatible bitmask, not the hardware
   mask
VersionDeltaFile
1.74+8-6sys/dev/sun/kbd.c
1.22+2-1sys/dev/sun/kbdvar.h
+10-72 files

NetBSD/src 3m81pzZ — sys/arch/aarch64/include armreg.h

   aarch64: add more system registers to armreg.h
VersionDeltaFile
1.84+45-1sys/arch/aarch64/include/armreg.h
+45-11 files

NetBSD/src NYNVPQL — . build.sh, tools Makefile.gnuhost

   Protect against autoconf/Xcode mishegas on macOS.

   This seems to strike periodically, confuse a developer or two for a little
   while, and then go away.  Why?  Because it happens in the interval between
   Apple issuing a version of Xcode that supports a newer OS, and newer APIs,
   and a given developer's system being upgraded (Apple typically ships Xcode
   supporting a new version of macOS a little prior to the OS itself).

   The symptom is that autoconf detects symbols that are weakly available with
   the new Xcode but which will cause built executables to dump core if called
   on the old host OS.  This is evidently being addressed in newer versions of
   autoconf but who knows when we'll get those across our tree.  The fix is to
   tell Xcode to use an older SDK if the potential for this condition is detected.
VersionDeltaFile
1.406+65-2build.sh
1.58+6-1tools/Makefile.gnuhost
+71-32 files

NetBSD/src Dk0lIiv — doc CHANGES-10.3

   Tickets #1352 - #1354, #1356
VersionDeltaFile
1.1.2.9+30-1doc/CHANGES-10.3
+30-11 files

NetBSD/src KRrjbj1 — external/gpl3/gcc/dist/gcc/config/arm arm.h arm.md

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

        external/gpl3/gcc/dist/gcc/config/arm/arm.cc: revision 1.2
        external/gpl3/gcc/dist/gcc/config/arm/arm.cc: revision 1.3
                (applied to arm.c)
        external/gpl3/gcc/dist/gcc/config/arm/arm.md: revision 1.24
        external/gpl3/gcc/dist/gcc/config/arm/arm.h: revision 1.27
        (all via patch)

   gcc/arm: For -mtp=soft, ensure stack alignment even in leaves.

   The option -mtp=soft, which is the default on earmv5, makes queries
   to the thread pointer, for access to static (`initial-exec')
   thread-local storage, go through the C runtime subroutine
   __aeabi_read_tp.  (For earmv>=6, we use the cp15 register via a
   single instruction.)

   Thus procedures which gcc thinks of as leaf procedures that use
   __aeabi_read_tp are not really leaf procedures -- and even though

    [113 lines not shown]
VersionDeltaFile
1.12.2.1+15-1external/gpl3/gcc/dist/gcc/config/arm/arm.c
1.20.2.1+4-1external/gpl3/gcc/dist/gcc/config/arm/arm.md
1.24.2.1+2-0external/gpl3/gcc/dist/gcc/config/arm/arm.h
+21-23 files

NetBSD/src Spv8Yfl — doc CHANGES-11.1

   Tickets #514 and #515
VersionDeltaFile
1.1.2.21+19-1doc/CHANGES-11.1
+19-11 files

NetBSD/src bnt4y5W — external/gpl3/gcc/dist/gcc/config/arm arm.h arm.md

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

        external/gpl3/gcc/dist/gcc/config/arm/arm.cc: revision 1.2
        external/gpl3/gcc/dist/gcc/config/arm/arm.cc: revision 1.3
        external/gpl3/gcc/dist/gcc/config/arm/arm.md: revision 1.24
        external/gpl3/gcc/dist/gcc/config/arm/arm.h: revision 1.27

   gcc/arm: For -mtp=soft, ensure stack alignment even in leaves.

   The option -mtp=soft, which is the default on earmv5, makes queries
   to the thread pointer, for access to static (`initial-exec')
   thread-local storage, go through the C runtime subroutine
   __aeabi_read_tp.  (For earmv>=6, we use the cp15 register via a
   single instruction.)

   Thus procedures which gcc thinks of as leaf procedures that use
   __aeabi_read_tp are not really leaf procedures -- and even though
   __aeabi_read_tp itself doesn't use the stack pointer at all,
   resolving the symbol may take a detour through the dynamic linker,

    [111 lines not shown]
VersionDeltaFile
1.1.1.3.2.1+15-1external/gpl3/gcc/dist/gcc/config/arm/arm.cc
1.22.2.1+4-1external/gpl3/gcc/dist/gcc/config/arm/arm.md
1.25.4.1+2-0external/gpl3/gcc/dist/gcc/config/arm/arm.h
+21-23 files

NetBSD/src WY4yf1T — libexec/ld.elf_so Makefile, share/mk bsd.lib.mk bsd.kmodule.mk

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

        share/mk/bsd.prog.mk: revision 1.360
        share/mk/bsd.lib.mk: revision 1.424
        share/mk/bsd.prog.mk: revision 1.361
        tests/libexec/ld.elf_so/Makefile: revision 1.33
        tests/lib/csu/Makefile: revision 1.14
        share/mk/bsd.kmodule.mk: revision 1.87
        share/mk/bsd.kmodule.mk: revision 1.88
        libexec/ld.elf_so/Makefile: revision 1.152

   bsd.prog.mk: Fix parallel builds of debug data.

   Previously, we had one rule to generate foo, and another rule to
   derive foo.debug from it with objcopy -- and then rewrite foo _in
   place_ to strip the debug data with objcopy.

   This is wrong -- one rule should never overwrite another rule's
   target; this violates the contract with make(1), and can lead it to

    [45 lines not shown]
VersionDeltaFile
1.356.2.3+33-10share/mk/bsd.prog.mk
1.86.4.1+21-14share/mk/bsd.kmodule.mk
1.151.2.3+6-12libexec/ld.elf_so/Makefile
1.419.2.3+2-2share/mk/bsd.lib.mk
1.28.2.5+2-1tests/libexec/ld.elf_so/Makefile
1.12.2.1+2-1tests/lib/csu/Makefile
+66-406 files

NetBSD/src 242YahS — libexec/ld.elf_so headers.c, sys/arch/mips/include elf_machdep.h

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

        libexec/ld.elf_so/headers.c: revision 1.73
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.4
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.5
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.7
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.8
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.9
        tests/libexec/ld.elf_so/t_dlinfo.c: revision 1.7
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.10
        tests/libexec/ld.elf_so/t_dlinfo.c: revision 1.8
        tests/libexec/ld.elf_so/t_rtld_r_debug.c: revision 1.11
        sys/arch/mips/include/elf_machdep.h: revision 1.21

   rtld tests: Don't use RZ for dlinfo.

   Use
           ATF_REQUIRE_EQ_MSG(dlinfo(...), 0, "dlinfo: %s", dlerror())
   instead, in order to accurately report the error on failure.  RZ is

    [64 lines not shown]
VersionDeltaFile
1.3.6.1+52-18tests/libexec/ld.elf_so/t_rtld_r_debug.c
1.70.2.3+36-6libexec/ld.elf_so/headers.c
1.6.10.1+11-10tests/libexec/ld.elf_so/t_dlinfo.c
1.20.34.1+2-1sys/arch/mips/include/elf_machdep.h
+101-354 files

NetBSD/src lYV9YMJ — tests/lib/librumphijack t_tcpip.sh

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

        tests/lib/librumphijack/t_tcpip.sh: revision 1.23
        tests/lib/librumphijack/t_tcpip.sh: revision 1.25
        tests/lib/librumphijack/t_tcpip.sh: revision 1.26

   tests/lib/librumphijack: Avoid trying to run rpcbind as non-root.

   Can probably make this work through rumphijack, but there's no sense
   in even trying the test if we can't, so let's reduce the unprivileged
   false alarms.


   t_tcpip: Mark ssh test xfail.

   PR bin/59278: tests/lib/librumphijack/t_tcpip:ssh failing since
   openssh 10.0 update



    [2 lines not shown]
VersionDeltaFile
1.21.2.1+31-2tests/lib/librumphijack/t_tcpip.sh
+31-21 files

NetBSD/src VAcU9Tu — tests/lib/libc/sys t_posix_fadvise.c

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

        tests/lib/libc/sys/t_posix_fadvise.c: revision 1.4

   t_posix_fadvise: Don't check whether errno is preserved.

   I can find no guarantee in POSIX about posix_fadvise preserving
   errno; until such language is found I'm going to assume there is no
   such guarantee.

   What is happening is that, sometimes, rump_sys_posix_fadvise waits on
   a mutex or condvar, which uses _lwp_park internally, which sometimes
   wakes up early with EALREADY because a wakeup was already pending for
   the thread by the time it entered _lwp_park.  And that EALREADY is
   delivered by _lwp_park via errno.

   PR kern/53931: posix_fadvise_reg test case fails randomly on real
   hardware
VersionDeltaFile
1.3.16.1+6-9tests/lib/libc/sys/t_posix_fadvise.c
+6-91 files

NetBSD/src dYOalZ3 — sys/conf ssp.mk

   sys/conf/ssp.mk: Conditionalize use of USE_SSP on HAVE_SSP=yes.

   Fixes the following failure after my previous change from
   ${USE_SSP:Uno} to ${USE_SSP} here so that make(1) would detect
   failure to define USE_SSP -- which it did, for alpha, hppa, and ia64:

   nbmake: /home/riastradh/netbsd/current/src/sys/conf/ssp.mk:3: Variable "USE_SSP" is undefined
           in /home/riastradh/netbsd/current/src/sys/conf/Makefile.kern.inc:397
           in /home/riastradh/netbsd/current/obj.hppa/sys/arch/hppa/compile/GENERIC/Makefile:1333
   nbmake: Fatal errors encountered -- cannot continue
   nbmake: stopped making "depend" in /home/riastradh/netbsd/current/obj.hppa/sys/arch/hppa/compile/GENERIC

   PR lib/60858: fortuitous embarrassment: fortify is all kinds of busted
VersionDeltaFile
1.7+2-2sys/conf/ssp.mk
+2-21 files

NetBSD/src 2gUHI3n — tests/crypto/libcrypto t_pubkey.sh

   Set timeout for the Diffie-Hellman test to 1000s, it takes ~450s
   on a landisk SH4 machine.
VersionDeltaFile
1.10+2-1tests/crypto/libcrypto/t_pubkey.sh
+2-11 files

NetBSD/src 4tatnjj — usr.bin/nbperf nbperf.c

   PR bin/60860 : Open output files later

   Defer opening the output files until after the input file has
   been read.

   Also, check that the -o (output) file and the (optional) -m map
   file don't name the same file (simple textual check, very easy
   to defeat if desired).

   And finally, abort early if the input file is empty, to avoid
   generating a hash function which ends with (something like):

           return (g[h[0]] + g[h[1]]) % 0;

   which, if it compiles at all, which I doubt (I didn't bother
   testing it) certainly won't do anything useful (maybe dump core).

   Note: I doubt the utility of this change, the three files, in
   any practical usage, will all be wanted once the has function

    [20 lines not shown]
VersionDeltaFile
1.10+25-15usr.bin/nbperf/nbperf.c
+25-151 files

NetBSD/src fkoZ9TE — sys/arch/aarch64/include armreg.h

   aarch64: bit 34 of HCR_EL2 is named E2H

   Rename HCR_EL2_VHE to HCR_EL2_E2H
VersionDeltaFile
1.83+2-2sys/arch/aarch64/include/armreg.h
+2-21 files

NetBSD/src vxMatwT — sys/arch/x86/x86 tsc.c

   Pull up the following, requested by andvar in ticket #1350:

        sys/arch/x86/x86/tsc.c                          1.65-1.67

   add support for invariant TSC for recent Zhaoxin CPUs.
VersionDeltaFile
1.57.4.2+11-4sys/arch/x86/x86/tsc.c
+11-41 files

NetBSD/src yG7H2O1 — . UPDATING

   UPDATING: Note fortification changes.

   PR lib/60858: fortuitous embarrassment: fortify is all kinds of busted
VersionDeltaFile
1.393+9-1UPDATING
+9-11 files

NetBSD/src 06zbrgi — doc CHANGES-10.3

   cosmetics
VersionDeltaFile
1.1.2.8+1-2doc/CHANGES-10.3
+1-21 files

NetBSD/src KzUzBoW — doc CHANGES-11.1

   Tickets #508 - #513
VersionDeltaFile
1.1.2.20+320-1doc/CHANGES-11.1
+320-11 files

NetBSD/src oK0GT4Q — sys/arch/sparc64/sparc64 ofw_patch.c

   Pull up following revision(s) (requested by jdc in ticket #513):

        sys/arch/sparc64/sparc64/ofw_patch.c: revision 1.19

   Remove misplaced break in V215 HDD GPIO case.
VersionDeltaFile
1.7.26.4+2-3sys/arch/sparc64/sparc64/ofw_patch.c
+2-31 files

NetBSD/src dntjT7d — doc CHANGES-10.3

   Tickets #1349 - #1351
VersionDeltaFile
1.1.2.7+74-1doc/CHANGES-10.3
+74-11 files

NetBSD/src 1T6RCcp — share/mk bsd.own.mk, sys/arch/amd64/conf Makefile.amd64

   sys: Fix USE_SSP?=yes settings in amd64, i386, and sparc64 makefiles.

   This was recently broken by the change in bsd.own.mk rev. 1.1488 to
   fix USE_FORT?=yes after bsd.own.mk in userland makefiles, which
   worked by unconditionally adding a conditional definition of USE_SSP
   based on lazy expansion of USE_FORT, instead of conditionally adding
   a conditional definition of USE_SSP based on eager expansion of
   USE_FORT (confused yet?):

   -.if ... ${USE_FORT:Uno} != "no" ...
   -USE_SSP?=   yes
   -.endif
   +USE_SSP?=   ${... ${USE_FORT:Uno} != "no" ...:?yes:no}

   This isolated (ha) change to bsd.own.mk saved the trouble of editing
   dozens of userland makefiles to ensure that USE_FORT is defined
   before bsd.own.mk -- and the trouble of adding diagnostics to detect
   the mistake should it rear its head again.  And it solved the problem
   systematically for userland.

    [21 lines not shown]
VersionDeltaFile
1.1489+3-2share/mk/bsd.own.mk
1.6+2-2sys/conf/ssp.mk
1.51+2-2sys/arch/xen/conf/Makefile.xen
1.198+2-2sys/arch/i386/conf/Makefile.i386
1.6+2-2sys/arch/amd64/include/Makefile.inc
1.87+2-2sys/arch/amd64/conf/Makefile.amd64
+13-122 files not shown
+17-168 files

NetBSD/src B0rVC7z — share/mk bsd.x11.mk

   Apply patch, requested by mrg in ticket #1351:

        share/mk/bsd.x11.mk             (apply patch)

   Bump xorg-server to 21.1.25
VersionDeltaFile
1.145.2.13+2-2share/mk/bsd.x11.mk
+2-21 files