FreeBSD/src f48643d. ObsoleteFiles.inc

Use MOVED_LIBS for usr/lib/libcxxrt.so.1 ObsoleteFiles.inc entry

Otherwise, the "make delete-old-libs" mechanism also deletes 32-bit
copies, such as in /usr/lib32.

Reported by:    Josef 'Jeff' Sipek <jeffpc at josefsipek.net>
Fixes:          911a6479e18b
DeltaFile
+1-1ObsoleteFiles.inc
+1-11 files

FreeBSD/src 7929070contrib/llvm-project/compiler-rt/lib/builtins/riscv save.S restore.S, contrib/llvm-project/libcxx/include stddef.h

Merge llvm-project release/18.x llvmorg-18.1.4-0-ge6c3289804a6

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/18.x llvmorg-18.1.4-0-ge6c3289804a6.

PR:             276104
MFC after:      3 days

(cherry picked from commit dfa39133b333f57ca3133bf6c71cd75be4c3e801)
DeltaFile
+9-51contrib/llvm-project/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
+44-0contrib/llvm-project/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
+8-34contrib/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+42-0contrib/llvm-project/compiler-rt/lib/builtins/riscv/save.S
+42-0contrib/llvm-project/compiler-rt/lib/builtins/riscv/restore.S
+10-19contrib/llvm-project/libcxx/include/stddef.h
+155-10419 files not shown
+234-14025 files

FreeBSD/src 854034acontrib/llvm-project/compiler-rt/lib/builtins/riscv restore.S save.S, contrib/llvm-project/libcxx/include stddef.h

Merge llvm-project release/18.x llvmorg-18.1.4-0-ge6c3289804a6

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/18.x llvmorg-18.1.4-0-ge6c3289804a6.

PR:             276104
MFC after:      3 days

(cherry picked from commit dfa39133b333f57ca3133bf6c71cd75be4c3e801)
DeltaFile
+9-51contrib/llvm-project/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
+44-0contrib/llvm-project/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
+42-0contrib/llvm-project/compiler-rt/lib/builtins/riscv/restore.S
+42-0contrib/llvm-project/compiler-rt/lib/builtins/riscv/save.S
+8-34contrib/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+10-19contrib/llvm-project/libcxx/include/stddef.h
+155-10419 files not shown
+234-14025 files

FreeBSD/src ca0620b. RELNOTES

RELNOTES: Add an entry for the nfs_reserved_port_only default change

Sponsored by:   The FreeBSD Foundation
DeltaFile
+9-0RELNOTES
+9-01 files

FreeBSD/src 6d5ce2blibexec/rc rc.conf, sys/fs/nfsserver nfs_nfsdkrpc.c

nfsserver: Default to nfs_reserved_port_only="YES"

This setting causes the NFS server to check that all RPCs are sent from
a privileged (<= 1023) port, rejecting those that are not.  This
slightly raises the bar for a user with network access to an
unauthenticated NFS server to access exported NFS filesystems.

Users that use traditional NFS clients (e.g., those provided by FreeBSD
or Linux) should not see any difference, assuming that unprivileged
filesystem mounting is disallowed.

Note that the setting is per-VNET, so may be overridden in VNET jails
without affecting the rest of the system.

Discussed with: freebsd-arch@
Reviewed by:    rmacklem, bz, emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D44906
DeltaFile
+1-1libexec/rc/rc.conf
+1-1sys/fs/nfsserver/nfs_nfsdkrpc.c
+2-22 files

FreeBSD/src fb2ab7clib/libthr/tests pthread_sigqueue_test.c Makefile

Add test for pthread_sigqueue(3)

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+120-0lib/libthr/tests/pthread_sigqueue_test.c
+1-0lib/libthr/tests/Makefile
+121-02 files

FreeBSD/src 91da6beshare/man/man3 pthread_sigqueue.3 Makefile

pthread_sigqueue(3): document

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+102-0share/man/man3/pthread_sigqueue.3
+1-0share/man/man3/Makefile
+103-02 files

FreeBSD/src 220aa0finclude pthread.h, lib/libthr pthread.map

libthr: add pthread_sigqueue(3)

PR:     278459
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+79-0lib/libthr/thread/thr_sigqueue.c
+7-0include/pthread.h
+4-0lib/libthr/pthread.map
+1-0lib/libthr/thread/thr_private.h
+1-0lib/libthr/thread/Makefile.inc
+92-05 files

FreeBSD/src 97acb35sys/sys _sigval.h signal.h

sys/signal.h: move union sigval into dedicated private header sys/_sigval.h

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+61-0sys/sys/_sigval.h
+1-21sys/sys/signal.h
+62-212 files

FreeBSD/src dcc180clib/libsys sigqueue.2

sigqueue(2): Document __SIGQUEUE_TID

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+18-1lib/libsys/sigqueue.2
+18-11 files

FreeBSD/src 53186bcsys/kern kern_sig.c, sys/sys signal.h

sigqueue(2): add impl-specific flag __SIGQUEUE_TID

The flag allows the pid argument to designate a thread from the calling
process.  The flag value is carved from the high bit of the signal
number, which slightly changes the ABI of syscall.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+17-5sys/kern/kern_sig.c
+4-0sys/sys/signal.h
+21-52 files

FreeBSD/src 0c11c17sys/kern kern_thr.c

kern_thr.c: normalize includes

Remove extra sys/param.h, provided by sys/systm.h.
Order the rest alphabetically.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+4-5sys/kern/kern_thr.c
+4-51 files

FreeBSD/src 2effad5sys/kern kern_thr.c kern_sig.c

kern_thr.c/kern_sig.c: remove sys/cdefs.h

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+1-1sys/kern/kern_thr.c
+0-1sys/kern/kern_sig.c
+1-22 files

FreeBSD/src 53e0938sys/kern kern_thread.c

kern_thread.c: remove unneeded include of sys/param.h

Handled by sys/systm.h already.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D44867
DeltaFile
+0-1sys/kern/kern_thread.c
+0-11 files

FreeBSD/src fcdf9a1sys/net if_arp.h, sys/netinet if_ether.c

Support ARP for 802 networks

This is used by 802.3 Ethernet.  (Also be used by 802.4 Token Bus and
802.5 Token Ring, but we don't support those.)

This was accidentally removed along with FDDI support in commit
0437c8e3b198, presumably because comments implied it was used only by
FDDI or Token Ring.

Fixes: 0437c8e3b198 ("Remove support for FDDI networks.")
Reviewed-by: emaste
Signed-off-by: Denny Page <dennypage at me.com>
Pull-request: https://github.com/freebsd/freebsd-src/pull/1166
DeltaFile
+4-0sys/netinet/if_ether.c
+1-1sys/net/if_arp.h
+5-12 files

FreeBSD/src c5989feshare/man/man9 ieee80211_vap.9

ieee80211_vap(9): fix the title

MFC after:      3 days
DeltaFile
+1-1share/man/man9/ieee80211_vap.9
+1-11 files

FreeBSD/src 96a2e03lib/libc/locale xlocale.3, share/man/man4 lagg.4

Update manual page references and macros to align to mandoc syntax

xlocale.3: Comment out reference to atof_l(3), atoi_l(3), atol_l(3), atoll_l(3)
  These manual page references do not exist.

lagg.4: Change the reference for /etc/rc.conf from a reference link
  .Xr -> .Pa based on the context within the manual page it is used.

buf.9: Remove .Xr entries from the file
  The buf.9 manual page contains a commented out .Xr reference.
  The <filmmein> 9 entry is a placeholder and has been removed for
  clarity.

Reviewed by:    mhorne
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1114
DeltaFile
+4-4lib/libc/locale/xlocale.3
+1-1share/man/man4/lagg.4
+0-2share/man/man9/buf.9
+5-73 files

FreeBSD/src 60546b6usr.sbin/mountd exports.5

exports.5: Update an example to use service(8)

MFC after:      1 week

(cherry picked from commit 88d09ddea0111abd74579e5c3c4ed029351feccb)
DeltaFile
+2-1usr.sbin/mountd/exports.5
+2-11 files

FreeBSD/src 692106asys/geom/raid3 g_raid3.c

graid3: Fix teardown in g_raid3_try_destroy()

Commit 33cb9b3c3a22 replaced a g_raid3_destroy_device() call with a
g_raid3_free_device() call, which was incorrect and could lead to a
panic if a RAID3 GEOM failed to start (e.g., due to missing disks).

Reported by:    graid3 tests
Fixes:          33cb9b3c3a22 ("graid3: Fix teardown races")
MFC after:      3 days
Sponsored by:   Klara, Inc.

(cherry picked from commit 955f213fa2f14d5b5e9b655d8922e28315eb9fa3)
DeltaFile
+1-1sys/geom/raid3/g_raid3.c
+1-11 files

FreeBSD/src 21d1f73usr.sbin/mountd exports.5

exports.5: Clarify that exported dirs should be local mount points

If not, then in general the entire filesystem containing the exported
directory is accessiable.  This may be surprising, so try to make it
more clear.

Reviewed by:    rmacklem, emaste
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D44614

(cherry picked from commit 9d975e47d5a3638d4f575b2cf97e07bf22b53c7e)
DeltaFile
+24-4usr.sbin/mountd/exports.5
+24-41 files

FreeBSD/src 4329887share/man/man5 src.conf.5

src.conf: regen after 91d35fb663e0, WITHOUT_CAPSICUM removal

Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-3share/man/man5/src.conf.5
+1-31 files

FreeBSD/src 91d35fbshare/mk src.opts.mk, tools/build/options WITHOUT_CAPSICUM

Remove WITHOUT_CAPSICUM build support

Capsicum is non-optional as of c24c117b9644 ("Remove
WITHOUT_{CAPSICUM,CASPER} options").

`#ifndef WITHOUT_CAPSICUM` is left in the source for the benefit of
downstream consumers, but is never defined in FreeBSD.

Reviewed by:    oshogbo
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D42077
DeltaFile
+0-5share/mk/src.opts.mk
+0-4usr.bin/xz/Makefile
+0-1tools/build/options/WITHOUT_CAPSICUM
+0-103 files

FreeBSD/src 78de6a5sys/conf NOTES

NOTES: Remove a double word in comment

- s/of of/of/

(cherry picked from commit 1ff65c57e337ddb1681af5f98da0fa757cefc5ad)
DeltaFile
+1-1sys/conf/NOTES
+1-11 files

FreeBSD/src 4cea50bsys/arm64/qoriq qoriq_dw_pci.c

arm64: Remove a double word in a source code comment

- s/of of/of/

(cherry picked from commit 516e591db11a29c7bb3d8135a94530b27b94f91d)
DeltaFile
+1-1sys/arm64/qoriq/qoriq_dw_pci.c
+1-11 files

FreeBSD/src cdadad9sbin/ifconfig ifieee80211.c

ifconfig(8): Fix two typos in source code comments

- s/the the/the/

(cherry picked from commit 68b9eb9185f5569d05b5fecb178048f00c3b5c1a)
DeltaFile
+2-2sbin/ifconfig/ifieee80211.c
+2-21 files

FreeBSD/src 4fef442sys/dev/bhnd/nvram bhnd_nvram_data_bcmraw.c

bhnd(4): Remove a double word in a source code comment

- s/of of/of/

(cherry picked from commit d2747968c068b8cfc890901f4955037bad7adb9a)
DeltaFile
+1-1sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c
+1-11 files

FreeBSD/src 8e73397sys/dev/safe safe.c

safe(4): Remove a double word in a source code comment

- s/of of/of/

(cherry picked from commit 1bbdcf62d3ac8fbea2d4c5b37ccd9ac2032d37d7)
DeltaFile
+1-1sys/dev/safe/safe.c
+1-11 files

FreeBSD/src b6ddbb4usr.sbin/binmiscctl binmiscctl.8

binmiscctl.8: Remove a double word

- s/the the/the/

(cherry picked from commit 5235e9d646e7771cc532b8fc02f742a8157a41e5)
DeltaFile
+1-1usr.sbin/binmiscctl/binmiscctl.8
+1-11 files

FreeBSD/src db6bf2dsys/dev/usb usb_device.c

usb(4): Remove a double word in a source code comment

- s/of of/of/

(cherry picked from commit 604511f84ae6378db25ae3080e9db2e3bc9e0811)
DeltaFile
+1-1sys/dev/usb/usb_device.c
+1-11 files

FreeBSD/src 0744d32sys/conf NOTES

NOTES: Remove a double word in comment

- s/of of/of/

(cherry picked from commit 1ff65c57e337ddb1681af5f98da0fa757cefc5ad)
DeltaFile
+1-1sys/conf/NOTES
+1-11 files