FreeBSD/src 395d967sys/dev/mxge if_mxge.c

mxge(4): Fix a typo in a source code comment

- s/deterimine/determine/

(cherry picked from commit 14e93e3e360718f2272028fbf99775df3c192e83)
DeltaFile
+1-1sys/dev/mxge/if_mxge.c
+1-11 files

FreeBSD/src 8cd4029sys/dev/mxge if_mxge.c

mxge(4): Fix a typo in a source code comment

- s/deterimine/determine/

(cherry picked from commit 14e93e3e360718f2272028fbf99775df3c192e83)
DeltaFile
+1-1sys/dev/mxge/if_mxge.c
+1-11 files

FreeBSD/src adf2614sys/dev/mxge if_mxge.c

mxge(4): Fix a typo in a source code comment

- s/deterimine/determine/

(cherry picked from commit 14e93e3e360718f2272028fbf99775df3c192e83)
DeltaFile
+1-1sys/dev/mxge/if_mxge.c
+1-11 files

FreeBSD/src 59b0df3sys/dev/ntsync linux_ntsync.c

linux_ntsync(9): check the file type before calling native ntsync(9)

Reported by:    Alex S <iwtcex at gmail.com>
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+36-0sys/dev/ntsync/linux_ntsync.c
+36-01 files

FreeBSD/src 64467d2sys/kern vfs_subr.c, sys/sys vnode.h mount.h

vnode: move VIRF_KNOTE to v_v2flag

The semantic of the flag has the natural march to the code scope that is
protected by the vnode lock.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56912
DeltaFile
+4-3sys/sys/vnode.h
+2-3sys/kern/vfs_subr.c
+2-2sys/sys/mount.h
+8-83 files

FreeBSD/src da6aa06sys/sys vnode.h rangelock.h

struct vnode: assign v_rl.resv1 as v_type and v_rl.resv2 as v_state

Use the avaliable space to introduce vnode-locked flag v_v2flag.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56912
DeltaFile
+8-2sys/sys/vnode.h
+4-0sys/sys/rangelock.h
+12-22 files

FreeBSD/src 3d50531sys/sys rangelock.h

sys/rangelock.h: explicitly enumerate padding at the end of the structure

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56912
DeltaFile
+6-0sys/sys/rangelock.h
+6-01 files

FreeBSD/src 36b155asys/kern vfs_subr.c

vfs: work around the race between vget() and vnlru

Specifically, do not let vtryrecycle() to recycle a used vnode. It is
possible for a vnode to be vref-ed or vuse-ed lockless after it is held
by vhold_recycle_free(). Then, since vtryrecycle() does not recheck the
hold count, we might end up freeing vused vnode.

Since vget_finish() increments v_usecount after obtaining the vnode
lock, we would observe the hold reference anyway when the parallel
vget() is blocked waiting on the vnode lock.

PR:     281749
Reported and tested by: Steve Peurifoy <ssw01 at mathistry.net>, Vladimir Grebenshchikov <vova at zote.me>
Reviewed by:    olce
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57305
DeltaFile
+6-1sys/kern/vfs_subr.c
+6-11 files

FreeBSD/src 3eafe01libexec/rtld-elf/tests parse_integer_test.c Makefile

rtld-elf: add some tests for parse_integer()

Reviewed by:    des, dim
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57549
DeltaFile
+35-0libexec/rtld-elf/tests/parse_integer_test.c
+10-0libexec/rtld-elf/tests/Makefile
+45-02 files

FreeBSD/src 4249a9blibexec/rtld-elf rtld.c

rtld parse_integer(): support binary, octal, and hex C notations

Reviewed by:    des, dim
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57549
DeltaFile
+34-9libexec/rtld-elf/rtld.c
+34-91 files

FreeBSD/src 69e2097lib/libc/posix1e acl_to_text_nfs4.c

acl_to_text_nfs4.c: Fix a snprintf() for large uid

Commit 6e7c10c79dea fixed a couple of snprintf()s for large
uid/gid numbers above 2Gig.  This patch fixes another one.

Reviewed by:    rmacklem
Differential Revision:  https://reviews.freebsd.org/D57561
DeltaFile
+1-1lib/libc/posix1e/acl_to_text_nfs4.c
+1-11 files

FreeBSD/src 33c8e68sys/dev/sound/usb uaudio.c, sys/dev/usb usbdevs

snd_uaudio: Support Roland UA-33

Apply the appropriate quirk. Also, introduce a new uaudio_vendor_audio
table, similar to uaudio_vendor_midi, which includes non-standard USB
audio devices. The Roland UA-33 needs this, bceause it comes with
bInterfaceClass = 0xff (vendor-specific), so snd_uaudio(4) doesn't
detect it.

PR:             294814
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    emaste
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/24

(cherry picked from commit 549e740619873716b796a841a10f56fae3c3ad49)
DeltaFile
+10-0sys/dev/sound/usb/uaudio.c
+1-0sys/dev/usb/quirk/usb_quirk.c
+1-0sys/dev/usb/usbdevs
+12-03 files

FreeBSD/src 511d749sys/compat/linuxkpi/common/src linux_hdmi.c

LinuxKPI: sync linuxkpi_video with Linux 6.12

MFC after:      1 week
DeltaFile
+2-8sys/compat/linuxkpi/common/src/linux_hdmi.c
+2-81 files

FreeBSD/src de2a136usr.sbin/mixer mixer.c

mixer(8): Retire deprecated control values

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+0-21usr.sbin/mixer/mixer.c
+0-211 files

FreeBSD/src c9171aeusr.sbin/inetd inetd.8 inetd.c

inetd: Add missing argument to the -p flag description

While here, use the more specific "pidfile" consistently instead of
ambiguous "filename".

Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D57531

(cherry picked from commit 75a94ae7d143a067a7a9eef2a1d2072fbd5044cf)
DeltaFile
+3-3usr.sbin/inetd/inetd.8
+1-1usr.sbin/inetd/inetd.c
+4-42 files

FreeBSD/src f0d6eb1usr.sbin/inetd inetd.8 inetd.c

inetd: Add missing argument to the -p flag description

While here, use the more specific "pidfile" consistently instead of
ambiguous "filename".

Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D57531

(cherry picked from commit 75a94ae7d143a067a7a9eef2a1d2072fbd5044cf)
DeltaFile
+3-3usr.sbin/inetd/inetd.8
+1-1usr.sbin/inetd/inetd.c
+4-42 files

FreeBSD/src bc796c6share/man/man7 stats.7

stats: Reference zpool-iostat(8) instead of zpool(8)

MFC after:      3 days

(cherry picked from commit c0ec8ffb46ab337dcf726fcdf8083f62859d0ae6)
DeltaFile
+2-2share/man/man7/stats.7
+2-21 files

FreeBSD/src 4ef1a73share/man/man5 style.mdoc.5

style.mdoc.5: Document Nd style

The Nd macro takes the rest of the line as an argument,
so there is no need for extra quoting.

MFC after:      3 days
DeltaFile
+9-2share/man/man5/style.mdoc.5
+9-21 files

FreeBSD/src 2b619b7contrib/llvm-project/clang/lib/Driver/ToolChains FreeBSD.h

Merge commit 93a67259cf23 from llvm git (by ShengYi Hung):

  [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

  When the linker is specified as ld, toolchain applies special handling
  by invoking (triple)-ld instead of resolving ld via standard PATH
  lookup. This causes GNU ld installed via the system package manager to
  take the precedence (since (triple)-ld appears earlier in the search
  path), effectively overriding ld.lld.

  As a result, we set the default Linker on FreeBSD to ld.lld to indicate
  we want to use lld by default.

PR:             292067
MFC after:      3 days
DeltaFile
+4-0contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h
+4-01 files

FreeBSD/src d2387bbsys/compat/freebsd32 freebsd32_misc.c

compat32 wait4/6(2): only copy out when there is a pid to report

PR:     295965

(cherry picked from commit 89fa97f0a71d4988891766c4e69eeb9687016b14)
DeltaFile
+4-8sys/compat/freebsd32/freebsd32_misc.c
+4-81 files

FreeBSD/src 669642fsys/compat/freebsd32 freebsd32_misc.c

compat32 wait4/6(2): only copy out when there is a pid to report

PR:     295965

(cherry picked from commit 89fa97f0a71d4988891766c4e69eeb9687016b14)
DeltaFile
+4-8sys/compat/freebsd32/freebsd32_misc.c
+4-81 files

FreeBSD/src b7280ebusr.bin/procstat procstat_bin.c

procstat binary: do not skip pid if either path or osrel sysctls failed

PR:     295893

(cherry picked from commit 9f378397ee89044a4faec522916b50f0a164d62e)
DeltaFile
+5-3usr.bin/procstat/procstat_bin.c
+5-31 files

FreeBSD/src 53d691csys/kern kern_procctl.c

reap_kill_subtree_once: when proctree_lock is dropped, reaper might change

(cherry picked from commit 44970244e6d872103f36eae34218b672b69579dd)
DeltaFile
+29-14sys/kern/kern_procctl.c
+29-141 files

FreeBSD/src 06dae21sys/kern kern_fork.c kern_exit.c, sys/sys proc.h

proc: add tree ref count

(cherry picked from commit 85a65e3930924429903e09832d177f8aa09dfb47)
DeltaFile
+7-0sys/sys/proc.h
+2-1sys/kern/kern_fork.c
+1-1sys/kern/kern_exit.c
+1-0sys/kern/kern_proc.c
+11-24 files

FreeBSD/src eac751csys/kern kern_fork.c

kern_fork: guard against NULL newproc on the failure path

(cherry picked from commit 9b48646ab366dcf6089fac653eef963331aa1169)
DeltaFile
+2-1sys/kern/kern_fork.c
+2-11 files

FreeBSD/src 093cc41sys/kern imgact_elf.c

imgact_elf: handle unaligned phdrs

PR:     295629

(cherry picked from commit 0b269737f9ca057826a6c9376c2474b1ae5bc91c)
DeltaFile
+5-8sys/kern/imgact_elf.c
+5-81 files

FreeBSD/src b52346bsys/compat/linux linux_fork.c linux_misc.c, sys/kern kern_exit.c kern_exec.c

exit1(9): do not deadlock if exit is called due to PT_SC_REMOTERQ

(cherry picked from commit a2cfe535771ded3ca8526bae405a5b61f71f1f33)
DeltaFile
+53-4sys/kern/kern_exit.c
+6-7sys/kern/kern_exec.c
+3-1sys/sys/proc.h
+2-2sys/compat/linux/linux_fork.c
+2-2sys/compat/linux/linux_misc.c
+2-2sys/kern/kern_ucoredump.c
+68-183 files not shown
+72-209 files

FreeBSD/src 6b02fe2sys/kern kern_procctl.c

kern_procctl: add get_reaper_or_p() helper

(cherry picked from commit 261c97b47ea4f120bfa4a04aab7d35c70dde8c8f)
DeltaFile
+10-6sys/kern/kern_procctl.c
+10-61 files

FreeBSD/src 5cffd95sys/kern kern_procctl.c

procctl(PROC_REAP_GETPIDS): re-validate reaper after relock of proctree_lock

(cherry picked from commit 390ae06d4f524a6f32383cbc1bcbdecdb3738bc3)
DeltaFile
+32-11sys/kern/kern_procctl.c
+32-111 files

FreeBSD/src f8fc6a0sys/kern vfs_syscalls.c vfs_lookup.c, sys/sys vnode.h

rename(2): do not allow to rename root vnode of the mounted filesystem

PR:     295826

(cherry picked from commit d53633bfcf24a3eb3711e24b597aa8301f92b958)
DeltaFile
+9-0sys/kern/vfs_syscalls.c
+1-1sys/kern/vfs_lookup.c
+1-0sys/sys/vnode.h
+11-13 files