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/usbdevs
+1-0sys/dev/usb/quirk/usb_quirk.c
+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_misc.c linux_fork.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
+2-2sys/compat/linux/linux_misc.c
+2-2sys/compat/linux/linux_fork.c
+2-2sys/kern/kern_ucoredump.c
+3-1sys/sys/proc.h
+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

FreeBSD/src a4ceed1sys/kern kern_procctl.c

procctl(): do not allow the process to exit inside kern_procctl_single()

(cherry picked from commit a845480cc122f45cebc5fbbe43de6b1c096d852b)
DeltaFile
+15-21sys/kern/kern_procctl.c
+15-211 files

FreeBSD/src f9a216csys/kern vfs_syscalls.c

renameat(2): when retrying, check for pending signals

PR:     295826

(cherry picked from commit 5d0ebfe1d97801518755c7025f57ba7d5bf1c8db)
DeltaFile
+8-2sys/kern/vfs_syscalls.c
+8-21 files

FreeBSD/src 94c6290sys/kern uipc_usrreq.c

connectat(2): do not enable EMPTYPATH for AT_FDCWD

(cherry picked from commit a248c5545f6fb861ea4200b69a58b2abcf815ce4)
DeltaFile
+3-2sys/kern/uipc_usrreq.c
+3-21 files

FreeBSD/src f6de9c6lib/libsys open.2, sys/kern uipc_usrreq.c

uipc_usrreq: revert addition of EMPTYPATH for bindat(2)

(cherry picked from commit 453968c78d27ed5c90562a1178f34fe8d616bf40)
DeltaFile
+2-3sys/kern/uipc_usrreq.c
+1-3lib/libsys/open.2
+3-62 files

FreeBSD/src c1d9ae3lib/libsys open.2

open.2: document O_PATH behavior for bindat/connectat

(cherry picked from commit 5d36fcc53d3d1c05a3bbac45e9d5409156e216f1)
DeltaFile
+6-0lib/libsys/open.2
+6-01 files

FreeBSD/src 57c8cccsys/dev/ntsync linux_ntsync.c linux_ntsync.h, sys/modules Makefile

linux_ntsync: linux compat shim for ntsync(9)

(cherry picked from commit 510ee6698d377f4a9a4eeb08d9dc17bdc72ad5ab)
DeltaFile
+302-0sys/dev/ntsync/linux_ntsync.c
+62-0sys/dev/ntsync/linux_ntsync.h
+6-0sys/modules/linux_ntsync/Makefile
+1-0sys/modules/Makefile
+371-04 files

FreeBSD/src fff29fbsys/kern uipc_usrreq.c

bindat(2)/connectat(2): allow implicit EMPTYPATH for unix domain sockets

(cherry picked from commit 12c590a9abd770f69da3bc0b8adb4955d79357c8)
DeltaFile
+4-3sys/kern/uipc_usrreq.c
+4-31 files

FreeBSD/src 3118bdfsys/dev/ntsync ntsync.c, sys/sys user.h

ntsync: add kinfo reporting

(cherry picked from commit d0ea3aff90655be3cdb34d86a4a97be6fc85d919)
DeltaFile
+44-3sys/dev/ntsync/ntsync.c
+24-0sys/sys/user.h
+68-32 files

FreeBSD/src 1ee1bfeetc/mtree BSD.include.dist, include Makefile

ntsync: install headers for userspace consumption

(cherry picked from commit 0ac9aac81c40159d561e43fc6976a866f852832b)
DeltaFile
+2-0etc/mtree/BSD.include.dist
+1-1include/Makefile
+3-12 files

FreeBSD/src 43702cfsys/dev/ntsync ntsync.c ntsyncvar.h, sys/modules Makefile

ntsync(4)

(cherry picked from commit 03ca6dbdb80da79408f135d823fbd9a00fd4f25b)
DeltaFile
+1,379-0sys/dev/ntsync/ntsync.c
+119-0sys/dev/ntsync/ntsyncvar.h
+66-0sys/dev/ntsync/ntsync.h
+6-0sys/modules/ntsync/Makefile
+1-0sys/modules/Makefile
+1-0sys/sys/file.h
+1,572-06 files

FreeBSD/src 4179f1dsys/fs/fuse fuse_vnops.c

fusefs: only search for FREAD fufh in readdir

The extra search for an FEXEC fufh shall be removed, since readdir
is only supposed to be called on a directory opened with FREAD.  The
sole exception is NFS, which will call VOP_READDIR with directories that
aren't open at all.  fuse already has special code to handle that.

Also remove the fuse_filehandle_get_dir() function, since it's not
used anywhere else.

Signed-off-by:  CismonX <admin at cismon.net>
Reviewed by:    asomers
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1729
DeltaFile
+1-11sys/fs/fuse/fuse_vnops.c
+1-111 files