Prevent VSTATUS (SIGINFO) from monopolizing the global kernel lock.
The VSTATUS case in ttyinput() calls ttyinfo() to format the load
and terminal status, potentially traversing every process and thread
in the foreground process group. We now treat VSTATUS as an
"expensive" terminal control operation and return 1 from ttyinput().
For a pty, this causes ptcwrite() to sleep for at least 1 tick after
the status info is written to the pty.
From Acts1631
Update to LWJGL 3.4.3.
Works with Minecraft 26.4 pre-releases again due to
putting in a fix to work around the fact that lwjgl3
assumes a shaderc so that exposes SPIRV Tools APIs.
ok kurt phessler
Better frame buffer driver for HP Visualize FX2/4/6 boards, allowing proper
(currently unaccelerated) X11 support, as well as color, underline and larger
fonts in console.
The driver can also attach to FX5 and FX10, but doesn't by default due to
text console feature limitations, which will hopefully be worked around soon
(but attachment can be forced using flags in UKC).
Ported from NetBSD.
httpd: use the response writer for FastCGI
The writer now also does chunked encoding. FastCGI responses with no
body or with a Content-Length keep their framing.
Three FastCGI cases changes: A 1xx, 204 or 304 response with a body is
no longer sent chunked, the body is dropped. Output before the end of
the headers or after the end of the response is dropped instead of
being sent to the client.
feedback and ok rsadowski@ and kirill@ as part of a bigger diff
Bump -current mbedtls package so that it stays ahead of -stable
Their signature is different because of the libmbedtls.so minor bump
in -stable vs major bump in -current.
SECURITY update to mbedtls-3.6.8
See https://github.com/Mbed-TLS/mbedtls/releases/#release-mbedtls-3.6.8
for a list of CVEs/issues.
Backporting this to -stable with a minor bump only, the only removed
symbol - mbedtls_ssl_tls13_key_schedule_stage_early - was internal and
unused by ports/the ecosystem. Shortcut double-checked by tb@
Check account expiration in auth_usercheck() and auth_userokay().
The challenge-response API (auth_userchallenge() and auth_userresponse())
already check for an expired account. This makes the basic auth
API (auth_usercheck() and auth_userokay()) do the same.
Programs calling the auth_approval() function already include the
check for an expired account.
From Acts1631
ext2fs: fix permission check on FIFOs
A typo/pasto resulted in vop_access being assigned to ufsfifo_close
instead of ext2fs_access for FIFOs. OK martijn@ armani@
From Ben Roeder
Remove openssl/4.0
We don't need three OpenSSLs in ports. 3.5 is the LTS branch which
we'll use until 4.2 LTS is out and has been proven not to be too
terrible. 4.1 is the branch we use in preparation of that.
Update to OpenSSL 4.1.1, merge openssl/4.0 into openssl/4.1
The update contains a bunch of relatively minor security fixes, mostly in
the big ticket items ECH, DTLS 1.3 and QUIC, and of course the usual share
of ASN.1 and CMS nonsense.
rpki-client: remove min/max arrays from struct roa_ip
struct roa_ip, representing a ROAIPaddress (afi, prefix, maxLength) of
a ROA, contains a copy of ->addr.addr in min and the corresponding upper
bound of the prefix in max. Both members were only accessed once when
checking against the EE cert's resources via ip_addr_check_covered().
We may as well compute the upper bound on the fly.
So: inline valid_roa() in roa_validate() and inline the still needed half
of ip_roa_compose_ranges() and drop these nearly useless members.
This reduces the struct from 56 bytes to 24 bytes with only one byte of
padding remaining. While struct roa isn't super long lived in either of
the two processes where it is used, this still reduces the memory foot
print a bit (the largest roa, AS9808.roa, has 20653 prefixes, so this saves
about 650 KiB for that one alone).
ok claudio