HardenedBSD/ports e7b3c48devel/build2/files patch-build2_libbuild2_script_regex.hxx, math/mlpack pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+43-23math/mlpack/pkg-plist
+17-15net/activemq/Makefile
+23-0security/caldera/files/patch-app_utility-base_world.py
+19-0devel/build2/files/patch-build2_libbuild2_script_regex.hxx
+19-0security/caldera/files/patch-app_objects_secondclass-c_fact.py
+17-0security/caldera/files/patch-app_objects_secondclass-c_rule.py
+138-3825 files not shown
+203-11731 files

HardenedBSD/ports b99da9dmath/R-cran-irlba distinfo Makefile

math/R-cran-irlba: Update to 2.3.7

Reported by:    portscout
DeltaFile
+3-3math/R-cran-irlba/distinfo
+2-2math/R-cran-irlba/Makefile
+5-52 files

HardenedBSD/ports 2545796archivers/lua-zlib Makefile distinfo

archivers/lua-zlib: Update 1.2 => 1.4

Changelogs:
https://github.com/brimworks/lua-zlib/releases/tag/v1.3
https://github.com/brimworks/lua-zlib/releases/tag/v1.4

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Remove lua version from USES - port supports all versions.
- Fix warnings from portclippy.

PR:             292335
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+6-8archivers/lua-zlib/Makefile
+3-3archivers/lua-zlib/distinfo
+9-112 files

HardenedBSD/ports 86ef05ax11/babl Makefile distinfo

x11/babl: update to 0.1.122

Changelog: https://gitlab.gnome.org/GNOME/babl/-/blob/BABL_0_1_122/NEWS

While here, disable relocatable support for now. It is currently
only supported on Linux, Windows and macOS.

PR: 292859
DeltaFile
+4-3x11/babl/Makefile
+3-3x11/babl/distinfo
+7-62 files

HardenedBSD/ports ff61347misc/crush distinfo Makefile

misc/crush: Update to 0.37.0

Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.34.0
- https://github.com/charmbracelet/crush/releases/tag/v0.35.0
- https://github.com/charmbracelet/crush/releases/tag/v0.36.0
- https://github.com/charmbracelet/crush/releases/tag/v0.37.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-1misc/crush/Makefile
+6-62 files

HardenedBSD/ports c841a94devel/R-cran-broom distinfo Makefile

devel/R-cran-broom: Update to 1.0.12

Reported by:    portscout
DeltaFile
+3-3devel/R-cran-broom/distinfo
+1-1devel/R-cran-broom/Makefile
+4-42 files

HardenedBSD/src 4d8e4b6lib/libc/gen posix_spawnattr_getprocdescp_np.3 Makefile.inc

libc: document posix_spawnattr_{get,set}procdescp_np(3)

(cherry picked from commit 77c5f29453ed3dbb4ba1a372329ab32ec27c998d)
DeltaFile
+94-0lib/libc/gen/posix_spawnattr_getprocdescp_np.3
+2-0lib/libc/gen/Makefile.inc
+2-0lib/libc/gen/posix_spawn.3
+98-03 files

HardenedBSD/src c5fc8e4lib/libsys/amd64 pdrfork_thread.S Symbol.sys.map, lib/libsys/i386 pdrfork_thread.S Symbol.sys.map

libsys: add pdrfork_thread() on x86

(cherry picked from commit 74a2bf1b7a7ff0c872499cb94df24713f61c872c)
DeltaFile
+101-0lib/libsys/i386/pdrfork_thread.S
+83-0lib/libsys/amd64/pdrfork_thread.S
+4-0lib/libsys/amd64/Symbol.sys.map
+4-0lib/libsys/i386/Symbol.sys.map
+2-1lib/libsys/amd64/Makefile.sys
+1-1lib/libsys/i386/Makefile.sys
+195-21 files not shown
+196-27 files

HardenedBSD/src 4aead2acontrib/openbsm/etc audit_event, contrib/openbsm/sys/bsm audit_kevents.h

Add pdrfork to OpenBSM

PR:             292739

(cherry picked from commit 6253212608b4f513b1e298f11a630d9d0596560d)
DeltaFile
+1-0contrib/openbsm/sys/bsm/audit_kevents.h
+1-0contrib/openbsm/etc/audit_event
+2-02 files

HardenedBSD/src 70c5553lib/libc/gen posix_spawn.c

posix_spawn: use rfork_thread on all arches

(cherry picked from commit 4daf2d3e7db53a113108f9a02ceaf5051d416184)
DeltaFile
+18-21lib/libc/gen/posix_spawn.c
+18-211 files

HardenedBSD/src 124f70elib/libsys rfork_thread_gen.c pdrfork_thread_gen.c, lib/libsys/amd64 Symbol.sys.map

libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches

(cherry picked from commit c1be185e3fb9afd6743683a8f5a43b9c364ab529)
DeltaFile
+40-0lib/libsys/rfork_thread_gen.c
+34-0lib/libsys/pdrfork_thread_gen.c
+0-5lib/libsys/i386/Symbol.sys.map
+0-5lib/libsys/amd64/Symbol.sys.map
+2-0lib/libsys/riscv/Makefile.sys
+2-0lib/libsys/powerpc64/Makefile.sys
+78-104 files not shown
+86-1010 files

HardenedBSD/src f7bcd63lib/libc/gen posix_spawnattr_getexecfd_np.3

posix_spawnattr_getexecfd_np.3: add closing .Fc

(cherry picked from commit 2a5b083c1f7e0a4518bd944241af1d1102997c4d)
DeltaFile
+1-0lib/libc/gen/posix_spawnattr_getexecfd_np.3
+1-01 files

HardenedBSD/src f68ddd0include spawn.h, lib/libc/gen posix_spawn.c Symbol.map

libc: add posix_spawnattr_{get,set}procdescp_np

(cherry picked from commit 080d8ed7dd29ba537ce4cca286ed3369aca61ef5)
DeltaFile
+49-5lib/libc/gen/posix_spawn.c
+4-0include/spawn.h
+2-0lib/libc/gen/Symbol.map
+55-53 files

HardenedBSD/src ad6a63blib/libc/gen posix_spawnattr_getexecfd_np.3 Makefile.inc

libc: document posix_spawnattr_getexecfd_np(3)

(cherry picked from commit 58580dc0c694b107ba7ba1b14dc8ee8f306e53f6)
DeltaFile
+86-0lib/libc/gen/posix_spawnattr_getexecfd_np.3
+2-0lib/libc/gen/Makefile.inc
+2-0lib/libc/gen/posix_spawn.3
+90-03 files

HardenedBSD/src 5b61a13lib/libc/gen exterr_cat_filenames.h

Regen for the fork and exit/wait exterror category addition
DeltaFile
+2-0lib/libc/gen/exterr_cat_filenames.h
+2-01 files

HardenedBSD/src d4d2033sys/kern kern_exit.c sys_procdesc.c

procdesc: postpone freeing the zombie' pid until procdesc is freed

(cherry picked from commit 09984871d8caff9263b955a94bb9fb5354af1b4c)
DeltaFile
+2-2sys/kern/kern_exit.c
+4-0sys/kern/sys_procdesc.c
+6-22 files

HardenedBSD/src 892a09elib/libsys _libsys.h syscalls.map, sys/compat/freebsd32 freebsd32_systrace_args.c freebsd32_proto.h

Regen sysents for addition of pdrfork and pdwait
DeltaFile
+68-0sys/compat/freebsd32/freebsd32_systrace_args.c
+68-0sys/kern/systrace_args.c
+16-0sys/sys/sysproto.h
+9-0sys/compat/freebsd32/freebsd32_proto.h
+4-0lib/libsys/_libsys.h
+4-0lib/libsys/syscalls.map
+169-07 files not shown
+190-313 files

HardenedBSD/src ab3f893sys/kern subr_capability.c, sys/sys caprights.h

sys: Add cap_pdwait_rights

(cherry picked from commit aa72df78d799b06552dc3d4d8926e0199ae4faba)
DeltaFile
+1-0sys/kern/subr_capability.c
+1-0sys/sys/caprights.h
+2-02 files

HardenedBSD/src 6b9e7e9include spawn.h, lib/libc/gen posix_spawn.c Symbol.map

libc: add posix_spawnattr_{get,set}execfd_np(3)

(cherry picked from commit 3f0aea09689f6c10740de78011469355208a19a5)
DeltaFile
+21-1lib/libc/gen/posix_spawn.c
+7-0include/spawn.h
+5-0lib/libc/gen/Symbol.map
+33-13 files

HardenedBSD/src 85a4344sys/kern kern_exit.c

kern/kern_exit.c: extract wait6_check_alive() helper

(cherry picked from commit 7fe33d58a82680fcb75de7deea5a071998830b35)
DeltaFile
+59-37sys/kern/kern_exit.c
+59-371 files

HardenedBSD/src 6820fe9lib/libc/include libc_private.h, lib/libc/sys pdwait.c Symbol.map

lib/libsys, lib/libc: export pdwait

(cherry picked from commit 2d555ec85a716e016be587b2a1606ca69267f870)
DeltaFile
+20-0lib/libc/sys/pdwait.c
+15-0lib/libthr/thread/thr_syscalls.c
+4-0sys/sys/procdesc.h
+4-0lib/libc/sys/Symbol.map
+1-0lib/libc/include/libc_private.h
+1-0lib/libsys/Makefile.sys
+45-01 files not shown
+46-07 files

HardenedBSD/src 79f19b0sys/security/audit audit_bsm.c

audit: handle AUE_PDWAIT

(cherry picked from commit a560abedfb4f9626d5193c235822fbf7b1e7b390)
DeltaFile
+10-0sys/security/audit/audit_bsm.c
+10-01 files

HardenedBSD/src 6b89954share/man/man4 rights.4

rights.4: document CAP_PDWAIT

(cherry picked from commit ec8e8fa6014addf90f00a9b945570ff0cd18d768)
DeltaFile
+3-0share/man/man4/rights.4
+3-01 files

HardenedBSD/src 780b7f9lib/libsys pdfork.2 Makefile.sys

Document pdrfork(2) and pdwait(2)

(cherry picked from commit f7b56887cc0725fbe15730dbe062a092d0955058)
DeltaFile
+81-8lib/libsys/pdfork.2
+4-2lib/libsys/Makefile.sys
+1-0lib/libsys/wait.2
+1-0lib/libsys/rfork.2
+87-104 files

HardenedBSD/src 758de64sys/compat/freebsd32 freebsd32_misc.c, sys/kern kern_exit.c syscalls.master

Add pdwait(2)

(cherry picked from commit 4d707825bf62ee73a32b615846eff9c4a9bda538)
DeltaFile
+105-0sys/kern/kern_exit.c
+31-0sys/compat/freebsd32/freebsd32_misc.c
+10-0sys/kern/syscalls.master
+4-0sys/kern/sys_procdesc.c
+2-0sys/sys/syscallsubr.h
+152-05 files

HardenedBSD/src 2e5b89csys/kern kern_exit.c

kern/kern_exit.c: extract some helpers from proc_to_reap()

(cherry picked from commit 2b67cfa39d8367a021d165681a1e7f54c6020470)
DeltaFile
+66-50sys/kern/kern_exit.c
+66-501 files

HardenedBSD/src 4ae6f37sys/kern kern_fork.c syscalls.master

sys: add pdrfork(2)

(cherry picked from commit 5c2ee618d5ec21f110c4da40e9f17833b2ab8b76)
DeltaFile
+42-0sys/kern/kern_fork.c
+10-0sys/kern/syscalls.master
+52-02 files

HardenedBSD/src 304d02fsys/kern kern_fork.c, sys/sys exterr_cat.h

kern/kern_fork.c: define the exterror category for fork

(cherry picked from commit 7211cd2cce746972af2d60d4b5bf0c087f016731)
DeltaFile
+18-17sys/kern/kern_fork.c
+1-0sys/sys/exterr_cat.h
+19-172 files

HardenedBSD/src eadd560sys/kern kern_exit.c

kern/kern_exit.c: some style

(cherry picked from commit f5acbacb28f9fec7b9f159d36cc5056c9267a8ca)
DeltaFile
+11-12sys/kern/kern_exit.c
+11-121 files

HardenedBSD/src f48772elib/libsys Symbol.sys.map, sys/sys procdesc.h

lib/libsys, lib/libc: export pdrfork(2)

(cherry picked from commit f10b4b6131d444c023a90c386cec4b0b8f525a1f)
DeltaFile
+4-0lib/libsys/Symbol.sys.map
+1-0sys/sys/procdesc.h
+5-02 files