Skip aliases that are not valid hostnames in gethostbyname(3).
Consider the following CNAME chain:
chain7.narrans.de. 60 IN CNAME chain\007.tlakh.xyz.
chain\007.tlakh.xyz. 60 IN CNAME chain.sha256.net.
chain.sha256.net. 60 IN CNAME sha256.net.
sha256.net. 60 IN A 213.239.192.17
gethostbyname(3) would fail the query when it encounters
chain\007.tlakh.xyz. and tries to add it to h_aliases member of struct
hostent because it's not a valid hostname. This in turn would fail the
whole query.
With this, resolution succeeds and we get an alias list of
"chain7.narrans.de chain.sha256.net".
hostent_add_alias() can no longer fail, so make it void.
[3 lines not shown]
meta.autodep.mk remove extra }
remove extra } from GENDIRDEPS_ENV
more debug output for gendirdeps.mk
Reviewed by: stevek
Differential Revision: https://reviews.freebsd.org/D57727
[VPlan] Add VPReplicateRecipe::getNumOperandsWithoutMask (NFC) (#205004)
Add a getNumOperandsWithoutMask helper to VPReplicateRecipe, mirroring
the existing VPInstruction::getNumOperandsWithoutMask, and use it to
replace some hand-rolled code.
editors/vscode: Add one missing patch to fix build error with clang 21
This should have been included in 3666da5f42ad.
PR: 296164
Reported by: Robert Cina <transitive at gmail.com>
Tested by: Robert Cina <transitive at gmail.com>
Fixes: 3666da5f42ad (editors/vscode: Add patches to fix build error of keytar node module with clang 21)
agp(4): port agp_nvidia driver from FreeBSD.
It supports the AGP controller in the NVIDIA nForce and nForce2 chipsets.
Tested on Biostar M7NCD Ultra with Radeon 9550, GeForce FX 5700 LE and
ATI Rage 128 Pro.
All cards attach and work over AGP, however DRM drivers manage the GART
internally and do not use the kernel AGP GART path directly.
Radeon 9550 was working more stable with AGP disabled due to known DRM
instabilities.
The GART bind/unbind/flush paths were briefly tested via a custom userspace
test program using /dev/agpgart ioctls.
Reviewed by riastradh@ and uwe@.
Also thanks to abs@ for donating some graphics cards used in testing.
For more information see the discussion on tech-kern:
https://mail-index.netbsd.org/tech-kern/2026/06/07/msg031073.html
www/code-server: Add new port
code-server enables running Visual Studio Code on a remote system and
accessing it through a web browser. It provides a familiar development
environment without requiring a local VS Code installation.
WWW: https://github.com/coder/code-server
Sponsored by: Netzkommune GmbH
Source upgrade doc: etcupdate no longer needs -B
Note: We confusingly have the instructions to build the system in the
build manual, the UPDATING file, and the Makefile. These will get out
of sync and will be harmful when they do.
Fixes: ddf6fad0295a ("etcupdate: Make nobuild the default")
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D57644
[libc][math] Extend iscanonical macro to _Float16 and float128
iscanonical is a C23 type-generic macro, so the f16/f128 variants are
surfaced through it rather than as functions in the generated math.h.
float128 is only listed when distinct from long double (LDBL_MANT_DIG !=
113) to avoid two _Generic associations with compatible types.
[flang][OpenMP] Move unique clauses to allowedOnceClauses in OMP.td
Many unique clauses were listed in "allowedClauses", which turned off
the single-occurrence check in flang. Move these clauses to the right
category to enable this check.
One exception to this is the IF clause: the IF clause is unique for
all non-compound directives, but is repeatable on compound ones with
the restriction that at most one IF clause can apply to any of the
constituents. This restriction is currently not enforced correctly
in flang, and so the IF clause was left unchanged.
Although this change is applied to a file shared between flang and
clang, clang does not use these categories for its checks, and hence
is not affected by this patch.