Commit graph

288339 commits

Author SHA1 Message Date
Ed Maste
7ced571062 ccdconfig: reference gpart rather than fdisk and disklabel
fdisk and disklabel are legacy tools for legacy disk partitioning
schemes.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43564

(cherry picked from commit 8669e516f0e6f48a5017db9e5f4768275f1deaa8)
2024-04-09 09:35:28 -04:00
Eugene Grosbein
9407889ec2 MFC: if_bridge: use IF_MINMTU
Replace incorrect constant 576 with IF_MINMTU to check for minumum MTU.
This unbreaks bridging tap interfaces with small mtu.

(cherry picked from commit 319a5d086b50f38618b62c78e83b12931f00b508)
2024-04-09 17:07:45 +07:00
Dag-Erling Smørgrav
e069c451f8 tmpfs: Improve file time tests.
* The empty test case no longer fails because 89f1dcb3eb46 causes empty
  files to bypass the bug.
* The bug still exists, so add a test case which exercises it.
* While here, tighten up some of the checks.

A similar patch has been submitted upstream.

PR:		274615
X-MFC-With:	89f1dcb3eb46
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44609

(cherry picked from commit 8311bc5f17dec348749f763b82dfe2737bc53cd7)
2024-04-09 08:36:04 +00:00
Zhenlei Huang
7da45efb09 kern linker: Do not touch userrefs of the kernel file
A nonzero `userrefs` of a linker file indicates that the file, either
loaded from kldload(2) or preloaded, can be unloaded via kldunload(2).
As for the kernel file, it can be unloaded by the loader but should not
be after initialization.

This change fixes regression from d9ce8a41ea which incidentally
increases `userrefs` of the kernel file.

Reviewed by:	dfr, dab, jhb
Fixes:	d9ce8a41ea kern_linker: Handle module-loading failures in preloaded .ko files
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D42530

(cherry picked from commit 39450eba8e6cd5b83def724481127b58ecc1fcc1)
2024-04-09 12:10:25 +08:00
Zhenlei Huang
f1994d1eb2 kern linker: Do not unload a module if it has dependants
Despite the name, linker_file_unload() will drop a reference and return
success when the module file has dependants, i.e. it has more than one
reference. When user request to unload such modules then the kernel
should reject unambiguously and immediately.

PR:		274986
Reviewed by:	dfr, dab, jhb
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D42527

(cherry picked from commit f43ff3e15c8b4b161ce09c8ab008abc4222db26b)
2024-04-09 12:10:07 +08:00
John Baldwin
7748f70561 cxgbe tom: Handle a race condition when enabling TLS offload
Use a separate state for when a request to set RX_QUIESCE has been
sent but the resulting TCB reply has not been received.  In
particular, this correctly handles the case where data has been
received and queued in the receive queue before the quiesce request
takes effect.

Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D44435

(cherry picked from commit 9978c6289d621ac9edc95acb4e0f527a62a49b03)
2024-04-08 11:07:13 -07:00
John Baldwin
d4ad8432aa ddp: Clear active DDP buffer members to NULL to pacify an assertion
Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D43999

(cherry picked from commit 25429e274371eba9a90ea27cbf73e88329916e0d)
2024-04-08 11:06:53 -07:00
John Baldwin
30eab96657 kldxref: Properly handle reading strings near the end of an ELF file
If a string is at or near the end of an input file and the amount of
remaining data in the file is smaller than the maximum string size,
the pread(2) system call would return a short read which is treated as
an error.  Instead, add a new helper function for reading a string
which permits short reads so long as the data read from the file
contains a terminated string.

Reported by:	jrtc27
Reviewed by:	jrtc27
Sponsored by:	University of Cambridge, Google, Inc.
Differential Revision:	https://reviews.freebsd.org/D44419

(cherry picked from commit 785600d0fb13d6f0b4595bf4dbbc048113dda71d)
2024-04-08 11:06:13 -07:00
John Baldwin
f091b71838 arm busdma: Fix parameter types to exclusion_bounce_check
These are bus addresses not CPU virtual addresses.

Reviewed by:	andrew
Sponsored by:	University of Cambridge, Google, Inc.
Differential Revision:	https://reviews.freebsd.org/D44343

(cherry picked from commit 66658b0f2775824b2a80fb56ca15e6ceae2f8240)
2024-04-08 11:05:31 -07:00
John Baldwin
85cdbae749 .github: Switch to v4 of actions/checkout
GitHub is emitting a warning that v3 is deprecated due to using
Node.js 16.

(cherry picked from commit e6dccf00500d7e9e2311b372e28897df7c0421dd)
2024-04-08 11:03:05 -07:00
John Baldwin
05a831511b nvmecontrol: Update the test for a valid firmare revision slot
Reported by:	Coverity Scan
CID:		1539214
Fixes:		7485926e09a0 nvme: Firmware revisions in the firmware slot info logpage are ASCII strings

(cherry picked from commit 1b38f851d809950cfe112c705029f40edd0579b3)
2024-04-08 11:01:30 -07:00
John Baldwin
1608990524 nvme: Firmware revisions in the firmware slot info logpage are ASCII strings
In particular, don't try to byteswap the values as 64-bit integers and
always print a non-empty version as a string.

Reviewed by:	chuck, imp
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D44121

(cherry picked from commit 7485926e09a08fbfe83a9bc908e7d43aaca4c172)
2024-04-08 11:01:02 -07:00
Alfredo Mazzinghi
e2d88351fd arm64: Fix typo in pagetable_l0_ttbr0_bootstrap symbol name
Obtained from:	CheriBSD

(cherry picked from commit c6a6ec85a70314b8270e25a06e77e2e7c95c7055)
2024-04-08 11:00:06 -07:00
John Baldwin
794517a0f3 netlink: Don't use a zero-length array
Define SNL_DECLARE_FIELD_PARSER* macros to create a parser that has
no output attributes only input fields and use this to define the
snl_donemsg_parser.

This removes the need for the zero-length nla_p_donemsg[] variable.
Zero length arrays are not valid in ISO C.

Reviewed by:	jrtc27, melifaro
Differential Revision:	https://reviews.freebsd.org/D43918

(cherry picked from commit 69945c49fea7ac2352c1fd7d22f70f2e3861ba81)
2024-04-08 10:58:16 -07:00
Karim Fodil-Lemelin
d2c8cb41d1 ipfw: Skip to the start of the loop when following a keep-state rule
When a packet matches an existing dynamic rule for a keep-state rule,
the matching engine advances the "instruction pointer" to the action
portion of the rule skipping over the match conditions.  However, the
code was merely breaking out of the switch statement rather than doing
a continue, so the remainder of the loop body after the switch was
still executed.  If the first action opcode contains an F_NOT but not
an F_OR (such as an "untag" action), then match is toggled to 0, and
the code exits the inner loop via a break which aborts processing of
the actions.

To fix, just use a continue instead of a break.

PR:		276732
Reviewed by:	jhb, ae
MFC after:	2 weeks

(cherry picked from commit 62b1faa3b7495de22a3225e42dabe6ce8c371e86)
2024-04-08 10:57:53 -07:00
John Baldwin
0090752521 vmd: Use bus_read/write_* instead of bus_space_read/write_*
Using an explicit bus space tag and handle is deprecated.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D43885

(cherry picked from commit 76c678688634e9e2ea5f6369fb979aabddbfe426)
2024-04-08 10:57:24 -07:00
John Baldwin
50a4c3bb7a riscv: Add missing includes for DDB
The #ifdef DDB code in parse_metadata was dead code without opt_ddb.h.
While here, update the call to db_fetch_ksymtab for changes in commit
02bc014a200a.

Reviewed by:	mhorne
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D43919

(cherry picked from commit 962b0bcbd924d308016237abc991280f15777e7f)
2024-04-08 10:56:24 -07:00
John Baldwin
cfb8cc9c5f acpi: Don't assume a resource is reserved in acpi_delete_resource
This fixes a panic if a driver uses bus_set_resource to add a resource
that fails to reserve and then deletes the resource via
bus_delete_resource.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43891

(cherry picked from commit e05436d577de98944b97b9cf510b29c4d2091b3f)
2024-04-08 10:55:58 -07:00
John Baldwin
13926bcb97 pci_host_generic_fdt: Remove duplicate DEVMETHOD entries
These are already inherited from generic_pcie_core_driver.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43888

(cherry picked from commit 93923685d35d95e76bd2c125c007e13354b9428c)
2024-04-08 10:55:37 -07:00
John Baldwin
9c69985001 pci_host_generic: Include the bridge's device name in rman descriptions
The rman description strings now match those used in the PCI-PCI
bridge driver.  Using more specific names removes ambiguity in devinfo -u
output on systems with multiple host to PCI bridges.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43890

(cherry picked from commit 51f8ac224f3b87555ea17c7e7c4015a2a2b8b191)
2024-04-08 10:54:50 -07:00
John Baldwin
75a63c968a acpi: Allow child drivers to use bus_set_resource for more resources
acpi_set_resource excludes certain types of resources for certain
devices.  The intention of this is to avoid adding resource entries
for bogus resources enumerated via _CRS.  However, this also prevents
drivers from adding those resources explicitly if needed.  To fix
this, move the logic to exclude these resources into an ignore hook
used when parsing _CRS to create the initial set of resources for each
device.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43892

(cherry picked from commit 055c1fe230ce5a2997c03a3cc2431baea1594566)
2024-04-08 10:54:35 -07:00
John Baldwin
7d763eadd3 cam: Check if cam_simq_alloc fails for the xpt bus during module init
This is very unlikely to fail (and if it does, CAM isn't going to work
regardless), but fail with an error rather than a gauranteed panic via
NULL pointer dereference.

PR:		276770
Reported by:	Qiushi <w290680224@gmail.com>

(cherry picked from commit eb86c6c5b462c996e44c45ba496937b75ef22da3)
2024-04-08 10:53:43 -07:00
John Baldwin
00dbe607b3 acpi: Use bus_generic_alloc_resource instead of duplicating it
No functional change, but it is cleaner to use the existing generic
wrappers rather than KOBJ methods directly.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43686

(cherry picked from commit 1fb5445206a5ef2351c32f8bc6beb67605593caa)
2024-04-08 10:53:25 -07:00
John Baldwin
93d2cc3088 pcib: Make various bus methods private to pci_pci.c
These functions are not used by pcib subclasses so do not need to
be exposed in pcib_private.h.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43688

(cherry picked from commit 03719c651430d46cd8aa95aead02a7f0c43dcb04)
2024-04-08 10:52:43 -07:00
John Baldwin
cbc47b31cc acpi: Use kobj typedefs for new-bus method prototypes
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43685

(cherry picked from commit 0e72b8d36562cb7ecf610dbd7357af830820e4b4)
2024-04-08 10:51:56 -07:00
John Baldwin
e24c1997bf arm: pmap_extract() returns a PA not a boolean value
Assume a PA of 0 indicates an invalid virtual address.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D43694

(cherry picked from commit afb1a3e30c05a0f69facff7df59547ec82e3531a)
2024-04-08 10:50:26 -07:00
John Baldwin
bf5387a936 timerfd: Move kern_timerfd_* prototypes to <sys/syscallsubr.h>
(cherry picked from commit 18cb422356f259f83ad3189cc4494e56265aef94)
2024-04-08 10:49:59 -07:00
John Baldwin
b680e6da13 cxgbe tom: Enable ULP_MODE_TCPDDP on demand
Most ULP modes in cxgbe's TOE are enabled on the fly when a protocol
is needed (e.g. ULP_MODE_ISCSI is enabled by cxgbei when offloading a
connection using iSCSI, and ULP_MODE_TLS is enabled when RX TLS keys
are programmed for a TOE connection).  The one exception to this is
ULP_MODE_TCPDDP.

Currently the cxgbe driver enables ULP_MODE_TCPDDP when a TOE
connection is first created.  However, since DDP connections cannot be
converted to other connection types, this requires some special
handling in the driver.  For example, iSCSI daemons use the SO_NO_DDP
socket option to ensure TOE connections use ULP_MODE_NONE so they can
be converted to ULP_MODE_ISCSI.  Similarly, using TLS receive offload
(ULP_MODE_TLS) requires disabling TCP DDP for new connections by
default.

This commit changes cxgbe to instead switch a connection from
ULP_MODE_NONE to ULP_MODE_TCPDDP when a connection first attempts to
use TCP DDP via aio_read(2).  This permits connections to always start
as ULP_MODE_NONE and switch to a protocol-specific mode as needed.

Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D43670

(cherry picked from commit a5a965d75934ae809884f8613bcad156bb5d7148)
2024-04-08 10:49:51 -07:00
John Baldwin
2b410bace4 cxgbe tom: Limit TOE connections to 2 reassembly islands always
Previously this was only limited on T6 cards to support switching from
ULP_MODE_NONE to ULP_MODE_TLS.  To support switching to
ULP_MODE_TCPDDP, enable this for all adapters.

Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D43669

(cherry picked from commit afaefb7737994293f9264953e361de095c666c18)
2024-04-08 10:39:31 -07:00
John Baldwin
138ed6fee2 cxgbe: Add counters for POSIX async I/O requests handled by the driver
Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D43668

(cherry picked from commit c3d4aea6c5bef0dcdc5194d4a828625f4d34a1dc)
2024-04-08 10:39:16 -07:00
John Baldwin
aa61ecf003 syscallsubr.h: Sort kern_membarrier prototype alphabetically
(cherry picked from commit 14505c92bc8ca56d4c8a09072d043642f5e87ed7)
2024-04-08 10:38:46 -07:00
Alexander Ziaee
d32c600949 newfs_msdos.8: example for specific cluster size
The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards
for older hardware. In most tutorials, they call the cluster size "allocation
size". Therefore, add a small note next to cluster size that it is also called
allocation size, and add an example for how to do this.

Reviewed by:	jhb
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1045

(cherry picked from commit c8bf9f09ee3d5ac97d38218f2123893a7f1f0285)
2024-04-08 10:37:58 -07:00
Lexi Winter
4fa4e6a3c8 netlink.h: s/typeof/__typeof
typeof() does not exist in -std=c99 mode and the relevant #define is
only for _KERNEL, so use __typeof here instead.

Reviewed by:	jhb
MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1070

(cherry picked from commit 4261507a5e3e73ef6f9535935d22785056954b19)
2024-04-08 10:37:44 -07:00
Ricardo Branco
551f4b478b find: Add -readable, -writable & -executable options
Reviewed by:	jhb, Mina Galić
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1080

(cherry picked from commit e4b646ce16105efc943bc8ac2242a2220dfe18d8)
2024-04-08 10:34:32 -07:00
Ricardo Branco
1aebbbc69b find: Allow '/' to be used with -perm for GNU compatibility
In 2005, Gnu find deprecated '+' as the leading character for the -perm
argument, instead preferring '/' with the same meaning. Implement that
behavior here, and document it in the man page.

Reviewed by: imp, emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/1060

(cherry picked from commit 2a121b97e9673ff37062c9fa026eee969940d2e2)
2024-04-08 10:33:19 -07:00
Minsoo Choo
3b2b83bcef Stop using expressions in _Alignof()
_Alignof(expression) is a non-standard extension.  This is not allowed
in gnu11 and gnu17 which follow the C11 standard _Alignof(type).

Reviewed by:	arichardson, imp, jhb
Fixes:		4a9cd9fc22d7 amd64 db_trace: Reject unaligned frame pointers
Fixes:		7ccaf76a27 riscv db_trace: Ensure trapframe pointer is suitably aligned.
Fixes:		638c68897f arm64 db_trace: Ensure trapframe pointer is suitably aligned.
Differential Revision:	https://reviews.freebsd.org/D43409

(cherry picked from commit 03d04bf49492fc70366e6d78194336a4122282a2)
2024-04-08 10:26:16 -07:00
Ricardo Branco
1449754218 cd9660: Add support for mask,dirmask,uid,gid options
Reviewed by:	jhb
Pull Request:	https://github.com/freebsd/freebsd-src/pull/982

(cherry picked from commit 82f2275b73e556580b155ea9bbf7f7e364458fa1)
2024-04-08 10:25:46 -07:00
Andrew Turner
35f6b83049 Update the Arm Optimized Routine library to v24.01
Sponsored by:	Arm Ltd

(cherry picked from commit 5a02ffc32e777041dd2dad4e651ed2a0865a0a5d)
2024-04-08 13:15:18 +00:00
Dag-Erling Smørgrav
e9ab8b4582 ln: Improve link(1) variant of ln(1).
* Give link(1) its own usage message.
* Use getprogname(3) instead of rolling our own.
* Verify that the target file does not already exist.
* Add tests specific to link(1).

MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D44635

(cherry picked from commit bee7cf9e97f6d7bdc918421a93270fa88659808b)
2024-04-08 12:10:41 +02:00
Dag-Erling Smørgrav
59c3e7a18c tarfs: Support paths that spill into exthdrs.
MFC after:	3 days
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D44599

(cherry picked from commit b1fd95c9e24791d44593e611406b41e57826a5b8)

tarfs: Ignore global extended headers.

Previously, we would error out if we encountered a global extended
header, because we don't know what it means.  This doesn't really
matter though, and traditionally, tar implementations have either
ignored them or treated them as plain files, so just ignore them.
This allows tarfs to mount tar files created by `git archive`.

MFC after:	3 days
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D44600

(cherry picked from commit 584e1c355ae3c994331005b7196cc87a714e5317)

tarfs: Fix 32-bit build.

MFC after:	3 days
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D44613

(cherry picked from commit 0238d3711d9b888f678fce4274eccc9175168395)
2024-04-08 12:10:41 +02:00
Dag-Erling Smørgrav
2ad8333c65 cp: Improved conformance when copying directories.
* When copying a directory, if the destination exists and is not a
  directory, we would previously emit an error message and exit.  The
  correct behavior according to POSIX is to emit an error message and
  continue without descending further into the source directory.

* When copying a directory, if the destination does not exist and we
  fail to create it, we would previously emit an error message and
  exit.  The correct behavior according to POSIX is to emit an error
  message and continue.  Whether to descend further into the source
  directory is explicitly left unspecified; GNU cp does not, which
  seems to me to be the safer and less surprising option, so let's not
  either.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D44577

(cherry picked from commit dd286b0dc187c351a9537a363840245d5505b15b)

cp: Correct the list of non-portable flags.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D44576

(cherry picked from commit aaa1806f68ef3102a9b888a03360f166b88618c8)
2024-04-08 12:10:41 +02:00
Dimitry Andric
928ea8066d Merge commit eb8f379567e8 from llvm-project (by Florian Hahn):
[DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157)

  Not removing the malloc from earliest escape info leaves stale entries
  in the cache.

  Fixes https://github.com/llvm/llvm-project/issues/84051.

  PR: https://github.com/llvm/llvm-project/pull/84157

This fixes a crash in clang (usually a bus error, but can also be
another memory error) when compiling the science/siconos port.

PR:		278174
Reported by:	yuri
MFC after:	3 days

(cherry picked from commit aaabed1dea7c1d16cdc5457bf6dee74164104e26)
2024-04-08 09:42:16 +02:00
Xin LI
2bfda18ff7 Backport export of lzma_mt_block_size symbol.
This restores binary compatibility against liblzma 5.6.0 library.

PR:		278127

(cherry picked from commit 5ffb19ac36c4b5c9e72d69048250c8e56acff739)
2024-04-07 21:01:25 -07:00
Xin LI
a9288701de Revert "MFV: xz 5.6.0"
This commit reverts 8db56defa766eacdbaf89a37f25b11a57fd9787a,
rolling back the vendor import of xz 5.6.0 and restoring the
package to version 5.4.5.

The revert was not directly due to the attack (CVE-2024-3094):
our import process have removed the test cases and build scripts
that would have enabled the attack. However, reverting would
help to reduce potential confusion and false positives from
security scanners that assess risk based solely on version
numbers.

Another commit will follow to restore binary compatibility with
the liblzma 5.6.0 library by making the previously private
symbol (lzma_mt_block_size) public.

PR:		278127

(cherry picked from commit 2f9cd13d6c1824633251fb4267c9752d3b044a45)
2024-04-07 21:01:09 -07:00
Ed Maste
6ac10e8a72 rights.4: add note about rights not being simple bitmasks
PR:		277057
Reviewed by:	oshogbo, asomers
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44473

(cherry picked from commit 537bdafbc25d39b4bb3dce124691913f86c08288)
2024-04-07 12:34:04 -04:00
a-biardi
507e18dfc3 freebsd-update: Fix typo in comment
s/patchname expansion/pathname expansion/

Signed-off-by: a.biardi@tiscali.it
Pull-request: https://github.com/freebsd/freebsd-src/pull/1152
(cherry picked from commit 91811711625482f3a5778939e9999f53a0bea22a)
2024-04-07 12:34:04 -04:00
Mikael Urankar
bedc8daace dma.conf: Fix typo
Pull Request: https://github.com/freebsd/freebsd-src/pull/1150

(cherry picked from commit c92400a6f690a82ab84eb0b97cc8bf169e44e4e8)
2024-04-07 12:34:04 -04:00
Jason A. Harmening
7b86d14bfc unionfs: implement VOP_UNP_* and remove special VSOCK vnode handling
unionfs has a bunch of clunky special-case code to avoid creating
unionfs wrapper vnodes for AF_UNIX sockets.  This was added in 2008
to address PR 118346, but in the intervening years the VOP_UNP_*
operations have been added to provide a clean interface to allow
sockets to work in the presence of stacked filesystems.

PR:			275871
Reviewed by:		kib (prior version), olce
Tested by:		Karlo Miličević <karlo98.m@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D44288

(cherry picked from commit eee6217b40df5877674df1d9aec7d5bd04202876)
2024-04-06 19:27:00 -05:00
Olivier Cochard
18ec7a9003 OptionalObsoleteFiles: add missed cuda wrappers include files
Files introduced since clang 17.0.2.

Approved by:	dim
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D44597

(cherry picked from commit a9275714690942e973ae69a3c179e3a435cf50dd)
2024-04-06 18:36:36 +02:00
Christos Margiolis
13952fbca7 pcm.4: Showcase default device change using mixer(8)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44556

(cherry picked from commit d46a6a77e8e14177d07e3a53f68b428e5d1cb416)
2024-04-05 12:43:24 +02:00