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

24.10.1 Base update from FreeBSD #344

Merged
merged 686 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
686 commits
Select commit Hold shift + click to select a range
82db150
bluetooth(3): Fix two typos in source code comments
gbergling Sep 20, 2024
c22bc90
arm64: Fix a typo in a source code comment
gbergling Sep 20, 2024
6f357a2
VOP_ATTRIB.9: switch to Fa/Fc
kostikbel Sep 20, 2024
0eec03f
amd64 pmap: be more verbose around entering and leaving LA57 trampoline
kostikbel Nov 6, 2021
1c34183
amd64 pmap: flush whole TLB after LA57 trampoline is installed
kostikbel Nov 6, 2021
8179f2a
amd64 la57_trampoline: jump immediately after re-enabling paging
kostikbel Sep 17, 2022
7a17239
amd64 la57_trampoline: stop using %rdx to remember original %cr0
kostikbel Sep 11, 2024
3f79c8c
amd64 la57_trampoline: disable EFER.LME around setting CR4.LA57
kostikbel Sep 11, 2024
cdcaf2e
amd64 la57_trampoline: turn off global pages and PCID before turning …
kostikbel Sep 12, 2024
371dcd4
amd64 la57_trampoline: lgdt descriptor is always 10 bytes in long mode
kostikbel Sep 12, 2024
2e6e9d1
amd64 la57_trampoline: save registers in memory
kostikbel Sep 12, 2024
e6fa60a
la57: do not set global bit for PML5 entry
kostikbel Sep 14, 2024
ad6b949
pmap_bootstrap_la57(): reload IDT
kostikbel Sep 16, 2024
6a0a7c6
amd64 pmap: do not set PG_G for usermode pmap pml5 kernel entry
kostikbel Sep 16, 2024
1ed40b4
amd64: pml5 entries do not support PAT bits
kostikbel Sep 16, 2024
73f2b9f
sysarch: improve checks for max user address
kostikbel Sep 16, 2024
c5a9d5f
pf: use AF_INET6 when comparing IPv6 addresses
kprovost Aug 28, 2024
6c2430c
bpf: Add IfAPI analogue for bpf_peers_present()
chmeeedalf Oct 4, 2023
4bf231d
bpf: Update a comment
gmshake Sep 10, 2024
e8ced99
bpf: Add a comment on the large `#ifdef _KERNEL` block
gmshake Sep 20, 2024
f97d0c9
bpf: Some style and white space cleanup
gmshake Sep 20, 2024
90ea553
vendor/bc: upgrade to version 7.0.2
stesser Sep 18, 2024
80c5d78
MFC jail: unbreak the zfs.mount_snapshot option
Sep 19, 2024
9b8df84
src.conf.5: regen for ZFS_TESTS knob
emaste Sep 24, 2024
6a645bb
bhyve: validate corb->wp to avoid infinite loop
emaste Sep 19, 2024
d01a9cc
Add some AMD device IDs.
dmitryluhtionov Jun 7, 2024
5754008
hda: remove duplicate codec defines
timp87 Sep 22, 2024
39f39a9
bhyve: simplify slot validation in xHCI emulation
khorben Sep 18, 2024
4f4860c
regex: mixed sets are misidentified as singletons
Bill-Sommerfeld Dec 21, 2023
8748daf
ure(4): Add ID for LAN port in Thinkpad OneLink+ dock
amotin Sep 19, 2024
ee5cdcc
e1000: fix link power down
anatolyburakov Sep 19, 2024
7f89ee2
ixgbe: increase VF reset timeout
kevintraynor Sep 19, 2024
cced5c2
ixv: fix x550 VF link speed reported
pskajewx Sep 19, 2024
a23401d
ixgbe: fix PHY ID for X550
rtylx Sep 19, 2024
d7364cb
ixgbe: rename VF message type macros
jchylkox Sep 19, 2024
89011d8
ixgbe: correct register names to match datasheet
jchylkox Sep 19, 2024
5d07b8f
iflib: Fix compiler warnings
Apr 3, 2024
2f3af83
iflib: Correct indentation according to style(9)
Apr 16, 2024
a8eb9e3
iflib: Prefer C99's __func__ over GCC's __FUNCTION__
gmshake Sep 22, 2024
647860b
iflib: Many style fixes
gmshake Sep 22, 2024
ddbbc12
faccessat(2): Honor AT_SYMLINK_NOFOLLOW
fernape Aug 11, 2024
8abae0b
ixgbe: introduce new mailbox API
jchylkox Sep 20, 2024
004a73f
ixgbe: increase DCB BW calculation for MTU
rtylx Sep 20, 2024
dc3f008
ixgbe: improve function comments
rtylx Sep 20, 2024
3e34560
ixgbe: add reset count field to HW struct
rtylx Sep 20, 2024
c7bdf0c
ixgbe: Remove Atom C3000 HIC FW access
mmicalx Sep 20, 2024
fc143df
ixgbe: replace implicit fall-through comments
pskajewx Sep 20, 2024
ccd2656
ixgbe: use primary and block terminology
Sep 20, 2024
a160f29
ixgbe: remove circular dependency in ixgbe_mbx.h
bskobiej Sep 20, 2024
64945a6
ixgbe: add missing QV defines
bskobiej Sep 20, 2024
2bff788
ixgbe: improve Atom C3000 SWFW semaphore acq
bskobiej Sep 20, 2024
0ea3d1c
ixgbe: prevent PBA read over eeprom word size
dzieli Sep 20, 2024
744014e
ixgbe: remove unused function prototypes
chinhc Sep 20, 2024
dcf7b92
ixgbe: fix compilation for VF
Sep 20, 2024
6828020
ixgbe: update if_sriov to use the new mailbox apis
kev009 Sep 21, 2024
c09ca8f
mountd: Add check for "=" after exports(5) options
Sep 6, 2024
cc43f99
openssl: Import OpenSSL 3.0.15.
ngie-eign Sep 8, 2024
c2dca1b
radlib: fix a memory leak in `is_valid_request`
ngie-eign Jun 4, 2024
c6961c9
lib/libcrypt: remove trailing whitespace
ngie-eign Oct 28, 2023
c931eed
lib/libcrypt: another trivial style change
ngie-eign Oct 28, 2023
a0d5593
e1000: Update igb driver version to 2.5.28-fbsd
kev009 Sep 21, 2024
1091dcc
ixgbe: update if_bypass to ix-3.3.38
kev009 Sep 21, 2024
af9d02f
ixgbe: update ixgbe_phy with ix-3.3.38 changes
kev009 Sep 21, 2024
09c6581
ixgbe: update ixgbe_mbx with ix-3.3.38 changes
kev009 Sep 21, 2024
b8c2ff9
ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes
kev009 Sep 21, 2024
e9e57ee
ixgbe: update if_sriov with ix-3.3.38 changes
kev009 Sep 21, 2024
edf4f6a
ixgbe: fix fw_recovery_mode callout
kev009 Sep 21, 2024
ff26fd7
libc/getnameinfo: stop adding NI_NUMERICHOST where inappropriate
Jun 10, 2024
d60a0ff
rc: network.subr update consitency with older change (v6/v4 order)
Sep 4, 2024
6f58191
mmccam: fix mmcsd disk aliases
Jan 21, 2024
1eb6c9c
malloc(9): extend contigmalloc(9) by a "slab cookie"
Jun 30, 2024
1364bc3
kern_malloc: remove '.' and '\n' from KASSERT/panic
Jul 23, 2024
87d3af9
kern_malloc: fold free and zfree together into one __always_inline func
Jul 24, 2024
f9edc5b
LinuxKPI: move __kmalloc from slab.h to slab.c
Jun 30, 2024
af034dc
LinuxKPI: 802.11 compile in debugging based on IEEE80211 debugging
Apr 6, 2024
e9624aa
net80211: scan/internal: change boolean argument from int to bool
Jun 30, 2024
d506ab9
LinuxKPI/lindebugfs: stop panicing in lindebugfs, fix simple_read_fro…
Jun 27, 2024
7855611
LinuxKPI: 802.11: consistently spell TRACE-RX: as such
Jun 5, 2024
52fdc7d
LinuxKPI: 802.11: implement ieee80211_sn_*()
Jun 5, 2024
314069f
LinuxKPI: 802.11: support manual lladdr changes
Jul 25, 2024
d5025c4
LinuxKPI: add get_random_u8()
Aug 27, 2024
8e5f4f5
LinuxKPI: add ENAVAIL error code
Aug 27, 2024
6dedd62
LinuxKPI: add eth_hdr()
Aug 27, 2024
cedae00
LinuxKPI: add no_printk
Aug 27, 2024
e138f36
LinuxKPI: add general module_driver(), use it for module_pci_driver()
Aug 28, 2024
286250d
LinuxKPI: add pci_err()
Sep 12, 2024
ea18ffd
LinuxKPI: add more fields to mhi.h
Sep 12, 2024
f00e737
LinuxKPI; add more defintions to netdevice.h
Sep 12, 2024
5ea0b01
LinuxKPI: some additions for mt76
Sep 12, 2024
70da94b
LinuxKPI: 802.11: add futher defines to ieee80211.h and nl80211.h
Sep 12, 2024
1dd49c0
e1000: remove NEEDGIANT from a couple sysctls
kev009 Sep 22, 2024
0c73061
ixgbe: fix misleading indentation in ixgbe_phy
kev009 Sep 22, 2024
c16093b
e1000: drop NEEDGIANT on em_sysctl_reg_handler uses
kev009 Sep 22, 2024
a112b06
e1000: drop NEEDGIANT from em_sysctl_debug_info use
kev009 Sep 22, 2024
0e9cdcc
random: Avoid magic numbers
cperciva Sep 18, 2024
a9f4736
loader: Add TSLOG to interpreter built-ins
cperciva Sep 18, 2024
0d348c6
loader: Instrument EFI GetRNG with TSLOG
cperciva Sep 18, 2024
0a8ff19
loader: Make EFI entropy size configurable
cperciva Sep 18, 2024
8d2d49b
pkcs5v2: Add pkcs5v2_genkey_raw function
cperciva Sep 18, 2024
f216bdd
loader: Make pkcs5v2 unconditionally available
cperciva Sep 18, 2024
f470543
loader: Expand EFI entropy if < 2048 bytes
cperciva Sep 18, 2024
82ade8e
EC2: Set entropy_efi_seed_size to 64
cperciva Sep 18, 2024
a651978
loader: Load platform entropy even without menu
cperciva Sep 18, 2024
e3a9f41
libpfctl: ensure we return useful error codes
kprovost Sep 20, 2024
99d3ce8
linuxulator: ignore AT_NO_AUTOMOUNT for all stat variants
emaste Sep 19, 2024
fbaf480
kern_fail: Stop checking for failures from fp_malloc(M_WAITOK)
gmshake Sep 3, 2024
ab31454
boottrace: Stop checking for failures from realloc(M_WAITOK)
gmshake Sep 3, 2024
44a6f9c
subr_bus: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
d2d4758
ctl: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
a77e68b
udf: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
891fdd0
altq: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
6797118
if_vlan: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
a0c4498
pf: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
ce70888
netsmb: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
3d5e539
xdr: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
7bea79c
LinuxKPI: 802.11: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
905d542
krping: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
6a0ed6f
tests: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
920288c
arm ti: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
53b7927
cmn600: Stop checking for failures from malloc/mallocarray(M_WAITOK)
gmshake Sep 3, 2024
49995f7
smmu: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
74887e3
al_eth: Stop checking for failures from malloc/buf_ring_alloc(M_WAITOK)
gmshake Sep 3, 2024
66bb507
altera: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
8c2748b
ath(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
3db5be6
axgbe: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e763c32
bnxt(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
9216ba1
cxgb(4): Stop checking for failures from malloc/buf_ring_alloc(M_WAITOK)
gmshake Sep 3, 2024
09ed344
cxgbe(4): Stop checking for failures from malloc/mb_alloc_ext_pgs(M_W…
gmshake Sep 3, 2024
95532d1
drm2: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
8c2d777
ena(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e78c315
etherswitch: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
6515ef4
flexspi: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
f3af527
fwip(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
0341c77
hpt27xx(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
c860df9
hptnr(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
e4de0a9
hptrr(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
bb8c6f4
ice(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
ec68da0
iser(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
0fa8566
mana: Stop checking for failures from malloc/mallocarray/buf_ring_all…
gmshake Sep 3, 2024
4fee8d3
mfi(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
cf44738
mlx(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
ae8388f
mpi3mr(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
3e51da3
mrsas(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
025c475
pms(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
a1075ea
qat(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
140a0c8
sume(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
bfcaaff
sound: Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
5a7db2f
sdhci(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
40015f1
vchiq(4): Stop checking for failures from malloc(M_WAITOK)
gmshake Sep 3, 2024
5de9286
ae(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
ea86e32
age(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
a6c873a
alc(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
7ae7006
ale(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
39c35f6
axgbe: Stop checking for failures from taskqueue_create(M_WAITOK)
gmshake Sep 3, 2024
f5cbe8c
bge(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
e78770d
cas(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
f6c8db2
dpaa2: Stop checking for failures from malloc/taskqueue_create(M_WAITOK)
gmshake Sep 3, 2024
6b25a8f
jme(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)
gmshake Sep 3, 2024
518e138
liquidio(4): Stop checking for failures from malloc/taskqueue_create/…
gmshake Sep 3, 2024
70280bc
mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK)
gmshake Sep 3, 2024
a03acfa
bhyve: initialize register value
khorben Jul 24, 2024
aff29dd
wpa: Import 2.11
cschuber Jul 21, 2024
dbb0246
wpa: Fix gcc build
cschuber Jul 24, 2024
4bb56e2
ntp: Improve descriptions in man pages
concussious Aug 5, 2024
2ab8451
rc.d/dnctl: Chmod +x for consistency with other rc scripts
0mp Sep 22, 2024
422394b
rc.subr.8: Do not use mdoc macros for Bl width
0mp Sep 22, 2024
cd28988
rc.8: Remove false information about rc.d/local
0mp Sep 20, 2024
e3b57f1
rc.subr: Consistently use an absolute path for sysrc
0mp Sep 20, 2024
a12fc31
rc.subr.8: Fix the Bl macro of a list which is actually a table
0mp Sep 22, 2024
2726df2
e1000: Add sysctls for some missing MAC stats
kev009 Sep 24, 2024
4ce4560
e1000: Handle igb EEE sysctl
kev009 Sep 24, 2024
262f8dd
e1000: Add sysctl for igb(4) DMA Coalesce
kev009 Sep 24, 2024
e0a44ad
e1000: Delay safe_pause switch until SI_SUB_CLOCKS
Sep 25, 2024
d3c81ec
iflib: Simplify iflib_legacy_setup
kgalazka Sep 25, 2024
b383430
pci_iov: Add a device_printf if out of bus numbers
valpackett Sep 25, 2024
ed03c30
bhyve: avoid TOCTOU on iov_len in virtio_vq_recordon()
khorben Aug 27, 2024
e31c5d3
e1000: Clean up legacy absolute and packet timers
kev009 Sep 27, 2024
88cd12e
e1000: Clean up ITR/EITR in preparation for AIM
kev009 Sep 27, 2024
290a029
extattr(9): Mention system namespace restrictions in a jail
lemul Sep 1, 2023
ffa1a34
extattr.9: Improve the fragment about jail(8)
0mp Sep 5, 2023
e6dc191
bitset: Fix __BIT_FFS_AT()'s herald comment
OlCe2 Jun 3, 2024
a257bee
bitset: __BIT_FFS_AT(): Fix herald comment, take 2
OlCe2 Sep 3, 2024
92af7c9
agp.4: Add a deprecation notice to the man page
markjdb Sep 19, 2024
893caa2
netmap: Make the memory ops function pointer table const
markjdb Sep 19, 2024
7ebda98
iflib: Use if_alloc_dev() to allocate the ifnet
markjdb Sep 19, 2024
8b1d908
dtrace/amd64: Fix probe argument fetching
markjdb Sep 19, 2024
af2f923
dtrace_test: Remove the dependency on dtraceall
markjdb Sep 19, 2024
37a2994
dtrace tests: Add a test case which validates FBT probe arguments
markjdb Sep 19, 2024
c27106d
dtrace/amd64: Remove the dtrace_invop_callsite symbol
markjdb Sep 19, 2024
1508dce
procfs: ensure that RLIMIT_IDENT is properly updated when a limit is …
kostikbel Sep 20, 2024
81c47bf
amd64/mp_machdep.c: style
kostikbel Oct 1, 2024
4cb8ec6
vm_map: add vm_map_find_locked(9)
kostikbel Sep 15, 2024
b7eecc8
kernel: add RLIMIT_PIPEBUF
kostikbel Sep 10, 2024
d20f0da
getrlimit(2): document RLIMIT_PIPEBUF
kostikbel Sep 10, 2024
a03f7c0
libutil: support RLIMIT_PIPEBUF
kostikbel Sep 10, 2024
d5ed877
bin/sh: support RLIMIT_PIPEBUF
kostikbel Sep 10, 2024
2590286
usr.bin/limits: support RLIMIT_PIPEBUF
kostikbel Sep 10, 2024
524b981
login.conf: add a placeholder for the pipebuf limit
kostikbel Sep 11, 2024
6600090
procstat: support RLIMIT_PIPEBUF
kostikbel Sep 14, 2024
fd9babb
privs: add PRIV_PIPEBUF
kostikbel Sep 15, 2024
d532d99
pipes: reserve configured percentage of buffers zone to superuser
kostikbel Sep 15, 2024
6536b97
pipe: use pipe subsystem KVA counter instead of pipe_map size
kostikbel Sep 20, 2024
a8c663b
pipespace_new(): decrease uidinfo pipebuf usage if reservation check …
kostikbel Sep 20, 2024
c15b2e0
sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf
kostikbel Sep 20, 2024
4a337ee
uifree(9): report non-zero values for all shared resources
kostikbel Sep 20, 2024
fc9070b
procfs rlimit: handle pipebuf
kostikbel Sep 20, 2024
e05087e
Add proc_nfiles(9)
kostikbel Sep 20, 2024
7c41d08
Add getrlimitusage(2)
kostikbel Sep 20, 2024
dac3b7e
Userspace enablement for getrlimitusage(2)
kostikbel Sep 20, 2024
a23e9b1
Regen
kostikbel Sep 27, 2024
d9aa256
sysctl: add KERN_PROC_RLIMIT_USAGE
kostikbel Sep 22, 2024
1611738
libprocstat: add procstat_getrlimitusage()
kostikbel Sep 22, 2024
cc4cee6
procstat(1): add rlimitusage subcommand
kostikbel Sep 22, 2024
b0f2d76
intel_idpgtbl.c: rename domain_* functions to dmar_*
kostikbel Sep 25, 2024
5e70f9a
iommu: add per-unit sysctls reporting the state of DMA and interrupt …
kostikbel Sep 27, 2024
a5943b6
iommu: change iommu_domain_map_ops to take iommu_map_entry
kostikbel Sep 25, 2024
b0e45fe
vm_page_free_pages_toq(): return the count of freed pages
kostikbel Sep 27, 2024
0c7e13c
iommu: extend iommu_map_entry to store the list of associated freed p…
kostikbel Sep 25, 2024
938cac4
dmar: on unmap, postpone freeing page table pages after the invalidat…
kostikbel Sep 25, 2024
a67cc4b
hyperv: call smp_targeted_tlb_shootdown_native() with pin
kostikbel Oct 1, 2024
941833b
ixgbe: Switch if_sriov read/write back to ixgbe_mbx APIs
kev009 Sep 29, 2024
f75c75d
igc: Remove non-existent legacy absolute and packet timers
kev009 Sep 29, 2024
013d817
igc: Add NVM/firmware prints and sysctl
kev009 Sep 29, 2024
8d65747
locate.updatedb: Explicitly exit from trap code.
dag-erling Aug 29, 2024
d2c02cf
date: Fix a few nits.
dag-erling Sep 4, 2024
113e746
Update tzcode to 2024b.
dag-erling Sep 7, 2024
2403e6d
printf(): Save errno earlier.
dag-erling Sep 20, 2024
2dea4de
vmm: Properly handle writes spanning across two pages in vm_handle_db
bnovkov Sep 29, 2024
f8db6fb
vmm: avoid potential KASSERT kernel panic in vm_handle_db
khorben Jul 25, 2024
757bbf4
bhyve: improve bounds checks in hda_codec
khorben Jul 24, 2024
26f21a6
libpcap: Update to 1.10.5
Jehops Sep 14, 2024
ec3da16
tcpdump: Update to 4.99.5
Jehops Sep 23, 2024
80b19c3
ObsoleteFiles.inc: Update after libpcap upgrade from 1.10.4 to 1.10.5
Jehops Sep 14, 2024
6b86b8f
netstat: increase width of Netif column
llfw May 8, 2024
18aa2a8
hhook: Sprinkle const qualifiers where appropriate
gmshake Oct 1, 2024
54c79d3
khelp: Sprinkle const qualifiers where appropriate
gmshake Oct 1, 2024
d6374ee
if_enc(4): Make enc_add_hhooks() void
gmshake Oct 1, 2024
68c7c28
nuageinit: Lua check and lint files
jlduran Jul 29, 2024
c96dbfb
nuageinit: Silence an fstyp(8) warning
jlduran Jul 26, 2024
1eaf333
nuageinit: Replace os.execute with Lua libraries
jlduran Jul 30, 2024
182ff41
nuageinit: Standardize warning/error messages
jlduran Jul 30, 2024
03abe3a
nuageinit: Standardize user-facing error messages
jlduran Jul 30, 2024
9881d68
nuageinit: Fix passwords
jlduran Jul 30, 2024
e573007
nuageinit: tests: Cleanup
jlduran Jul 30, 2024
62cd7d5
release: basic-cloudinit improve default image
jlduran Jul 30, 2024
789f0f3
Merge commit b84d773fd004 from llvm git (by Fangrui Song):
DimitryAndric Sep 22, 2024
342240c
Bump lld LINKER_FREEBSD_VERSION for reproducibility fix
DimitryAndric Sep 22, 2024
0d4081e
sys: add conf/std.debug, generic debugging options
kprovost Apr 23, 2024
b197cf9
Merge remote-tracking branch 'freebsd/stable/14' into 24.10.1
ericbsd Oct 9, 2024
0fd42e1
Update package-version
ericbsd Oct 28, 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
  •  
  •  
  •  
69 changes: 37 additions & 32 deletions Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,10 @@ REPODIR?= ${OBJROOT}repo
PKG_FORMAT?= tzst
PKG_REPO_SIGNING_KEY?= # empty
PKG_OUTPUT_DIR?= ${PKG_VERSION}
PKG_ABI_FILE?= ${WSTAGEDIR}/usr/bin/uname
.if make(create-*-packages*) || make(real-update-packages) || make(real-sign-packages)
PKG_ABI!= ${PKG_CMD} -o ABI_FILE=${PKG_ABI_FILE} config ABI
.endif

.ORDER: stage-packages create-packages
.ORDER: create-packages create-world-packages
Expand All @@ -1982,12 +1986,6 @@ _pkgbootstrap: .PHONY
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
.endif

#
# Determine PKG_ABI from newvers.sh if not already set.
#
.if !defined(PKG_ABI) && (make(create-world-packages-jobs) || make(create-kernel-packages*) || make(real-update-packages) || make (create-source-packages) || make(sign-packages))
PKG_ABI=${_TYPE}:${MAJOR_REVISION}:${TARGET_ARCH}
.endif
PKG_BIN_VERSION!=${PKG_CMD} --version </dev/null 2>/dev/null |\
awk -F. '/^[0-9.]+$$/ {print $$1 * 10000 + $$2 * 100 + $$3}'
.if ${PKG_BIN_VERSION} < 11700
Expand All @@ -1997,8 +1995,7 @@ PKG_EXT= pkg
.endif

.if !defined(PKG_VERSION_FROM) && make(real-update-packages)
.if defined(PKG_ABI)
.if exists(${REPODIR}/${PKG_ABI})
.if exists(${PKG_ABI_FILE}) && exists(${REPODIR}/${PKG_ABI})
PKG_VERSION_FROM!=/usr/bin/readlink ${REPODIR}/${PKG_ABI}/latest
PKG_VERSION_FROM_DIR= ${REPODIR}/${PKG_ABI}/${PKG_VERSION_FROM}
BRANCH_EXT_FROM= ${PKG_VERSION_FROM:C/.*([[:alpha:]][^\.]*).*/\1/}
Expand All @@ -2008,7 +2005,6 @@ PKG_VERSION_FROM_DIR=
BRANCH_EXT_FROM=
.endif
.endif
.endif

PKGMAKEARGS+= PKG_VERSION=${PKG_VERSION} \
NO_INSTALLEXTRAKERNELS=${NO_INSTALLEXTRAKERNELS}
Expand Down Expand Up @@ -2099,17 +2095,13 @@ create-packages-source: _pkgbootstrap _repodir .PHONY

create-packages: .PHONY create-packages-world create-packages-kernel create-packages-source

create-source-packages: _pkgbootstrap .PHONY
rm -f ${SSTAGEDIR}/*.plist 2>/dev/null || :
create-source-src-package: _pkgbootstrap .PHONY
rm -f ${SSTAGEDIR}/src.plist 2>/dev/null || :
.if !empty(GIT_CMD) && exists(${GIT_CMD}) && exists(${SRCDIR}/.git)
@cd ${SRCDIR}; \
( echo "@override_prefix /usr/src" ; \
${GIT_CMD} ls-files --recurse-submodules ":!:sys/" ) \
> ${SSTAGEDIR}/src.plist
@cd ${SRCDIR}; \
( echo "@override_prefix /usr/src" ; \
${GIT_CMD} ls-files --recurse-submodules "sys/" ) \
> ${SSTAGEDIR}/src-sys.plist
${SRCDIR}/release/packages/generate-ucl.lua \
PKGNAME "src" \
PKGGENNAME "src" \
Expand All @@ -2121,6 +2113,22 @@ create-source-packages: _pkgbootstrap .PHONY
PKG_WWW "${PKG_WWW}" \
${SRCDIR}/release/packages/template.ucl \
${SSTAGEDIR}/src.ucl
${PKG_CMD} -o ABI=${PKG_ABI} \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} \
-M ${SSTAGEDIR}/src.ucl \
-p ${SSTAGEDIR}/src.plist \
-r ${SRCDIR} \
-o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}
.endif

create-source-src-sys-package: _pkgbootstrap .PHONY
rm -f ${SSTAGEDIR}/src-sys.plist 2>/dev/null || :
.if !empty(GIT_CMD) && exists(${GIT_CMD}) && exists(${SRCDIR}/.git)
@cd ${SRCDIR}; \
( echo "@override_prefix /usr/src" ; \
${GIT_CMD} ls-files --recurse-submodules "sys/" ) \
> ${SSTAGEDIR}/src-sys.plist
${SRCDIR}/release/packages/generate-ucl.lua \
PKGNAME "src-sys" \
PKGGENNAME "src" \
Expand All @@ -2132,13 +2140,6 @@ create-source-packages: _pkgbootstrap .PHONY
PKG_WWW "${PKG_WWW}" \
${SRCDIR}/release/packages/template.ucl \
${SSTAGEDIR}/src-sys.ucl
${PKG_CMD} -o ABI=${PKG_ABI} \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} \
-M ${SSTAGEDIR}/src.ucl \
-p ${SSTAGEDIR}/src.plist \
-r ${SRCDIR} \
-o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}
${PKG_CMD} -o ABI=${PKG_ABI} \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} \
Expand All @@ -2148,6 +2149,8 @@ create-source-packages: _pkgbootstrap .PHONY
-o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}
.endif

create-source-packages: .PHONY _pkgbootstrap create-source-src-package create-source-src-sys-package

create-world-packages: _pkgbootstrap .PHONY
@rm -f ${WSTAGEDIR}/*.plist 2>/dev/null || :
@cd ${WSTAGEDIR} ; \
Expand Down Expand Up @@ -2180,7 +2183,7 @@ create-world-package-${pkgname}: .PHONY
@if [ "${pkgname}" == "runtime" ]; then \
sed -i '' -e "s/%VCS_REVISION%/${VCS_REVISION}/" ${WSTAGEDIR}/${pkgname}.ucl ; \
fi
${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname -o ALLOW_BASE_SHLIBS=yes \
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} -M ${WSTAGEDIR}/${pkgname}.ucl \
-p ${WSTAGEDIR}/${pkgname}.plist \
Expand Down Expand Up @@ -2256,7 +2259,7 @@ create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kerne
/name/ { printf("===> Creating %s-", $$2); next } \
/version/ {print $$2; next } ' \
${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl ; \
${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname -o ALLOW_BASE_SHLIBS=yes \
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} \
-M ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl \
Expand All @@ -2268,20 +2271,22 @@ create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kerne
. endfor
.endif

sign-packages: _pkgbootstrap .PHONY
sign-packages: .PHONY
${_+_}@cd ${.CURDIR}; \
${MAKE} -f Makefile.inc1 PKG_VERSION=${PKG_VERSION} real-sign-packages

real-sign-packages: _pkgbootstrap .PHONY
printf "version = 2;\n" > ${WSTAGEDIR}/meta
.if ${PKG_BIN_VERSION} < 11700
printf "packing_format = \"${PKG_FORMAT}\";\n" >> ${WSTAGEDIR}/meta
.endif
@[ -L "${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/latest" ] && \
unlink ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/latest ; \
${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname repo \
-o OSVERSION="${SRCRELDATE}" \
@[ -L "${REPODIR}/${PKG_ABI}/latest" ] && unlink ${REPODIR}/${PKG_ABI}/latest; \
${PKG_CMD} -o ABI=${PKG_ABI} repo -o OSVERSION="${SRCRELDATE}" \
-m ${WSTAGEDIR}/meta \
-o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \
${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \
-o ${REPODIR}/${PKG_ABI}/${PKG_VERSION} \
${REPODIR}/${PKG_ABI}/${PKG_VERSION} \
${PKG_REPO_SIGNING_KEY} ; \
cd ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI); \
cd ${REPODIR}/${PKG_ABI}; \
ln -s ${PKG_OUTPUT_DIR} latest

#
Expand Down
23 changes: 18 additions & 5 deletions ObsoleteFiles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@
# xargs -n1 | sort | uniq -d;
# done

# 20240914 libpcap upgrade from 1.10.4 to 1.10.5
OLD_FILES+=contrib/libpcap/pcap-haiku.cpp
OLD_FILES+=contrib/libpcap/pcap-rpcap-int.h
OLD_FILES+=contrib/libpcap/pcap-usb-linux-common.c

# 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

# 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

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

# 20240801: retire ifaddr_byindex
OLD_FILES+=usr/share/man/man9/ifaddr_byindex.9.gz

Expand Down Expand Up @@ -3634,11 +3652,6 @@ OLD_FILES+=usr/share/man/man4/ng_h4.4.gz
# 20210923: rename boot(9) to kern_reboot(9)
OLD_FILES+=usr/share/man/man9/boot.9.gz

# 20210922: Old mixer(8) tests removed
OLD_FILES+=usr/tests/usr.sbin/mixer/Kyuafile
OLD_FILES+=usr/tests/usr.sbin/mixer/mixer_test
OLD_DIRS+=usr/tests/usr.sbin/mixer

# 20210921: remove cloudabi
OLD_FILES+=usr/share/man/man4/cloudabi.4.gz
OLD_FILES+=usr/share/man/man4/cloudabi32.4.gz
Expand Down
77 changes: 43 additions & 34 deletions UPDATING
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,12 @@ Items affecting the ports and packages system can be found in
/usr/ports/UPDATING. Please read that file before updating system packages
and/or ports.

20240202:
Loader now also read configuration files listed in local_loader_conf_files.
Files listed here are the last ones read. And /boot/loader.conf.local was
moved from loader_conf_files to local_loader_conf_files leaving only
loader.conf and device.hints in loader_conf_files by default.

The following sequencing is applied:

1. Bootstrap:
/boot/defaults/loader.conf

2. Read loader_conf_files files:
/boot/device.hints
/boot/loader.conf

3. Read loader_conf_dirs files:
/boot/loader.conf.d/*.conf

4. And finally, rread local_loader_conf_files files:
/boot/loader.conf.local
20240419:
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.

20240415:
MFC e0f3dc82727f: If you have an arm64 system that uses ACPI, you will
Expand All @@ -53,9 +39,26 @@ and/or ports.
non-compliant MTAs; please see the first 8.18.1 release note in
contrib/sendmail/RELEASE_NOTES for mitigations.

20231113:
The WITHOUT_LLD_IS_LD option has been removed. When LLD is enabled
it is always installed as /usr/bin/ld.
20240202:
Loader now also read configuration files listed in local_loader_conf_files.
Files listed here are the last ones read. And /boot/loader.conf.local was
moved from loader_conf_files to local_loader_conf_files leaving only
loader.conf and device.hints in loader_conf_files by default.

The following sequencing is applied:

1. Bootstrap:
/boot/defaults/loader.conf

2. Read loader_conf_files files:
/boot/device.hints
/boot/loader.conf

3. Read loader_conf_dirs files:
/boot/loader.conf.d/*.conf

4. And finally, rread local_loader_conf_files files:
/boot/loader.conf.local

20240119:
Commit d34f4baaf138 changed the internal interface between
Expand All @@ -77,6 +80,10 @@ and/or ports.
sources.
As such, __FreeBSD_version has been bumped to 1400502.

20231113:
The WITHOUT_LLD_IS_LD option has been removed. When LLD is enabled
it is always installed as /usr/bin/ld.

20230924:
Enable splitting out pkgbase manpages into separate packages by
default. To disable this, set WITHOUT_MANSPLITPKG=yes in src.conf.
Expand Down Expand Up @@ -311,6 +318,10 @@ and/or ports.
belongs. Consequently, users may experience surprising results with
such names when roaming to different homenets.

20211118:
Mips has been removed from universe builds. It will be removed from the
tree shortly.

20211110:
Commit b8d60729deef changed the TCP congestion control framework so
that any of the included congestion control modules could be
Expand All @@ -324,10 +335,6 @@ and/or ports.
kernel and you are including networking, the kernel compile will
fail. Also if no default is declared the kernel compile will fail.

20211118:
Mips has been removed from universe builds. It will be removed from the
tree shortly.

20211106:
Commit f0c9847a6c47 changed the arguments for VOP_ALLOCATE.
The NFS modules must be rebuilt from sources and any out
Expand Down Expand Up @@ -1928,6 +1935,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 @@ -1944,8 +1953,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 @@ -1963,7 +1971,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 @@ -1982,8 +1990,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 @@ -2003,8 +2010,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
9 changes: 6 additions & 3 deletions bin/date/date.1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd May 2, 2024
.Dd September 10, 2024
.Dt DATE 1
.Os
.Sh NAME
Expand Down Expand Up @@ -538,8 +538,11 @@ Finally the command
.Pp
.Dl "TZ=America/Los_Angeles date -z Europe/Paris -j 0900"
.Pp
will print the time in the "Europe/Paris" timezone when it is 9:00 in The
America/Los_Angeles timezone.
will print the time in the
.Dq Europe/Paris
timezone when it is 9:00 in the
.Dq America/Los_Angeles
timezone.
.Sh DIAGNOSTICS
It is invalid to combine the
.Fl I
Expand Down
8 changes: 4 additions & 4 deletions bin/date/date.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,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 @@ -418,9 +418,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
Loading