Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge FreeBSD 2024-04-12 #2187

Merged
merged 499 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
499 commits
Select commit Hold shift + click to select a range
a1cdddc
LinuxKPI: add further constants to pci.h
Mar 31, 2024
218b2cc
LinuxKPI: implement memzero_explicit()
Apr 2, 2024
f674f01
LinuxKPI: add BITS_TO_BYTES()
Apr 2, 2024
738c02b
LinuxKPI: add dev_alloc_pages()
Apr 2, 2024
25038e8
zfsd: fix unit tests after 89f4f91dbfdcabe65bc7476bc5f13dfb837870fe
asomers Apr 10, 2024
4d7174b
release: Fix powerpc boot block uudecoding
cperciva Apr 13, 2024
56edbfe
tcp rack: fix memory corruption
tuexen Apr 6, 2024
b9f9313
tcp: improve consistency
tuexen Apr 6, 2024
75d77c4
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
DimitryAndric Dec 18, 2023
b1df110
Tentatively apply https://github.com/llvm/llvm-project/pull/76175
DimitryAndric Dec 21, 2023
4c806c8
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a
DimitryAndric Dec 25, 2023
77cb84e
Revert commit 0e46b49de433 from llvm-project (by Matt Arsenault):
DimitryAndric Jan 2, 2024
bee1de7
Merge llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4
DimitryAndric Jan 3, 2024
fdaa119
Tentatively merge https://github.com/llvm/llvm-project/pull/77242
DimitryAndric Jan 7, 2024
0397dd9
Add two FreeBSD customizations to libc++
DimitryAndric Jan 7, 2024
fb4f2ed
Merge llvm-project main llvmorg-18-init-16595-g7c00a5be5cde
DimitryAndric Jan 9, 2024
3dc92a7
Merge llvm-project main llvmorg-18-init-16864-g3b3ee1f53424
DimitryAndric Jan 11, 2024
2d07e7d
Redo libc++ customizations
DimitryAndric Jan 14, 2024
c592e3e
Merge llvm-project main llvmorg-18-init-18359-g93248729cfae
DimitryAndric Jan 24, 2024
47ab084
Tentatively apply https://github.com/libcxxrt/libcxxrt/pull/27
DimitryAndric Jan 26, 2024
6250ca4
Merge llvm-project release/18.x llvmorg-18-init-18361-g22683463740e
DimitryAndric Jan 26, 2024
5aecf89
Merge commit 6e4930c67508 from llvm-project (by Alexander Kornienko):
DimitryAndric Jan 28, 2024
ab3d764
Merge commit 5f4ee5a2dfa9 from llvm-project (by Shanzhi):
DimitryAndric Feb 5, 2024
3960514
[libc++] Rename __bit_reference template parameter to avoid conflict
DimitryAndric Feb 5, 2024
c81e44c
Merge llvm-project release/18.x llvmorg-18.1.0-rc2-0-gc6c86965d967
DimitryAndric Feb 7, 2024
63867bd
Merge llvm-project release/18.x llvmorg-18.1.0-rc2-53-gc7b0a6ecd442
DimitryAndric Feb 20, 2024
1c23a09
Merge llvm-project release/18.x llvmorg-18.1.0-rc3-0-g6c90f8dd5463
DimitryAndric Feb 21, 2024
8d7a3be
Merge llvm-project release/18.x llvmorg-18.1.1-0-gdba2a75e9c7e
DimitryAndric Mar 10, 2024
502ce66
Revert commit 6255157d24e2 from llvm-project (by Dimitry Andric):
DimitryAndric Mar 19, 2024
735474c
Merge commit f5f3d5d6534f from llvm-project (by Qizhi Hu):
DimitryAndric Mar 21, 2024
f535a24
Merge llvm-project release/18.x llvmorg-18.1.3-0-gc13b7485b879
DimitryAndric Apr 5, 2024
639981b
Bump __FreeBSD_version for llvm 18.1.3 merge
DimitryAndric Apr 6, 2024
1ca7657
libcompiler_rt: Add hacks to continue building with CHERI LLVM 15
bsdjhb Aug 7, 2024
c2ae804
Fix arm64 build after llvm 18.1.3 upgrade
DimitryAndric Apr 7, 2024
c5fde0f
Fix arm64 build after llvm 18.1.3 upgrade (take 2)
DimitryAndric Apr 7, 2024
ec91bb9
vm_reserv: Add vm_reserv_is_populated
Apr 7, 2024
238b2e7
Fix GENERIC-KASAN kernel build for amd64
DimitryAndric Apr 7, 2024
1159645
libcompiler_rt Makefile.inc: remove debugging messages
DimitryAndric Apr 7, 2024
d49c39e
libcompiler_rt Makefile.inc: don't build bfloat16 support for gcc < 13
DimitryAndric Apr 7, 2024
da3cb57
libcompiler_rt Makefile.inc: include bsd.compiler.mk to fix build
DimitryAndric Apr 7, 2024
00fa2e1
tcp: add some debug output
tuexen Apr 7, 2024
83a3e0e
Cirrus-CI: switch to llvm18 by default
emaste Apr 6, 2024
be369db
exports.5: Add RFC number for NFS over TLS
Apr 7, 2024
74f9da6
ktrace: Record detailed ECAPMODE violations
jakesfreeland Apr 6, 2024
5da39dd
ktrace: Record cpuset violations with KTR_CAPFAIL
jakesfreeland Apr 6, 2024
8f0e83a
ktrace: Record syscall violations with KTR_CAPFAIL
jakesfreeland Apr 6, 2024
e3d84db
ktrace: Record signal violations with KTR_CAPFAIL
jakesfreeland Apr 6, 2024
079d886
ktrace: Record namei violations with KTR_CAPFAIL
jakesfreeland Apr 6, 2024
e835308
ktrace: Record socket violations with KTR_CAPFAIL
jakesfreeland Apr 6, 2024
2bb8af7
tests: Add ktrace capability violation test cases
jakesfreeland Apr 6, 2024
c5857dc
RELNOTES: Add entry for updates to ktrace(2)
jakesfreeland Apr 6, 2024
8bc2fe0
LinuxKPI: Set suspend type on syspend/resume cycle enter
wulf7 Apr 8, 2024
5d1de51
LinuxKPI: Add ms_to_ktime
wulf7 Apr 8, 2024
1a0baf3
LinuxKPI: Add strnchr function
wulf7 Apr 8, 2024
79c65a0
LinuxKPI: Move [SU](8|16|32|64)_(MAX|MIN) defines to linux/limits.h
wulf7 Apr 8, 2024
fc0c19b
LinuxKPI: Import vanilla linux/overflow.h
wulf7 Apr 8, 2024
17816bd
LinuxKPI: Add VM_ACCESS_FLAGS define to linux/mm.h
wulf7 Apr 8, 2024
0513460
LinuxKPI: Add get_random_u32_below function
wulf7 Apr 8, 2024
63fa708
LinuxKPI: Improve timer_shutdown_sync
wulf7 Apr 8, 2024
8cd51e7
LinuxKPI: Add vm_flags_(clear|set) functions
wulf7 Apr 8, 2024
8bcc35b
LinuxKPI: Add PTR_IF macro
wulf7 Apr 8, 2024
766b5f2
LinuxKPI: Add the accelerator PCIe class
wulf7 Apr 8, 2024
042822b
LinuxKPI: Add pci_dev_id to linux/pci.h
wulf7 Apr 8, 2024
2bcee4b
LinuxKPI: Add ACPI_ID_LEN const to linux/mod_devicetable.h
wulf7 Apr 8, 2024
16f8eb3
LinuxKPI: Add want_init_on_free to linux/mm.h
wulf7 Apr 8, 2024
bcbfdb9
LinuxKPI: Stub sysfs_remove_link in linux/sysfs.h
wulf7 Apr 8, 2024
eb68c2c
swap_pager: Unbusy readahead pages after an I/O error
markjdb Apr 8, 2024
bf94c43
Skipping merge of b9fa1500cb2265b95927e19b9d2119ca26d65be3
bsdjhb Aug 7, 2024
6f03805
Skipping merge of b6c7ff583fdb11bf611d58022aea15461c6158e9
bsdjhb Aug 7, 2024
c6b2ed5
capsicum.h: Include ktrace.h only in kernel
jakesfreeland Apr 8, 2024
0f73080
netinet: add a probe point for IP, IP6, ICMP, ICMP6, UDP and TCP stat…
kprovost Jan 18, 2024
ce1b79c
echo(1): Add EXAMPLES
fernape Sep 7, 2023
c81d8ae
ethernet: Fix logging of frame length
gmshake Apr 8, 2024
dd6d67d
debugnet: Fix logging of frame length
gmshake Apr 8, 2024
6f487e4
ng_bridge: allow to automatically assign numbers to new hooks
dmarker Apr 8, 2024
2d53ded
ng_bridge: document the limitation brought in f961caf2184c
glebius Apr 8, 2024
af61db3
sys/queue.h: Whitespace cleanup.
dag-erling Apr 8, 2024
8327561
sys/queue.h: Add {LIST,TAILQ}_REPLACE().
dag-erling Apr 8, 2024
48844ac
tests/unix_seqpacket: provide random data pumping test with MSG_EOR
glebius Apr 8, 2024
0b7fd24
tests/unix_seqpacket: test send(2) to a closed or aborted peer socket
glebius Apr 8, 2024
8a9e551
tests/unix_seqpacket: remove workaround for a kernel bug that is no l…
glebius Apr 8, 2024
071c472
sendfile: mark it explicitly as a TCP only feature
glebius Apr 8, 2024
071f314
mbuf: provide new type for mbuf manipulation - mbuf chain
glebius Apr 8, 2024
e1cf9c0
mbuf: add mc_split() that works on two struct mchain
glebius Apr 8, 2024
744d577
mbuf: provide mc_get() that allocates struct mchain of given length
glebius Apr 8, 2024
a1b225d
mbuf: provide mc_uiotomc() a function to copy from uio(9) to mchain
glebius Apr 8, 2024
00d9e59
unix: new implementation of unix/stream & unix/seqpacket
glebius Apr 8, 2024
37cc829
cp: Never follow symbolic links in destination.
dag-erling Apr 8, 2024
53805e5
icmp: correct the assertion that checks limit + jitter
glebius Apr 8, 2024
be5176d
unix: fix the ad hoc STAILQ_PREPEND()
glebius Apr 9, 2024
33c8bd4
unix: return immediately on MSG_OOB
glebius Apr 9, 2024
ac09919
sockets: Add hhook in sonewconn for inheriting OSD specific data
Apr 9, 2024
fdb5484
mountd.8: Document the new -A mountd option
Apr 9, 2024
d54fbe2
ng_socket: Treat EEXIST from kern_kldload() as success
gmshake Apr 9, 2024
0115f4e
vm: add macro to mark arguments used when NUMA is defined
Apr 3, 2024
33ae553
rpc: use new macros to lock socket buffers
glebius Apr 9, 2024
ea958ba
arm64 pmap: Add ATTR_CONTIGUOUS support [Part 2]
alcriceedu Apr 8, 2024
4f66613
config.mk: Add MK_VIMAGE knob
Apr 9, 2024
38e267a
Revert "unix: new implementation of unix/stream & unix/seqpacket"
glebius Apr 9, 2024
250bc92
pci_host_generic: Tolerate range resource allocation failures
bsdjhb Apr 9, 2024
9306ccd
periodic/daily/801.trim-zfs: Add a daily zfs trim script
llfw Apr 9, 2024
cadd538
NOTES: Move OFED options to MI NOTES
bsdjhb Apr 9, 2024
3831266
iser: Add kernel build glue
bsdjhb Apr 9, 2024
55cba69
NOTES: Add devices for iSCSI support
bsdjhb Apr 9, 2024
2eb00c0
NOTES: Tidy entries for SATA controllers
bsdjhb Apr 9, 2024
cbdce23
sys: Enable NVMe drivers on all architectures
bsdjhb Apr 9, 2024
953c825
NOTES: Move NVMe entries to MI file
bsdjhb Apr 9, 2024
c7a0f2a
unionfs_lookup(): fix wild accesses to vnode private data
Feb 18, 2024
32c20a6
uipc_shm: Copyin userpath for ktrace(2)
jakesfreeland Apr 10, 2024
3f0e774
tests: Add ktrace regression test for shm_open
jakesfreeland Apr 10, 2024
0861719
bcm2838_xhci: add module
llfw Apr 10, 2024
0d9ea8a
release: make -j compat: cd inside subshell
cperciva Apr 10, 2024
d70394e
release: distributekernel before packagekernel
cperciva Apr 10, 2024
ad49615
release: Don't reuse disc1/bootonly directories
cperciva Apr 10, 2024
7b69b10
Reapply "release.sh: Add -jN to `make release`"
cperciva Apr 10, 2024
5545a6d
exit.3: add the comma after an empty space
rilysh Apr 10, 2024
8531285
bectl(8): corrections, changes
grahamperrin Oct 3, 2023
3ef1490
bectl(8): HISTORY, AUTHORS: further attention
grahamperrin Oct 3, 2023
9f493a2
bectl(8): authors: be more explicit
grahamperrin Oct 5, 2023
b39426c
bectl(8): authors: Kyle Evans: fine-tune
grahamperrin Oct 5, 2023
2fa469b
libbe(3): consistency, and authors
grahamperrin Oct 5, 2023
abb49b0
libbe(3): history: fix
grahamperrin Oct 5, 2023
a89aa3d
pcireg.h: add include guard
kostikbel Apr 7, 2024
3d0eb0e
pcireg.h: Add AMD IOMMU Base Cap definitions
kostikbel Apr 7, 2024
e3cefb9
pciconf(8): dump AMD IOMMU Base Capability
kostikbel Apr 9, 2024
13080e4
vm_reserv_reclaim_contig: Return NULL not false
fel1x-developer Apr 10, 2024
1c2d474
tcp: Make tcp_var.h more self-contained
markjdb Apr 8, 2024
214fab7
sys_procctl(): Make it clear that negative commands are invalid
OlCe2 Apr 10, 2024
57bfbca
Skipping merge of f3003a0dfb91ce887587ff73ce758f31a921e5a3
bsdjhb Aug 7, 2024
0e2caa5
bhyve: Provide optional libfdt linking
markjdb Apr 3, 2024
a9d8eaf
Skipping merge of eaff4c4f92dc447cf5f0bbf80449cad7738fdf39
bsdjhb Aug 7, 2024
26e6bcf
bhyve: Use vm_get_highmem_base() instead of hard-coding the value
markjdb Apr 3, 2024
4f65c9b
Skipping merge of 967264cfcd6d1a42dc0c9f9916320afe90f1faa4
bsdjhb Aug 7, 2024
1106795
Skipping merge of e4656e10d13190d3149e3bb60e01c50f1c210885
bsdjhb Aug 7, 2024
1d11d01
Skipping merge of 85efb31d50af3cf6987d74f4abe9c54ae493f3a6
bsdjhb Aug 7, 2024
dc42663
Skipping merge of 7f00e46b85e8c60259ad0bdd53593ea246f3e549
bsdjhb Aug 7, 2024
e9fc279
Skipping merge of 3170dcaea96debdd383d974f2b1582d2eb126f50
bsdjhb Aug 7, 2024
65715d5
libvmmapi: Move PCI passthrough ioctl wrappers into a separate file
markjdb Apr 3, 2024
ce4b767
Skipping merge of 7e0fa794123eb8395fffa976c47e8ba4f44f2df0
bsdjhb Aug 7, 2024
1c60263
Skipping merge of 5ec6c3007e36736a979434d9bf5c9e22293970b3
bsdjhb Aug 7, 2024
6095226
libvmmapi: Make vm_raise_msi() a common function
markjdb Apr 3, 2024
646eee6
libvmmapi: Zero out the structure passed to VM_GET_MEMSEG
markjdb Apr 3, 2024
dd64c36
Skipping merge of ff50e9d53ff836bd6276c9f5a355e0ab03a99c61
bsdjhb Aug 7, 2024
e178012
Skipping merge of fc98569fc370c7f5a2039d472ee3b01f5a78b177
bsdjhb Aug 7, 2024
306e549
Skipping merge of f286f746f4ac32c58969834aeb6f9b5076b52c86
bsdjhb Aug 7, 2024
2f5f6e8
bhyve: Use vm_raise_msi() instead of vm_lapic_msi()
markjdb Apr 3, 2024
b8e0231
bhyve: Partially disable INT#x support in virtio for arm64
markjdb Apr 3, 2024
9959c7c
Skipping merge of 11c79f9e358d725dd75d91d2ff2996fd77dc88e5
bsdjhb Aug 7, 2024
8ce8ffa
Skipping merge of 981f9f7495bb8247e0eba48e15dcc7f2e0b1b342
bsdjhb Aug 7, 2024
cb75196
libvmmapi: Conditionalize compilation of some functions
markjdb Apr 3, 2024
bd817cb
Skipping merge of 54416d2d786ae364b918c9c5af2d8f1d1bb0a1c1
bsdjhb Aug 7, 2024
f94dea1
Skipping merge of 0efad4aceb533ef32905de586ab0112b1c563996
bsdjhb Aug 7, 2024
5ec36c7
bhyve: Fix arm64 PCI I/O range to match FDT
jrtc27 Feb 19, 2024
237e322
bhyve: Extend mevent to support updating timers
jrtc27 Feb 21, 2024
bfaf901
bhyve: Extract uart-clock from fdt_add_uart as an apb-pclk
jrtc27 Feb 21, 2024
10309e6
bhyve: Implement a PL031 RTC on arm64
jrtc27 Feb 21, 2024
dee7e3d
vm: improve kstack_object pindex calculation to avoid pindex holes
bnovkov Apr 9, 2024
8bfd8bc
vmem: Relax the bounds requirements of vmem_import
bsdjhb Aug 8, 2024
507dfa6
Revert "sendfile: mark it explicitly as a TCP only feature"
glebius Apr 10, 2024
bad24dd
ahc/ahd: Fix target mode operation
amotin Apr 10, 2024
09dfdcd
libllvm: add missed tlbgen headers and sources for BPF target
DimitryAndric Apr 10, 2024
20a6f2b
macio: Set resource map size
chmeeedalf Apr 11, 2024
7631c09
scmi: Implement scmi_clknode_recalc_freq method
freefall75 Dec 10, 2023
4b139d6
scmi: Split out the SCMI mailbox to a new file
zxombie Oct 4, 2023
3869e5e
scmi: Add an SCMI SMC transport driver
zxombie Oct 4, 2023
6e9c259
scmi: Extend and refactor SCMI shmem support
freefall75 Dec 6, 2023
b1018e4
scmi: Fix SCMI mailbox polling mechanism
freefall75 Dec 7, 2023
8526087
scmi: Protect SCMI/SMT channels from concurrent transmissions
freefall75 Dec 7, 2023
77ca4e9
scmi: Add new SCMI interfaces for init and message processing
freefall75 Dec 7, 2023
06edb2c
scmi: Add SCMI message tracking and centralize tx/rx logic
freefall75 Dec 7, 2023
259dff8
scmi: Introduce a new SCMI API and port CLK SCMI driver to it
freefall75 Dec 11, 2023
8f85a5a
vtscmi: Add a virtio-scmi driver
freefall75 Oct 20, 2023
102dfc9
scmi: Add an SCMI VirtIO transport driver
freefall75 Oct 23, 2023
373af5a
cloudware: allow disk format to be a list
bapt Apr 11, 2024
2892834
arm64/vmm: Define a dummy _start symbol in vmm_hyp_blob.elf
markjdb Apr 10, 2024
8c9f749
Revert "cloudware: allow disk format to be a list"
bapt Apr 11, 2024
4fd013c
release/Makefile.vm: Support read-only ports tree
cperciva Apr 11, 2024
9d0d44d
msan: Fix typo
ElyesH Apr 11, 2024
ad2c8f4
atomic: Fix typo
ElyesH Apr 11, 2024
88c509d
vmm: Fix typo
ElyesH Apr 11, 2024
f60030f
pmap: Fix typos
ElyesH Apr 11, 2024
dc7fad0
minidump_machdep: Fix typo
ElyesH Apr 11, 2024
604b179
exception: Fix typos
ElyesH Apr 11, 2024
b576027
sigtramp: Fix typo
ElyesH Apr 11, 2024
73e97c1
vmm/x86: Fix typo
ElyesH Apr 11, 2024
ca673b4
vhpet: Fix typo
ElyesH Apr 11, 2024
59af291
specialreg: Fix typos
ElyesH Apr 11, 2024
f1411a3
Makefile.inc1: Fix typo
ElyesH Apr 11, 2024
236542a
zonectl: Fix a typo
ElyesH Apr 11, 2024
f64798f
manctl: Fix typo
ElyesH Apr 11, 2024
b663d8a
crunch: Fix typo
ElyesH Apr 11, 2024
0024706
pnfsdscopymr: Fix typos
ElyesH Apr 11, 2024
9624966
inetd: Fix typos
ElyesH Apr 11, 2024
70e7e50
mergemaster: Fix typo
ElyesH Apr 11, 2024
37b7546
ipfw: Remove repeated words
ElyesH Apr 11, 2024
26e532d
include: Remove repeated words
ElyesH Apr 11, 2024
adeb02a
sbin: Remove repeated words
ElyesH Apr 11, 2024
65f1591
usr.sbin: Remove repeated words
ElyesH Apr 11, 2024
77d33a6
sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)
christosmarg Apr 11, 2024
f53c984
sound: Implement asynchronous device detach
christosmarg Apr 11, 2024
2abd715
adduser(8): support creation of ZFS dataset
jgrafton Apr 11, 2024
e123eb7
fdwrite.c: initialize pointers to NULL and a few other cleanups
rilysh Apr 11, 2024
9dde26b
ds1307: use the correct Microchip part number in enum and device desc…
jeffpc Apr 11, 2024
87e3b20
nfscl: Purge name cache when readdir_plus is done
Apr 11, 2024
1b897bc
ec2: homedir bug fixed in 24.1.4
igalic Apr 11, 2024
845098d
Merge commit 55c466da2f2f from llvm-project (by Benjamin Kramer):
DimitryAndric Apr 11, 2024
187a0fd
bcm2838_xhci: Need to generate ofw_bus_if.h
bsdimp Apr 12, 2024
58412e1
ddb: Start to generalise breakpoints
zxombie Mar 21, 2024
9b6689f
sys/ddb: Add hardware breakpoint support to ddb
zxombie Mar 12, 2024
2daff26
sys/gdb: Support hardware breakpoints
zxombie Mar 14, 2024
70e4002
arm64: Support hardware breakpoints
zxombie Mar 12, 2024
50fa5cd
atrtc(4): Fix a typo in a sysctl description
gbergling Apr 12, 2024
9d43b1b
Support BTI in rtld
zxombie Apr 5, 2023
0ac28aa
Now that D44168 has been merged to stable/14, update the manpage
Apr 12, 2024
3023dba
sys/netipsec: fix IPSEC_SUPPORT for non-INET kernels
llfw Apr 12, 2024
b58d7bd
sys/dev/irdma/irdma_cm: fix compile without INET
llfw Apr 12, 2024
114d58f
sys/netinet6/in6_pcb.c: fix compile without INET
llfw Apr 12, 2024
8a95947
intro.1: 2024 edition
concussious Apr 12, 2024
699b80d
uart_snps: Register a device xref for UARTs
khng300 Apr 12, 2024
871c5c3
ibcore: Remove the use of NULL_IB_OBJECT
khng300 Apr 12, 2024
070f45e
efidev: Allow for optionally including efidev and efirtc into the kernel
Apr 10, 2024
5995bf5
install: Always use a temporary file.
dag-erling Apr 12, 2024
cd919ff
install: Simplify path construction.
dag-erling Apr 12, 2024
6b03a47
install: Don't skip syncing in the common case.
dag-erling Apr 12, 2024
6cea256
release: Support r/o /usr/ports for cloudware
cperciva Apr 12, 2024
9117273
release: Randomize powerpc boot block file name
cperciva Apr 12, 2024
305fad6
math: Add long double constant definitions
collinfunk Apr 12, 2024
8fd09d7
sound: Update some LICENSE headers
christosmarg Apr 12, 2024
88a6619
libc: Remove support for pre-C99 C standards
fel1x-developer Apr 12, 2024
91abf90
rc.d/ldconfig: Compute ldconfig paths in a function
kwitaszczyk Apr 12, 2024
ff1910a
defaults/rc.conf: Remove /usr/lib32 from ldconfig32_paths
bsdjhb Apr 12, 2024
50401a5
files.x86: Pull in some more duplicate lines from files.{amd64,i386}
bsdjhb Apr 12, 2024
c747119
genet: add module (if_genet.ko)
llfw Apr 12, 2024
c083a70
msun: Fix math error in comment explaining y reduction
hchataing Apr 12, 2024
3358832
style.mdoc.5: maintenence
concussious Apr 12, 2024
a11eaf4
libc(localeconv.c): fix "appropriate" spelling
rilysh Apr 12, 2024
b4ce7fc
libc(inet_net_pton.c): fix "Fiery" spelling
rilysh Apr 12, 2024
2256106
libc(xdr.c): fix "discriminated" spelling
rilysh Apr 12, 2024
1319242
libc(xdr_reference.c): fix "referenced" spelling
rilysh Apr 12, 2024
5ec9560
libc(bt_seq.c): fix "uninitialized" spelling
rilysh Feb 13, 2024
dc9649f
libc(bt_utils.c): fix "contiguous" spelling
rilysh Feb 13, 2024
1e0a0b8
nproc: Prefer sys/cdefs.h __unreachable over the builtin
collinfunk Apr 12, 2024
8f934c5
daemon: Prefer sys/cdefs.h __unreachable over the builtin
collinfunk Apr 12, 2024
cbc7092
kldxref: Prefer sys/cdefs.h __unreachable over the builtin
collinfunk Apr 12, 2024
a54dcd9
LinuxKPI: add further constants to pci.h
Mar 31, 2024
e3b03ba
LinuxKPI: implement memzero_explicit()
Apr 2, 2024
713a690
LinuxKPI: add BITS_TO_BYTES()
Apr 2, 2024
801ace0
LinuxKPI: add dev_alloc_pages()
Apr 2, 2024
d10b952
zfsd: fix unit tests after 89f4f91dbfdcabe65bc7476bc5f13dfb837870fe
asomers Apr 10, 2024
24a88f1
release: Fix powerpc boot block uudecoding
cperciva Apr 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ task:
TOOLCHAIN: llvm16
TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
- name: amd64-llvm17 World and kernel build and boot smoke test
only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src' || $CIRRUS_BRANCH =~ 'pull/.*'
only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
trigger_type: manual
env:
TARGET: amd64
TARGET_ARCH: amd64
TOOLCHAIN: llvm17
TOOLCHAIN_PKG: ${TOOLCHAIN}-lite
- name: amd64-llvm18 World and kernel build and boot smoke test
only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src'
trigger_type: manual
only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src' || $CIRRUS_BRANCH =~ 'pull/.*'
env:
TARGET: amd64
TARGET_ARCH: amd64
Expand Down
2 changes: 1 addition & 1 deletion Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ _cleanworldtmp: .PHONY
# Note: for delete-old we need to set $PATH to also include the host $PATH
# since otherwise a partial build with missing symlinks in ${WORLDTMP}/legacy/
# will fail to run due to missing binaries. $WMAKE sets PATH to only ${TMPPATH}
# so we remove that assingnment from $WMAKE and prepend the new $PATH
# so we remove that assignment from $WMAKE and prepend the new $PATH
${_+_}@if [ -e "${WORLDTMP}" ]; then \
echo ">>> Deleting stale files in build tree..."; \
cd ${.CURDIR}; env PATH=${TMPPATH:Q}:${PATH:Q} ${WMAKE:NPATH=*} \
Expand Down
447 changes: 447 additions & 0 deletions ObsoleteFiles.inc

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ newline. Entries should be separated by a newline.

Changes to this file should not be MFCed.

aea973501b19:
ktrace(2) will now record detailed information about capability mode
violations. The kdump(1) utility has been updated to display such
information.
f32a6403d346:
One True Awk updated to 2nd Edition. See https://awk.dev for details
on the additions. Unicode and CSVs (Comma Separated Values) are now
Expand Down
52 changes: 13 additions & 39 deletions bin/cp/cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,22 +260,6 @@ main(int argc, char *argv[])
&to_stat)));
}

/* Does the right thing based on -R + -H/-L/-P */
static int
copy_stat(const char *path, struct stat *sb)
{

/*
* For -R -H/-P, we need to lstat() instead; copy() cares about the link
* itself rather than the target if we're not following links during the
* traversal.
*/
if (!Rflag || Lflag)
return (stat(path, sb));
return (lstat(path, sb));
}


static int
copy(char *argv[], enum op type, int fts_options, struct stat *root_stat)
{
Expand Down Expand Up @@ -403,7 +387,6 @@ copy(char *argv[], enum op type, int fts_options, struct stat *root_stat)
continue;
}


if (asprintf(&recurse_path, "%s/%s", to.p_path,
rootname) == -1)
err(1, "asprintf");
Expand Down Expand Up @@ -452,30 +435,21 @@ copy(char *argv[], enum op type, int fts_options, struct stat *root_stat)
continue;
}

/* Not an error but need to remember it happened. */
if (copy_stat(to.p_path, &to_stat) == -1)
dne = 1;
else {
if (to_stat.st_dev == curr->fts_statp->st_dev &&
to_stat.st_ino == curr->fts_statp->st_ino) {
warnx("%s and %s are identical (not copied).",
to.p_path, curr->fts_path);
badcp = rval = 1;
if (S_ISDIR(curr->fts_statp->st_mode))
(void)fts_set(ftsp, curr, FTS_SKIP);
continue;
}
if (!S_ISDIR(curr->fts_statp->st_mode) &&
S_ISDIR(to_stat.st_mode)) {
warnx("cannot overwrite directory %s with "
"non-directory %s",
to.p_path, curr->fts_path);
badcp = rval = 1;
continue;
}
dne = 0;
/* Check if source and destination are identical. */
if (stat(to.p_path, &to_stat) == 0 &&
to_stat.st_dev == curr->fts_statp->st_dev &&
to_stat.st_ino == curr->fts_statp->st_ino) {
warnx("%s and %s are identical (not copied).",
to.p_path, curr->fts_path);
badcp = rval = 1;
if (S_ISDIR(curr->fts_statp->st_mode))
(void)fts_set(ftsp, curr, FTS_SKIP);
continue;
}

/* Not an error but need to remember it happened. */
dne = lstat(to.p_path, &to_stat) != 0;

switch (curr->fts_statp->st_mode & S_IFMT) {
case S_IFLNK:
/* Catch special case of a non-dangling symlink. */
Expand Down
31 changes: 31 additions & 0 deletions bin/cp/tests/cp_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,35 @@ symlink_exists_force_body()
atf_check -o inline:"foo\n" readlink bar
}

atf_test_case directory_to_symlink
directory_to_symlink_body()
{
mkdir -p foo
ln -s .. foo/bar
mkdir bar
touch bar/baz
atf_check -s not-exit:0 -e match:"Not a directory" \
cp -R bar foo
atf_check -s not-exit:0 -e match:"Not a directory" \
cp -r bar foo
}

atf_test_case overwrite_directory
overwrite_directory_body()
{
mkdir -p foo/bar/baz
touch bar
atf_check -s not-exit:0 -e match:"Is a directory" \
cp bar foo
rm bar
mkdir bar
touch bar/baz
atf_check -s not-exit:0 -e match:"Is a directory" \
cp -R bar foo
atf_check -s not-exit:0 -e match:"Is a directory" \
cp -r bar foo
}

atf_init_test_cases()
{
atf_add_test_case basic
Expand All @@ -388,4 +417,6 @@ atf_init_test_cases()
atf_add_test_case symlink
atf_add_test_case symlink_exists
atf_add_test_case symlink_exists_force
atf_add_test_case directory_to_symlink
atf_add_test_case overwrite_directory
}
29 changes: 29 additions & 0 deletions bin/echo/echo.1
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,24 @@ Consult the
manual page.
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
Special treatment of options and backslashes:
.Bd -literal -offset indent
$ /bin/echo "-hello\\tworld"
-hello\tworld
.Ed
.Pp
Avoid new line character:
.Bd -literal -offset indent
$ /bin/echo -n hello;/bin/echo world
helloworld
.Ed
.Pp
Or to achieve the same result:
.Bd -literal -offset indent
$ /bin/echo "hello\\c";/bin/echo world
helloworld
.Ed
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr csh 1 ,
Expand All @@ -105,3 +123,14 @@ The
.Nm
command appeared in
.At v2 .
.Sh CAVEATS
The
.Nm
command behaves differently with regards to the built-in
.Nm
shell command in a number of ways including escaped characters handling.
It also differs in behavior between different systems hence complicating writing
portable scripts.
It is advised to use the
.Xr printf 1
command to avoid these shortcomings.
2 changes: 1 addition & 1 deletion bin/nproc/nproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ main(int argc, char *argv[])
break;
case OPT_VERSION:
version();
__builtin_unreachable();
__unreachable();
case OPT_HELP:
help();
exit(EXIT_SUCCESS);
Expand Down
3 changes: 3 additions & 0 deletions cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class MockVdev : public Vdev
MOCK_CONST_METHOD0(PoolGUID, Guid());
MOCK_CONST_METHOD0(State, vdev_state());
MOCK_CONST_METHOD0(PhysicalPath, string());
MOCK_CONST_METHOD2(Name, string(zpool_handle_t * zhp, bool verbose));
};

MockVdev::MockVdev(nvlist_t *vdevConfig)
Expand Down Expand Up @@ -431,6 +432,8 @@ class CaseFileTest : public ::testing::Test
m_vdev = new MockVdev(m_vdevConfig);
ON_CALL(*m_vdev, GUID())
.WillByDefault(::testing::Return(Guid(123)));
ON_CALL(*m_vdev, Name(::testing::_, ::testing::_))
.WillByDefault(::testing::Return(string("/dev/da999")));
ON_CALL(*m_vdev, PoolGUID())
.WillByDefault(::testing::Return(Guid(456)));
ON_CALL(*m_vdev, State())
Expand Down
2 changes: 1 addition & 1 deletion cddl/usr.sbin/zfsd/vdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class Vdev
nvlist_t *Config() const;
Vdev Parent();
Vdev RootVdev();
std::string Name(zpool_handle_t *, bool verbose) const;
virtual std::string Name(zpool_handle_t *, bool verbose) const;
bool IsSpare();
bool IsAvailableSpare() const;
bool IsActiveSpare() const;
Expand Down
6 changes: 3 additions & 3 deletions contrib/libcxxrt/cxxabi.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@
std::type_info * __cxa_current_exception_type();


void *__cxa_allocate_exception(size_t thrown_size);
void *__cxa_allocate_exception(size_t thrown_size) throw();

void __cxa_free_exception(void* thrown_exception);
void __cxa_free_exception(void* thrown_exception) throw();

Check failure on line 209 in contrib/libcxxrt/cxxabi.h

View workflow job for this annotation

GitHub Actions / Style Checker

"foo* bar" should be "foo *bar"

__cxa_exception *__cxa_init_primary_exception(
void *object, std::type_info* tinfo, void (*dest)(void *));
void *object, std::type_info* tinfo, void (*dest)(void *)) throw();

Check warning on line 212 in contrib/libcxxrt/cxxabi.h

View workflow job for this annotation

GitHub Actions / Style Checker

line over 80 characters

Check failure on line 212 in contrib/libcxxrt/cxxabi.h

View workflow job for this annotation

GitHub Actions / Style Checker

spaces required around that '*' (ctx:VxW)

/**
* Throws an exception returned by __cxa_current_primary_exception(). This
Expand Down
8 changes: 4 additions & 4 deletions contrib/libcxxrt/exception.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static inline _Unwind_Reason_Code continueUnwinding(struct _Unwind_Exception *ex
}


extern "C" void __cxa_free_exception(void *thrown_exception);
extern "C" void __cxa_free_exception(void *thrown_exception) throw();
extern "C" void __cxa_free_dependent_exception(void *thrown_exception);
extern "C" void* __dynamic_cast(const void *sub,
const __class_type_info *src,
Expand Down Expand Up @@ -611,7 +611,7 @@ static void free_exception(char *e)
* emergency buffer if malloc() fails, and may block if there are no such
* buffers available.
*/
extern "C" void *__cxa_allocate_exception(size_t thrown_size)
extern "C" void *__cxa_allocate_exception(size_t thrown_size) throw()
{
size_t size = thrown_size + sizeof(__cxa_exception);
char *buffer = alloc_or_die(size);
Expand All @@ -633,7 +633,7 @@ extern "C" void *__cxa_allocate_dependent_exception(void)
* In this implementation, it is also called by __cxa_end_catch() and during
* thread cleanup.
*/
extern "C" void __cxa_free_exception(void *thrown_exception)
extern "C" void __cxa_free_exception(void *thrown_exception) throw()
{
__cxa_exception *ex = reinterpret_cast<__cxa_exception*>(thrown_exception) - 1;
// Free the object that was thrown, calling its destructor
Expand Down Expand Up @@ -794,7 +794,7 @@ static void throw_exception(__cxa_exception *ex)
}

extern "C" __cxa_exception *__cxa_init_primary_exception(
void *object, std::type_info* tinfo, void (*dest)(void *)) {
void *object, std::type_info* tinfo, void (*dest)(void *)) throw() {
__cxa_exception *ex = reinterpret_cast<__cxa_exception*>(object) - 1;

ex->referenceCount = 0;
Expand Down
Loading
Loading