NetBSD/src Nc1mvyk — distrib/sets/lists/base ad.arm ad.earmv7hf

   Retry gzboot_NETWALKER_0x90008000.bin addition, this time in the
   sets where we actually build the corresponding kernel.
VersionDeltaFile
1.95+1-2distrib/sets/lists/base/ad.arm
1.1+3-0distrib/sets/lists/base/ad.earmv7hf
1.1+3-0distrib/sets/lists/base/ad.earmv7
+7-23 files

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

   aarch64: armreg.h consistently use __BITS(N, M) with N > M. NFCI.
VersionDeltaFile
1.91+19-19sys/arch/aarch64/include/armreg.h
+19-191 files

NetBSD/src KePGeZi — sys/dev/pci machfb.c

   add hardware cursor support
   works on my beige G3's Rage II, needs testing on everything else
VersionDeltaFile
1.113+213-3sys/dev/pci/machfb.c
+213-31 files

NetBSD/src Mge39ys — sys/arch/arm/imx imx51_esdhc.c, sys/arch/evbarm/kobo kobo_machdep.c

   kobo: Fix detection of the non-removable SD card.

   The SD card was not recognized as a non-removable card.

   Tested: KOBO and NETWALKER kernels build with no warnings.
   On a Kobo Glo (N613), ld0 did not attach before this change.  With
   this change, "ld0 at sdmmc0" appears and the card is read in 4-bit
   mode at 50 MHz.  NETWALKER is build-tested only.
VersionDeltaFile
1.10+20-2sys/arch/evbarm/kobo/kobo_machdep.c
1.5+7-2sys/arch/arm/imx/imx51_esdhc.c
+27-42 files

NetBSD/src UuYtdjT — sys/arch/arm/imx imx51reg.h, sys/arch/evbarm/conf KOBO

   Add ntxec, a driver for the Netronix MSP430 EC.

   This fixes the problem that the system stops after about 13 seconds.

   imx51reg.h: The value of I2C3_BASE was incorrect.

   Tested: KOBO and NETWALKER kernels build with no warnings.
   On a Kobo Glo (N613), imxi2c2 attaches at 0x53fec000 and
   "ntxec0 at iic2 addr 0x43: PMIC/RTC VER 0xC851" is printed.
   Before this change, the system stopped about 13 seconds after
   power-on.  With this change, the console still responds 100 seconds
   after power-on.  The RTC is not tested.  NETWALKER is build-tested
   only.
VersionDeltaFile
1.1+209-0sys/dev/i2c/ntxec.c
1.143+7-1sys/dev/i2c/files.i2c
1.16+4-2sys/arch/evbarm/conf/KOBO
1.9+2-2sys/arch/arm/imx/imx51reg.h
+222-54 files

NetBSD/src qlcvw0O — sys/arch/aarch64/aarch64 pmap.c, sys/arch/aarch64/include pmap.h

   aarch64: Eliminate LX_BLKPAG_OS_{READ,WRITE,RWMASK}.

    - They are no longer used except for debugging purposes
      in pmap.c r1.127. LX_BLKPAG_OS_0 will be used to distinguish
      stage1/stage2 flag of pte.
    - improve comment about RW permission and referenced/modified bit.

   Taken from Ryo's github repo

   https://github.com/ryo/netbsd-src/tree/wip/aarch64_el2
VersionDeltaFile
1.160+31-9sys/arch/aarch64/aarch64/pmap.c
1.63+3-8sys/arch/aarch64/include/pmap.h
+34-172 files

NetBSD/src yujBbxL — distrib/sets/lists/base ad.arm

   Add gzboot_NETWALKER
VersionDeltaFile
1.94+2-1distrib/sets/lists/base/ad.arm
+2-11 files

NetBSD/src PKbsaT1 — sys/arch/arm/imx imx51_intr.h imx51_gpio.c

   imx51: Fix boot failure on i.MX50.

   imx51_intr.h: PIC_MAXMAXSOURCES, the limit on PIC interrupt sources,
   was too small for the six GPIO banks of i.MX50.

   imx51_gpio.c: The bank numbers of GPIO5 and GPIO6 were computed
   incorrectly.

   Tested: KOBO and NETWALKER kernels build with no warnings.
   On a Kobo Glo (N613), the kernel panicked at imxgpio4 before this
   change.  With this change, imxgpio0-5 attach and the boot reaches
   root device selection.  NETWALKER is build-tested only.
VersionDeltaFile
1.5+14-3sys/arch/arm/imx/imx51_gpio.c
1.5+7-2sys/arch/arm/imx/imx51_intr.h
+21-52 files

NetBSD/src Ob1WVM0 — lib/libc/yp yp_order.c yp_match.c

   libc/yp: Missed a spot: init ysd to null for error branches.

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.17+3-3lib/libc/yp/yp_order.c
1.23+3-3lib/libc/yp/yp_match.c
+6-62 files

NetBSD/src d6oXF1A — lib/libc/yp yplib.c

   yp_unbind(3): Avoid null pointer deref after a yp operation.

   Not a thread-safety issue -- this happens deterministically in a
   single-threaded program if you do, e.g.:

        yp_bind(domain);
        yp_all(domain, ...);
        yp_unbind(domain);

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.48+4-3lib/libc/yp/yplib.c
+4-31 files

NetBSD/src QwXoiUB — lib/libc/yp yp_match.c yp_first.c

   libc/yp: Paranoia: avoid arithmetic overflow in allocation sizing.

   Not sure if these paths are possible to hit, but let's make sure they
   don't lead to disaster downstream.

   Followup prompted by:

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.19+10-6lib/libc/yp/yp_first.c
1.22+7-5lib/libc/yp/yp_match.c
+17-112 files

NetBSD/src 1Hh4OWw — lib/libc/yp yp_all.c yp_master.c

   libc/yp: Make this thread-safe.

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.18+50-28lib/libc/yp/yp_first.c
1.47+36-31lib/libc/yp/yplib.c
1.21+29-17lib/libc/yp/yp_match.c
1.16+23-15lib/libc/yp/yp_order.c
1.17+23-14lib/libc/yp/yp_master.c
1.15+21-12lib/libc/yp/yp_all.c
+182-1173 files not shown
+223-1329 files

NetBSD/src 3kv2dX8 — lib/libutil sockaddr_snprintf.c, tests/lib/libutil t_sockaddr_snprintf.c

   sockaddr_snprintf(3): Respect struct sockaddr_un::sun_len.

   Don't truncate the path or overread the buffer.

   PR lib/61108: sockaddr_snprintf(3): buffer overread for AF_LOCAL
VersionDeltaFile
1.17+17-5lib/libutil/sockaddr_snprintf.c
1.8+2-8tests/lib/libutil/t_sockaddr_snprintf.c
+19-132 files

NetBSD/src o9bmAVF — tests/lib/libutil t_sockaddr_snprintf.c

   sockaddr_snprintf(3): Test short and long sockaddr_un without NUL.

   PR lib/61108: sockaddr_snprintf(3): buffer overread for AF_LOCAL
VersionDeltaFile
1.7+89-4tests/lib/libutil/t_sockaddr_snprintf.c
+89-41 files

NetBSD/src YNgoYKc — sys/arch/aarch64/aarch64 locore.S

   aarch64: fix a comment in locore.S
VersionDeltaFile
1.112+3-3sys/arch/aarch64/aarch64/locore.S
+3-31 files

NetBSD/src kruTt7T — sys/arch/aarch64/aarch64 genassym.cf

   aarch64: remove ID_AA64PFR0_EL1_GIC_CPUIF_EN from genassym.cf.

   It's no longer referrenced in assembly.
VersionDeltaFile
1.48+1-2sys/arch/aarch64/aarch64/genassym.cf
+1-21 files

NetBSD/src hEPVMTU — doc 3RDPARTY

   new openssl releases out
VersionDeltaFile
1.2285+2-2doc/3RDPARTY
+2-21 files

NetBSD/src 8odeJqs — crypto/external/bsd/openssh/dist sshconnect2.c

   ssh(1): Attempt kerberos-2 at ssh.com authentication only once.

   If the server doesn't like it, don't try again; the server really
   won't like that -- and won't let you try other authentication methods
   among the available options.

   PR bin/61100: openssh: various nonstandard krb5 issues
VersionDeltaFile
1.56+8-2crypto/external/bsd/openssh/dist/sshconnect2.c
+8-21 files

NetBSD/src fQqozir — sys/arch/vax/include float.h

   float.h (vax): Add C11/POSIX.1-2024 additions.

   Simplify feature tests while here:

   - If none of _ANSI_SOURCE, _POSIX_C_SOURCE, and _XOPEN_SOURCE is
     defined, then _NETBSD_SOURCE is defined.
   - _XOPEN_SOURCE >= 600 implies _POSIX_C_SOURCE >= 200112L.

   PR lib/61107: c11: missing FLT_DECIMAL_DIG and DECIMAL_DIG
VersionDeltaFile
1.11+19-12sys/arch/vax/include/float.h
+19-121 files

NetBSD/src cRJKvFW — sys/sys float_ieee754.h

   float.h (ieee754): Add C11/POSIX.1-2024 additions.

   Simplify feature tests while here:

   - If none of _ANSI_SOURCE, _POSIX_C_SOURCE, and _XOPEN_SOURCE is
     defined, then _NETBSD_SOURCE is defined.
   - _XOPEN_SOURCE >= 600 implies _POSIX_C_SOURCE >= 200112L.

   PR lib/61107: c11: missing FLT_DECIMAL_DIG and DECIMAL_DIG
VersionDeltaFile
1.12+17-11sys/sys/float_ieee754.h
+17-111 files

NetBSD/src ORbo5QP — crypto/external/bsd/openssh/dist servconf.h readconf.h

   ssh(1), sshd(8): Cull long-disused KerberosTgtPassing option.

   This was only used in ssh protocol 1, which has been defunct since
   openssh-7.4, released in 2016.  The modern way to pass a TGT to the
   remote host is GSSAPIAuthentication with GSSAPIDelegateCredentials.

   PR bin/61100: openssh: various nonstandard krb5 issues
VersionDeltaFile
1.54+2-23crypto/external/bsd/openssh/dist/readconf.c
1.55+2-6crypto/external/bsd/openssh/dist/servconf.c
1.40+1-4crypto/external/bsd/openssh/dist/readconf.h
1.37+1-3crypto/external/bsd/openssh/dist/servconf.h
+6-364 files

NetBSD/src eaJDPdc — distrib/evbarm/gzboot/gzimg Makefile, sys/arch/evbarm/stand/board netwalker.c

   evbarm: add gzboot for NetWalker

   When booting from SD, the NetWalker RedBoot does not stop the
   watchdog power-down counter, so the board resets 16 seconds after
   power-on.  RedBoot loads the kernel too slowly for the current
   NETWALKER kernel (8.8MB).  Boot it through gzboot instead: the image
   is about 4MB, and gzboot stops the counter first.

   Build gzboot with the default EABI, -mfloat-abi=soft and
   -mno-unaligned-access instead of ARM_APCS_FLAGS.  On ARMv7 the
   compiler_rt division routines are Thumb-2 and cannot be called from
   non-interworking APCS code.  The FPU is not enabled at boot, and with
   the MMU off unaligned accesses fault.

   Add NETWALKER to the armv7 kernel sets so that gzimg can be built.

   Tested on NetWalker: the gzimg image boots the NETWALKER kernel from
   SD.  Built gzboot for all boards on earmv7hf, earmv5 and earmv4.
VersionDeltaFile
1.1+92-0sys/arch/evbarm/stand/gzboot/NETWALKER_dram_0x90008000/ldscript
1.1+61-0sys/arch/evbarm/stand/board/netwalker.c
1.1+17-0sys/arch/evbarm/stand/gzboot/NETWALKER_dram_0x90008000/Makefile
1.13+6-1sys/arch/evbarm/stand/gzboot/Makefile
1.39+4-2sys/arch/evbarm/stand/gzboot/Makefile.gzboot
1.29+5-1distrib/evbarm/gzboot/gzimg/Makefile
+185-41 files not shown
+188-57 files

NetBSD/src 6uWHKu7 — sys/dev/pci machfb.c

   properly support underline with anti-aliased fonts
VersionDeltaFile
1.112+21-10sys/dev/pci/machfb.c
+21-101 files

NetBSD/src CQQu0IQ — sys/dev/pci machfb.c

   support WSDISPLAYIO_GVIDEO to let userland know we can blank the screen
VersionDeltaFile
1.111+5-2sys/dev/pci/machfb.c
+5-21 files

NetBSD/src 8ZCRDhX — crypto/external/bsd/heimdal/dist/lib/krb5 context.c

   heimdal: Stop requiring a config file to use krb5.

   With this change, you can now do `kinit jrandomuser at EXAMPLE.COM' to
   log into client-side single-sign-on out of the box, no configuration
   required.

   We had previously been carrying this local patch for decades in order
   to paper over bad user experience (as well as what is essentially a
   vulnerability) in kerberized non-pam login(1) and su(1), where they
   would wait for network delays for Kerberos DNS autoconfiguration even
   if they have no Kerberos service key to actually do any meaningful
   authentication checks -- the local patch turned the existence of
   /etc/krb5.conf into a systemwide knob for whether any application is
   allowed to try Kerberos at all.

   Unfortunately, that systemwide knob also affects client-side SSO
   applications, not just system verification of user credentials.

   To make sure that reverting this local patch doesn't create new

    [23 lines not shown]
VersionDeltaFile
1.9+2-2crypto/external/bsd/heimdal/dist/lib/krb5/context.c
+2-21 files

NetBSD/src mb7B6P6 — lib/libpam/modules/pam_ksu pam_ksu.c

   pam_ksu(8): Fix memory leaks in error branches.

   Cleanup prompted by:

   PR lib/61084: kinit: krb5_init_context failed: 6
VersionDeltaFile
1.13+11-9lib/libpam/modules/pam_ksu/pam_ksu.c
+11-91 files

NetBSD/src HRPjdxt — lib/libpam/modules/pam_ksu pam_ksu.c

   pam_ksu(8): Check for service keys without talking to the network.

   This way, testing whether it is reasonable to even try krb5 auth
   won't incur any network-related delays on systems that still have
   pam_ksu enabled by default in /etc/pam.d/su, when we remove the patch
   to krb5_init_context that makes it fail without /etc/krb5.conf, for
   the benefit of client-side SSO.

   This should have no security impact because we still verify
   everything the same way later on, in the conditions under which
   pam_ksu could allow the user switch anyway.

   PR lib/61084: kinit: krb5_init_context failed: 6
VersionDeltaFile
1.12+141-2lib/libpam/modules/pam_ksu/pam_ksu.c
+141-21 files

NetBSD/src OCr3SaO — lib/libpam/modules/pam_krb5 pam_krb5.c

   pam_krb5(8): Check for service keys without talking to the network.

   This way, testing whether it is reasonable to even try krb5 auth
   won't incur any network-related delays on systems that still have
   pam_krb5 enabled by default in /etc/pam.d/system, when we remove the
   patch to krb5_init_context that makes it fail without /etc/krb5.conf,
   for the benefit of client-side SSO.

   This should have no security impact because we still verify
   everything the same way later on, in the conditions under which
   pam_krb5 could allow the user in anyway.

   PR lib/61084: kinit: krb5_init_context failed: 6
VersionDeltaFile
1.33+114-45lib/libpam/modules/pam_krb5/pam_krb5.c
+114-451 files

NetBSD/src 1tD82ch — usr.bin/login k5login.c

   login(1): Minor tidying in kerberized path.

   Avoid some leaks.  Followup for:

   PR lib/61084: kinit: krb5_init_context failed: 6
VersionDeltaFile
1.36+12-6usr.bin/login/k5login.c
+12-61 files

NetBSD/src hkT8Eho — usr.bin/login login.c k5login.c

   login(1): Quietly check for service key before trying krb5 password.

   Don't provoke any Kerberos-related network traffic until we confirm
   that we have a service key in the default keytab for host/$(hostname)
   in some realm; without any such service key, we have no hope of
   authenticating a service ticket, so there is no point in even trying
   to verify the user's password by acquiring Kerberos with it.

   This way, simply having a krb5.conf -- or removing our local Heimdal
   patch to make krb5_init_context fail when there is no krb5.conf --
   won't cause login(1) to be subject to Kerberos-induced network delays
   unless you _also_ configure a host service key for it to use.

   This change applies only to the MKPAM=no MKKERBEROS=yes case.

   PR lib/61084: kinit: krb5_init_context failed: 6
VersionDeltaFile
1.35+199-17usr.bin/login/k5login.c
1.106+4-20usr.bin/login/login.c
+203-372 files