HardenedBSD/src cb98590lib/libc/stdlib div.3 ldiv.3

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+63-23lib/libc/stdlib/div.3
+0-76lib/libc/stdlib/ldiv.3
+49-23lib/libc/stdlib/abs.3
+0-71lib/libc/stdlib/lldiv.3
+0-71lib/libc/stdlib/imaxdiv.3
+0-64lib/libc/stdlib/labs.3
+112-32826 files not shown
+206-47732 files

HardenedBSD/src 0e0b6adlib/libc/stdlib div.3 ldiv.3

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+63-23lib/libc/stdlib/div.3
+0-76lib/libc/stdlib/ldiv.3
+49-23lib/libc/stdlib/abs.3
+0-71lib/libc/stdlib/lldiv.3
+0-71lib/libc/stdlib/imaxdiv.3
+0-64lib/libc/stdlib/labs.3
+112-32826 files not shown
+206-47732 files

HardenedBSD/src 78463b5sys/compat/freebsd32 freebsd32_misc.c freebsd32.h, sys/sys abi_types.h abi_compat.h

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+15-66sys/compat/freebsd32/freebsd32_misc.c
+12-29sys/compat/freebsd32/freebsd32.h
+35-0sys/sys/abi_types.h
+6-4sys/sys/abi_compat.h
+1-5usr.bin/kdump/kdump.c
+4-2sys/sys/event.h
+73-1065 files not shown
+87-11611 files

HardenedBSD/ports 84f7c1cmultimedia/ab-av1 distinfo Makefile.crates, security/wazuh-agent/files patch-src_Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+65-67multimedia/ab-av1/distinfo
+31-32multimedia/ab-av1/Makefile.crates
+11-0security/wazuh-agent/files/patch-src_Makefile
+3-3www/R-cran-shiny/distinfo
+2-2www/R-cran-shiny/Makefile
+1-1multimedia/ab-av1/Makefile
+113-1056 files

HardenedBSD/ports bd480f0multimedia/ab-av1 distinfo Makefile.crates

multimedia/ab-av1: update to 0.11.0

Changes:        https://github.com/alexheretic/ab-av1/releases/tag/v0.11.0
Reported by:    GitHub (watch releases)
DeltaFile
+65-67multimedia/ab-av1/distinfo
+31-32multimedia/ab-av1/Makefile.crates
+1-1multimedia/ab-av1/Makefile
+97-1003 files

HardenedBSD/src 6881fd2release/scripts pkg-stage.sh

pkg-stage.sh: Add ext2 and ntfs

Having these packages available on release media may help users who
need to sneakernet other packages (e.g. firmware) from systems running
Linux or Windows.

Suggested by:   vladlen, ziaee
MFC after:      3 days
DeltaFile
+2-0release/scripts/pkg-stage.sh
+2-01 files

HardenedBSD/src 456ae98lib/libufs ufs_disk_close.3

ufs_disk_close.3: Correct include header macro

This manual used the library macro to mark up a header file, causing
pollution in the apropos database for libraries, as well as omission
from the apropos database for headers. This also renders differently,
enclosing the header in angle brackets.

MFC after:      3 days
DeltaFile
+1-1lib/libufs/ufs_disk_close.3
+1-11 files

HardenedBSD/src 98ffaaelib/libc/stdlib abs.3 labs.3

libc: Roll {l,ll,imax}abs(3) manpages into just abs(3)

No need to have 4 separate manpages for these functions. Use opportunity
to change parameter names in the source from j -> i to reflect the name
used in POSIX. (The ISO C standard uses j but i is a better name
anyway.)

Reviewed by:    des, rpokala
Approved by:    rpokala
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55361
DeltaFile
+49-23lib/libc/stdlib/abs.3
+0-64lib/libc/stdlib/labs.3
+0-60lib/libc/stdlib/imaxabs.3
+0-60lib/libc/stdlib/llabs.3
+4-1lib/libc/stdlib/Makefile.inc
+2-2lib/libc/stdlib/llabs.c
+55-2103 files not shown
+61-2169 files

HardenedBSD/src 637a8ecshare/man/man3 stdckdint.3

stdckdint.3: Fix standard in comment

Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55360
DeltaFile
+1-1share/man/man3/stdckdint.3
+1-11 files

HardenedBSD/src c242bf1lib/libc/stdlib div.3 ldiv.3

libc: Roll {l,ll,imax}div(3) manpages into just div(3)

No need to have 4 separate manpages for these functions.

Reviewed by:    ziaee, rpokala, des
Approved by:    rpokala, des
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55360
DeltaFile
+63-23lib/libc/stdlib/div.3
+0-76lib/libc/stdlib/ldiv.3
+0-71lib/libc/stdlib/imaxdiv.3
+0-71lib/libc/stdlib/lldiv.3
+4-1lib/libc/stdlib/Makefile.inc
+67-2425 files

HardenedBSD/ports b9ba4d4www/R-cran-shiny distinfo Makefile

www/R-cran-shiny: Update to 1.13.0

- Update to 1.13.0
- Change LICENSE from GPLv3 to MIT

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

HardenedBSD/ports 5203181security/wazuh-agent/files patch-src_Makefile

security/wazuh-agent: fix build on powerpc64* / riscv64

Fixes:  b1f52980fe0a34ccaa674408c92869aec9aac4fe
Pointy hat:     acm@
DeltaFile
+11-0security/wazuh-agent/files/patch-src_Makefile
+11-01 files

HardenedBSD/src 1661d41sys/dev/mfi mfi.c

dev/mfi: include sys/abi_compat.h unconditionally

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

HardenedBSD/src 7a2fdccsys/sys user.h

sys/user.h: remove XXXSKE markers

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

HardenedBSD/src 8a8e439sys/compat/freebsd32 freebsd32.h, sys/kern kern_proc.c

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

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

HardenedBSD/src 5ae9aacsys/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

(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

HardenedBSD/src c709babsys/compat/freebsd32 freebsd32.h, sys/kern kern_proc.c

sys/compat/freebsd32: use freebsd32_uint64_t for struct kinfo_proc32

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

HardenedBSD/src c06360asys/compat/freebsd32 freebsd32.h freebsd32_misc.c

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

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

HardenedBSD/src de0a537sys/sys abi_types.h

sys/abi_types.h: time32_t is 64-bit on non-x86 architectures

(cherry picked from commit 4ccca2100887943b11187787004bc8efc2a149c6)
DeltaFile
+1-5sys/sys/abi_types.h
+1-51 files

HardenedBSD/src 2d63a28sys/dev/mfi mfi.c, sys/sys abi_types.h abi_compat.h

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

(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

HardenedBSD/src 838fcf3sys/compat/freebsd32 freebsd32_misc.c freebsd32.h

sys/compat/freebsd32: use freebsd32_uint64_t for struct ffclock_estimate32

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

HardenedBSD/src f4f4f27sys/compat/freebsd32 freebsd32_misc.c freebsd32.h

sys/compat/freebsd32: use freebsd32_uint64_t for struct kinfo_knote32

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

HardenedBSD/src 3d14c79sys/sys abi_compat.h

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

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

HardenedBSD/src 51db826sys/sys abi_compat.h

sys/abi_compat.h: normalize include guard name

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

HardenedBSD/src c3b1a6asys/compat/freebsd32 freebsd32.h, sys/dev/mfi mfi.c

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

(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

HardenedBSD/src f0fe4e1sys/compat/freebsd32 freebsd32_misc.c, sys/sys event.h

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

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

HardenedBSD/src d57dee7usr.sbin/lpr/chkprintcap chkprintcap.8, usr.sbin/lpr/lp lp.1

lpr: Add deprecation notice

These programs require elevated privileges to work and have not seen
regular maintenance in decades.  Unless someone steps up and overhauls
them, we will have to remove them before 16.0.  Better-maintained
alternatives are available in ports (print/cups, sysutils/LPRng).

MFC after:      3 days
DeltaFile
+3-0usr.sbin/lpr/chkprintcap/chkprintcap.8
+3-0usr.sbin/lpr/lp/lp.1
+3-0usr.sbin/lpr/lpc/lpc.8
+3-0usr.sbin/lpr/lpd/lpd.8
+3-0usr.sbin/lpr/pac/pac.8
+3-0usr.sbin/lpr/lpr/lpr.1
+18-04 files not shown
+30-010 files

HardenedBSD/src d4f6cb7etc/mtree BSD.usr.dist BSD.debug.dist, share/examples Makefile

build: Move all of lp under LPR option

* Tag related directories with package=lp

* Make the examples/printing directory conditional on MK_LPR

* Make the hosts.lpd(5) manual page conditional on MK_LPR

MFC after:      3 days
DeltaFile
+18-0tools/build/mk/OptionalObsoleteFiles.inc
+3-3etc/mtree/BSD.usr.dist
+2-2etc/mtree/BSD.debug.dist
+3-1share/examples/Makefile
+1-1share/man/man5/Makefile
+27-75 files

HardenedBSD/src 7965c93. Makefile.inc1

packages: Don't create empty packages

If a package plist only contains directories, but no files, do not
create the package.

This fixes an issue where setting "package=foo" in mtree causes the
"foo" package to always be created, even if nothing else installs in
that package, because the mtree entry is always added to the plist.

This most often happens:

* With architecture-specific directories, because mtree can't install
  a directory conditionally based on architecture, and

* With packages that are completely empty when a particular src.conf
  knob is disabled, because mtree will still create the directories.

Although it's theoretically possible that we might want to create a
package that only contains directories, there are no such packages

    [6 lines not shown]
DeltaFile
+18-11Makefile.inc1
+18-111 files

HardenedBSD/src 593a6fc. CONTRIBUTING.md, stand/efi/loader/arch/amd64 trap.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+6-4stand/efi/loader/arch/amd64/trap.c
+2-2sys/kern/sys_pipe.c
+3-1CONTRIBUTING.md
+2-2sys/kern/kern_sysctl.c
+13-94 files