FreeBSD/src 4026b17share/man/man4 vt.4

vt.4: align tables + 80 character line limit

Reviewed by:    emaste
MFC after:      3 days
Pull request:   https://github.com/freebsd/freebsd-src/pull/1514
DeltaFile
+5-5share/man/man4/vt.4
+5-51 files

FreeBSD/src a4e7810libexec/rc debug.sh

debug.sh check for :debug_add:

When we match a tag and turn tracing, see if we have any
$DEBUG_ON:debug_add:tag in DEBUG_SH and if so add the new tag.

This allows for more focused debugging during boot.

Reviewed by:    stevek
DeltaFile
+77-15libexec/rc/debug.sh
+77-151 files

FreeBSD/src 8934526libexec/rc rc.conf

rc: Update ipfilter example rules location

It was originally /usr/src/contrib/ipfilter/rules and moved to
/usr/src/share/examples/ipfilter/rules in 41edb306f056.

Point to users to /usr/src/share/examples/ipfilter instead, as the base
directory also contains example rules.

Reviewed by:    emaste
Approved by:    emaste (mentor)
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D47392
DeltaFile
+1-1libexec/rc/rc.conf
+1-11 files

FreeBSD/src 0187bc8sys/dev/sound driver.c

sound: Include snd_cmi only for i386 and amd64

When running FreeBSD on an arm64/aarch64 QEMU virtual machine, using the
Intel HD Audio Controller (ich6) (intel-hda), for example, and by
following the procedure in the handbook ("Setting Up the Sound Card"):

    kldload snd_driver

The following error is shown:

    KLD snd_driver.ko: depends on snd_cmi - not available or version mismatch

This is because the CMedia sound driver (snd_cmi) is only built for i386
and amd64.

Add the same guards to the snd_driver metadriver.

Reviewed by:    christos, emaste
Approved by:    emaste (mentor)

    [2 lines not shown]
DeltaFile
+2-0sys/dev/sound/driver.c
+2-01 files

FreeBSD/src c477d89sys/sys file.h

file: The f_ops table pointer can be a pointer to const

No functional change intended.

MFC after:      2 weeks
DeltaFile
+1-1sys/sys/file.h
+1-11 files

FreeBSD/src ff84f8bsys/x86/iommu intel_ctx.c

iommu: Clean up a lingering function prototype

Reported by:    clang
Fixes:          d97838b7c2a6 ("iommu: eliminate iommu_free_ctx()")
DeltaFile
+0-1sys/x86/iommu/intel_ctx.c
+0-11 files

FreeBSD/src a905c58sys/kern subr_pctrie.c

pctrie: breakup pctrie_root_store

Break up pctrie_root_store into the part that casts the root to a
smr_pctnode_t *, and the rest. The rest is just pctrie_node_store, and
the casting part can be used in a few more places.

This is strictly a code-cleanup change, with no functional change
expected.

Reviewed by:    bnovkov
Differential Revision:  https://reviews.freebsd.org/D47347
DeltaFile
+19-20sys/kern/subr_pctrie.c
+19-201 files

FreeBSD/src 9306543. ObsoleteFiles.inc, share/man/man7 c.7 Makefile

c(7): Add C23 standard update

Reviewed by:    emaste, Graham Percival <gperciva at tarsnap.com>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1507
Signed-off-by: Faraz Vahedi <kfv at kfv.io>
DeltaFile
+155-14share/man/man7/c.7
+3-0ObsoleteFiles.inc
+2-1share/man/man7/Makefile
+160-153 files

FreeBSD/src 7e98eaeshare/man/man7 c.7

c(7): Utilise proper macros to pass mandoc's linter

Reviewed by:    Graham Percival <gperciva at tarsnap.com>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1507
Signed-off-by: Faraz Vahedi <kfv at kfv.io>
DeltaFile
+48-20share/man/man7/c.7
+48-201 files

FreeBSD/src cdffbealib/libusb libusb.3, libexec/rtld-elf rtld.1

manuals: Fix dates

These were reported by `mandoc -T lint ...` as warnings.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1475

(cherry picked from commit b74aaa1a2199261f9078247d29481a994b6b5e42)
DeltaFile
+1-1usr.sbin/gssd/gssd.8
+1-1share/man/man4/enic.4
+1-1lib/libusb/libusb.3
+1-1libexec/rtld-elf/rtld.1
+4-44 files

FreeBSD/src 260a432sbin/ipf/ipf ipf.8 ipf.5, sbin/nvmecontrol nvmecontrol.8

manuals: Misc syntax fixes

These were reported by `mandoc -T lint ...` as errors.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne, Alexander Ziaee <concussious.bugzilla at runbox.com>
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1472

(cherry picked from commit 759ddb4d246f5db5963369a82f1ab165d0dfccce)
DeltaFile
+2-2stand/man/loader.efi.8
+2-2sbin/nvmecontrol/nvmecontrol.8
+2-1sbin/ipf/ipf/ipf.8
+1-1sbin/ipf/ipf/ipf.5
+2-0stand/libsa/libsa.3
+9-65 files

FreeBSD/src ba036fclib/libc/sys thr_kill.2

thr_kill(2): fix title

Mandoc emits a STYLE warning due to the lowercase letters.

(cherry picked from commit 23cb03d145292d7a3e6165b4ca74837d497bd3db)
DeltaFile
+1-1lib/libc/sys/thr_kill.2
+1-11 files

FreeBSD/src e40097elib/libthr libthr.3, share/man/man4 watchdog.4 ng_iface.4

manuals: Fix some "missing section argument"

These were reported by `mandoc -T lint ...` as warnings.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne, Alexander Ziaee <concussious.bugzilla at runbox.com>
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1467

(cherry picked from commit a51584a2d2fb3731a68eaf93b59e14227e572427)
DeltaFile
+4-4share/man/man4/watchdog.4
+2-2share/man/man4/ng_iface.4
+1-1lib/libthr/libthr.3
+1-1share/man/man4/disk.4
+1-1share/man/man4/ng_nat.4
+1-1share/man/man4/qat.4
+10-104 files not shown
+14-1410 files

FreeBSD/src 666d4c2share/man/man4 pfsync.4 hidraw.4, stand/lua menu.lua.8

manuals: Misc syntax fixes

These were reported by `mandoc -T lint ...` as errors.

The rendered output (in ascii and html) is not affected by this commit.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1459

(cherry picked from commit 229381deb270e8e240d20b572c63234a61cbd977)
DeltaFile
+2-2usr.sbin/bhyve/bhyve_config.5
+0-2share/man/man4/pfsync.4
+1-1share/man/man4/hidraw.4
+1-0stand/lua/menu.lua.8
+4-54 files

FreeBSD/src ddf4df5lib/libc/sys socket.2, lib/libpam/modules/pam_exec pam_exec.8

manuals: Fix "unusual .Xr" warnings with a script

These were reported by `mandoc -T lint ...` as warnings:
- unusual Xr order
- unusual Xr punctuation

Fixes made by script in https://github.com/Tarsnap/freebsd-doc-scripts

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne, Alexander Ziaee <concussious.bugzilla at runbox.com>
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1464

(cherry picked from commit 6e1fc0118033f42b7c0d3623c8f67a89ebecabb2)
DeltaFile
+4-4share/man/man9/VOP_SETLABEL.9
+4-4share/man/man9/p_candebug.9
+4-4share/man/man9/cr_bsd_visible.9
+3-3share/man/man9/cr_cansee.9
+3-3lib/libc/sys/socket.2
+3-3lib/libpam/modules/pam_exec/pam_exec.8
+21-2168 files not shown
+120-11974 files

FreeBSD/src 3dedfaashare/man/man7 mitigations.7

mitigations.7: minor cleanup (linter errors)

Reviewed by:    emaste
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1428

(cherry picked from commit c3294033e024620874ecfc219174347989378a3b)
DeltaFile
+7-5share/man/man7/mitigations.7
+7-51 files

FreeBSD/src 64e8a96share/man/man7 mitigations.7

mitigations.7: markup functions with Fn macro

+ include this page in `apropos Fn=memcpy`

Reviewed by:    emaste
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1428

(cherry picked from commit 22fb46af90d62d8177bfa0f1a8e4d89efa0b1905)
DeltaFile
+5-5share/man/man7/mitigations.7
+5-51 files

FreeBSD/src 6a65bb7stand/man loader_simp.8 loader_lua.8, usr.bin/bintrans bintrans.1

manuals: Fix "missing end of block" errors

These were reported by `mandoc -T lint ...` as errors.

The rendered output (in ascii and html) is not affected by this commit.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne, Alexander Ziaee <concussious.bugzilla at runbox.com>
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1454

(cherry picked from commit 643fc698203b9b0ed386b0583c2200c428135c9d)
DeltaFile
+2-0stand/man/loader_simp.8
+1-0usr.bin/bintrans/bintrans.1
+1-0stand/man/loader_lua.8
+4-03 files

FreeBSD/src c0bd4eclib/libc/gen makecontext.3, lib/libc/posix1e acl_cmp_np.3 acl_extended_file_np.3

manuals: Fix "missing end of block" errors

These were reported by `mandoc -T lint ...` as errors.

The rendered output (in ascii and html) is not affected by this commit.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1448

(cherry picked from commit d21e322d563e0fd1f92c22205c2ced4bcd22dc23)
DeltaFile
+1-0lib/libpathconv/rel2abs.3
+1-0sbin/init/init.8
+1-0share/man/man4/splash.4
+1-0lib/libc/gen/makecontext.3
+1-0lib/libc/posix1e/acl_cmp_np.3
+1-0lib/libc/posix1e/acl_extended_file_np.3
+6-01 files not shown
+7-07 files

FreeBSD/src 6136631cddl/usr.sbin/zfsd zfsd.8, share/man/man4 gve.4 mem.4

manuals: Fix "skipping end of block" .El errors

These were reported by `mandoc -T lint ...` as errors; this commit only
handles unnecessary .El commands.

The rendered output (in ascii and html) is not affected by this commit.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1447

(cherry picked from commit c801836ff43deea3c86935abcad1069bfcd3989c)
DeltaFile
+0-2share/man/man4/gve.4
+0-1share/man/man4/mem.4
+0-1cddl/usr.sbin/zfsd/zfsd.8
+0-1usr.sbin/pnfsdskill/pnfsdskill.8
+0-54 files

FreeBSD/src 7965dbfusr.sbin/wpa/wpa_supplicant wpa_supplicant.8

wpa_supplicant: xref relevant wpa_passphrase(8)

Reviewed by:    mhorne
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1461

(cherry picked from commit 5c59e40bc419870659946156b45a390cabd69c02)
DeltaFile
+2-1usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
+2-11 files

FreeBSD/src 62cb0f7share/man/man9 mbuf.9 vmem.9, usr.bin/bintrans bintrans.1

manuals: Fix syntax of list width

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1455

(cherry picked from commit 9fd66e40cac02691d36386cf275d23367e34fc43)
DeltaFile
+4-4usr.bin/bintrans/bintrans.1
+1-1usr.bin/genl/genl.1
+1-1usr.sbin/dconschat/dconschat.8
+1-1share/man/man9/mbuf.9
+1-1share/man/man9/vmem.9
+8-85 files

FreeBSD/src 7d7c17bbin/sh sh.1, share/man/man4 efidev.4 vmd.4

manuals: Fix typos in -offset for .Bd and .Bl

The intended value is:
    -offset indent
If there's any typo such that the value doesn't match the pre-defined
strings, then the offset is the same width as the value.  So by chance,
"-offset -ident" ended up being a standard-width indent (since the
default indent is 6 chars, and "-ident" also has 6 chars), whereas
"-offset -indent" had a longer indent, and "-offset ident" had a shorter
one.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne, Alexander Ziaee <concussious.bugzilla at runbox.com>
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1436

(cherry picked from commit c013ca2cf772194de340aeb452a6ccfe7e1cecd8)
DeltaFile
+8-8usr.sbin/service/service.8
+2-2bin/sh/sh.1
+2-2usr.sbin/binmiscctl/binmiscctl.8
+2-2usr.bin/elfctl/elfctl.1
+1-1share/man/man4/efidev.4
+1-1share/man/man4/vmd.4
+16-163 files not shown
+19-199 files

FreeBSD/src babcb82usr.bin/man manpath.1

manpath.1: align lists + tag spdx

Reviewed by:    mhorne
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1458

(cherry picked from commit d928328f8d2d25a4632401795e1c0ebbaeb7b10d)
DeltaFile
+5-3usr.bin/man/manpath.1
+5-31 files

FreeBSD/src fcfb9a7usr.sbin/valectl valectl.8

valectl(8): explicitly mention network switches

Use the term "network switch" instead of the ambiguous term "switch".

Signed-off-by:  Tom Hukins <tom at FreeBSD.org>
Reviewed by:    imp, mhorne
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1369

(cherry picked from commit a2f53837f0a8934cfcf7ba3c1fdfc93f217d3703)
DeltaFile
+3-3usr.sbin/valectl/valectl.8
+3-31 files

FreeBSD/src 5b9e1a3sbin/ipf/ipf ipf.5

ipf.5: revert C style(9) applied to man page

These changes were made by accident in:
    ipfilter: Adjust userland returns to conform to style(9)
    2582ae5740181e0d2bab10003d66ae91c9b56329

That commit made similar mistakes in other man pages, but those have
already been fixed.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1433

(cherry picked from commit ce251baf42f32317b4b4ef60203d6f47204c47e9)
DeltaFile
+4-4sbin/ipf/ipf/ipf.5
+4-41 files

FreeBSD/src 34b80cbusr.sbin/service service.8

service(8): direct user to rc(8) for a list of valid commands

New users may refer to service(8) to discover how to manage services,
but this manpage does not explain which commands are permitted besides
start/stop (for example, 'enable').  Add a paragraph that directs the
reader to rc(8) to discover this.

While here, add a few examples of common use-cases.

Reported by:    Mina Galić <freebsd at igalic.co>
Pull request:   https://github.com/freebsd/freebsd-src/pull/1057

(cherry picked from commit a84e01f02b15dc1ec091feab6e532d5ba36ffbbb)
DeltaFile
+45-6usr.sbin/service/service.8
+45-61 files

FreeBSD/src 3ee3a5ashare/man/man4 vale.4

vale(4): refer to the valectl(8) management tool

Signed-off-by:  Tom Hukins <tom at FreeBSD.org>
Reviewed by:    imp, mhorne
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1369

(cherry picked from commit 9a3fa77585e55e78004cdc9467b986968a77e8de)
DeltaFile
+3-2share/man/man4/vale.4
+3-21 files

FreeBSD/src 055d281share/man/man3 stats.3

stats.3: Fix "skipping end of block" syntax errors

These were reported by `mandoc -T lint ...` as errors.

The rendered output (in ascii and html) is not affected by this commit.

There was a small misunderstanding about the mdoc format: a 1-line
enclosure does not need a closing tag.  For example, Pc is for closing
an Po; if a line uses Pq (enclose the remainder of this line), there's
no need for Pc.

Signed-off-by:  Graham Percival <gperciva at tarsnap.com>
Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Tarsnap Backup Inc.
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1434

(cherry picked from commit 2d69f02c5745a89c01bcd76389d53fd2a4189f02)
DeltaFile
+14-14share/man/man3/stats.3
+14-141 files

FreeBSD/src 64e5316share/man/man9 vmem.9

vmem.9: align lists + tag spdx

Reviewed by:    mhorne
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1456

(cherry picked from commit 5793008745115f9523f9de32cec3136cea2dd8d5)
DeltaFile
+10-7share/man/man9/vmem.9
+10-71 files