HardenedBSD/src b5eea5b. UPDATING, sbin/mdconfig/tests mdconfig_test.sh

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+18-18usr.sbin/fwget/pci/pci_network_mediatek
+16-15tests/sys/vm/mmap_test.c
+8-7sbin/mdconfig/tests/mdconfig_test.sh
+7-1UPDATING
+49-414 files

HardenedBSD/src 626fe16. UPDATING, sbin/mdconfig/tests mdconfig_test.sh

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+18-18usr.sbin/fwget/pci/pci_network_mediatek
+16-15tests/sys/vm/mmap_test.c
+8-7sbin/mdconfig/tests/mdconfig_test.sh
+7-1UPDATING
+49-414 files

HardenedBSD/src d5cfca0tests/sys/vm mmap_test.c

mmap_test: determine page size at run time rather than compile time

Sponsored by:   Netflix
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D52735
DeltaFile
+16-15tests/sys/vm/mmap_test.c
+16-151 files

HardenedBSD/src 24458c2sbin/mdconfig/tests mdconfig_test.sh

mdconfig_test: determine page size at run time rather than assuming 4k

Sponsored by:   Netflix
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D52736
DeltaFile
+8-7sbin/mdconfig/tests/mdconfig_test.sh
+8-71 files

HardenedBSD/src 376508e. UPDATING

UPDATING: Fix typo objump should be objdump

Approved by:    emaste (mentor)
Fixes:          86edb11e7491 ("Always install llvm-objdump as objdump")
MFC after:      1 day
DeltaFile
+1-1UPDATING
+1-11 files

HardenedBSD/src 10d88a7usr.sbin/fwget/pci pci_network_mediatek

fwget: pci: mediatek: correct package name

The port is called wifi-firmware-mt76-kmod not "mediatek" in the
moddle.

Reported by:    Lars Tunkrans (drsnx60 gmail.com)
MFC after:      3 days
Reviewed by:    emaste, jrm, imp
Differential Revision: https://reviews.freebsd.org/D53067
DeltaFile
+18-18usr.sbin/fwget/pci/pci_network_mediatek
+18-181 files

HardenedBSD/src ffa8165. UPDATING

blocklist: Add an UPDATING entry

Add an UPDATING entry about the renaming of blocklist.

Approved by:    emaste (mentor)
Fixes:  7238317403b9 ("blocklist: Rename blacklist to blocklist")
MFC after:      1 day
DeltaFile
+6-0UPDATING
+6-01 files

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/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