Commit Graph

23857 Commits

Author SHA1 Message Date
Gordon Bergling e47c294d00 acpi_battery.4: Fix a typo in the manual page
- s/rechargable/rechargeable/

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling 8c48902d41 build.7 Fix a typo in the manual page
- s/envirnoment/environment/

While here fix a .Xr macro.

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling 66923ac81b arch.7: Fix a typo in the manual page
- s/dereferencable/dereferenceable/

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling ca7deba74b rc.conf.5: Fix a typo in the manual page
- s/overriden/overridden/
- s/explicitely/explicitly/

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling 189cec2f0d pf.conf.5: Fix a typo in the manual page
- s/opion/option/

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling 12584410c5 rc.subr.8: Fix a typo in the manual page
- s/derrived/derived/

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling 69fbd069d8 debug.sh.8: Fix a typo in the manual page
- s/noticable/noticeable/
- s/compatability/compatibility/

MFC after:	5 days
2025-10-26 14:32:42 +01:00
Gordon Bergling 1447a22133 siginfo.3: Fix a typo in the manual page
- s/Sychronous/Synchronous/

MFC after:	5 days
2025-10-26 14:32:41 +01:00
Gordon Bergling f5a3d790c7 queue.3: Fix a typo in the manual page
- s/overriden/overridden/

MFC after:	5 days
2025-10-26 14:32:41 +01:00
Lexi Winter 031e711647 packages: Install development manpages in the -dev package
Add a new per-group SUBPACKAGE option to bsd.man.mk.  When MANSPLITPKG
is enabled, this is forced to "-man", otherwise it defaults to empty
but can be overridden by the caller.

Use this in bsd.lib.mk to install library manpages in the -dev package
instead of the base package.  This is nearly always preferable, since
library manpages are usually in section 2 or 3 and are only relevant
to people with development packages installed.

For manpages which should be installed in the base package even for
libraries, add a new MANNODEV group in bsd.lib.mk.  Update existing
Makefiles to use this where appropriate.

MFC after:	3 days
Discussed with:	olce
Reviewed by:	olce
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52832
2025-10-26 02:26:06 +00:00
Lexi Winter 82f96b2bc9 share/man/man5: Use MANGROUPS.yes
Simplify the Makefile logic by using MANGROUPS.yes for optional
packages.  Also, move bluetooth manpages to the correct package,
add the correct conditional for OpenSSH (MK_OPENSSH), and properly
alphabetise the file.

MFC after:	3 days
Reviewed by:	emaste
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53127
2025-10-26 02:25:58 +00:00
Mateusz Piotrowski 83ac79599f examples/mdoc: Remove text of BSD-2-Clause from mdoc examples
We live in the SPDX world now and our example manual pages should
reflect that.

Also, fix the order of the SPDX and copyright lines as per style(9).

Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D53335
2025-10-24 22:17:37 +02:00
Maxim Konovalov ec5b9019c2 deadfs.9: spell 2025-10-24 20:10:46 +00:00
Mateusz Piotrowski 3cc7d67155 style.mdoc.5: Point readers to style(9) regarding copyright headers
While here, fix the ordering of the elements in the copyright header per
style(9) and remove the text of the license as we already have the SPDX
tag here.

MFC after:	3 days
2025-10-24 21:25:38 +02:00
Mateusz Piotrowski daa6660f89 deadfs.9: Document
Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D53334
2025-10-24 20:35:15 +02:00
Ed Maste e4d6433e9c le(4): Update depreciation notice
This driver was in fact not removed prior to FreeBSD 15.0.

Sponsored by:	The FreeBSD Foundation
2025-10-24 13:19:51 -04:00
Konstantin Belousov 5e85f383da vfs_syscalls.c::flags_to_right(): O_DSYNC should be allowed for CAP_FSYNC
Noted by:	arrowd
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D53315
2025-10-24 19:09:25 +03:00
Andrew Turner 82778970ee share/mk: Add opencsd to the list of private libs
Reported by:	Sarah Walker <Sarah.Walker2@arm.com>
Reviewed by:	emaste
Fixes:	1c52229528 ("lib: Move libopencsd to /usr/lib and make private")
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D53217
2025-10-23 11:47:05 +01:00
Ed Maste 69415879e9 src.opts.mk: Enable LLDB for 32-bit arm
It was previously disabled when we built for older 32-bit arm targets
which lack 64-bit atomics.  As we now support armv7 at a minimum there
is no need to disable LLDB.

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52668
2025-10-22 16:03:40 -04:00
Robert Clausecker 5f2df8f831 committers-src: add self
With big thanks to Mark Johnston for mentoring me!

Approved by:	markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D53258
2025-10-22 16:01:35 +02:00
Mateusz Piotrowski 0625f470e0 uio.9: Improve description of uio_rw flags
The direction of the data transfer in uio(9) can be confusing,
so state explicitly the difference between UIO_READ and UIO_WRITE.

Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D52996
2025-10-22 15:44:24 +02:00
Christos Margiolis d6432907f6 snd_dummy.4: Use sound(4) instead of PCM
Sponsored by:	The FreeBSD Foundation
MFC after:	4 days
Reviewed by:	ziaee
Differential Revision:	https://reviews.freebsd.org/D53257
2025-10-22 13:51:15 +02:00
Christos Margiolis 2693d6c7c9 snd_dummy: Create device alias
Sponsored by:	The FreeBSD Foundation
MFC after:	4 days
Reviewed by:	emaste, ziaee
Differential Revision:	https://reviews.freebsd.org/D53237
2025-10-22 13:51:01 +02:00
Maxim Konovalov cdc1990393 bsd-family-tree: add OpenBSD 7.8 release 2025-10-22 03:05:23 +00:00
David E. O'Brien d78da1ea01 man9: Provide SYSCTL_BOOL & SYSCTL_ADD_BOOL man pages
Updates: 84e717c4c & 9a593520
2025-10-21 11:31:01 -07:00
Mitchell Horne 67bc0e3459 aw_mmc.4: add D1 compatible
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D52586
2025-10-20 20:37:14 -03:00
Mitchell Horne 15c79c6fa6 man4: move allwinner pages and logic to a standard place
They are shared by arm, arm64, and now riscv. Note that they are
always installed by default, where MAN_ARCH=all.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D52585
2025-10-20 20:37:13 -03:00
Jason A. Harmening 8a1d6d6da5 VOP_OPENCLOSE.9: note that td may be NULL for VOP_CLOSE
MFC after:	3 days
Reviewed by:	asomers, olce
Differential Revision:	https://reviews.freebsd.org/D53137
2025-10-17 13:24:33 -05:00
Michael Osipov 88b9ca860e manpages: Use canonical names for Linux filesystems
The manpages of linprocfs(5) and linsysfs(5) document incomplete names without
"fs" suffix. Make them identical to other filesystems.

PR:		283079
MFC after:	3 days
Reviewed by:	ziaee, markj
Differential Revision:	https://reviews.freebsd.org/D53155
2025-10-17 14:46:57 +02:00
Lexi Winter e757a92282 bsd.man.mk: Support MANGROUPS.yes
Similar to SUBDIR and CONFGROUPS, this allows the use of
MANGROUPS.${MK_FOO}, simplifying Makefile logic for optional
manpages.

MFC after:	3 seconds
Reviewed by:	emaste
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53126
2025-10-17 11:42:51 +01:00
Alexander Ziaee 8a9f1a2286 release.7: Update RPI example + CHROOTDIR + SPDX
+ arm/RPI-B.conf no longer exists, adjust for arm64/RPI.conf
+ document default CHROOTDIR, also add to FILES list
+ tag SPDX

MFC after:	3 days
Reviewed by:	cperciva
Differential Revision:	https://reviews.freebsd.org/D53078
2025-10-16 10:17:39 -07:00
Alexander Ziaee 7f5267a998 nvd.4: Add a HARDWARE section for HW Relnotes
MFC after:	3 days
Reviewed by:	dab
Differential Revision:	https://reviews.freebsd.org/D52867
2025-10-16 10:17:31 -07:00
Mark Johnston f19f17b3af vmrun.sh: Don't require firmware on amd64 unless -E was specified
PR:		290232
Reported by:	David Marker <dave@freedave.net>
Fixes:		aa34b1d20e ("vmrun.sh: Add arm64 support")
MFC after:	3 days
2025-10-16 14:50:33 +00:00
Lexi Winter dd69f1261e bridge.4: Improve VLAN documentation
Document how bridge implements VLANs, and provide an example of
configuring a bridge with VLAN filtering.

MFC after:	3 days
Reviewed by:	ziaee, pauamma_gundo.com (previous version)
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D51185
2025-10-13 11:44:05 +01:00
Jose Luis Duran 7238317403 blocklist: Rename blacklist to blocklist
Follow up upstream rename from blacklist to blocklist.

- Old names and rc scripts are still valid, but emitting an ugly warning
- Old firewall rules and anchor names should work, but emitting an ugly
  warning
- Old MK_BLACKLIST* knobs are wired to the new ones

Although care has been taken not to break current configurations, this
is a large patch containing mostly duplicated code.  If issues arise, it
will be swiftly reverted.

Reviewed by:	ivy (pkgbase)
Approved by:	emaste (mentor)
MFC after:	2 days
Relnotes:	yes
2025-10-12 17:14:27 +00:00
Alexander Ziaee d8a4843cb7 umass.4: Modernize driver loading instructions
+ consolidate kernel configuration in SYNOPSIS
+ explain driver autoloading in DESCRIPTION
+ s/port/interface/ because of internal USBs
+ fix flow of remaining example

MFC after:	1 day
2025-10-09 17:06:50 -04:00
Alexander Ziaee d5d1e05efb aacraid.4: Fix document description + tag SPDX
The document description previously just stated the name of the driver.
Replace this with the name of the controller families and specs that
it supports, in a similar fashion to other RAID drivers.

MFC after:	3 days
2025-10-08 12:48:50 -04:00
Alexander Ziaee 20a8d06034 aacraid.4: Improve HARDWARE introductory sentance
To improve HW relnotes

MFC after:	3 days
2025-10-08 12:48:49 -04:00
John Baldwin fd895b4f04 arch.7: Add CHERI architectures
Effort:		CHERI upstreaming
Co-authored-by:	Brooks Davis <brooks@FreeBSD.org>
Reviewed by:	kib, markj, jhb, emaste
Sponsored by:	Innovate UK, DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D52822
2025-10-08 10:33:41 +01:00
John Baldwin 2fe28202aa arch.7: decouple long and pointer sizes
Don't claim void* or (u)intptr_t are the same size as long.  This isn't
true for CHERI.

Effort:		CHERI upstream
Reviewed by:	kib, markj, jhb, emaste
Sponsored by:	Innovate UK, DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D52821
2025-10-08 10:33:41 +01:00
Brooks Davis 9e7eb261e6 arch.7: deprecate __ILP32__ and __LP64__ macros
With CHERI there now more options than __ILP32__ and __LP64__ so lack of
one does not imply the other.  Encourage the use of __SIZEOF_*__ macro
tests in their place.

Effort:		CHERI upstreaming
Reviewed by:	kib, markj, emaste
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D52820
2025-10-08 10:33:40 +01:00
Lexi Winter 0f5ed3c427 bsd.confs.mk: Support CONFGROUPS.yes
Align CONFGROUPS with other options like SUBDIRS and FILESGROUPS by
supporting the CONFGROUPS.yes option.  This means logic like this:

.if ${MK_FOO} != "no"
CONFGROUPS+= FOO
.endif

can be replaced by:

CONFGROUPS.${MK_FOO}+= FOO

MFC after:	1 week
Reviewed by:	imp
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52923
2025-10-08 07:07:10 +01:00
Kristof Provost 306f29475f pf.conf.5: 'address' is mandatory with route-to
Adjust the BNF, and don't claim it is optional in the text.

PR:		290059
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-10-07 10:21:45 +02:00
Maxim Konovalov dcb5ee4896 snl.3: use \e esc sequence for \ as per mandoc_char(7)
Suggested by:	cyric@mm.st
2025-10-06 21:12:15 +00:00
Alexander Ziaee 45f8336f3a ice.4: Improve SYNOPSIS
Remove prose from synopsis, adding sysctls and tunables.

MFC after:		3 days
Reviewed by:		kbowling
Differential Revision:	https://reviews.freebsd.org/D52913
2025-10-06 14:48:53 -04:00
Dag-Erling Smørgrav ec6ad605ec rc: Improve netwait DAD logic
Disable if IPv6 is not supported, and instead of 10 seconds, default to
one more than the value of net.inet6.ip6.dad_count.

Fixes:		5ead817c3b ("rc: Teach netwait to wait for DAD")
Reviewed by:	bz
Differential Revision:	https://reviews.freebsd.org/D52905
2025-10-05 20:42:33 +02:00
Rick Macklem 5000d023a4 heimdal-kadmin: Add support for the -f dump option
The "-f" dump option allows a dump of the Heimdal
KDC in a format that the MIT kdb5_util command can
load into a MIT KDC's database.
This makes transitioning from the Heimdal KDC to
the current MIT one feasible without having to
re-create the KDC database from scratch.

glebius@ did the initial work, cherry picking these
commits from the Heimdal sources on github and then doing
extensive merge conflict resolution and other fixes so
that it would build.
Heimdal commit fca5399 authored by Nico Williams:
Initial commit for second approach for multiple kvno.  NOT TESTED!

Heimdal commit 57f1545 authored by Nico Williams:
Add support for writing to KDB and dumping HDB to MIT KDB dump format
    Before this change Heimdal could read KDBs.  Now it can write to
    them too.

    Heimdal can now also dump HDBs (including KDBs) in MIT format,
    which can then be imported with kdb5_util load.

    This is intended to help in migrations from MIT to Heimdal by
    allowing migrations from Heimdal to MIT so that it is possible
    to rollback from Heimdal to MIT should there be any issues.  The
    idea is to allow a) running Heimdal kdc/kadmind with a KDB, or
    b) running Heimdal with an HDB converted from a KDB and then
    rollback by dumping the HDB and loading a KDB.

    Note that not all TL data types are supported, only two: last
    password change and modify-by.  This is the minimum necessary.
    PKINIT users may need to add support for KRB5_TL_USER_CERTIFICATE,
    and for databases with K/M history we may need to add KRB5_TL_MKVNO
    support.

This resulted in a Heimdal kadmin that would dump
the KDC database in MIT format.  However, there
were issues when this dump was loaded into the
current MIT KDC in FreeBSD current/15.0.

The changes I did to make the dump more useful are listed below:
When "-f MIT" is used for "kadmin -l dump" it writes
the dump out in MIT format.  This dump format is understood
by the MIT kdb5_util command.  The patch modifies the above
so that the MIT KDC's master key keytab file can be provided
as the argument to "-f" so that the principals are re-encrypted in
it. This allows any principal with at least one strong encryption
type key to work without needing a change_password.
The strong encryption types supported by the Heimdal KDC are:
aes256-cts-hmac-sha1-96
aes128-cts-hmac-sha1-96

The issues my changes address are:
- If there are weak encryption keys in a principal's entry,
  MIT's kadmin.local will report that the principcal's entry
  is incomplete or corrupted.
- The keys are encrypted in Heimdal's master key.  The
  "-d" option can be used on the "kadmin -l dump" to
  de-encrypt them, but the passwords will not work on the
  current MIT KDC.

To try and deal with the above issues, this patch modied the above to:
- Does not dump the weak keys.
- Re-encrypts the strong keys in MIT's master key if the argument
  to "-f" is actually a filename which holds the MIT KDC's
  master key keytab and not "MIT".
- For principals that only have weak keys, it generates
  a fake strong key. This key will not work on the MIT
  KDC, but the principal entry will work once a
  change_password is done to it.
- It always generates a "modified_by" entry, faking one if
  not already present in the Heimdal KDC database.
  This was necessary, since the MIT kadmin will
  report that the principal entry is "incomplete or
  corrupted" without one.

It also fixed a problem where "get principal" no longer
worked after the initial patch was applied.

A man page update will be done as a separate commit.

I believe this commit is acceptable since the Heimdal
sources are now essentially deprecated in favor of the
MIT sources and that this new "-f" patch simplifies
the transition to the MIT KDC.

Discussed with:	glebius, cy
MFC after:	3 days
2025-10-05 09:18:35 -07:00
Lexi Winter 0242d4c3ae libc: Move NLS catalogues to the locales packages
We don't want to put these in clibs (where libc is) since they are not
critical to system operation.  Move them to locales, since anyone who
is interested in translated versions of strerror() is going to have
that installed anyway.

While here, add some more documentation to bsd.nls.mk, particularly
the NLSPACKAGE option.

MFC after:	3 seconds
Reviewed by:	manu, kib
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52898
2025-10-05 06:12:54 +01:00
Alexander Ziaee 6720975ba0 ice.4: Zap registered mark from document descr
Document descriptions for device drivers always contain registered
trademarks of the manufacturers, but this is not a place for the
registered mark symbol. While here, remove another useless symbol,
the hyphen in the first line comment.

MFC after:	3 days
2025-10-04 19:24:22 -04:00
Brad Davis 85531add28 ice.4: Avoid first person language
Approved by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D52896
2025-10-04 14:45:57 -06:00