Commit Graph

23857 Commits

Author SHA1 Message Date
Gordon Bergling 8158b813d9 isp.4: Fix a typo in the manual page
- s/Chanel/Channel/

MFC after:	3 days
2025-11-21 10:14:35 +01:00
Gordon Bergling bb3bfc7ca8 snd_dummy.4: Fix a typo in the manual page
- s/devic/device/

MFC after:	3 days
2025-11-21 10:13:39 +01:00
Ed Maste a4aa7df767 mgb.4, muge.4: Use standard HARDWARE introduction
Release notes are generated using this text.

I used "interfaces" not "adapters" in these pages as the listed devices
are the controller ICs, not end-user projects.

Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53846
2025-11-20 12:08:22 -05:00
Mark Johnston 39ee24182b rc.subr: Support setting the audit user when starting services
When an unprivileged user restarts a service using, e.g., sudo, the
service runs with the audit user ID set to that of the unprivileged
user.  This can have surprising effects: for instance, a user that
restarts a jail that is running sshd will end up with their UID attached
to all audit logs associated with users who log in via that sshd
instance.  (sshd will set the audit user, but this is disallowed in
jails by default.)

Add support for rc.conf directives which cause rc to override the audit
user.  Specifically, make <name>_audit_user=foo cause the audit user to
be set to "foo" for service <name>.  A plain audit_user=foo directive
causes all services to be started as foo.

Note, like other similar rc features, this feature is limited to rc
services which are run by executing a command.  Shell functions can't be
wrapped this way.

Reviewed by:	0mp
MFC after:	2 weeks
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D53747
2025-11-18 16:24:21 +00:00
Konstantin Belousov c0a38339fe exterror.9: explain buffers and bios usage of extended errors
Reviewed by:	pauamma_gundo.com
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D53798
2025-11-18 07:34:56 +02:00
Ed Maste bf2dc446d1 example.4: Bump deprecation example to FreeBSD 17
The deprecation notice should indicate that the driver or feature will
be removed in a future release, not one that's nearly EOL.

Sponsored by:	The FreeBSD Foundation
2025-11-17 10:13:17 -05:00
Ed Maste 4c736cfc69 Deprecate fdc(4) and floppy utilities
Floppies have been obsolete for over a decade.  Add a deprecation note
now and plan to remove fdc(4) support in 16.

Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41549
2025-11-16 17:46:12 -05:00
Ed Maste e1b027b276 fdc.4: Correct igor-reported warnings
Sponsored by:	The FreeBSD Foundation
2025-11-16 17:44:16 -05:00
Dag-Erling Smørgrav ebb0b48226 iwx.4: Follow the established style
Fixes:          b0c1ead2b9 ("iwx.4: Fix SYNOPSIS")
Reviewed by:	ziaee
Differential Revision:	https://reviews.freebsd.org/D53760
2025-11-16 20:10:44 +01:00
Colin Percival b05f38262b Add pkgbase signing keys for FreeBSD 15
These keys were generated by cperciva@ using the AWS Key Management
Service.  They will not be used for signing anything other than
FreeBSD 15.x pkgbase repositories.

Keys will be generated for FreeBSD 16 at a later date, and likely in
a different way.

With hat:	re
MFC after:	8 hours (needed in 15.0-RC1)
Differential Revision:	https://reviews.freebsd.org/D53768
2025-11-14 23:58:41 -08:00
Ed Maste e96359d111 boot.config.5: Clarify that this controls legacy boot blocks
Reviewed by;	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52460
2025-11-14 16:38:38 -05:00
Alexander Ziaee b0c1ead2b9 iwx.4: Fix SYNOPSIS
PR:		290812
MFC after:	3 days
Fixes:		27c41b28b1 (iwx.4: Initial manual page)
Reported by:	Dimitry Lukhtionov <dimitryluhtionov@gmail.com>
2025-11-14 10:06:04 -05:00
Konstantin Belousov 0eca7fa1c9 exterror.9 man page
With help from:	mckusick
Reviewed by:	emaste, pauamma_gundo.com
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D53589
2025-11-14 16:33:54 +02:00
Mark Johnston 1563da200d queue.3: Add MLINKs for *_EMPTY_ATOMIC
MFC after:	1 week
Fixes:		d2870b8666 ("queue: Add atomic variants for *_EMPTY")
2025-11-14 14:31:16 +00:00
Maxim Konovalov 8cd9c39195 hgame.4: typo 2025-11-14 04:13:27 +00:00
Alexander Ziaee c0c8d812b5 hgame.4: Polish
Explain driver loading and application access in the body of the manual.
Crossreference other game controller driver manuals, and devfs.rules to
hint about how to configure application access. Add a common dongle to
supported hardware. Add evdev a few places to make it really clear how
it works.

MFC after:		immediately for inclusion in 15.0R
Reviewed by:		wulf
Differential Revision:	https://reviews.freebsd.org/D53290
2025-11-13 18:57:59 -05:00
Goran Mekić 6a56966686 sound examples: Extend and clean up
- Simplify directory and file structure.
- Clean up and improve code. Add more comments.
- Add polling examples.

MFC after:	1 week
Reviewed by:	christos
Differential Revision:	https://reviews.freebsd.org/D53353
2025-11-12 21:15:59 +01:00
Alexander Ziaee 3cf85a69ae hifn.4: Really remove
Fixes:	a38a42ed9a (random: remove hifn(4))
Fixes:	685a78570b (random: remove hifn(4))
2025-11-12 13:16:26 -05:00
Muhammad Moinur Rahman 1d9f2db7c0 pcic.4: Remove stale manual
MFC after:	2 days
Reviewed by:	ziaee
Fixes:		31b35400c (pccard: Remove more of the PC Card)
Discussed with:	bsdimp, emaste, jhb
Extracted from:	https://reviews.freebsd.org/D53434
2025-11-12 13:05:37 -05:00
Muhammad Moinur Rahman 5b9fba1cb0 Retire pccard(4)
pccard has been declared obsolete for a long time and also the
support has been removed but the man page still exists. It mentions
being scheduled to be removed before 13.0 but it still exists in the
tree.

[Extracted from review D53434]

Reviewed by: emaste
Fixes: 31b35400c ("pccard: Remove more of the PC Card infrastructure")
2025-11-12 12:09:09 -05:00
Mateusz Piotrowski 7bcd3a04c8 dtrace_priv.4: Document the DTrace priv provider
Fixes:	6efcc2f26a Add static tracing for privilege checking
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D53630
2025-11-12 15:51:37 +01:00
Alexander Ziaee 595fcd71a8 mx25l.4: Add n25q64 to hardware list
MFC after:	3 days
Fixes:		76735c7439 (flash: Add "n25q64" to mx25l driver)
2025-11-12 08:39:24 -05:00
Alexander Ziaee 6f73950475 mx25l.4: Describe better and tag spdx
MFC after:	3 days
2025-11-12 08:39:24 -05:00
Alexander Ziaee dee8e38f52 sbp.4: Add a hardware section, fix markup nits
+ tag SPDX
+ add sysctl to apropos database
+ fix markup of examples and reflow a overly long line
+ add a hardware section for hw relnotes

MFC after:	3 days
2025-11-12 08:39:24 -05:00
Yogesh Bhosale 8225ed665e ix.4: Document E610 debug dump
Explain how to collect E610 device debug dump data with sysctl for
troubleshooting with Intel Customer Support.

Fixes:			2170400142 (Add support for debug dump)
Reviewed by:		bcr, erj (previous version), ziaee
Signed-off-by:		Yogesh Bhosale <yogesh.bhosale@intel.com>
Differential Revision:	https://reviews.freebsd.org/D52990
2025-11-12 08:38:41 -05:00
David E. O'Brien 3deb21f1af random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM
* Enable RANDOM_ENABLE_TPM by default

* The commit of TPM_HARVEST failed to add it to NOTES
  so that the LINT kernel would build the code.

Fixes: 4ee7d3b011
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D53460
2025-11-10 12:54:48 -08:00
Yogesh Bhosale abd53b16c0 ix.4: Add E610 to HARDWARE section
MFC after:		3 days
Reviewed by:		ziaee
Fixes:			dea5f973d0 (new Intel Ethernet E610 family)
Differential Revision:	https://reviews.freebsd.org/D52990
2025-11-10 15:06:32 -05:00
Maxim Konovalov 80ca573fc4 geom_zero.4: typo 2025-11-10 01:35:20 +00:00
Mateusz Piotrowski 39acb7fd86 geom_zero.4: Document
PR:	250593
Reviewed by:	bcr, ziaee
Thanks to:	imp, markj
MFC after:	1 week
Fixes:	3843eba85d Add unmapped BIO support to GEOM ZERO
Fixes:	24e1fdcd1a Allow to specify the byte which will be used for filling read buffer
Fixes:	565bc10111 Add a very simple and small GEOM class - ZERO
2025-11-09 15:49:23 +01:00
David E. O'Brien 9b7d2cee03 safe(4): add gone_in 16.0
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D53426
2025-11-07 12:04:44 -08:00
Ed Maste 1821cf482f bsd-family-tree: Re-center OpenBSD line
Commit 09aeca28dd ("BSD family tree: reduce OpenBSD-NetBSD crowding")
moved OpenBSD releases over 2 spaces.  Move the line through OpenBSD
releases over as well.

Reviewed by:	obrien
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53635
2025-11-07 14:48:09 -05:00
Jiacong Fang 8caf467784 mpr.4: Remove Broadcom LSI 3908 from support list
"This one is my fault due to incorrect merging" ~ziaee

MFC after:		3 days
Reviewed by:		ziaee
Fixes:			744c8d5544 (mpr.4: Add Broadcom LSI 3808)
Differential Revision:	https://reviews.freebsd.org/D53634
2025-11-07 13:42:33 -05:00
David E. O'Brien 09aeca28dd BSD family tree: reduce OpenBSD-NetBSD crowding
OpenBSD was nearly against the NetBSD entries, especially in their
earlier lineages.  Now line up "OpenBSD" with | at the 'e'.

Reviewed by:	gordon (in person)
Differential Revision:	https://reviews.freebsd.org/D53509
2025-11-06 21:42:34 -08:00
Mateusz Piotrowski 9fe88e5503 dtrace_pid.4: Document the DTrace PID provider
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D51287
2025-11-06 23:40:41 +01:00
Mateusz Piotrowski b8ff8a11c0 ports.7: Add /var/db/ports to FILES
PR:		272426
MFC after:	3 days
Co-authored-by: Piotr Smyrak <ps.ports@smyrak.com>
2025-11-06 23:11:22 +01:00
Alexander Ziaee a41ffaa330 ciss.4: Add p440ar to HARDWARE
PR:		290425
MFC after:	3 seconds, this fixes the HW relnotes
Reported by:	jwb
2025-11-06 11:53:15 -05:00
Lexi Winter 6a12f58434 share/doc/llvm: Move to the clang package
This change moves files between packages so, until we have a proper
policy on how to handle this in release/stable branches, it should
not be MFC'd.

MFC after:	never
Reviewed by:	manu, dim
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53608
2025-11-06 15:20:52 +00:00
Lexi Winter 8a8f2ebd2d ncurses: Move termcap and tabset to ncurses-lib
termcap and tabset are currently in runtime, but since ncurses is the
only thing which uses them, they belong in the ncurses package.

curses without termcap is not very useful, so put them in the -lib
subpackage rather than ncurses itself, so that installing ncurses-lib
provides a working curses.

This change moves files between packages so, until we have a proper
policy on how to handle this in release/stable branches, it should
not be MFC'd.

MFC after:	never
Discussed with:	kevans
Reviewed by:	manu, kevans
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53610
2025-11-06 15:20:52 +00:00
Jiacong Fang 744c8d5544 mpr.4: Add Broadcom LSI 3808 to HARDWARE
The product brief "MegaRAID 9500 PCIe Gen 4.0 Tri-Mode Storage Adapters"
confirms that the LSI 3808 are supported in FreeBSD.

https://docs.broadcom.com/doc/MegaRAID-9500-Tri-Mode-Storage-Adapters

MFC after:		3 days
Reviewed by:		imp, ziaee
Differential Revision:	https://reviews.freebsd.org/D52760
2025-11-05 23:01:34 -05:00
Alexander Ziaee f30335c5cb ice.4: Add ToC and E835 and editorial pass
This manual is large enough and well structured enough that we can have
a clickable table of contents. Use that to move some subsections which
should not appear in Hardware Release Note to the description section.
Adjust subsection names so this will work, preserving parentheticals
for search by moving them to the bodies just below.

Strip unnecessary copyright symbols and escaped hyphens. Copyright
symbols never appear in the content of manual pages, including other
Intel manual pages, and appear to break the Hardware Release Notes.
Escaped hyphens were necessary decades ago for manual pages written
in man(7), but this page is written in mdoc(7). Also misc touchups.

Add the recently added E835 devices to the supported HARDWARE list.
Add the speed ranges to description like the other ethernet drivers.

PR:		290778
MFC after:      1 day
Fixes:		09b48f811b (Add support for E835-XXV-4 adapter)
Fixes:		b202176dc7 (Add PCI IDs for E835 devices)
Reviewed by:	kgalazka (previous version)
Reported by:	kgalazka (additional hardware has been added)
Reported by:	bigsneaky@duck.com (HW Relnote is truncating)
2025-11-05 17:39:15 -05:00
Kyle Evans 90314c04f1 makedev(9): drop an additional note about cdevpriv dtors
These were previously somewhat safe to call destroy_dev(9), but will now
also cause a deadlock in the same fashion that d_close doing so would
previously.  Amend the note to point it out, in case it's useful for
someone.

Reviewed by:	imp, kib, markj
Differential Revision:	https://reviews.freebsd.org/D53439
2025-11-04 18:28:02 -06:00
Mateusz Piotrowski 3ccb2d9513 dtrace_callout_execute.4: Document the DTrace callout_execute provider
MFC after:	2 weeks
Fixes:		91dd9aae1a Add explicit static DTrace tracing to the callout mechanism
Differential Revision:	https://reviews.freebsd.org/D51397
2025-11-04 12:10:55 +01:00
Mateusz Piotrowski fc7f5452c6 buf.9: Sprinkle with mdoc macros
I did not bump the date here as the manual page looks more like a draft
and I'm not sure if it is actually up-to-date considering that it's
current Dd dates back to 1998.

MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D52770
2025-11-04 12:05:28 +01:00
Kristof Provost cd7f3e4d9e pf.conf.5: add nat-to/rdr-to to BNF
PR:		290705
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-11-03 17:06:10 +01:00
Mateusz Piotrowski 2020e76450 dtrace_vfs.4: Document the DTrace vfs provider
Reviewed by:	bcr
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D51317
2025-11-03 16:54:11 +01:00
Konstantin Belousov 269b1c2388 atomic.9: provide fine details about CAS memory model MD semantic
Reviewed by:	markj
Discussed with:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D52744
2025-11-02 23:22:08 +02:00
Konstantin Belousov f26382dd72 atomic.9: fix description of acquire and release
The ordering point is not the atomic operation itself, but the load for
acquire or store for release done as part of the atomic.  This does not
matter for atomic_load_acq and atomic_store_rel, but does matter for RWM
operations.

Noted by:	alc
Reviewed by:	markj
Discussed with:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D52744
2025-11-02 23:22:08 +02:00
Mateusz Piotrowski af99c4c1d0 d.7: Document strchr, strjoin, strrchr, strstr, strtok, strlen, and substr
Reviewed by:	markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D53417
2025-11-02 20:21:30 +01:00
Ed Maste e4f2a35095 bsd.prog.mk: Skip warnings if compiler.mk was not included
We emit a warning if src.conf options WITH_RETPOLINE or INIT_ALL are
in use, and the compiler or linker does not support the feature.

For targets like `cleandir` we skip including bsd.compiler.mk, which
leaves COMPILER_FEATURES unset and spurious warnings were emitted in
early buildworld stages, if these options are in use.

Commit 0837b2ebd5 ("pkg: Die if make -V BRANCH fails") added -W to
usr.sbin/pkg's make flags, causing it to exit on warnings.  As a result
buildworld failed when these src.conf options were in use.

Clean this up by omitting the warning if the magic
_NO_INCLUDE_COMPILERMK flag is set, which indicates that
COMPILER_FEATURES is not set.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53501
2025-10-31 21:17:11 -04:00
Sergey A. Osokin c6e02892bb bsd-family-tree: add macOS 26
Sponsored by:	tipi.work
2025-10-31 16:25:11 -04:00