lang/clx: Update to 0.5.0
Install clx's headers under include/clx. Its lua.h, lauxlib.h and
lualib.h rename the Lua C API to clx_lua_*, so they must not shadow a
real Lua's headers in ${PREFIX}/include. The compiler driver picks up
the new include directory from CMAKE_INSTALL_INCLUDEDIR.
www/freenginx: Fix excessive CPU usage with TLS 1.3 early data
The fork carries the same write filter code as nginx, so a client can keep
a worker process spinning on a send that never makes progress when
"ssl_early_data" is enabled. Upstream has not released a fix.
Security: cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
www/nginx-devel: Security update to 1.31.10
A client can keep a worker process spinning on a send that never makes
progress when "ssl_early_data" is enabled.
Changelog: https://nginx.org/en/CHANGES
Security: cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
www/nginx: Security update to 1.30.8
A client can keep a worker process spinning on a send that never makes
progress when "ssl_early_data" is enabled.
Changelog: https://nginx.org/en/CHANGES-1.30
Security: cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
libvmmapi: Size the guard reservation from existing memory
When the VM's memory already exists, as it does after bhyveload(8),
vm_setup_memory_domains() maps the existing segment but sizes its
address space reservation from the requested size. If the existing
segment is larger, the mapping runs past the reservation and replaces
the guard region after it, and anything else mapped there.
Look for existing memory before sizing the reservation.
Reviewed by: bnovkov, markj
Approved by: markj
Fixes: 08c7dd2fbe4f (libvmmapi: Add support for setting up and configuring guest NUMA domains)
MFC after: 1 week
Sponsored by: Alchemilla Ventures Private Limited
Differential Revision: https://reviews.freebsd.org/D61917
amd64/vmm: Validate guest MSRs restored from a snapshot
vmx_vcpu_snapshot() copies the saved guest MSR array from userspace
without checking it. vmx_msr_guest_enter() and
vmx_msr_guest_enter_tsc_aux() write these values to the host's MSRs
before guest entry, so a non-canonical LSTAR, CSTAR or KGSBASE, or a
TSC_AUX with reserved bits set, raises #GP in the host and panics it.
Check the values on restore and fail with EINVAL, leaving the vCPU's
MSRs unchanged. STAR and SF_MASK need no check, since the CPU accepts
any value for them. PAT is not written to a host MSR, but apply the
check used for guest writes to it as well.
Reported by: llm-postcr
Reviewed by: markj
Approved by: markj
Fixes: 483d953a86a2 (Initial support for bhyve save and restore.)
Fixes: f5f5f1e7d6de (Support guest rdtscp and rdpid instructions on Intel VT-x)
MFC after: 1 week
[2 lines not shown]
devel/gerrit: update to 3.15.0, fix rc.d and setup
Release notes: https://www.gerritcodereview.com/3.15.html
Gerrit 3.15 requires Java 25 and a schema migration plus changes
index rebuild; see UPDATING and pkg-message for the upgrade steps.
rc.d script:
- Keep the pidfile in /var/run/gerrit, created on start and owned
by the service user, instead of the site's logs directory.
- Send daemon output to gerrit_log_file, which was created but
never used.
Setup:
- Install /var/db/gerrit owned by gerrit:gerrit so the site can be
initialized as the unprivileged user.
- Tell users to run init as the gerrit user with --no-auto-start,
so init does not leave a Gerrit instance running outside of rc(8).