HardenedBSD/src e75e1bflib/libc/stdlib realpath.c realpath.3, lib/libc/tests/gen realpath2_test.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+167-41share/man/man4/bridge.4
+94-12lib/libc/tests/gen/realpath2_test.c
+12-2lib/libc/stdlib/realpath.c
+6-6lib/libc/stdlib/realpath.3
+3-6sys/netpfil/ipfw/ip_fw2.c
+2-6sys/kern/kern_jailmeta.c
+284-7356 files not shown
+360-15962 files

HardenedBSD/src 17ff06blib/libc/stdlib realpath.c realpath.3, lib/libc/tests/gen realpath2_test.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+167-41share/man/man4/bridge.4
+94-12lib/libc/tests/gen/realpath2_test.c
+12-2lib/libc/stdlib/realpath.c
+6-6lib/libc/stdlib/realpath.3
+3-6sys/netpfil/ipfw/ip_fw2.c
+2-6sys/kern/kern_jailmeta.c
+284-7356 files not shown
+360-15962 files

HardenedBSD/src 831c64clib/libbz2 Makefile bzip2.pc.in

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+13-0lib/libbz2/Makefile
+11-0lib/libbz2/bzip2.pc.in
+24-02 files

HardenedBSD/src 4b5ba4blib/libbz2 Makefile bzip2.pc.in, release/packages/ucl libbegemot-all.ucl yp-all.ucl

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+13-0lib/libbz2/Makefile
+11-0lib/libbz2/bzip2.pc.in
+2-2release/packages/ucl/libbegemot-all.ucl
+2-2sbin/ifconfig/ifconfig.8
+1-1release/packages/ucl/yp-all.ucl
+1-1release/packages/ucl/audit-all.ucl
+30-65 files not shown
+37-911 files

HardenedBSD/ports 49004b5databases/py-datafusion distinfo Makefile.crates, devel/py-ty distinfo Makefile.crates

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+319-454www/npm-node22/pkg-plist
+255-261databases/py-datafusion/distinfo
+179-165devel/py-ty/distinfo
+126-129databases/py-datafusion/Makefile.crates
+113-123textproc/rubygem-commonmarker/distinfo
+88-81devel/py-ty/Makefile.crates
+1,080-1,213734 files not shown
+3,951-2,939740 files

HardenedBSD/ports 3f542c9devel/fossil Makefile distinfo

devel/fossil: update to 2.27

Release notes:
https://fossil-scm.org/home/doc/trunk/www/changes.wiki#v2_27

While at it, remove the TH1HOOKS option: it doesn't imply any extra
dependency and can be turned on / off in each repo's settings.
DeltaFile
+4-8devel/fossil/Makefile
+3-3devel/fossil/distinfo
+7-112 files

HardenedBSD/src 1406de2lib/libc/stdlib realpath.c, lib/libc/tests/gen realpath2_test.c

realpath: Report correct path on failure

If lstat() fails with EACCES or ENOTDIR, the path we need to return in
the caller-provided buffer is that of the parent directory (which is
either unreadable or not a directory; the latter can only happen in the
case of a race) rather than that of the child we attempted to stat.

Sponsored by:   Klara, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D53025
DeltaFile
+12-2lib/libc/stdlib/realpath.c
+2-9lib/libc/tests/gen/realpath2_test.c
+14-112 files

HardenedBSD/src 7c66667lib/libc/stdlib realpath.3

realpath: Belatedly document POSIX conformance

We've been mostly POSIX-conforming since r236400 and fully since r240410,
which fixed a corner case where a missing non-leaf directory would be
reported as ENOTDIR instead of ENOENT.

Sponsored by:   Klara, Inc.
Fixes:          7877ed7ce33e ("Avoid mapping ENOENT to ENOTDIR for non-existent path components.")
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D53027
DeltaFile
+6-6lib/libc/stdlib/realpath.3
+6-61 files

HardenedBSD/src f3386dflib/libc/tests/gen realpath2_test.c

realpath: Additional test cases

* Passing NULL should result in EINVAL
* Passing an empty path should result in ENOENT
* Failure with a non-null buffer should leave a partial result.  As
  pointed out in a comment in the test case, this reveals a discrepancy
  between the documentation and reality.

Sponsored by:   Klara, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D53024
DeltaFile
+101-12lib/libc/tests/gen/realpath2_test.c
+101-121 files

HardenedBSD/src 4835fc4usr.bin/login login.conf

login.conf: Remove never used ignoretime/ignoretime@

PR:             240378
Reviewed by:    otis (mentor), glebius (src committer)
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D52991
DeltaFile
+0-4usr.bin/login/login.conf
+0-41 files

HardenedBSD/src dd69f12share/man/man4 bridge.4

bridge.4: Improve VLAN documentation

Document how bridge implements VLANs, and provide an example of
configuring a bridge with VLAN filtering.

MFC after:      3 days
Reviewed by:    ziaee, pauamma_gundo.com (previous version)
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D51185
DeltaFile
+167-41share/man/man4/bridge.4
+167-411 files

HardenedBSD/src c8e077esys/x86/xen xen_apic.c

x86/xen: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/x86/xen/xen_apic.c
+1-11 files

HardenedBSD/src bf8f654sys/x86/x86 tsc.c

tsc: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/x86/x86/tsc.c
+1-11 files

HardenedBSD/src 9caa16bsys/powerpc/aim mmu_oea64.c, sys/powerpc/cpufreq pmcr.c

powerpc: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+2-2sys/powerpc/aim/mmu_oea64.c
+2-1sys/powerpc/cpufreq/pmcr.c
+4-32 files

HardenedBSD/src 0039721sys/i386/i386 machdep.c pmap.c

i386: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/i386/i386/machdep.c
+1-1sys/i386/i386/pmap.c
+2-22 files

HardenedBSD/src 5d5ba0csys/arm64/coresight coresight.c

arm64 coresight: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/arm64/coresight/coresight.c
+1-11 files

HardenedBSD/src a5d5851sys/vm vm_pageout.c vm_meter.c

vm: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+2-2sys/vm/vm_pageout.c
+1-1sys/vm/vm_meter.c
+3-32 files

HardenedBSD/src 12ac59asys/security/mac mac_framework.c

MAC: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+2-2sys/security/mac/mac_framework.c
+2-21 files

HardenedBSD/src 0b9c12fsys/arm/arm unwind.c pmap-v6.c

arm: Use proper prototype for SYSINIT functions

The only possible return value of function module_info_init() is 0. Make
it return void to match the prototype of SYSINIT.

MFC after:      1 week
DeltaFile
+1-3sys/arm/arm/unwind.c
+1-1sys/arm/arm/pmap-v6.c
+2-42 files

HardenedBSD/src 296db8csys/sys sysent.h

sys/sysent.h: Remove an unneeded type cast

The function exec_sysvec_init() already has the right prototype.

While here, remove an extra semicolon from the macro INIT_SYSENTVEC.

MFC after:      1 week
DeltaFile
+1-2sys/sys/sysent.h
+1-21 files

HardenedBSD/src 0ce8c20sys/netpfil/pf pf_ioctl.c

pf: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+2-2sys/netpfil/pf/pf_ioctl.c
+2-21 files

HardenedBSD/src a06ecc4sys/nfs nfs_diskless.c

nfs: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/nfs/nfs_diskless.c
+1-11 files

HardenedBSD/src 32c1e94sys/security/audit audit.c

audit: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/security/audit/audit.c
+1-11 files

HardenedBSD/src 1bba219sys/netpfil/ipfw ip_fw2.c ip_fw_nat.c

ipfw: Use proper prototype for SYSINIT functions

The only possible return value of function ipfw_init() is 0. Make it
return void to match the prototype of SYSINIT.

MFC after:      1 week
DeltaFile
+3-6sys/netpfil/ipfw/ip_fw2.c
+2-2sys/netpfil/ipfw/ip_fw_nat.c
+5-82 files

HardenedBSD/src 360bb45sys/netipsec xform_ipcomp.c

netipsec: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+2-2sys/netipsec/xform_ipcomp.c
+2-21 files

HardenedBSD/src d4a80fasys/netinet6 in6_fib_algo.c

netinet6: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/netinet6/in6_fib_algo.c
+1-11 files

HardenedBSD/src 6613b6asys/netinet in_fib_algo.c, sys/netinet/cc cc.c

netinet: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/netinet/cc/cc.c
+1-1sys/netinet/in_fib_algo.c
+2-22 files

HardenedBSD/src 6f8259esys/net route.c rtsock.c, sys/net/route route_tables.c

net: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/net/route.c
+1-1sys/net/route/route_tables.c
+1-1sys/net/rtsock.c
+3-33 files

HardenedBSD/src 7449e59sys/net80211 ieee80211_ht.c ieee80211_hwmp.c

net80211: Use proper prototype for SYSINIT functions

MFC after:      1 week
DeltaFile
+1-1sys/net80211/ieee80211_ht.c
+1-1sys/net80211/ieee80211_hwmp.c
+1-1sys/net80211/ieee80211_mesh.c
+1-1sys/net80211/ieee80211_phy.c
+1-1sys/net80211/ieee80211_proto.c
+1-1sys/net80211/ieee80211_vht.c
+6-66 files

HardenedBSD/src a988393sys/kern kern_jailmeta.c

jail: Use proper prototype for SYSINIT functions

The only possible return value of function jm_sysinit() and jm_sysuninit()
is 0. Make them return void to match the prototype of SYSINIT.

MFC after:      1 week
DeltaFile
+2-6sys/kern/kern_jailmeta.c
+2-61 files