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-09-06 #2259

Merged
merged 428 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
428 commits
Select commit Hold shift + click to select a range
de1d7d7
flua: add freebsd module implementing kldload/kldunload
bapt Sep 6, 2024
705583b
freebsd.sys.linker: rename source file
bapt Sep 6, 2024
df1323e
lua_ucl: make sure flua gets build after libucl
bapt Sep 6, 2024
39667ed
flua: hook libfreebsd to the build
bapt Sep 6, 2024
58f1942
ifnet: Add handling for toggling IFF_ALLMULTI in ifhwioctl()
markjdb Sep 6, 2024
00c9a68
ifconfig: Add an allmulti verb
markjdb Sep 6, 2024
f5a58c2
linux80211: fix default deflink.rx_nss
Sep 6, 2024
07d90ee
kvprintf(): Fix '+' conversion handling
sebhub Jun 14, 2024
e152944
usb: increase USB_PORT_RESET_RECOVERY
VexedUXR Jul 16, 2024
71978fa
du: Add version information to libxo output
bramton Jul 24, 2024
a0d6f89
lastlogin: Add version information to libxo output
bramton Jul 26, 2024
31ac880
iscsictl: Add version information to libxo output
bramton Jul 26, 2024
5321a35
w: Add version information to libxo output
bramton Jul 26, 2024
6e6da53
wc: Add version information to libxo output
bramton Jul 26, 2024
5c4f64b
netstat: Add version information to libxo output
bramton Aug 27, 2024
1f882a5
adduser.8: update log location + spdx
concussious Aug 1, 2024
5d889e6
amd64: move the right parenthesis to the right place
wy-chung Aug 2, 2024
7b984d5
wsp: Allow the trackpad to be used after a partially unreleased click.
MegaManSec May 27, 2024
62cf43d
wsp: Improve multi-finger touchpad usage and allow more configurations
MegaManSec May 28, 2024
8aef1cd
wsp: Use already-calculated distance of fingers for comparison.
MegaManSec Jun 10, 2024
66145c3
ntptime: Use time_t for tv_sec related variables
sebhub Aug 9, 2024
3272054
ip6addrctl.8: Reference RFC 6724 instead
jlduran Aug 10, 2024
6bfbfc8
ip6addrctl: Update the sample configuration file
jlduran Aug 11, 2024
9cb98ab
getaddrinfo.{1,3}: Cross-reference ip6addrctl(8)
jlduran Aug 22, 2024
7b9c9f8
cross-build: fix fake_sysctl/tzsetup
valpackett Aug 11, 2024
7e3b6b2
diskless.8: show in `apropos pxe` + tag SPDX
concussious Aug 12, 2024
0d8effb
growfs.8: align and alphabetize options
concussious Aug 12, 2024
a5770eb
geom.8: minor cleanup (markup, spdx, gsched)
concussious Aug 12, 2024
fe830c3
UPDATING: increase visibility of footnotes
concussious Aug 14, 2024
4c72525
ure.4: description consistencies + tag spdx
concussious Aug 14, 2024
5e6bef4
Fix "version introduced" in two manual pages
tomhukins Aug 17, 2024
3f0efe0
libefivar: Fix AcpiEx print logic
jlduran Aug 20, 2024
2b7f289
dummynet: fix pie
fichtner Jul 29, 2024
3df987c
mountd: Add check for "=" after exports(5) options
Sep 6, 2024
7a6309f
fetch(1): suppress "Not Modified" in quiet mode
Sep 7, 2024
5daafa2
flua: fix buildworld from a clean room
bapt Sep 7, 2024
9f0f4e2
prebuild_libs: register libucl dependency on libm
bapt Sep 7, 2024
1524cf8
openssl: Remove fips module from base system.
tetlowgm Aug 4, 2024
eee0dc1
ObsoleteFiles.inc: Fix examples path
christosmarg Aug 31, 2024
62637c6
tpm: Register TPM as entropy source
jfhren-stormshield Aug 31, 2024
c54a952
LinuxKPI: add get_random_u8()
Aug 27, 2024
995d418
LinuxKPI: add ENAVAIL error code
Aug 27, 2024
6c99e7f
LinuxKPI: add eth_hdr()
Aug 27, 2024
f5601ff
LinuxKPI: add no_printk
Aug 27, 2024
f670e82
tools/sdiodevs2h.awk: introduce palias
Aug 27, 2024
041469f
sdiodevs: add more vendors and devices
Aug 27, 2024
ed2aa14
arm64: Fix the VM_MAX_NAMELEN definition
markjdb Sep 1, 2024
fa85c71
vmm: Make vmm_dev.h more self-contained
markjdb Sep 1, 2024
2bfdde0
vmm: Validate credentials when opening a vmmdev
markjdb Sep 1, 2024
ad8f97f
vmm: Use an sx lock for vmmdev_mtx
markjdb Sep 1, 2024
ff0f316
vmm: Use make_dev_s() to create vmm devices
markjdb Sep 1, 2024
1aa676c
carp: Fix pullup checks
markjdb Aug 31, 2024
f8610b8
dummymbuf: Avoid copyout of uninitialized memory from the sysctl handler
markjdb Aug 31, 2024
9e692aa
pf: improve the ICMPv6 direction check
kprovost Aug 26, 2024
df8313c
pf tests: ensure that neighbour discovery works as expected
kprovost Aug 26, 2024
f1ef546
pf: try to lookup the icmp state based on a correct packet descriptor
kprovost Aug 26, 2024
d809d06
pf: be less strict about icmp state checking for sloppy state tracking
kprovost Aug 26, 2024
16a01bf
pf: rework pf_icmp_state_lookup() failure mode
kprovost Aug 30, 2024
f4e5681
kernel: Fix defining of .init_array and .fini_array sections
gmshake Sep 2, 2024
36f72c2
kernel: Add defination of .init_array and .fini_array for all other p…
gmshake Sep 2, 2024
e63215c
Makefile.inc1: show time for `make installworld'
wosch Sep 2, 2024
8a4ae6d
ndp: Fix libxo formatting for the header of neighbor cache
Sep 2, 2024
26f775d
UPDATING: remove 20240813 DMAR entry
emaste Aug 29, 2024
cd5c565
gpart: Add u-boot-env alias for U-Boot's environment GPT partition UUID
jrtc27 Sep 2, 2024
5305eea
vmstat: Add root element to libxo output
bramton Jul 17, 2024
d714a11
mfiutil: Handle potential ioctl(2) failures in mfi_flash.c
Low-power Sep 3, 2024
2686f55
kern_fail: Stop checking for failures from fp_malloc(M_WAITOK)
gmshake Sep 3, 2024
6b273fb
boottrace: Stop checking for failures from realloc(M_WAITOK)
gmshake Sep 3, 2024
50f4c55
subr_bus: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
3978f82
ctl: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
574bd9d
udf: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
7d8d180
altq: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
40c9303
if_vlan: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
6ca16d3
pf: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
7b7f4c1
netsmb: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
2e857eb
xdr: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
9a87de7
LinuxKPI: 802.11: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
6a91013
krping: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
dc1829d
tests: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
ae0ce2a
arm ti: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
0485e28
cmn600: Stop checking for failures from malloc/mallocarray(M_WAITOK)
gmshake Sep 3, 2024
cedbff5
smmu: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
ae1d470
al_eth: Stop checking for failures from malloc/buf_ring_alloc(M_WAITOK)
gmshake Sep 3, 2024
c89a142
altera: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e96766b
ath(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
2132011
axgbe: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
a50ae7c
bnxt(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e127216
cxgb(4): Stop checking for failures from malloc/buf_ring_alloc(M_WAITOK)
gmshake Sep 3, 2024
3da3eca
cxgbe(4): Stop checking for failures from malloc/mb_alloc_ext_pgs(M_W…
gmshake Sep 3, 2024
9a019ce
drm2: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
7564c7b
ena(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e7808f0
etherswitch: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
5f018a8
flexspi: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
dea76f4
fwip(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
bfe31a7
hpt27xx(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
6d55629
hptnr(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
7ce8351
hptrr(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e0e0cf6
ice(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
041e175
iser(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
fbc75f1
mana: Stop checking for failures from malloc/mallocarray/buf_ring_all…
gmshake Sep 3, 2024
43ab1a3
mfi(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
bd1cbdc
mlx(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
be9b82a
mpi3mr(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e0892a0
mrsas(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
2a696bf
pms(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e917de5
qat(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
2bdaf04
sume(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
c829ff0
sound: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
a880b51
sdhci(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
3c64038
vchiq(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
48fa703
ae(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
2492bf6
age(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
1ee4efb
alc(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
c3b314b
ale(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
cab865f
axgbe: Stop checking for failures from taskqueue_create(M_WAITOK)
gmshake Sep 3, 2024
4623fb9
bge(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
0a789fe
cas(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
7b4714a
dpaa2: Stop checking for failures from malloc/taskqueue_create(M_WAITOK)
gmshake Sep 3, 2024
5cc1255
jme(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
ccce9cf
liquidio(4): Stop checking for failures from malloc/taskqueue_create/…
gmshake Sep 3, 2024
ee71100
mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK)
gmshake Sep 3, 2024
054878d
Mention that SILI makes tcopy(1) slow on modern tape drives
bsdphk Sep 3, 2024
e9f2208
bitset: __BIT_FFS_AT(): Fix herald comment, take 2
OlCe2 Sep 3, 2024
d8a2349
beep: show error upon failure to open sound device
emaste Sep 3, 2024
b881800
Typo.
bsdphk Sep 3, 2024
61961c6
openssl: Bring over fix for CVE-2024-6119 from vendor/openssl-3.0.
tetlowgm Sep 3, 2024
67d6dde
tcpdump: ppp: Use the buffer stack for the de-escaping buffer
guyharris Sep 3, 2024
5429cf9
stand: bump arbitrary build date to 2024-01-01
emaste Aug 12, 2024
7017b93
nvmfd/nvmft: Fix a typo "whiled" -> "while"
bsdjhb Sep 3, 2024
914b3ca
loader.efi.8: Remove rogue duplicated lines
jrtc27 Sep 3, 2024
a1e4d14
mmccam: fix mmcsd disk aliases
Jan 21, 2024
998befd
vmimage.subr: Pass $INSTALLOPTS to install*
cperciva Aug 31, 2024
c4f177b
EC2: Move network config into a separate function
cperciva Aug 31, 2024
98524ec
EC2: Make amazon-ssm-agent optional
cperciva Aug 31, 2024
d328d88
EC2: Add new "small" AMIs
cperciva Aug 31, 2024
f82b6b6
dev/mlx5: remove some duplicated macros from device.h
kostikbel Aug 30, 2024
64eccd5
ipsec_accel_output(): do not process packet if interface rejected off…
kostikbel Aug 28, 2024
41a313b
ipsec_offlad: remove not needed IFP_HS_INPUT/OUTPUT flags
kostikbel Sep 1, 2024
dd8fab5
ipsec offload: use private taskqueue thread
kostikbel Aug 30, 2024
0bee0ca
riscv: fix csr_swap()
bukinr Sep 4, 2024
868783b
Skipping merge of 36fa90dbde0060aacb5677d0b113ee168e839071
bsdjhb Dec 3, 2024
c2c9e69
libnv: verify that string is null terminated
oshogbo Aug 26, 2024
a3a7773
libnv: add test to verify null termination of string in array
oshogbo Aug 29, 2024
e7cbba6
libnv: add tests to verify potential overflow issues
oshogbo Aug 29, 2024
7b199f0
uart: Use uintptr_t instead of vm_offset_t for pointer arithmetic
bsdjhb Sep 4, 2024
c736cc2
ggate tests: Use unique ports among tests
markjdb Jun 15, 2024
1984b20
capsicum tests: Serialize functional tests
markjdb Sep 3, 2024
02df5c7
ifnet: Remove if_getamcount()
markjdb Sep 4, 2024
945945e
ipsec: Drain async ipsec_offload work when destroying a vnet
markjdb Aug 30, 2024
955c343
bhyve: fix Out-Of-Bounds read/write heap in tpm_ppi_mem_handler
khorben Sep 4, 2024
326f05c
bhyve: fix off by one error in pci_xhci
khorben Sep 4, 2024
739de84
Skipping merge of 670b582db6cb827a8760df942ed8af0020a0b4d0
bsdjhb Dec 3, 2024
a3bc33f
ctl: fix memory disclosure in read/write buffer commands
khorben Sep 4, 2024
df26d7d
ctl: fix Out-Of-Bounds access in ctl_report_supported_opcodes
khorben Sep 4, 2024
1ae9220
ctl: add some ATF tests for READ BUFFER
asomers Sep 4, 2024
a030863
Skipping merge of dd83da532c36830a0c0aac624903849262ec6f68
bsdjhb Dec 3, 2024
dd39f7f
Skipping merge of 62f40433ab47ad4a9694a22a0313d57661502ca1
bsdjhb Dec 3, 2024
9dd641e
umtx: shm: Prevent reference counting overflow
OlCe2 Sep 4, 2024
2d09a63
umtx: shm: 'ushm_refcnt > 0' => 'ushm_refcnt != 0'
OlCe2 Sep 4, 2024
1b1d0fe
date: Fix a few nits.
dag-erling Sep 4, 2024
a23a64b
grep: Fix various bugs in recursive tree handling
bsdjhb Sep 4, 2024
e30e96c
grep: Default to -p instead of -S.
bsdjhb Sep 4, 2024
007c30f
Intel DMAR: improve X2X macros to fix failures in certain syntax cont…
kostikbel Jun 6, 2024
a280534
DMAR: use DMAR2IOMMU() for DMAR_LOCK() and related macros
kostikbel Jun 6, 2024
15c5712
x86: allow to have more than one kind of IOMMU
kostikbel May 29, 2024
1932040
x86 iommu: move DMAR-independent parts of the qi code into common
kostikbel Jun 6, 2024
373c920
dmar_qi_XXX_invalidate_glob(): reduce code duplication
kostikbel Jun 9, 2024
c8aee1c
dmar_qi_emit(): use atomic_store_64() when available
kostikbel Jun 6, 2024
70e9d7d
DMAR: rename domain_{alloc,free}_pgtbl to domain_domain_$1_pgtbl
kostikbel Jun 30, 2024
5725dfb
x86 iommu x86_unit_common: expand hw completion write-out area to 8 b…
kostikbel Jun 9, 2024
a58d932
x86 iommu: move DMAR-independent parts of the interrupt setup code in…
kostikbel Jun 9, 2024
3a9f5eb
x86 iommu: move device_tag_init() to utils
kostikbel Jun 30, 2024
c441607
x86 dmar: generalize dmar_domain_free_entry() into iommu_domain_free_…
kostikbel Jul 7, 2024
9939f18
x86 iommu: move page level related functions to common utils
kostikbel Jul 19, 2024
c89ea5f
DMAR: move hw.iommu.dmar.{tbl_pagecnt,batch_coalesce} sysctls up one …
kostikbel Aug 23, 2024
a4f0395
DMAR: provide hw.iommu.ir alias for the hw.dmar.ir tunable
kostikbel Aug 23, 2024
dd699c7
busdma_iommu: indirect dmar-specific method calls in iommu_get_dev_ctx()
kostikbel Jul 27, 2024
890f976
dmar: avoid excessive indirection in KASSERT() in domain_map_buf()
kostikbel Jul 20, 2024
6d30dc4
msi_alloc(): do not leak msi_lock in error case
kostikbel Aug 27, 2024
5b5cecd
msi_release(): consistently unlock msi_lock around iommu_unmap_msi_in…
kostikbel Aug 27, 2024
68f6e4c
vfs_default.c: trim whitespace
kostikbel Sep 3, 2024
1ab4879
vmm: Remove an incorrect credential check in vmmdev_open()
markjdb Sep 4, 2024
b164e7e
vmm: Remove more of vmmdev_open()
markjdb Sep 5, 2024
d735a28
vop_stdadvise(): restore correct handling of length == 0
kostikbel Sep 3, 2024
4408ca9
x86: always provide dummy x86_iommu virtual methods
kostikbel Sep 5, 2024
7c45397
cxgbe(4): Always report link-down on an abrupt stop.
np-2020 Sep 5, 2024
c322a93
tcp: improve consistency of syncache_respond() failure handling
tuexen Sep 5, 2024
8f6ab85
pf.4: document missing sysctls
kprovost Sep 2, 2024
4e74559
if_ovpn: ensure it's safe to modify the mbuf
kprovost Sep 4, 2024
6e33854
arm64: Add the tcr_el2 ds field
zxombie Sep 5, 2024
a92160c
arm64: Remove TCR_CACHE_ATTRS and TCR_SMP_ATTRS
zxombie Sep 5, 2024
99cfd3e
arm64: Remove ATTR_DEFAULT from pte.h
zxombie Sep 5, 2024
6fad3b9
arm64: Make shareability attributes dynamic
zxombie Sep 5, 2024
58e8c95
LinuxKPI: add general module_driver(), use it for module_pci_driver()
Aug 28, 2024
632c6ee
imx_gpio: Add gpio compat string for imx8 SOCs
Sep 4, 2024
0e9277d
ctl: add tests for START STOP UNIT
asomers Aug 23, 2024
850d97d
ctl: add tests for PREVENT ALLOW MEDIUM REMOVAL
asomers Aug 26, 2024
dd6ecb4
ctl: fix uninitialized data used by PREVENT ALLOW MEDIUM REMOVAL
asomers Aug 26, 2024
8f75e13
neta: improve TCP LRO
tuexen Sep 5, 2024
2e8ac11
al_eth: improve TCP LRO
tuexen Sep 5, 2024
ce48f0d
tcp: make tcp_lro_flush() static
tuexen Sep 5, 2024
f04b8cf
flua: Add wrappers for sys/utsname.h
markjdb Sep 5, 2024
0aa1560
vm_phys: hide alloc_freelist_pages
Sep 5, 2024
fc6d5bf
sdhci: Match quirk_set/quirk_clear sysctls to type
chmeeedalf Sep 5, 2024
9bcb9fb
spa_prop_get: require caller to supply output nvlist
robn Sep 4, 2024
75951f4
rc: network.subr update consitency with older change (v6/v4 order)
Sep 4, 2024
cf94fb8
Add UPDATING note about running make delete-old after libc++ 18 upgrade
DimitryAndric Sep 5, 2024
ee9d5e0
nvmf_tcp: Fully honor kern.nvmf.tcp.max_transmit_data for C2H_DATA PDUs
bsdjhb Sep 5, 2024
5d8fca8
contrib/tzdata: import tzdata 2024b
ppaeps Sep 6, 2024
21c1bfa
cxgbe/t4_tom: Add synq entry to the list before calling send_synack.
np-2020 Sep 6, 2024
2538649
pf: Add support for endpoint independent NAT bindings for UDP
Sep 6, 2024
6da6a6f
pfctl: Add endpoint-independent test to the list of tests
Sep 6, 2024
69b8429
flua: make the ucl module a dynamic module
bapt Sep 6, 2024
78147d5
flua: add freebsd module implementing kldload/kldunload
bapt Sep 6, 2024
b2b2740
freebsd.sys.linker: rename source file
bapt Sep 6, 2024
a8665c5
lua_ucl: make sure flua gets build after libucl
bapt Sep 6, 2024
8fe9982
flua: hook libfreebsd to the build
bapt Sep 6, 2024
1a0e908
ifnet: Add handling for toggling IFF_ALLMULTI in ifhwioctl()
markjdb Sep 6, 2024
a018248
ifconfig: Add an allmulti verb
markjdb Sep 6, 2024
9caf0e5
linux80211: fix default deflink.rx_nss
Sep 6, 2024
458ca49
kvprintf(): Fix '+' conversion handling
sebhub Jun 14, 2024
56ac3f8
usb: increase USB_PORT_RESET_RECOVERY
VexedUXR Jul 16, 2024
9c804c3
du: Add version information to libxo output
bramton Jul 24, 2024
6753b25
lastlogin: Add version information to libxo output
bramton Jul 26, 2024
435beae
iscsictl: Add version information to libxo output
bramton Jul 26, 2024
0ebe67e
w: Add version information to libxo output
bramton Jul 26, 2024
9c6109d
wc: Add version information to libxo output
bramton Jul 26, 2024
a7a301f
netstat: Add version information to libxo output
bramton Aug 27, 2024
c2eef72
adduser.8: update log location + spdx
concussious Aug 1, 2024
1aa3db4
amd64: move the right parenthesis to the right place
wy-chung Aug 2, 2024
585ea5d
wsp: Allow the trackpad to be used after a partially unreleased click.
MegaManSec May 27, 2024
c449014
wsp: Improve multi-finger touchpad usage and allow more configurations
MegaManSec May 28, 2024
80c6bf4
wsp: Use already-calculated distance of fingers for comparison.
MegaManSec Jun 10, 2024
f69af30
ntptime: Use time_t for tv_sec related variables
sebhub Aug 9, 2024
c602faf
ip6addrctl.8: Reference RFC 6724 instead
jlduran Aug 10, 2024
6acbe7e
ip6addrctl: Update the sample configuration file
jlduran Aug 11, 2024
b439326
getaddrinfo.{1,3}: Cross-reference ip6addrctl(8)
jlduran Aug 22, 2024
7d1cb9e
cross-build: fix fake_sysctl/tzsetup
valpackett Aug 11, 2024
0312698
diskless.8: show in `apropos pxe` + tag SPDX
concussious Aug 12, 2024
659eb75
growfs.8: align and alphabetize options
concussious Aug 12, 2024
17399ad
geom.8: minor cleanup (markup, spdx, gsched)
concussious Aug 12, 2024
d319c9b
UPDATING: increase visibility of footnotes
concussious Aug 14, 2024
c528f59
ure.4: description consistencies + tag spdx
concussious Aug 14, 2024
bafde45
Fix "version introduced" in two manual pages
tomhukins Aug 17, 2024
f981b53
libefivar: Fix AcpiEx print logic
jlduran Aug 20, 2024
17fbc39
dummynet: fix pie
fichtner Jul 29, 2024
411f7de
mountd: Add check for "=" after exports(5) options
Sep 6, 2024
fd15adf
fetch(1): suppress "Not Modified" in quiet mode
Sep 7, 2024
af678e7
flua: fix buildworld from a clean room
bapt Sep 7, 2024
876d2ea
prebuild_libs: register libucl dependency on libm
bapt Sep 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -1316,11 +1316,19 @@ WMAKE_TGTS+= build${libcompat}
WMAKE_TGTS+= everything
.endif # !defined(SYSROOT_ONLY)

# record buildworld time in seconds
# record buildworld / install time in seconds
.if make(buildworld) || make(buildsysroot)
_BUILDWORLD_START!= date '+%s'
.export _BUILDWORLD_START
.endif
.if make(reinstall) || make(restage) || make(reinstallsysroot)
_INSTALLWORLD_START!= date '+%s'
.export _INSTALLWORLD_START
.endif
.if make(*installkernel*)
_INSTALLKERNEL_START!= date '+%s'
.export _INSTALLKERNEL_START
.endif

buildworld: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue .PHONY
.ORDER: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue
Expand Down Expand Up @@ -1396,11 +1404,11 @@ buildsysroot: buildworld_prologue ${BUILDSYSROOT_TGTS} buildworld_epilogue .PHON
installcheck: _installcheck_world _installcheck_kernel .PHONY
_installcheck_world: _installcheck_tmpdir .PHONY
@echo "--------------------------------------------------------------"
@echo ">>> Install check world"
@echo ">>> Install check world started on `LC_ALL=C date`"
@echo "--------------------------------------------------------------"
_installcheck_kernel: _installcheck_tmpdir .PHONY
@echo "--------------------------------------------------------------"
@echo ">>> Install check kernel"
@echo ">>> Install check kernel started on `LC_ALL=C date`"
@echo "--------------------------------------------------------------"

_installcheck_tmpdir:
Expand Down Expand Up @@ -1774,6 +1782,8 @@ restage reinstall reinstallsysroot: .MAKE .PHONY
.endif
@echo "--------------------------------------------------------------"
@echo ">>> Installing everything completed on `LC_ALL=C date`"
@seconds=$$(($$(date '+%s') - ${_INSTALLWORLD_START})); \
echo ">>> Install world completed in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
@echo "--------------------------------------------------------------"

redistribute: .MAKE .PHONY
Expand Down Expand Up @@ -2014,6 +2024,9 @@ reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY
@echo "--------------------------------------------------------------"
@echo ">>> Installing kernel ${INSTALLKERNEL} completed on $$(LC_ALL=C date)"
@echo "--------------------------------------------------------------"
@seconds=$$(($$(date '+%s') - ${_INSTALLKERNEL_START})); \
echo ">>> Install kernel(s) ${INSTALLKERNEL} completed in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
@echo "--------------------------------------------------------------"
.endif
.if ${BUILDKERNELS:[#]} > 1 && ${NO_INSTALLEXTRAKERNELS} != "yes"
.for _kernel in ${BUILDKERNELS:[2..-1]}
Expand All @@ -2028,6 +2041,9 @@ reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY
@echo ">>> Installing kernel ${_kernel} completed on $$(LC_ALL=C date)"
@echo "--------------------------------------------------------------"
.endfor
@seconds=$$(($$(date '+%s') - ${_INSTALLKERNEL_START})); \
echo ">>> Install kernel(s) ${BUILDKERNELS} completed in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
@echo "--------------------------------------------------------------"
.endif

distributekernel distributekernel.debug: .PHONY
Expand Down Expand Up @@ -2638,8 +2654,8 @@ ${_bt}-usr.sbin/kldxref: ${_bt_libelf_depend}
# 13.0-CURRENT cycle, thus needs to be built on -older releases and stable
# branches.
.if ${BOOTSTRAPPING} < 1300059
${_bt}-libexec/flua: ${_bt}-lib/liblua ${_bt}-lib/libucl
_flua= lib/liblua lib/libucl libexec/flua
${_bt}-libexec/flua: ${_bt}-lib/liblua
_flua= lib/liblua libexec/flua
.endif

# r245440 mtree -N support added
Expand Down Expand Up @@ -3378,7 +3394,8 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \
lib/libxo \
${_secure_lib_libcrypto} ${_secure_lib_libssl} \
${_lib_libldns} ${_secure_lib_libssh}
${_lib_libldns} ${_secure_lib_libssh} \
lib/libucl

.if ${MK_DIALOG} != "no"
_prebuild_libs+= gnu/lib/libdialog
Expand Down Expand Up @@ -3433,6 +3450,7 @@ _generic_libs+= ${_DIR}

lib/libtacplus__L: lib/libmd__L lib/libpam/libpam__L
lib/libxo__L: lib/libutil__L
lib/libucl__L: lib/msun__L

.if ${MK_CDDL} != "no"
_cddl_lib_libumem= cddl/lib/libumem
Expand Down
11 changes: 7 additions & 4 deletions ObsoleteFiles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,18 @@
# xargs -n1 | sort | uniq -d;
# done

# 20240827: retire fips.so
OLD_LIBS+=usr/lib/ossl-modules/fips.so

# 20240824: sound examples: midi.c moved out of oss/
OLD_FILES+=share/examples/sound/oss/midi.c
OLD_FILES+=usr/share/examples/sound/oss/midi.c

# 20240824: sound examples: Remove ossinit.h and rename basic.c to audio.c
OLD_FILES+=share/examples/sound/oss/ossinit.h
OLD_FILES+=share/examples/sound/oss/basic.c
OLD_FILES+=usr/share/examples/sound/oss/ossinit.h
OLD_FILES+=usr/share/examples/sound/oss/basic.c

# 20240824: sound examples: Remove ossmidi.h
OLD_FILES+=share/examples/sound/oss/ossmidi.h
OLD_FILES+=usr/share/examples/sound/oss/ossmidi.h

# 20240729: rename quick_exit_test to libc_exit_test
OLD_FILES+=usr/tests/lib/libc/stdlib/quick_exit_test
Expand Down
28 changes: 16 additions & 12 deletions UPDATING
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

20240813:
DMAR is now enabled by default on Intel. If your system crashes in the
dmar code on boot, please set 'hw.dmar.enable=0' in /boot/loader.conf
and file a bug.

20240729:
The build now defaults to WITHOUT_CLEAN - i.e., no automatic clean
is performed at the beginning of buildworld or buildkernel. The
Expand Down Expand Up @@ -60,6 +55,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
own packages. If you use pkgbase, you should install the relevant
packages: FreeBSD-cron, FreeBSD-lp, or FreeBSD-ntp.

20240406:
Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
been upgraded to 18.1.6. It is important that you run `make delete-old`
as described in the COMMON ITEMS section, otherwise several libc++
headers that are obsolete and need to be removed can cause compilation
errors in C++ programs.

20240205:
For dynamically linked programs, system calls are now made from
libsys rather than libc. No change in linkage is required as
Expand Down Expand Up @@ -2020,6 +2022,8 @@ COMMON ITEMS:
make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE

If you are running kernel modules from ports, see FOOTNOTE [1].

To test a kernel once
---------------------
If you just want to boot a kernel once (because you are not sure
Expand All @@ -2036,8 +2040,7 @@ COMMON ITEMS:
<make sure you have good level 0 dumps>
make buildworld
make buildkernel KERNCONF=YOUR_KERNEL_HERE
make installkernel KERNCONF=YOUR_KERNEL_HERE
[1]
make installkernel KERNCONF=YOUR_KERNEL_HERE [1]
<reboot in single user> [3]
etcupdate -p [5]
make installworld
Expand All @@ -2055,7 +2058,7 @@ COMMON ITEMS:
<make sure you have good level 0 dumps>
<boot into -stable>
make buildworld
make buildkernel KERNCONF=YOUR_KERNEL_HERE
make buildkernel KERNCONF=YOUR_KERNEL_HERE [1]
<maybe newfs current's root partition>
<mount current's root partition on directory ${CURRENT_ROOT}>
make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC
Expand All @@ -2074,8 +2077,7 @@ COMMON ITEMS:
<make sure you have good level 0 dumps>
make buildworld [9]
make buildkernel KERNCONF=YOUR_KERNEL_HERE [8]
make installkernel KERNCONF=YOUR_KERNEL_HERE
[1]
make installkernel KERNCONF=YOUR_KERNEL_HERE [1]
<reboot in single user> [3]
etcupdate -p [5]
make installworld
Expand All @@ -2095,8 +2097,10 @@ COMMON ITEMS:
messages there. If in doubt, please track -stable which has
much fewer pitfalls.

[1] If you have third party modules, such as vmware, you should disable
them at this point so they don't crash your system on
FOOTNOTES:

[1] If you have third party modules, such as drm-kmod or vmware, you
should disable them at this point so they don't crash your system on
reboot. Alternatively, you should rebuild all the modules you have in
your system and install them as well. If you are running -current, you
should seriously consider placing all sources to all the modules for
Expand Down
8 changes: 4 additions & 4 deletions bin/date/date.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ strftime_ns(char * __restrict s, size_t maxsize, const char * __restrict format,
bool seen_percent;

seen_percent = false;
if (asprintf(&newformat, "%s", format) < 0)
err(1, "asprintf");
if ((newformat = strdup(format)) == NULL)
err(1, "strdup");
tok = newformat;
for (tok = newformat; *tok != '\0'; tok++) {
switch (*tok) {
Expand All @@ -405,9 +405,9 @@ strftime_ns(char * __restrict s, size_t maxsize, const char * __restrict format,
suffix = tok + 1;
/*
* Construct a new format string from the
* prefix (i.e., the part of the old fromat
* prefix (i.e., the part of the old format
* from its beginning to the currently handled
* "%N" conversion specification, the
* "%N" conversion specification), the
* nanoseconds, and the suffix (i.e., the part
* of the old format from the next token to the
* end).
Expand Down
31 changes: 17 additions & 14 deletions contrib/tcpdump/print-ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <net/if_ppp.h>
#endif

#include <stdlib.h>

#include "netdissect.h"
#include "extract.h"
#include "addrtoname.h"
Expand Down Expand Up @@ -1363,17 +1365,18 @@ ppp_hdlc(netdissect_options *ndo,
u_char *b, *t, c;
const u_char *s;
u_int i, proto;
const void *sb, *se;

if (caplen == 0)
return;

if (length == 0)
return;

b = (u_char *)nd_malloc(ndo, caplen);
if (b == NULL)
return;
b = (u_char *)malloc(caplen);
if (b == NULL) {
(*ndo->ndo_error)(ndo, S_ERR_ND_MEM_ALLOC,
"%s: malloc", __func__);
}

/*
* Unescape all the data into a temporary, private, buffer.
Expand All @@ -1394,13 +1397,15 @@ ppp_hdlc(netdissect_options *ndo,
}

/*
* Change the end pointer, so bounds checks work.
* Change the pointer to packet data to help debugging.
* Switch to the output buffer for dissection, and save it
* on the buffer stack so it can be freed; our caller must
* pop it when done.
*/
sb = ndo->ndo_packetp;
se = ndo->ndo_snapend;
ndo->ndo_packetp = b;
ndo->ndo_snapend = t;
if (!nd_push_buffer(ndo, b, b, (u_int)(t - b))) {
free(b);
(*ndo->ndo_error)(ndo, S_ERR_ND_MEM_ALLOC,
"%s: can't push buffer on buffer stack", __func__);
}
length = ND_BYTES_AVAILABLE_AFTER(b);

/* now lets guess about the payload codepoint format */
Expand Down Expand Up @@ -1442,13 +1447,11 @@ ppp_hdlc(netdissect_options *ndo,
}

cleanup:
ndo->ndo_packetp = sb;
ndo->ndo_snapend = se;
nd_pop_packet_info(ndo);
return;

trunc:
ndo->ndo_packetp = sb;
ndo->ndo_snapend = se;
nd_pop_packet_info(ndo);
nd_print_trunc(ndo);
}

Expand Down
8 changes: 6 additions & 2 deletions contrib/tcpdump/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,14 @@ pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h,
nd_pop_all_packet_info(ndo);

/*
* Restore the original snapend, as a printer might have
* changed it.
* Restore the originals snapend and packetp, as a printer
* might have changed them.
*
* XXX - nd_pop_all_packet_info() should have restored the
* original values, but, just in case....
*/
ndo->ndo_snapend = sp + h->caplen;
ndo->ndo_packetp = sp;
if (ndo->ndo_Xflag) {
/*
* Print the raw packet data in hex and ASCII.
Expand Down
18 changes: 11 additions & 7 deletions contrib/tzdata/CONTRIBUTING
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ such as renaming, adding or removing zones, please read
"Theory and pragmatics of the tz code and data"
<https://www.iana.org/time-zones/repository/theory.html>.
It is also good to browse the mailing list archives
<https://mm.icann.org/pipermail/tz/> for examples of patches that tend
to work well. Additions to data should contain commentary citing
reliable sources as justification. Citations should use "https:" URLs
if available.
<https://lists.iana.org/hyperkitty/list/tz@iana.org/>
for examples of patches that tend to work well.
Changes should contain commentary citing reliable sources.
Citations should use "https:" URLs if available.

For changes that fix sensitive security-related bugs, please see the
distribution's 'SECURITY' file.
Expand Down Expand Up @@ -63,12 +63,16 @@ If you use Git the following workflow may be helpful:
* Edit source files. Include commentary that justifies the
changes by citing reliable sources.

* Debug the changes, e.g.:
* Debug the changes locally, e.g.:

make check
make install
make TOPDIR=$PWD/tz clean check install
./zdump -v America/Los_Angeles

Although builds assume only basic POSIX, they use extra features
if available. 'make check' accesses validator.w3.org unless you
lack 'curl' or use 'make CURL=:'. If you have the latest GCC,
"make CFLAGS='$(GCC_DEBUG_FLAGS)'" does extra checking.

* For each separable change, commit it in the new branch, e.g.:

git add northamerica
Expand Down
Loading
Loading