vt.4: Style pass
Outstanding: I'm not sure kernel configuration declarations are defined
variables. Dv does not allow arguments, but some why allowed paths, so
non-path arguments were being incorrectly marked up as paths.
MFC after: 3 days (with resolved conflicts)
Reviewed by: 0mp, emaste
Differential Revision: https://reviews.freebsd.org/D49565
(cherry picked from commit 7cd6da268a8fbf34b16564dd9a94c86853eb7c56)
example.3: Show updated library macro usage
The LIBRARY section has been deprecated by upstream.
Show the updated usage of the Lb macro in SYNOPSIS.
Fixes: 4c07abdbacf49 (mandoc: Vendor import of upstream at 2025-06-13)
(cherry picked from commit 3527e7e9f7b2f1737706378b99af778921849e9d)
ioctl.2: Mention EACCES
ioctls can fail with EACCES, see sys/kern/tty.c
PR: 239504
MFC after: 3 days
Reviewed by: ziaee
Reported by: Brennan Vincent <brennan at umanwizard.com>
Differential Revision: https://reviews.freebsd.org/D49072
(cherry picked from commit e2afbc45258f2fa4bdcf126e959ac660e76fc802)
cpuctl.4: Formatting nits
+ Align ioctl list + Pad code examples + Tag spdx license identifier
MFC after: 3 days
(cherry picked from commit c6bd2aa8353c6c34dbff487132a7f7372752d0ad)
udl.4: Consolidate HARDWARE and add HISTORY
Some of the information needed for the HARDWARE section was the entire
DESCRIPTION section, so merge the two. While here, add the HISTORY of
this driver, add "driver" to the document description matching other
drivers, and tag the SPDX license identifier for mechanical parsing.
MFC after: 3 days
(cherry picked from commit 97fa62708f67ce189bde22c98d9102da026b448c)
camcontrol.8: Descriptions before examples
This page has a lot of examples, so having them in the previous order
can be confusing. Rewrite to the normal order where the descriptions
come before the command, followed by a colon, which is still clear even
jumping to the middle of the section.
PR: 291759
MFC after: 3 days
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54285
(cherry picked from commit fbc321b9cdceecd3c97742868da5d500423cf484)
cdce.4: Minor polish
+ Tag spdx license identifier + Fix "e.g.,"s to quiet linter
+ Remove useless Nd quoting + Put example in EXAMPLES
MFC after: 3 days
(cherry picked from commit 03752041e41b57af622f3649929789575a48258e)
examples/mdoc: Remove document description quotes
Quotes in roff do not work the way quotes in shell do,
remove them from the examples to hopefully lead less people astray.
MFC after: 3 days
(cherry picked from commit 067b62bd5834484c927038aff28d36da6c5d6cca)
bnxt.4: Adjust for recent HARDWARE
+ Adjust document description matching another terabit driver
+ Add BCM576XX family to DESCRIPTION, switch to XX notation
+ Add some model names, additional models, and improvements to HARDWARE
MFC after: 3 days
Reviewed by: sumit.saxena_broadcom.com (previous)
Differential Revision: https://reviews.freebsd.org/D54028
(cherry picked from commit 473bc5778c3e5136831c08d525d673059ef0aaa2)
librt/mq_getfd_np.3: Initial manual page
The mq_getfd_np function appeared in FreeBSD 11 with no documentation.
This function dereferences the mqd_t as a pointer to an int.
Relnotes: yes
MFC after: 3 days
Reviewed by: kib (previous), markj, ziaee
Differential Revision: https://reviews.freebsd.org/D43947
(cherry picked from commit ca2413d216197fd55f9363d6f65c641ff1aa3ec5)
periodic/801.trim-zfs: Fix daily-trim-zfs-flags
This variable was named incorrectly, resulting in any specified flags
being silently ignored.
PR: 292074
MFC after: 3 days
Reported by: CrazyMihey at Ya.Ru
Fixes: 493908c4b45c (Add a daily zfs trim script)