NetBSD/src ycA1h5psys/arch/x86/pci pci_machdep.c

   Search host bridge on all devices from PCI bus 0

   We look for host bridge MSI capability to enable MSI on PCI devices,
   which require locating the host bridge itself. Previously we assumed
   it was on bus 0, device 0, but that assmption misses some setups.
   For instance, Dell Poweredge r760xd2 has its host bridge on bus 0,
   device 20, function 4.

   This change iterates on all devices on bus 0 to find the host bridge.
VersionDeltaFile
1.99+17-13sys/arch/x86/pci/pci_machdep.c
+17-131 files

NetBSD/src ivK9rNzexternal/cddl/osnet/dist/tools/ctf/cvt ctf.c

   need to roundup the pointer for functions.
VersionDeltaFile
1.16+2-0external/cddl/osnet/dist/tools/ctf/cvt/ctf.c
+2-01 files

NetBSD/src Bs2elQyshare/man/man5 mk.conf.5

   mk.conf.5: note MKCOMPAT is defaulted to "yes" for earm* too
VersionDeltaFile
1.114+3-1share/man/man5/mk.conf.5
+3-11 files

NetBSD/src RcFzBMH. Makefile

   src/Makefile: update a reference to where MKUPDATE is documented

   It was removed from share/mk/bsd.README in r. 1.445 back in 2023.
   (Perhaps redundant because of the other mk.conf.5 reference lower
   down, but, it was obviously felt it needed particular attention.)
VersionDeltaFile
1.339+2-3Makefile
+2-31 files

NetBSD/src 7ZDS2rmsys/arch/i386/i386 machdep.c

   Fix build for i386 when XEN not defined
VersionDeltaFile
1.849+4-2sys/arch/i386/i386/machdep.c
+4-21 files

NetBSD/src f8I5r6Dshare/man/man5 mk.conf.5

   mk.conf.5: drop duplicated "this" in sentence
VersionDeltaFile
1.113+2-2share/man/man5/mk.conf.5
+2-21 files

NetBSD/src jdyA5KStools/compat compat_defs.h

   Add roundup2() used by ctf
VersionDeltaFile
1.125+4-1tools/compat/compat_defs.h
+4-11 files

NetBSD/src 6m2UQhIdoc 3RDPARTY

   doc: add branch names for mandoc
VersionDeltaFile
1.2105+3-1doc/3RDPARTY
+3-11 files

NetBSD/src 6f1wQKSexternal/cddl/osnet/dist/tools/ctf/cvt dwarf.c

   fix the i386 build.

   format specifiers didn't match between Dwarf_* types and printf(),
   and since some of them want to be "long long unsigned" on i386,
   force everything to be that type and those printf formats.
VersionDeltaFile
1.28+3-3external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c
+3-31 files

NetBSD/src x96exj4distrib/i386/cdroms Makefile.cdrom

   more changes for porting KERNEL_DIR to i386
VersionDeltaFile
1.46+5-1distrib/i386/cdroms/Makefile.cdrom
+5-11 files

NetBSD/src zDAz19Fsys/kern kern_module.c

   If a KERNEL_DIR=yes kernel is booted via a "naked" filename (Ie, no
   directory name) use the old-style /stand/... for module path.  This
   eases transition to the neew order.

   While here, ignore any leading '/' in the booted kernel name; the
   boot code always does lookups from the root of the directory tree.

   Should address kern/59394
VersionDeltaFile
1.173+28-13sys/kern/kern_module.c
+28-131 files

NetBSD/src M8OnJ6Texternal/cddl/osnet/dist/common/ctf ctf_create.c ctf_types.c, external/cddl/osnet/dist/lib/libctf/common ctf.5

   Apply diffs from FreeBSD to support CTF version 3 which eliminates the 64K
   limits on various arrays holding items (eg. types)
VersionDeltaFile
1.4+292-334external/cddl/osnet/dist/lib/libctf/common/ctf.5
1.4+242-300external/cddl/osnet/dist/uts/common/sys/ctf.h
1.15+288-185external/cddl/osnet/dist/tools/ctf/cvt/ctf.c
1.8+318-154external/cddl/osnet/dist/common/ctf/ctf_create.c
1.6+290-155external/cddl/osnet/dist/common/ctf/ctf_types.c
1.7+304-129external/cddl/osnet/dist/common/ctf/ctf_open.c
+1,734-1,25716 files not shown
+2,110-1,46222 files

NetBSD/src 3SWQLY5sys/ufs/ext2fs ext2fs.h

   ext2fs.h: avoid adjacent commas in unsupported features

   A question mark still stands out enough to be noticeable.

   Noticed by lint.
VersionDeltaFile
1.53+4-4sys/ufs/ext2fs/ext2fs.h
+4-41 files

NetBSD/src wFa3Yp8share/examples/puffs/icfs icfs.c

   s/demostrates/demonstrates/ in comment.
VersionDeltaFile
1.12+2-2share/examples/puffs/icfs/icfs.c
+2-21 files

NetBSD/src StARFdtbin/pax options.c

   pax: remove unreachable 'break' and 'return' statements
VersionDeltaFile
1.122+7-25bin/pax/options.c
+7-251 files

NetBSD/src ZtoIs3sshare/doc/papers/kernmalloc kernmalloc.t

   s/guarrentees/guarantees/.
VersionDeltaFile
1.7+2-2share/doc/papers/kernmalloc/kernmalloc.t
+2-21 files

NetBSD/src ghxcP6Dusr.sbin/mopd/mopprobe mopprobe.c mopprobe.1

   mopprobe: remove undocumented and unimplemented options
VersionDeltaFile
1.17+15-51usr.sbin/mopd/mopprobe/mopprobe.c
1.11+3-10usr.sbin/mopd/mopprobe/mopprobe.1
+18-612 files

NetBSD/src pvpoYGIusr.sbin/mopd/mopprobe mopprobe.c

   mopprobe: remove no-op code

   The variable 'device' was only ever assigned but never read.

   No binary change.
VersionDeltaFile
1.16+5-14usr.sbin/mopd/mopprobe/mopprobe.c
+5-141 files

NetBSD/src CweR7wFdistrib/i386/cdroms Makefile.cdrom spec-dir.in

   Migrate the KERNEL_DIR stuff to i386
VersionDeltaFile
1.45+7-2distrib/i386/cdroms/Makefile.cdrom
1.1+9-0distrib/i386/cdroms/spec-dir.in
1.2+2-0distrib/i386/cdroms/spec.in
+18-23 files

NetBSD/src 6zzockwsys/arch/mvme68k/stand/netboot if_ie.c

   remove redundant inner (status & IE_FD_OK) condition; parent condition already
   checks that both IE_FD_COMPLETE and IE_FD_OK flags are set.
VersionDeltaFile
1.14+16-20sys/arch/mvme68k/stand/netboot/if_ie.c
+16-201 files

NetBSD/src Kq8VVVwtests/usr.bin/xlint/lint1 msg_383.c, usr.bin/xlint/lint1 decl.c

   lint: in a parameter declaration using typedef, keep the qualifiers

   While C23 6.7.7.4p6 doesn't explicitly mention this particular case of a
   'const typedef', keeping the qualifiers fixes a warning in probably
   legitimate code.

   Seen in cvs, regex_internal.c, function 'bitset_contain'.
VersionDeltaFile
1.418+10-4usr.bin/xlint/lint1/decl.c
1.4+2-3tests/usr.bin/xlint/lint1/msg_383.c
+12-72 files

NetBSD/src SB9qf3Zcrypto/external/bsd/openssh/dist version.h

   openssh: Fix version number typo

   Looks like a merge error, based on a diff between the vendor branch
   versions of the version.h file (1.1.1.39 and 1.1.1.40).
VersionDeltaFile
1.51+2-2crypto/external/bsd/openssh/dist/version.h
+2-21 files

NetBSD/src N11tPlTtests/usr.bin/xlint/lint1 msg_383.c

   tests/lint: demonstrate wrong interpretation of const pointer parameter

   Seen in external/gpl2/xcvs/dist/lib/regex_internal.c:697.
VersionDeltaFile
1.3+15-1tests/usr.bin/xlint/lint1/msg_383.c
+15-11 files

NetBSD/src FD8JJvVtests/usr.bin/xlint/lint1 msg_383.c msg_153.c, usr.bin/xlint/lint1 tree.c err.c

   lint: add more details to message about discarding qualifiers

   The name of the function (or, if not available, its type) is useful in
   lines that contain more than one function call.
VersionDeltaFile
1.683+28-19usr.bin/xlint/lint1/tree.c
1.2+24-8tests/usr.bin/xlint/lint1/msg_383.c
1.12+4-4tests/usr.bin/xlint/lint1/msg_153.c
1.272+3-3usr.bin/xlint/lint1/err.c
1.274+3-3usr.bin/xlint/lint1/init.c
1.240+3-2usr.bin/xlint/lint1/externs1.h
+65-396 files

NetBSD/src bZ6QeJRdoc HACKS

   Remove hack for lc040.

   The accepted approach is to use soft-float.

   Addresses PR port-mac68k/13078.
VersionDeltaFile
1.252+1-12doc/HACKS
+1-121 files

NetBSD/src REOi8gUusr.bin/stat readlink.1 stat.c

   Make readlink(1) compliant with the POSIX-2004  (Issue 8).

   POSIX 2004 requires that if a given file name to readlink(1)
   doesn't refer to a symlink, an error be printed.

   That conflicts with historic usage on NetBSD where readlink is
   silent in that case (except for the exit status) -- rather than
   altering our default behaviour, look for POSIXLY_CORRECT in the
   environment, and issue an error only in that case (just means
   switching between -q and -v as the default noise option).

   While here, generate usage if no file args are given - POSIX
   requires at least 1 (it actually specifies exactly 1) and while
   we can extend that without issues to allow more than one, allowing
   0 args (just because we do that for stat(1) and readlink(1) is
   the same code) makes no sense at all for readlink - stdin cannot
   possibly be a symbolic link.

   Also, in the case of stat(1) if we do have no args, and the

    [8 lines not shown]
VersionDeltaFile
1.7+36-4usr.bin/stat/readlink.1
1.54+20-7usr.bin/stat/stat.c
+56-112 files

NetBSD/src 7cWeG7susr.bin/stat stat.1

   PR bin/47333

   Note that -L will fall back to use lstat() if the stat() requested
   returns ENOENT (if the following lstat() fails, the ENOENT from
   the lstat() is returned - that generally indicates that the original
   ENOENT came from the filename passed to stat() rather than the
   value of the symlink.   (The man page doesn't say all of that.)

   If "stat -L name" returns data from a symlink (eg: if -f %T is @)
   then name must refer to a symlink which points to nothing.
   (The man page does say that.)
VersionDeltaFile
1.48+21-2usr.bin/stat/stat.1
+21-21 files

NetBSD/src JO4elc9lib/libc/arch/arm/gen setjmp.S _setjmp.S, lib/libc/arch/arm/sys cerror.S ptrace.S

   arm: Nix most __PIC__ conditionals in .S files.

   New macros PCREL_GET(rN,label,pclabel) and PCREL_SYM(label,pclabel)
   to enable this by the pattern:

        ldr     rN, label
   #ifdef __PIC__
   pclabel:
        add     rN, rN, pc
   #endif
   ...
   label:
   #ifdef __PIC__
        .word   (label - (pclabel + 2*sizeof(instruction)))
   #else
        .word   label
   #endif

   (sizeof(instruction) = 2 for thumb, 4 for non-thumb.)

    [14 lines not shown]
VersionDeltaFile
1.36+15-10sys/arch/arm/include/asm.h
1.14+5-17lib/libc/arch/arm/sys/cerror.S
1.13+5-17lib/libc/arch/arm/sys/ptrace.S
1.13+4-7lib/libc/arch/arm/sys/sbrk.S
1.20+3-7lib/libc/arch/arm/gen/setjmp.S
1.18+3-7lib/libc/arch/arm/gen/_setjmp.S
+35-656 files

NetBSD/src Nr6HKdHlib/libc/arch/x86_64/gen resumecontext.S __setjmp14.S, lib/libc/arch/x86_64/sys ptrace.S cerror.S

   libc/x86_64: Omit needless __PIC__ conditionals.

   PR lib/59391: unnecessary __PIC__ conditionals clutter .S files
VersionDeltaFile
1.7+2-14lib/libc/arch/x86_64/gen/resumecontext.S
1.5+2-10lib/libc/arch/x86_64/gen/__setjmp14.S
1.5+2-10lib/libc/arch/x86_64/gen/__sigsetjmp14.S
1.7+2-10lib/libc/arch/x86_64/gen/swapcontext.S
1.8+2-6lib/libc/arch/x86_64/sys/ptrace.S
1.8+2-6lib/libc/arch/x86_64/sys/cerror.S
+12-561 files not shown
+13-617 files

NetBSD/src VmwBSj2lib/libc/arch/i386/gen resumecontext.S swapcontext.S, lib/libc/compat/arch/i386/gen compat_sigsetjmp.S compat_setjmp.S

   libc/i386: Omit needless __PIC__ conditionals.

   No binary change.

   PR lib/59391: unnecessary __PIC__ conditionals clutter .S files
VersionDeltaFile
1.9+2-14lib/libc/arch/i386/gen/resumecontext.S
1.9+3-11lib/libc/arch/i386/gen/swapcontext.S
1.4+2-10lib/libc/compat/arch/i386/gen/compat_sigsetjmp.S
1.20+2-10lib/libc/arch/i386/gen/sigsetjmp.S
1.19+2-10lib/libc/arch/i386/gen/setjmp.S
1.4+2-10lib/libc/compat/arch/i386/gen/compat_setjmp.S
+13-653 files not shown
+18-849 files