NetBSD/src Qhqt0N2libexec/ld.elf_so tls.c

   ld.elf_so: Prune some dead TLS variant branches.

   __lwp_settcb / __lwp_gettcb_fast are used only with TLS variant I,
   never with TLS variant II.

   So say `#ifdef __HAVE_TLS_VARIANT_II' instead of `#ifndef
   __HAVE_TLS_VARIANT_I' to make it clearer, and prune all the
   __HAVE___LWP_SETTCB / __HAVE___LWP_GETTCB_FAST branches under it
   because they're unreachable.

   No functional change intended: all the deleted code should be dead.

   PR bin/60469: bin/60469: assertion "ALIGNED_P(q, obj->tlsalign)"
   failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
VersionDeltaFile
1.34+3-18libexec/ld.elf_so/tls.c
+3-181 files

NetBSD/src 9jDC6GIlibexec/ld.elf_so tls.c

   ld.elf_so: Sprinkle assertions in _rtld_tls_module_allocate.

   No functional change intended for non-DEBUG builds: assertion changes
   only here.

   PR bin/60469: bin/60469: assertion "ALIGNED_P(q, obj->tlsalign)"
   failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
VersionDeltaFile
1.33+16-2libexec/ld.elf_so/tls.c
+16-21 files

NetBSD/src Kzi5zpDlibexec/ld.elf_so tls.c

   ld.elf_so: Fix assertions for TLS variant I without _lwp_settcb.

   In variant I, the TLS address is always

        (uint8_t *)tcb + sizeof(struct tls_tcb) + obj->tlsoffset.

   With _lwp_settcb, (uint8_t *)tcb + sizeof(struct tls_tcb) is aligned,
   whereas without it, (uint8_t *)tcb is aligned.  Consequently, with
   _lwp_settcb, obj->tlsoffset must also be aligned, whereas without it,
   obj->tlsoffset + sizeof(struct tls_tcb) must be aligned -- and hence,
   without _lwp_settcb, obj->tlsoffset must be congruent to
   -sizeof(struct tls_tcb) modulo the alignment.

   No functional change intended for non-DEBUG builds: assertion changes
   only here.

   PR bin/60469: bin/60469: assertion "ALIGNED_P(q, obj->tlsalign)"
   failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
VersionDeltaFile
1.32+15-4libexec/ld.elf_so/tls.c
+15-41 files

NetBSD/src GDBnxB9sys/ufs files.ufs, sys/ufs/ffs ffs_vfsops.c ffs_snapshot.c

   Expand option FFS_NO_SNAPSHOT to completely remove snapshot support.

   File systems with snapshots cannot be mounted read/write to prevent
   damage to snapshots.

   PR kern/60456 "FFS_NO_SNAPSHOT option is not entirely effective"
VersionDeltaFile
1.385+32-3sys/ufs/ffs/ffs_vfsops.c
1.157+2-11sys/ufs/ffs/ffs_snapshot.c
1.132+6-2sys/ufs/ffs/ffs_inode.c
1.131+6-2sys/ufs/ufs/ufs_readwrite.c
1.175+4-2sys/ufs/ffs/ffs_alloc.c
1.53+2-2sys/ufs/files.ufs
+52-226 files

NetBSD/src IiYY4Ctdistrib/sets/lists/xbase mi, external/mit/xorg/bin/xclipboard Makefile

   updates for xclipboard 1.1.6, and xclock 1.2.1.
VersionDeltaFile
1.3+4-1external/mit/xorg/bin/xcutsel/Makefile
1.4+3-1external/mit/xorg/bin/xclipboard/Makefile
1.179+3-1distrib/sets/lists/xbase/mi
1.7+2-1external/mit/xorg/bin/xclock/Makefile
+12-44 files

NetBSD/src dVnglnPsys/net if_spppsubr.c

   sppp: Fix reconnection after idle timeout with on-demand disabled
VersionDeltaFile
1.306+4-2sys/net/if_spppsubr.c
+4-21 files

NetBSD/src XTLZ9qZdoc CHANGES-11.0, sys/sys param.h

   Welcome to 11.0_RC7!external/gpl2/groff/tmac/mdoc.local
VersionDeltaFile
1.1.2.139+6-1doc/CHANGES-11.0
1.738.2.8+2-2sys/sys/param.h
+8-32 files

NetBSD/src ojk52M2doc CHANGES-11.0

   Ticket #393
VersionDeltaFile
1.1.2.138+12-1doc/CHANGES-11.0
+12-11 files

NetBSD/src Ldv46xElibexec/ld.elf_so tls.c search.c

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

        libexec/ld.elf_so/search.c: revision 1.30
        libexec/ld.elf_so/xmalloc.c: revision 1.28
        libexec/ld.elf_so/tls.c: revision 1.30
        libexec/ld.elf_so/tls.c: revision 1.31
        libexec/ld.elf_so/search.c: revision 1.29

   ld.elf_so: Fix assertion: obj may be NULL _or_ OBJ_ERR (-1) here
   NULL means the object wasn't found and we should keep searching;
   OBJ_ERR means the object was found but loading it failed and we
   should stop.  Only if the object is _neither_ NULL _nor_ OBJ_ERR is
   it expected to be an object with positive refcount.

   Followup for
   PR lib/59751: dlclose is not MT-safe depending on the libraries
   unloaded



    [43 lines not shown]
VersionDeltaFile
1.23.2.3+80-9libexec/ld.elf_so/tls.c
1.27.10.2+4-5libexec/ld.elf_so/search.c
1.12.44.4+4-2libexec/ld.elf_so/xmalloc.c
+88-163 files

NetBSD/src pTcYTu0doc 3RDPARTY

   tmux 3.7b is out
VersionDeltaFile
1.2234+3-3doc/3RDPARTY
+3-31 files

NetBSD/src urRejG8usr.bin/menuc menu_sys.def

   #undef MIN and MAX before redefining them.
VersionDeltaFile
1.73+3-1usr.bin/menuc/menu_sys.def
+3-11 files

NetBSD/src nb2UgRysys/uvm uvm_vnode.c

   <sys/disklabel.h> is not needed here.
VersionDeltaFile
1.122+2-3sys/uvm/uvm_vnode.c
+2-31 files

NetBSD/src fEsez63sys/kern subr_disk_mbr.c

   Move consulation of RAW_PART from an #if to an if ().
VersionDeltaFile
1.63+9-6sys/kern/subr_disk_mbr.c
+9-61 files

NetBSD/src hclESepsys/arch/virt68k/include cpu.h

   Hide machine-specific declarations from _MODULE.
VersionDeltaFile
1.8+6-14sys/arch/virt68k/include/cpu.h
+6-141 files

NetBSD/src wYYtsSHsys/arch/virt68k/include types.h

   Hide some machine-specific items from _MODULE.
VersionDeltaFile
1.2+6-4sys/arch/virt68k/include/types.h
+6-41 files

NetBSD/src C9ST5nIsys/arch/virt68k/include disklabel.h

   s/MACHINE/VIRT68K/ in multiple-inclusion protection.
VersionDeltaFile
1.2+8-4sys/arch/virt68k/include/disklabel.h
+8-41 files

NetBSD/src yj2neABsys/arch/virt68k/include vectors.h

   Hide MACHINE_AV* defns from _MODULE.
VersionDeltaFile
1.3+3-1sys/arch/virt68k/include/vectors.h
+3-11 files

NetBSD/src pyRuLCausr.bin/eject eject.c

   <sys/disklabel.h> is not needed here.
VersionDeltaFile
1.29+2-3usr.bin/eject/eject.c
+2-31 files

NetBSD/src CEgJy5hdoc CHANGES-10.2

   Ticket 1314
VersionDeltaFile
1.1.2.116+26-1doc/CHANGES-10.2
+26-11 files

NetBSD/src WNlZquRlib/libcurses refresh.c color.c, tests/lib/libcurses/check_files wcolor_set.chk mutt_test5.chk

   Pull up the following revisions(s) (requested by blymn in ticket #1314):
        lib/libcurses/color.c:  revision 1.49
        lib/libcurses/refresh.c:        revision 1.135
        tests/lib/libcurses/check_files/chgat3.chk:     revision 1.3
        tests/lib/libcurses/check_files/mvchgat2.chk:   revision 1.3
        tests/lib/libcurses/check_files/mutt_test3.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test8.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test9.chk: revision 1.4
        tests/lib/libcurses/check_files/mvwchgat2.chk:  revision 1.4
        tests/lib/libcurses/check_files/wchgat2.chk:    revision 1.4
        tests/lib/libcurses/check_files/mutt_test4.chk: revision 1.5
        tests/lib/libcurses/check_files/mutt_test5.chk: revision 1.5
        tests/lib/libcurses/check_files/mutt_test6.chk: revision 1.5
        tests/lib/libcurses/check_files/wcolor_set.chk: revision 1.5
        tests/lib/libcurses/check_files/window_hierarchy.chk:   revision 1.2

   Fixes for PR lib/60430 and lib/60431
   * Don't leave screen in colour mode after makech, fixes 60430
   * Set the background colour to the blank attribute before erase to properly

    [5 lines not shown]
VersionDeltaFile
1.126.2.4+24-13lib/libcurses/refresh.c
1.47.2.1+14-7lib/libcurses/color.c
1.3.2.2+5-6tests/lib/libcurses/check_files/wcolor_set.chk
1.3.2.2+2-3tests/lib/libcurses/check_files/mutt_test5.chk
1.3.2.2+0-1tests/lib/libcurses/check_files/mutt_test4.chk
1.3.2.2+0-1tests/lib/libcurses/check_files/mutt_test6.chk
+45-318 files not shown
+45-3914 files

NetBSD/src xNtxKrxdoc CHANGES-11.0

   Ticket 392
VersionDeltaFile
1.1.2.137+26-1doc/CHANGES-11.0
+26-11 files

NetBSD/src 837WgUilib/libcurses refresh.c color.c, tests/lib/libcurses/check_files wcolor_set.chk mutt_test5.chk

   Pull up the following revisions(s) (requested by blymn in ticket #392):
        lib/libcurses/color.c:  revision 1.49
        lib/libcurses/refresh.c:        revision 1.135
        tests/lib/libcurses/check_files/chgat3.chk:     revision 1.3
        tests/lib/libcurses/check_files/mvchgat2.chk:   revision 1.3
        tests/lib/libcurses/check_files/mutt_test3.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test8.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test9.chk: revision 1.4
        tests/lib/libcurses/check_files/mvwchgat2.chk:  revision 1.4
        tests/lib/libcurses/check_files/wchgat2.chk:    revision 1.4
        tests/lib/libcurses/check_files/mutt_test4.chk: revision 1.5
        tests/lib/libcurses/check_files/mutt_test5.chk: revision 1.5
        tests/lib/libcurses/check_files/mutt_test6.chk: revision 1.5
        tests/lib/libcurses/check_files/wcolor_set.chk: revision 1.5
        tests/lib/libcurses/check_files/window_hierarchy.chk:   revision 1.2

   Fixes for PR lib/60430 and lib/60431
   * Don't leave screen in colour mode after makech, fixes 60430
   * Set the background colour to the blank attribute before erase to properly

    [5 lines not shown]
VersionDeltaFile
1.129.2.4+24-13lib/libcurses/refresh.c
1.48.2.1+14-7lib/libcurses/color.c
1.3.6.2+5-6tests/lib/libcurses/check_files/wcolor_set.chk
1.3.6.2+2-3tests/lib/libcurses/check_files/mutt_test5.chk
1.3.6.2+0-1tests/lib/libcurses/check_files/mutt_test4.chk
1.3.6.2+0-1tests/lib/libcurses/check_files/mutt_test6.chk
+45-318 files not shown
+45-3914 files

NetBSD/src KhQckwqlibexec/ld.elf_so search.c

   ld.elf_so: Fix one more mistake in handling _rtld_load_object.

   This can return NULL (meaning object not found or something went wrong
   with the object) or OBJ_ERR (meaning the object has DF_1_NOOPEN set or
   the caller passed RTLD_NOLOAD to dlopen() and the object was not
   already loaded) or a valid object.

   I reviewed all paths out of _rtld_load_object to make sure they
   gracefully handle all three cases (NULL, OBJ_ERR, valid object), and
   this assertion was the only path that didn't.

   Fixes buggy assertion added for:

   PR lib/59751: dlclose is not MT-safe depending on the libraries
   unloaded

   May fix:

   PR bin/60472: ld.elf_so(1) changes cause a segmentation fault in
   dlopen(3)
VersionDeltaFile
1.30+3-4libexec/ld.elf_so/search.c
+3-41 files

NetBSD/src zlr652s. UPDATING

   UPDATING: Note need for cleandir in ld.elf_so.
VersionDeltaFile
1.392+5-1UPDATING
+5-11 files

NetBSD/src 41bdGfmlibexec/ld.elf_so tls.c

   ld.elf_so: Mark new variables __debugused, not __diagused.

   They are used in ld.elf_so builds with DEBUG, not with DIAGNOSTIC!

   PR bin/60469: bin/60469: assertion "ALIGNED_P(q, obj->tlsalign)"
   failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
VersionDeltaFile
1.31+3-3libexec/ld.elf_so/tls.c
+3-31 files

NetBSD/src jgSlwfytests/kernel t_signal_and_fpu.c

   t_signal_and_fpu: Mark xfail on sparc.

   PR port-sparc/60460: sparc fails to save/restore FPU registers on
   signal delivery
VersionDeltaFile
1.4+14-2tests/kernel/t_signal_and_fpu.c
+14-21 files

NetBSD/src aBHvhrJlibexec/ld.elf_so tls.c xmalloc.c

   ld.elf_so: Fix static TLS alignment on variant II platforms.

   Only affects obscure architectures like x86, though.

   Sprinkle assertions to make sure this breaks in other ways on other
   architectures too, like variant I, or variant II with _lwp_gettcb().
   Fair's fair, right?

   XXX We should consider verifying that every Elf_Phdr::p_align is
   reasonable (i.e., is a power of two, or is zero but only if p_memsz
   is also zero), and that p_filesz <= p_memsz, in headers.c for the
   main object and in map_object.c for other objects.

   PR bin/60469: bin/60469: assertion "ALIGNED_P(q, obj->tlsalign)"
   failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
VersionDeltaFile
1.30+80-9libexec/ld.elf_so/tls.c
1.28+4-2libexec/ld.elf_so/xmalloc.c
+84-112 files

NetBSD/src Zj8GSypdistrib/sets/lists/base shl.mi, distrib/sets/lists/comp mi

   bind: Conditionalize libraries on MKBIND.

   PR toolchain/60468: external/mpl/bind/lib: misuse of build_install,
   missing MKBIND conditionals
VersionDeltaFile
1.1047+17-17distrib/sets/lists/base/shl.mi
1.2527+11-11distrib/sets/lists/comp/mi
1.411+7-7distrib/sets/lists/debug/shl.mi
1.318+3-1lib/Makefile
+38-364 files

NetBSD/src HUqfI31sys/arch/sun68k/sun68k pmap_sunmmu.c

   Fix pmap_kcore_hdr() for the Sun2 case.
VersionDeltaFile
1.4+10-4sys/arch/sun68k/sun68k/pmap_sunmmu.c
+10-41 files

NetBSD/src HwX7mqYsys/arch/sun68k/sun68k pmap_sunmmu.c

   On second thought, don't use __mc68010__ throughout as a proxy for
   "is a Sun-2"; it's too easy to glance-misread #ifdef vs #ifndef.
   Instead, define IS_SUN2 and IS_SUN3 macros that statically evaluate
   to the right thing and use them throughout.
VersionDeltaFile
1.3+58-50sys/arch/sun68k/sun68k/pmap_sunmmu.c
+58-501 files