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
+2-2sys/kern/kern_ucoredump.c
+2-2sys/compat/linux/linux_fork.c
+2-2sys/compat/linux/linux_misc.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/sys/file.h
+1-0sys/modules/Makefile
+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

FreeBSD/src 885e3a8crypto/openssl/apps testrsa.h, crypto/openssl/crypto/cast cast_s.h

MFV: openssl 3.5.7

This change is a security release which resolves several issues with OpenSSL 3.5,
the highest severity issue being ranked "High". Users are strongly encouraged to
update to this release.

More information about the release (from a high level) can be found in
the release notes [1].

1. https://github.com/openssl/openssl/blob/openssl-3.5.7/NEWS.md

All conflicts were resolved with `--theirs`, taking the release diff
over the local diff; the conflicts occurred due to preemptive security
fixes applied by so@ in e508c343.

MFC after:      3 days (the important security issues have been
preemptively addressed)
Merge commit '3a71a35ad9dad0e5d2cad8efecc8ba9d57c42d43'


    [8 lines not shown]
DeltaFile
+854-8,335crypto/openssl/test/quic_record_test.c
+449-4,467crypto/openssl/apps/testrsa.h
+380-3,027crypto/openssl/fuzz/dtlsserver.c
+284-2,821crypto/openssl/test/pkcs12_format_test.c
+224-2,214crypto/openssl/test/evp_extra_test2.c
+257-2,049crypto/openssl/crypto/cast/cast_s.h
+2,448-22,913196 files not shown
+7,603-35,267202 files

FreeBSD/src 41fad66secure/lib/libcrypto/man/man3 BIO_s_bio.3 d2i_X509.3, sys/crypto/openssl/powerpc chachap10-ppc.S

crypto/openssl: update artifacts to match 3.5.7 release

MFC after:      3 days
MFC with:       1523ccfd9

(cherry picked from commit 0881f6cf3f44883b03c21dc7e5ab2140275b5afd)
DeltaFile
+85-3secure/lib/libcrypto/man/man3/BIO_s_bio.3
+46-4sys/crypto/openssl/powerpc64le/chachap10-ppc.S
+46-4sys/crypto/openssl/powerpc/chachap10-ppc.S
+46-4sys/crypto/openssl/powerpc64/chachap10-ppc.S
+24-16secure/lib/libcrypto/man/man3/d2i_X509.3
+19-10secure/lib/libcrypto/man/man3/SSL_CTX_set_session_id_context.3
+266-41901 files not shown
+1,274-996907 files

FreeBSD/src 4ea4116release/tools vmimage.subr

vmimage.subr: Add ability to install src in VM image

In some cases having a src tree in a VM image is convenient
for development or debugging. Add a WITH_SRC variable,
which, when set, will cause the vm-release target to include
FreeBSD-set-src in the list of packages installed in an image.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Sponsored by:   Intel Corporation

Reviewed by:    cperciva
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D57143
DeltaFile
+1-0release/tools/vmimage.subr
+1-01 files