Commit graph

25370 commits

Author SHA1 Message Date
Kajetan Staszkiewicz
d2761422eb pf: Use different address family for source and redirection address
The function pf_map_addr() and source tracking operate on a single
address family. This made sense before introducing address family
translation. When combining af-to with route-to or with sticky-address,
the next-hop or the NAT address are of different address family than
the source address. For example in NAT64 scenaro an IPv6 source address
is translated to an IPv4 address and routed over IPv4 gateway.

Make source nodes dual-AF, that is have a separate source AF and
redirection AF. Store route AF in struct pf_kstate, export it to pfctl.
When loading rules with redirection pools with pfctl store address
family of each address. When printing states don't deduce next-hop's
address family from af-to, use the one stored in state.

Reviewed by:	kp
Approved by:	kp
Sponsored by:	InnoGames GmbH
Differential Revision:	https://reviews.freebsd.org/D51659
2025-08-01 12:11:30 +02:00
Bojan Novković
aa05d1b2ef db/hash.c: Fix flag check in hash_seq
Fixes:	3a686b851f
2025-08-01 11:33:00 +02:00
Andrew Turner
1c52229528 lib: Move libopencsd to /usr/lib and make private
libopencsd is used to decode Arm CoreSight traces. It isn't needed
during the boot so can be moved to /usr/lib, and may change it's API
so can be marked as private as onlt the future hwt tool will use it.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D51380
2025-07-30 11:11:38 +01:00
Bojan Novković
3a686b851f dbm_nextkey: Always return an error if we've reached the end of the database
POSIX.1 states that `dbm_nextkey` must return an invalid key
(i.e., `key.dptr == NULL`) after the end of the database was reached.
The current implementation of `hash_seq` will incorrectly restart
the key sequence after the end of the database is reached.

Fix this by checking the "current bucket" index when R_NEXT is passed.

Sponsored by:   Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D51635
Reviewed by:	markj
2025-07-31 17:27:24 +02:00
Bojan Novković
14598537ac db/hash.c: Allow O_WRONLY in dbm_open
The dbm(3) manpage explicitly states that O_WRONLY is not allowed in
dbm_open, but a more recent comment in ` __hash_open` suggests otherwise.
Furthermore, POSIX.1 allows O_WRONLY in dbm_open and states
that the underlying file must be opened for both reading and writing.

Fix this by correcting the O_WRONLY check and moving it further into
the function to make sure that the original flags are stored in hashp.

Sponsored by:   Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D51514
2025-07-30 11:31:16 +02:00
Konstantin Belousov
b87013fe70 libthr: fix typo in comment
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
2025-07-30 02:33:04 +03:00
John Baldwin
9f0f30bc1f libnvmf: Add nvmf_nqn_valid_strict() function
This moves the checks previously under #ifdef STRICT in
nvmf_nqn_valid() into a separate helper for userland.  This
requires that the NQN starts with "nqn.YYYY-MM." followed by at
least one additional character.

Reviewed by:	asomers
Differential Revision:	https://reviews.freebsd.org/D48767
2025-07-28 14:33:03 -04:00
Bojan Novković
08c7dd2fbe libvmmapi: Add support for setting up and configuring guest NUMA domains
This patch reworks libvmmapi to provide support for emulating NUMA
domains in guests.

More specifically, it reworks 'vm_setup_memory' to setup system memory
segments for each guest NUMA domain.

An emulated NUMA domain is described by a 'struct vmdom' in vmmapi.h.
Aside from its size in bytes, each domain can be configured to use a
specific domainset(9) policy and domain mask.
'vm_setup_memory' now takes two additional arguments - an array of
struct vmdoms and the array's size. It then proceeds to set up a memory
segment for each specified domain using the existing memory mapping
scheme. If no domain info is passed, the memory setup falls back to
the original, non-NUMA behaviour.

Differential Revision:	https://reviews.freebsd.org/D44566
Reviewed by:	markj
2025-07-27 18:31:48 +02:00
Bojan Novković
a4197ea477 vmm: Add support for guest NUMA emulation
This change adds the necessary kernelspace bits required for
supporting NUMA domains in bhyve VMs.

The layout of system memory segments and how they're created has
been reworked. Each guest NUMA domain will now have its own memory
segment. Furthermore, this change allows users to tweak the domain's
backing vm_object domainset(9) policy.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44565
2025-07-27 18:31:48 +02:00
Bojan Novković
aae23170c8 libutil: Move cpuset(1) domain policy parsing code into libutil
cpuset(1) implements a domainset(9) policy parser that is used to
translate a <policy>:<domain_list> string into a domainset_t mask
and a valid domainset policy. This change moves the domainset parsing
code into a new cpuset.c function - 'domainset_parselist'.

The existing cpuset.c code was refactored into a generalized list
parsing function which is now used to parse both CPU sets and domain
sets. This is the same approach used in cpuset(1).

Reviewed by:	markj, ziaee (manpages)
Differential Revision:	https://reviews.freebsd.org/D46607
2025-07-27 18:31:48 +02:00
Kevin Bowling
122b2a3530 getsockopt.2: Add SO_SPLICE source socket read and socket close behavior
Add select(2), poll(2), or kqueue(2) source socket semantics and close
behavior.

Reported by:	Udip Pant <upant@netflix.com>
Reviewed by:	manpages (ziaee), markj
Obtained from:	OpenBSD
MFC after:	3 days
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D51547
2025-07-26 14:18:47 -07:00
Gleb Smirnoff
777123969d libbsnmp: make binding of client UNIX socket optional and configurable
Before this change snmp_open(3) would always bind(2) client socket to a
random "/tmp/snmpXXXXXXXXXXXXXX" name.  However, this binding is not
required for SOCK_STREAM transport.  Also, any attempt to specify a
different name would fail, as open_client_local() would blindly rewrite
the name to the default.

Make this binding optional.  If application had initialized
snmp_client.local_path, then try to bind to the specified pathname,
otherwise perform the random name binding only if we are in the
SOCK_DGRAM mode.

While here change snmp_client.local_path size to SUNPATHLEN, so that any
legitimate local socket name can be used.  This requires library version
bump.

Note that this code has been broken by 81e0e7b9e3 for three years, thus
it is known not to be widely used.

Reviewed by:		harti
Differential Revision:	https://reviews.freebsd.org/D51070
2025-07-25 13:10:17 -07:00
Ed Maste
6924e4211b memchr.3: Operates on objects, not strings
Suggested by:	avg
Reviewed by:	avg
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51523
2025-07-25 09:48:42 -04:00
Bojan Novković
e1e77dd23c dbm: Add tests for dbm_open
Sponsored by:   Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D51492
2025-07-25 11:23:00 +02:00
Bojan Novković
108e2d1137 db/hash.c: Do not return an error when opening a missing database with O_CREAT
dbm_open currently returns an error when opening a missing database
with O_CREAT but creates the request database file. This is caused
by a buggy check in __hash_open which attempts to detect a new
(or empty) database file, but fails to take the O_CREAT flag into
account.

Fix this by expanding the check to include O_CREAT.

Fixes:	edcdc752ec
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D51491
2025-07-25 11:22:44 +02:00
Siva Mahadevan
df88c711a2
cap_net/net_test: require 'allow_network_access'
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>

Sponsored by:	The FreeBSD Foundation
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1779
2025-07-25 04:25:47 +08:00
Dag-Erling Smørgrav
9792103753 libc: Remove unused pselect() implementation.
This hasn't been needed since FreeBSD 5.0.

Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D51434
2025-07-24 16:01:09 +02:00
Dag-Erling Smørgrav
cd0756cef2 libc: Disable debugging code in the resolver.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D37319
2025-07-24 16:01:00 +02:00
Lexi Winter
4cb1baa7d8 krb5: use 'kerberos' as package name
Rename krb5 and krb5-lib to kerberos and kerberos-lib to match the
existing Heimdal package names.  Since it's not possible to build or
install both at the same time, and Heimdal will be removed anyway,
there's no benefit to using a different package name for MIT Kerberos
and doing so will create friction for pkgbase users.

Move a few things (e.g., headers) from kerberos to kerberos-lib.

Move the KDC to a new package, kerberos-kdc, so the client utilities
can be installed without the KDC.  As most systems won't have the KDC
running, this saves a bit of disk space for jails/containers.

Remove a few instances of 'PACKAGE=' in target-specific Makefiles
where we can set that in the parent's Makefile.inc instead.

Revert 01c587521d ("OCI: Attempt to fix "runtime" container")
which is no longer required.

The KDC init script is still installed in the 'rc' package for
compatibility with the security/krb5 port; we should fix this
at some point, possibly after Heimdal is removed.

Reviewed by:	manu, kevans, des
Approved by:	des (mentor), kevans (mentor)
Differential Revision:	https://reviews.freebsd.org/D51420
2025-07-24 11:35:35 +01:00
Ken Wong
26069bca2d
mkdir.2: Correct HISTORY
PR:		286064
MFC after:	3 days
Reviewed by:	mckusick
2025-07-23 12:37:44 -04:00
Kristof Provost
799e21d544 libpfctl: fix reporting of flush address count
The PFNL_CMD_CLR_ADDRS command returns a PF_T_NBR_DELETED, not a PF_TS_NZEO.
Handle this correctly.

While here add a test case to verify we return the expected counts when adding
or flushing addresses to/from a table.

PR:		288353
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-07-23 13:56:11 +02:00
Konstantin Belousov
441995e161 memchr.3: mention the len argument in the functions description
Otherwise, its use is only specified in the error case, which is
somewhat obscure.  Also properly typeset NULL.

Reviewed by:	pauamma_gundo.com
Discussed with:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D51424
2025-07-22 18:11:40 +03:00
ShengYi Hung
3eda349340 libusb: implement libusb_fill_bulk_stream_transfer
Bulk streams are essentially bulk transfers with a stream ID. All
requirements from both libusb20 and the kernel are already handled; we
just need to set the stream ID.

Approved by:    markj (mentor), lwhsu(mentor)
Differential Revision: https://reviews.freebsd.org/D51226
2025-07-21 02:16:41 -04:00
ShengYi Hung
776e26f568 libusb: implement libusb_dev_mem_{alloc,free}
libusb provides an API to create DMA buffers for USB packets from the
kernel. However, this feature is only available on Linux. On unsupported
platforms, the allocation function returns NULL, and the free function
returns 'not supported'.

Approved by:    markj (mentor), lwhsu(mentor)
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51222
2025-07-21 02:16:07 -04:00
ShengYi Hung
9ca855653f libusb: implement libusb_hotplug_get_user_data
libusb provides a function to get the callback userdata for a given
callback since this structure is opaque to libusb user.

Approved by:    markj (mentor), lwhsu (mentor)
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D51223
2025-07-21 02:15:58 -04:00
ShengYi Hung
1c675fb365 libusb: implement libusb_free_pollfds
libusb provides an API that frees the storage for pollfds regardless of
their contents. It does not check whether the file descriptors inside
are already closed.

Approved by:    markj (mentor), lwhsu(mentor)
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51221
2025-07-21 02:15:15 -04:00
Rick Macklem
76e911dba5 statfs.2: Fix named_attribute man section
This is a content change.

Fixes:	964d0fd624 ("statfs.2: Update man page for the MNT_NAMEDATTR flag")
2025-07-20 08:23:02 -07:00
Rick Macklem
8dfc688a93 fhopen.2: Fix named_attribute man section
This is a content change.

Fixes:	dedbb972d2 ("fhopen.2: Update man page for O_NAMEDATTR flag")
2025-07-20 08:17:01 -07:00
Dag-Erling Smørgrav
57ee56578c libc: Test time zone change detection.
While here, clean the detection code up a bit.

Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D51343
2025-07-18 19:49:57 +02:00
Simon J. Gerraty
e67aef4190 Add DEBUG_PRINTF to stand.h
stand/ is mostly debugged with printfs, in an ad hoc and sometimes
fragile manner. For example BOOTP_DEBUG in bootp.c cannot be defined
unless NETIF_DEBUG is defined in dev_net.c or build fails for lack of the
symbol debug.

The DEBUG_PRINTF implementation in stand.h addresses that and allows
for more control over debug output.  It is compatible with the
usage in libsecureboot.

Simply define _DEBUG_LEVEL to the desired level of debug
or in the case of libsecureboot _DEBUG_LEVEL_VAR to the variable that
will hold that value - default is _debug which is static so each
translation unit can be controlled independently.

The 1st arg to DEBUG_PRINTF is a level which must be greater than or
equal to _DEBUG_LEVEL_VAR if the printf is to be called.
See libsecureboot for more examples.

Reviewed by:	imp
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D51269
2025-07-17 16:36:17 -07:00
Ricardo Branco
8768b60de1 lib: Fix calls that naively set F_SETFD.
With the recent inclusion of the FD_CLOFORK and FD_RESOLVE_BENEATH flags,
we must avoid clearing them when setting only FD_CLOEXEC.

Signed-off-by: Ricardo Branco <rbranco@suse.de>

Reviewed by:	kib, markj
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1766
2025-07-17 17:00:32 +00:00
Mark Johnston
1cc020eba6 ncurses: Provide reproducible paths
Avoid hard-coding the value of SRCTOP in generated files.  Use /usr/src
as the canonical srcdir.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D50955
2025-07-14 14:45:57 +00:00
Timothy Pearson
8efa35fea3 libc/powerpc64: Fix swapcontext(3)
On PowerPC platforms a valid link to the Table of Contents (TOC) is
required for PLT lookups to function.  This TOC pointer is stored in
a dedicated register, and is used along with the stack pointer by both
C prologue and PLT lookup code.

When calling swapcontext() with uc_link != NULL, a PLT lookup to
setcontext(3) is attempted from within the _ctx_done context.  The
exiting process has usually trashed both r1 and r2 at this point,
leading to a crash within the PLT lookup before setcontext(2) is
reached to restore the linked context.

Save and restore r2 as in a regular function.  This ensures the
subsequent PLT lookup to setcontext(3) succeeds.

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>

MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1759
2025-07-13 14:00:56 -04:00
Dag-Erling Smørgrav
920b218391 readdir: Fix error check.
Now that dd_size is unsigned, we need to check if the return value from
getdirentries() was negative before assigning it to dd_size.

While here, simplify the scandir_error test case slightly, and verify
that calling readdir() again after EOF still returns NULL.

Fixes:		42e613018d
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D51266
2025-07-11 22:43:32 +02:00
ShengYi Hung
99d5cf25d7 libusb: implement libusb_setlocale to support different locale of error message
Upstream libusb identifies languages using only the first two
characters of the language code.
We adopt the same approach to maintain API compatibility.

Currently, only English and Mandarin are supported,
as other languages are not yet implemented.

Reviewed by:    kevans
Approved by:    markj (mentor)
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50820
2025-07-11 00:15:30 -04:00
Jessica Clarke
2c444fdb0c libc,libthr: Remove __pthread_distribute_static_tls
This private API is no longer used by rtld-elf so can be removed.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D50921
2025-07-10 20:00:28 +01:00
Dag-Erling Smørgrav
42e613018d opendir, readdir, telldir: Use the correct types.
Use either size_t or off_t (as appropriate) instead of long.

Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D51210
2025-07-09 22:34:22 +02:00
Dag-Erling Smørgrav
dd81cc2bc5 getdirentries: Return ENOTDIR if not a directory.
This is both more logical and more useful than EINVAL.

While here, also check for VBAD and return EBADF in that case.  This can
happen if the underlying filesystem got forcibly unmounted after the
directory was opened.  Previously, this would also have returned EINVAL,
which wasn't right but wasn't wrong either; however, ENOTDIR would not
be appropriate.

MFC after:	never
Sponsored by:	Klara, Inc.
Reviewed by:	kevans, kib
Differential Revision:	https://reviews.freebsd.org/D51209
2025-07-09 22:34:18 +02:00
Dag-Erling Smørgrav
ccf937320a libc: Finish removing fscandir{,_b}().
These only existed for a few days before being renamed, so there's no
reason to continue to carry compatibility shims for them.

Fixes:		deeebfdeca
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D50981
2025-07-09 21:17:06 +02:00
John Baldwin
5c59cec2d5 nvmf: Auto-reconnect periodically after a disconnect
Use a timer in the nvmf(4) driver to periodically trigger a devctl
"RECONNECT" notification.  A trigger in the /etc/devd/nvmf.conf file
invokes "nvmecontrol reconnect nvmeX" upon each notification.  This
differs from iSCSI which uses a dedicated daemon (iscsid(8)) to wait
inside a custom ioctl for an iSCSI initiator event to occur, but I
think this design might be simpler.

Similar to nvme-cli, the interval between reconnection attempts is
specified in seconds by the --reconnect-delay argument to the connect
and reconnect commands.  Note that nvme-cli uses -c for short letter
of this command, but that was already taken so nvmecontrol uses -r.
The default is 10 seconds to match Linux.

In addition, a second timeout can be used to force a full detach of a
disconnected the nvmeX device after the controller loss timeout
expires.  The timeout for this is specified in seconds by the
--ctrl-loss-tmo/-l options (identical to nvme-cli).  The default is
600 seconds.

Either of these timers can be disabled by setting the timer to 0.  In
that case, the associated action (devctl notifications or full detach)
will not occur after a disconnect.

Note that this adds a dedicated taskqueue for nvmf tasks instead of
using taskqueue_thread as the controller loss task could deadlock
waiting for the completion of other tasks queued to taskqueue_thread.
(Specifically, tearing down the CAM SIM can trigger
destroy_dev_sched_cb() and waits for the callback to run, but the
callback is scheduled to run in a task on taskqueue_thread.  Possibly,
destroy_dev_sched should be using a dedicated taskqueue.)

Reviewed by:	imp (earlier version)
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D50222
2025-07-09 10:19:45 -04:00
Dag-Erling Smørgrav
2187622436 fts: Fix option list indentation.
Fixes:		da2025a0e8
Sponsored by:	Klara, Inc.
Reviewed by:	bcr
Differential Revision:	https://reviews.freebsd.org/D51208
2025-07-09 15:20:08 +02:00
ShengYi Hung
bca5df4565 libusb: replace LOG_LEVEL with DEBUG_LEVEL
The libusb set debug level by libusb_log_level instead of
libusb_debug_level. We switch to libusb_log_level for better
compatibility with the upstream libusb.

Additionally, The upstream libusb has an option allows user to override the log
function with a user-defined callback.
To support the callback function with a single string without va_arg, we
refactor the log facility as a function instead of a macro and parse all
va_args inside.

The legacy debug_level enum has been removed to enforce maintainer migrate from their
deprecated source code.

Reviewed by:    kevans
Approved by:    markj (mentor), lwhsu (mentor)
MFC after:      2 weeks
Sponsored by:   FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50680
2025-07-08 22:19:47 -04:00
Konstantin Belousov
8cc93cd668 fcntl.2: fix description of F_GETFD return value
Now we have three flags provided.

Sponsored by:	The FreeBSD Foundation
2025-07-09 00:48:58 +03:00
Kenny Levinsen
da9e73e5d4 wordexp(3): Handle ECHILD from waitpid
If the calling process has used SIG_IGN as handler or set the
SA_NOCLDWAIT flag for SIGCHLD, processes will be automatically reaped on
exit and calls to waitpid(3) will therefore fail with ECHILD.

We waitpid primarily to reap our child so that the caller does not have
to worry about it. ECHILD indicates that there is no child to reap, so
we can just treat that as a success and move on.

Signed-off-by: Kenny Levinsen <kl@kl.wtf>
Tested by: Jan Beich
Pull Request: https://github.com/freebsd/freebsd-src/pull/1675
2025-07-08 23:27:33 +02:00
Dag-Erling Smørgrav
c08e019c6c opendir, fdopendir: Add tests, clean up.
* Add test cases for opendir() and fdopendir().
* Drop O_NONBLOCK from opendir(); it was added a long time ago to avoid
  blocking if given a closed named pipe, but now we use O_DIRECTORY,
  which ensures that we get ENOTDIR in that case.
* While here, remove unused #includes left over from the split.

Sponsored by:	Klara, Inc.
Reviewed by:	kevans, markj
Differential Revision:	https://reviews.freebsd.org/D51126
2025-07-08 21:41:21 +02:00
Konstantin Belousov
72c848089f libc: only append exterr herald and text if exterr was recorded
__uexterr_format: return empty string on no error, instead of "No error"
err(): check for the first symbol of the exterr to decide if there is
anything to print.

Requested and reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D51204
2025-07-08 18:55:54 +03:00
Ricardo Branco
9911028f53 libc: mkostemp(3) should support O_CLOFORK
Reviewed by:	kib, markj
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1758
2025-07-08 15:43:39 +00:00
ShengYi Hung
f84a0da4e0 libusb: rename bNumDeviceCapabilities to bNumDeviceCaps for compatibility with libusb
THe member bNumDeviceCapabilities is referred to as bNumDeviceCaps in
the upstream libusb project.

To improve compatibility, we are renaming the member accordingly.

For backward compatibility, a mocro will be defined to map
bNumDeviceCapabilities to bNumDeviceCaps.

See: 02ebafc85d

Reviewed by:    kevans
Approved by:    markj (mentor)
MFC after:      2 weeks
Sponsored by:   FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50740
2025-07-08 11:11:41 -04:00
Siva Mahadevan
1e570722dc cap_dns/tests/dns_test: mark tests as needing network access
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>

Reviewed by:	markj
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1738
2025-07-08 12:55:30 +00:00
Konstantin Belousov
01a679715f err(3): print extended error if available
Reviewed by:	asomers, brooks
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D51141
2025-07-07 21:44:22 +03:00