FreeBSD/ports 983de99misc/codex distinfo Makefile.crates, misc/codex/files patch-codex-rs_exec_tests_suite_mod.rs

misc/codex: Update to 0.120.0

Changelog:
- https://github.com/openai/codex/releases/tag/rust-v0.118.0
- https://github.com/openai/codex/releases/tag/rust-v0.119.0
- https://github.com/openai/codex/releases/tag/rust-v0.120.0

Reported by:    GitHub (watch releases)
DeltaFile
+79-15misc/codex/distinfo
+38-6misc/codex/Makefile.crates
+8-7misc/codex/Makefile
+3-3misc/codex/files/patch-codex-rs_exec_tests_suite_mod.rs
+128-314 files

DragonFlyBSD/src 9e5be63sbin/fsck_hammer2 test.c

fsck_hammer2 - Print recursion stack with error message

* Print the full blockref spec (that can be used in a "hammer2 show")

* Print the recursion stack leading up to and including the error block.

* Errored blocks and stack are printed without needing any -d options.
  Note that two -d opts will dump the full stack during the scan, which
  could end up being terrabytes of text so... maybe don't do that.
DeltaFile
+115-45sbin/fsck_hammer2/test.c
+115-451 files

HardenedBSD/src 9605248sys/dev/ixgbe if_ix.c if_sriov.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+2-2sys/dev/ixgbe/if_ix.c
+1-1sys/dev/ixgbe/if_sriov.c
+1-1sys/dev/ixgbe/ixgbe_sriov.h
+4-43 files

HardenedBSD/src b5e8c5asys/dev/ixgbe if_ix.c if_sriov.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+2-2sys/dev/ixgbe/if_ix.c
+1-1sys/dev/ixgbe/if_sriov.c
+1-1sys/dev/ixgbe/ixgbe_sriov.h
+4-43 files

HardenedBSD/src 74e3e1ecrypto/openssl CHANGES.md NEWS.md, crypto/openssl/doc/man1 openssl-ciphers.pod.in

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+442-346secure/usr.bin/openssl/man/openssl-ciphers.1
+438-329crypto/openssl/doc/man1/openssl-ciphers.pod.in
+363-212crypto/openssl/CHANGES.md
+232-195crypto/openssl/NEWS.md
+152-213crypto/openssl/util/platform_symbols/windows-symbols.txt
+258-16sys/dev/tpm/tpm_crb.c
+1,885-1,3111,200 files not shown
+6,253-3,5341,206 files

FreeBSD/ports 3565993devel/R-cran-pak distinfo Makefile

devel/R-cran-pak: Update to 0.9.3

Changelog: https://cloud.r-project.org/web/packages/pak/news/news.html
DeltaFile
+3-3devel/R-cran-pak/distinfo
+1-1devel/R-cran-pak/Makefile
+4-42 files

HardenedBSD/ports 78fbb41devel/git-workspace distinfo, math/py-clarabel distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+761-725shells/nushell/distinfo
+453-823shells/nu_plugin_polars/distinfo
+639-519devel/git-workspace/distinfo
+581-367math/py-clarabel/distinfo
+380-363shells/nushell/Makefile
+225-410shells/nu_plugin_polars/Makefile.crates
+3,039-3,20762 files not shown
+6,118-5,77068 files

FreeBSD/src 1041735lib/libc/gen Makefile.inc

libc: Add missing MLINK for stravis(3)

MFC after:      1 week
Fixes:          8dfeba04eb36 ("Update to a June 8th snapshot of (un)vis form NetBSD.")
Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D56260

(cherry picked from commit a09d06bc5bff64baab76220a66c3501b89899134)
DeltaFile
+1-0lib/libc/gen/Makefile.inc
+1-01 files

FreeBSD/src 621b3b8lib/libc/gen Makefile.inc

libc: Add missing MLINK for stravis(3)

MFC after:      1 week
Fixes:          8dfeba04eb36 ("Update to a June 8th snapshot of (un)vis form NetBSD.")
Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D56260

(cherry picked from commit a09d06bc5bff64baab76220a66c3501b89899134)
DeltaFile
+1-0lib/libc/gen/Makefile.inc
+1-01 files

FreeBSD/src 8bd82e3lib/libc/gen Makefile.inc

libc: Add missing MLINK for stravis(3)

MFC after:      1 week
Fixes:          8dfeba04eb36 ("Update to a June 8th snapshot of (un)vis form NetBSD.")
Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D56260

(cherry picked from commit a09d06bc5bff64baab76220a66c3501b89899134)
DeltaFile
+1-0lib/libc/gen/Makefile.inc
+1-01 files

FreeBSD/src e324486sys/compat/freebsd32 freebsd32.h

sys/compat/freebsd32: Fix i386 compilation

The compile assertion now failing is due to the change '__int64_t' =>
'__int32_t' as the type of 'time32_t' on i386, which is the correct
value.  The use of 'freebsd32.h' on i386 may seem strange, but it comes
from 'kern_umtx.c' including it unconditionally as it needs 'struct
umutex32'.

Fixes:          87632ddf67b0 ("openzfs sys/types32.h: use abi_compat.h for time32_t")
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 07c4eb506be45a4b836665e14ad63034ef3d573a)
DeltaFile
+1-1sys/compat/freebsd32/freebsd32.h
+1-11 files

FreeBSD/src 5576645sys/dev/mfi mfi.c

dev/mfi: include sys/abi_compat.h unconditionally

not only for COMPAT_FREEBSD32 case.  The driver uses INPTR() for
non-compat32 code.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit bf603dbbb2c9964bba3d5bf2ba2371a75a0cc521)
DeltaFile
+0-2sys/dev/mfi/mfi.c
+0-21 files

FreeBSD/src 5b2da23sys/dev/mfi mfi.c, sys/sys abi_types.h abi_compat.h

sys/event.h: reduce namespace pollution from sys/abi_compat.h

Split out types definitions into sys/abi_types.h, and only include
abi_types.h into sys/event.h.

Tested and reviewed by: bz
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55202

(cherry picked from commit ecadac729a1b855fe0d77a682ee424c3da1eb3db)
DeltaFile
+39-0sys/sys/abi_types.h
+1-29sys/sys/abi_compat.h
+3-2sys/dev/mfi/mfi.c
+1-1sys/sys/event.h
+44-324 files

FreeBSD/src ac1e0dbsys/sys user.h

sys/user.h: remove XXXSKE markers

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit ec6cf0c52698f9056cb17456717849653a03f7e4)
DeltaFile
+3-3sys/sys/user.h
+3-31 files

FreeBSD/src b4d3f08sys/compat/freebsd32 freebsd32.h, sys/kern subr_devstat.c

devstat: Provide 32-bit compatibility

If a 32-bit process running on a 64-bit kernel requests kern.devstat.all,
translate each struct devstat to its 32-bit equivalent before copying it
out.

Also fix a bug where an early error would be ignored if there were no
devices to report.

MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54591

(cherry picked from commit a11d132f6c62f32abe44b19f7527d97ddc239058)

freebsd32: Fix includes

The previous commit added <sys/cdefs.h>, which isn't actually needed.
Conversely, <sys/event.h> is needed (and has been for a long time) but

    [7 lines not shown]
DeltaFile
+49-7sys/kern/subr_devstat.c
+27-0sys/compat/freebsd32/freebsd32.h
+76-72 files

FreeBSD/src de88678sys/compat/freebsd32 freebsd32.h freebsd32_misc.c

sys/compat/freebsd32: FF clock struct: Don't pack, use 'ffcounter32'

Packing 'struct ffclock_estimate32', in absence of substitution of
'ffcounter' (some 'uint64_t') by a 32-bit compatible type, was necessary
on amd64 since 'uint64_t' is 8-byte aligned, which leaves a padding gap
of 4-byte between fields 'update_time' and 'update_ffcount'.  This gap
does not exist on i386 (or amd64 32-bit mode), as 'uint64_t' there is
only 4-byte aligned.

Change the type of the 'update_ffcount' and 'leapsec_next' fields to the
recently introduced 'freebsd32_uint64_t', and adapt copy-in and copy-out
accordingly.  Using `CP()` previously worked due to the '__packed__'
attribute.

Reviewed by:    kib
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55282

(cherry picked from commit 7c2fc4419db43a8a7d1886b0b8e08aa97bfa31e4)
DeltaFile
+5-7sys/compat/freebsd32/freebsd32.h
+4-4sys/compat/freebsd32/freebsd32_misc.c
+9-112 files

FreeBSD/src e0c7fcdsys/compat/freebsd32 freebsd32.h, sys/kern kern_proc.c

sys/compat/freebsd32: use freebsd32_uint64_t for struct kinfo_proc32

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit 31fab773613b21183fbd5a313fa8c69d37fcb196)
DeltaFile
+2-2sys/kern/kern_proc.c
+2-2sys/compat/freebsd32/freebsd32.h
+4-42 files

FreeBSD/src b13bba2sys/compat/freebsd32 freebsd32.h, sys/kern kern_proc.c

sys/compat/freebsd32: ki_pd is missing from struct kinfo_proc32

This is missed by the sizeof(struct kinfo_proc32) assert due to another
bug: namely, the use of uint64_t type that has different alignment on
i386 than on amd64 host.

Fixes:  85078b8573332c2c83a79adea8a61b519fb3b6af
Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit 154778e3585166f613fd3d2978a0cab2262d1611)
DeltaFile
+1-0sys/compat/freebsd32/freebsd32.h
+1-0sys/kern/kern_proc.c
+2-02 files

FreeBSD/src 7d8b297sys/compat/freebsd32 freebsd32_misc.c freebsd32.h

sys/compat/freebsd32: use freebsd32_uint64_t for struct ffclock_estimate32

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit 3dc72107d29d304ba21f04426ec82077d23cedcd)
DeltaFile
+2-2sys/compat/freebsd32/freebsd32_misc.c
+1-1sys/compat/freebsd32/freebsd32.h
+3-32 files

FreeBSD/src f381a87sys/compat/freebsd32 freebsd32.h freebsd32_misc.c

sys/compat/freebsd32: use freebsd32_uint64_t for several struct stat's

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit beee89472e3e0e3640c9db5c34a6e422830ff00f)
DeltaFile
+5-5sys/compat/freebsd32/freebsd32.h
+4-4sys/compat/freebsd32/freebsd32_misc.c
+9-92 files

FreeBSD/src 7320170sys/contrib/openzfs/include/os/freebsd/spl/sys types32.h, sys/contrib/openzfs/lib/libspl/include/sys types32.h

openzfs sys/types32.h: use abi_compat.h for time32_t

The time32_t typedef leaks into openzfs compilation environment
through sys/event.h.  Simultaneously, openzfs provides its own
definition that is only correct for amd64 on FreeBSD.

Try to fix it by using sys/abi_compat.h directly.  Since toolchain build
from the make buildworld uses host abi_compat.h, add a preprocessor
symbol __HAVE_TIME32_T to signal consumers that time32_t is typedef'ed.
If not defined, fall back to old and wrong time32_t, which is enough for
bootstraping toolchain.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit 87632ddf67b01f3d4787d10332afc1eeece52e2d)
DeltaFile
+6-1sys/sys/abi_compat.h
+5-0sys/contrib/openzfs/lib/libspl/include/sys/types32.h
+2-1sys/contrib/openzfs/include/os/freebsd/spl/sys/types32.h
+13-23 files

FreeBSD/src d94d93bsys/compat/freebsd32 freebsd32_misc.c freebsd32.h

sys/compat/freebsd32: use freebsd32_uint64_t for struct kinfo_knote32

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit 485e916a67b4e700de5f50873e1e7b64de394b16)
DeltaFile
+3-28sys/compat/freebsd32/freebsd32_misc.c
+3-3sys/compat/freebsd32/freebsd32.h
+6-312 files

FreeBSD/src 4ebb7c8sys/sys abi_compat.h

sys/abi_compat.h: add Foundation copyright for uint64_t stuff

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit 9ce0c190d8b3570c0a537f84952dca8c6e462ec3)
DeltaFile
+5-0sys/sys/abi_compat.h
+5-01 files

FreeBSD/src 408e20asys/compat/freebsd32 freebsd32.h, sys/sys abi_compat.h

sys/abi_compat.h: fix UB for bintime32 handling

Do not cast and then access potentially unaligned uint64_t in the BT_CP()
macro.  Use freebsd32_uint64_t type and FU64_CP() for the frac member.

Noted by:       des
Reviewed by:    des, emaste
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54663

(cherry picked from commit be1b2da855cc38531733b5c97891cd4a40a993bc)
DeltaFile
+1-1sys/sys/abi_compat.h
+1-1sys/compat/freebsd32/freebsd32.h
+2-22 files

FreeBSD/src fc30c3fsys/compat/freebsd32 freebsd32_misc.c, sys/sys event.h

sys/event.h: use freebsd32_uint64_t for kevent32 64bit members

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit ad639400dc9f1c5aec470996473bb54edc113dba)
DeltaFile
+6-32sys/compat/freebsd32/freebsd32_misc.c
+4-2sys/sys/event.h
+1-5usr.bin/kdump/kdump.c
+11-393 files

FreeBSD/src 3222cb7sys/compat/freebsd32 freebsd32.h, sys/dev/mfi mfi.c

sys/abi_compat.h: move freebsd32_uint64_t and FU64_CP() there

Use private names for uintXX_t types.
Remove conflicting (but equal) PTR_IN() definition from dev/mfi.c.

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit e651c64bcab08c7b12d8ad6e3ad0b1ef3af3b875)
DeltaFile
+21-1sys/sys/abi_compat.h
+0-18sys/compat/freebsd32/freebsd32.h
+0-2sys/dev/mfi/mfi.c
+21-213 files

FreeBSD/src fbc234csys/sys abi_compat.h

sys/abi_compat.h: normalize include guard name

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135

(cherry picked from commit c3a04a9585ae233c98ee2eef73e6a80d17512578)
DeltaFile
+3-3sys/sys/abi_compat.h
+3-31 files

FreeBSD/src a60b577sys/compat/freebsd32 freebsd32.h, sys/sys abi_compat.h

compat32: provide a type and a macro for (u)int64_t handling on non-x86 arches

uint64_t is 4-byte aligned on i386, but is 8-bytes aligned on all other
32bit arches FreeBSD supports.  Provide the freebsd32_uint64_t type and
the FU64_CP() macro, which are intended to be used where 32bit ABI uses
(u)int64_t type, and do proper layout and copying for the aggregate type.

Reviewed by:    des, emaste
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54663

(cherry picked from commit 96acaa960023c20e852e04e7cc5c6a5faca36c67)
DeltaFile
+10-1sys/compat/freebsd32/freebsd32.h
+8-0sys/sys/abi_compat.h
+18-12 files

HardenedBSD/src 207094asys/compat/freebsd32 freebsd32.h, sys/kern subr_devstat.c

devstat: Provide 32-bit compatibility

If a 32-bit process running on a 64-bit kernel requests kern.devstat.all,
translate each struct devstat to its 32-bit equivalent before copying it
out.

Also fix a bug where an early error would be ignored if there were no
devices to report.

MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54591

(cherry picked from commit a11d132f6c62f32abe44b19f7527d97ddc239058)

freebsd32: Fix includes

The previous commit added <sys/cdefs.h>, which isn't actually needed.
Conversely, <sys/event.h> is needed (and has been for a long time) but

    [7 lines not shown]
DeltaFile
+49-7sys/kern/subr_devstat.c
+27-0sys/compat/freebsd32/freebsd32.h
+76-72 files

FreeBSD/src 207094asys/compat/freebsd32 freebsd32.h, sys/kern subr_devstat.c

devstat: Provide 32-bit compatibility

If a 32-bit process running on a 64-bit kernel requests kern.devstat.all,
translate each struct devstat to its 32-bit equivalent before copying it
out.

Also fix a bug where an early error would be ignored if there were no
devices to report.

MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54591

(cherry picked from commit a11d132f6c62f32abe44b19f7527d97ddc239058)

freebsd32: Fix includes

The previous commit added <sys/cdefs.h>, which isn't actually needed.
Conversely, <sys/event.h> is needed (and has been for a long time) but

    [7 lines not shown]
DeltaFile
+49-7sys/kern/subr_devstat.c
+27-0sys/compat/freebsd32/freebsd32.h
+76-72 files