Update download page post-stable/15 branch
The main branch is now 16.0-CURRENT; and we now have a 15.0-STABLE
branch.
We don't have 15.0-STABLE downloads quite yet but they should arrive
in the next week; I'd rather have some temporary 404s than forget to
add the 15.0-STABLE section later.
Sponsored by: https://www.patreon.com/cperciva
achiem: quiet gcc -Warray-bounds
gcc complains about accessing the byte as ads->common.bytes[3] as that
field is declared as being one byte.
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D53152
include/stdckdint.h: make the header compatible with C++
by removing the cast to _Bool. The _Bool type is not defined for C++,
and the specification from the gcc info doc states that the return
type of the __builtin_{add,sub,mul}_overflow() is bool already.
This is done instead of including stdbool.h to avoid namespace
pollution, since defining bool from stdckdint.h simingly is not
sanctioned by ISO/IEC 9899:2024.
PR: 290299
Reviewed by: des
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D53149
pt: Switch to swi(9)
The pt hwt(4) backend uses NMIs to receive updates about the latest t
racing buffer offsets from the tracing hardware. However, it uses
taskqueue(9) to schedule the bottom-half handler. This can lead to
a panic since the taskqueue(9) code isn't aware it's being called
from an NMI context and uses the regular scheduling interfaces.
Fix this by scheduling the bottom-half handler using swi(9) and the
SWI_FROMNMI flag.
Fixes: 310162ea218a
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D52491
graphics/py-face_recognition_models: add missing runtime dependency
The package imports pkg_resources at runtime, which is provided by
devel/py-setuptools. Add setuptools as a RUN_DEPENDS to avoid
ModuleNotFoundError when using face_recognition_models without setuptools
installed.
PR: 288531
Reported by: kaltheat at gmail.com
(cherry picked from commit f18a04ffb9c1d698ce9264ecf9bcf01fa6724fec)
graphics/py-face_recognition_models: add missing runtime dependency
The package imports pkg_resources at runtime, which is provided by
devel/py-setuptools. Add setuptools as a RUN_DEPENDS to avoid
ModuleNotFoundError when using face_recognition_models without setuptools
installed.
PR: 288531
Reported by: kaltheat at gmail.com
Makefile: Don't allow install{world,kernel} with pkgbase
Using these targets on a pkgbase system will cause the installed system
to become out of sync with the package database, which is almost certain
to cause issues the next time pkg(8) is used.
To prevent users doing this accidentally, disallow install* if we detect
that FreeBSD-runtime is installed in the target. The check can be
overridden with DESTDIR=/ for users who are sure they want to do this.
MFC after: 3 days
Reviewed by: emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52879
VOP_OPENCLOSE.9: note that td may be NULL for VOP_CLOSE
MFC after: 3 days
Reviewed by: asomers, olce
Differential Revision: https://reviews.freebsd.org/D53137
linker: Make it easier to find the VNET section layout
When trying to find the address of a VNET variable from a debugger, it
helps to have the original address of the VNET section. In particular,
given the address of a vnet_entry_foo symbol, one wants to easily find
the linker file that the symbol belongs to.
In link_elf_obj.c, the section address for VNET and DPCPU sections is
overwritten in link_elf_link_preload() and link_elf_load_file(). Add an
"origaddr" field to store the original absolute address of the section
base.
In link_elf.c the elf_file_t already has the fields we want, but they
were not getting filled out for the kernel itself. Fix that too, since
that simplifies things for debuggers and improves consistency.
Approved by: re (cperciva)
Reviewed by: kib
MFC after: 2 weeks
[4 lines not shown]