]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
2 years agomount.8: mention that the snapshot option is exclusive
Robert Wing [Thu, 17 Mar 2022 22:31:16 +0000 (14:31 -0800)]
mount.8: mention that the snapshot option is exclusive

When using the snapshot option, all other options are ignored. This
update reflects changes made in ab2dbd9b871d.

Reviewed by: 0mp, mckusick
Differential Revision: https://reviews.freebsd.org/D34584

(cherry picked from commit 8772a9117b27f551f6fbaae9413acaa30d99f934)

2 years agoffs_mount(): fix snapshotting
Robert Wing [Thu, 17 Mar 2022 01:27:34 +0000 (17:27 -0800)]
ffs_mount(): fix snapshotting

Commit 0455cc7104ec broke snapshotting for ffs. In that commit,
ffs_mount() was changed so the namei() lookup for a disk device happens
before ffs_snapshot(). This caused the issue where namei() would lookup
the snapshot file and fail because the file doesn't exist. Even if it did
exist, taking a snapshot would still fail since it's not a disk device.

Fix this by taking a snapshot of the filesystem as-is and return without
altering ro/rw or any other attributes that are passed in.

Reported by:    pho
Reviewed by: mckusick
Fixes: 0455cc7104ec ("ffs_mount(): return early if namei() fails to lookup disk device")
Differential Revision: https://reviews.freebsd.org/D34562

(cherry picked from commit ab2dbd9b871dd00afc6ad78acb386ffa48b6b053)

2 years agoffs_mount(): return early if namei() fails to lookup disk device
Robert Wing [Mon, 7 Mar 2022 19:18:03 +0000 (10:18 -0900)]
ffs_mount(): return early if namei() fails to lookup disk device

With soft updates enabled, an INVARIANTS panic is hit in ffs_unmount().

The problem occurs in ffs_mount() when upgrading a mount from ro->rw.
During a mount update, the soft update code gets set up but doesn't get
cleaned up if namei() fails when looking up the disk device.

Avoid this scenario by looking up the disk device first and bail early
if the namei() lookup fails.

PR:             256511
Reviewed by: mckusick, kib
Differential Revision: https://reviews.freebsd.org/D30870

(cherry picked from commit 0455cc7104ec8e8dd54b3f44049112a5a8ca329c)

2 years agosh: fix autocompletion for commands that share name with a directory
Piotr Pawel Stefaniak [Sat, 12 Mar 2022 11:08:05 +0000 (12:08 +0100)]
sh: fix autocompletion for commands that share name with a directory

(cherry picked from commit 68700941c7ad58d6fa8eda82f3f370d87670fa6a)

2 years agonfsd: Do not exempt NFSv3 Fsinfo from the TLS check
Rick Macklem [Thu, 10 Mar 2022 00:52:42 +0000 (16:52 -0800)]
nfsd: Do not exempt NFSv3 Fsinfo from the TLS check

The Fsinfo RPC is exempt from the check for
Kerberized NFS being required, as recommended
by RFC2623.  However, there is no reason to
exempt Fsinfo from the requirement to use TLS.

This patch fixes the code so that the exemption
only applies to Kerberized NFS and not
NFS-over-TLS.

This only affects NFS-over-TLS for an NFSv3
mount when it is required, but the client does
not do so.

(cherry picked from commit 3fc3fe90915f02e25b4f1d5070e8e01e465e873d)

2 years agouma: Don't allow a limit to be set in a warm zone
Mark Johnston [Wed, 30 Mar 2022 19:42:18 +0000 (15:42 -0400)]
uma: Don't allow a limit to be set in a warm zone

The limit accounting in UMA does not tolerate this.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit d53927b0bae45bf5b4b206b2dddf37bab319a1b3)

2 years agoifconfig.8: Document that -k can be used with -a
Mateusz Piotrowski [Tue, 29 Mar 2022 17:37:01 +0000 (19:37 +0200)]
ifconfig.8: Document that -k can be used with -a

MFC after: 2 weeks

(cherry picked from commit b710d4c85acbb74ed2ac0be9b315bba23139a4c2)

2 years agoifconfig.8: Improve -f synopsis
Mateusz Piotrowski [Tue, 29 Mar 2022 17:32:32 +0000 (19:32 +0200)]
ifconfig.8: Improve -f synopsis

- There is no need to mention in the synopsis that -f can be a list of
  comma-separated type:format pairs. Let's keep it simple instead.
- Mention that -f can be supplied multiple times.
- Add -f to other entries in the synopsis where it can be used.

MFC after: 2 weeks

(cherry picked from commit 52ec8807d8b3a59b7497a3aa94952c7ad4b162bd)

2 years agoifconfig.8: Document the synopsis of -C
Mateusz Piotrowski [Tue, 29 Mar 2022 17:16:07 +0000 (19:16 +0200)]
ifconfig.8: Document the synopsis of -C

As documented, the -C flag can only be used on its own. Any other
command modifiers and flags are ignored when -C is used. Reflect that in
synopsis.

MFC after: 2 weeks

(cherry picked from commit efb4f7fd09eb54e231c819888a65a8c596a36afc)

2 years agoifconfig.8: Show that -g groupname can be used on its own
Mateusz Piotrowski [Tue, 29 Mar 2022 17:14:20 +0000 (19:14 +0200)]
ifconfig.8: Show that -g groupname can be used on its own

MFC after: 2 weeks

(cherry picked from commit a9475cb38954937839debc29210cf75a258bab3b)

2 years agoifconfig.8: Cluster together short flags
Mateusz Piotrowski [Tue, 29 Mar 2022 17:12:50 +0000 (19:12 +0200)]
ifconfig.8: Cluster together short flags

MFC after: 2 weeks

(cherry picked from commit 2e053399fc3dd8464ee8761e35f1dc5100413fb2)

2 years agoifconfig.8: Add capability codes descriptions from handbook
Mateusz Piotrowski [Tue, 29 Mar 2022 11:11:46 +0000 (13:11 +0200)]
ifconfig.8: Add capability codes descriptions from handbook

We document capability codes (the CAPS field of "ifconfig wlan0 scan")
in both ifconfig(8) and the handbook. The list is more complete in the
manual page, while the descriptions of individual capabilities are more
detailed in the handbook.

In order to reduce content duplication and bit rot, let's move
handbook's details to the manual page and reference the manual page
whenever necessary.

Reviewed by: debdrup
Reviewed by: Pau Amma
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D34662

(cherry picked from commit 05621e0b2094d566aa39b82d01b4a6902a1b22b7)

2 years agox86/xen: fallback when VCPUOP_send_nmi is not available
Roger Pau Monné [Thu, 13 Jan 2022 13:48:14 +0000 (14:48 +0100)]
x86/xen: fallback when VCPUOP_send_nmi is not available

It has been reported that on some AWS instances VCPUOP_send_nmi
returns -38 (ENOSYS). The hypercall is only available for HVM guests
in Xen 4.7 and newer. Add a fallback to use the native NMI sending
procedure when VCPUOP_send_nmi is not available, so that the NMI is
not lost.

Reported and Tested by: avg
Fixes: b2802351c162 ('xen: fix dispatching of NMIs')
Sponsored by: Citrix Systems R&D
(cherry picked from commit ad15eeeaba30cdf10036b7869d27441cfc9f0674)

2 years agoxen/blkback: fix reconnection of backend
Roger Pau Monné [Tue, 11 May 2021 10:19:29 +0000 (12:19 +0200)]
xen/blkback: fix reconnection of backend

The hotplug script will be executed only once for each backend,
regardless of the frontend triggering reconnections. Fix blkback to
deal with the hotplug script being executed only once, so that
reconnections don't stall waiting for a hotplug script execution
that will never happen.

As a result of the fix move the initialization of dev_mode, dev_type
and dev_name to the watch callback, as they should be set only once
the first time the backend connects.

This fix is specially relevant for guests wanting to use UEFI OVMF
firmware, because OVMF will use Xen PV block devices and disconnect
afterwards, thus allowing them to be used by the guest OS. Without
this change the guest OS will stall waiting for the block backed to
attach.

Fixes: de0bad00010c ('blkback: add support for hotplug scripts')
Sponsored by: Citrix Systems R&D
(cherry picked from commit 4772e86beb089ee08a3bff8ad359e83a4c623238)

2 years agoxen/netback: do not attempt to connect in the Initialised state
Roger Pau Monné [Tue, 16 Mar 2021 11:43:49 +0000 (12:43 +0100)]
xen/netback: do not attempt to connect in the Initialised state

Only attempt to fetch the configuration data and connect the shared
ring once the frontend has switched to the 'Connected' state. This
seems to be inline with what Linux netback does, and is required to
make newer versions of NetBSD netfront work, since NetBSD only
publishes the required configuration before switching to the Connected
state.

Sponsored by: Citrix Systems R&D
(cherry picked from commit 4489124c04727a4aad418eec3148e0c8de23ff4d)

2 years agoRevert "mii: include missing sources in loadable module"
Mitchell Horne [Mon, 11 Apr 2022 17:54:13 +0000 (14:54 -0300)]
Revert "mii: include missing sources in loadable module"

This reverts commit b9ec0b7e86ac01d3c8634d5b3a7658b5d9d34267. It breaks
the build.

Reported by: Jenkins, kp

2 years agolibpfctl: relocate implementations of pfr_add/get/set_addrs
Reid Linnemann [Mon, 4 Apr 2022 14:43:38 +0000 (16:43 +0200)]
libpfctl: relocate implementations of pfr_add/get/set_addrs

Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34740

(cherry picked from commit 4823489ab61dbaef4405cf03d2a48e77e593ce9c)

2 years agopfsync: Add CTLFLAG_VNET to carp_demotion_factor sysctl
Luiz Amaral [Sat, 2 Apr 2022 10:09:06 +0000 (12:09 +0200)]
pfsync: Add CTLFLAG_VNET to carp_demotion_factor sysctl

When trying to avoid a CARP demotion during a pfsync service restart, I
noticed that a non-default value for the net.pfsync.carp_demotion_factor
sysctl was not being applied during the demotion. The CARP was always
demoted by 240.

After investigating, I realized that the sysctl was using VNET_NAME()
without the CTLFLAG_VNET.

PR: 262983
Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34737

(cherry picked from commit 654c1b8ef3c0fcbad3a77ea2a6f35c0dffc86e88)

2 years agoriscv: eliminate physmap global
Mitchell Horne [Thu, 7 Apr 2022 15:13:19 +0000 (12:13 -0300)]
riscv: eliminate physmap global

Since physical memory management is now handled by subr_physmem.c, the
need to keep this global array has diminished. It is not referenced
outside of early boot-time, and is populated by physmem_avail() in
pmap_bootstrap(). Just allocate the array on the stack for the duration
of its lifetime.

The check against physmap[0] in initriscv() can be dropped altogether,
as there is no consequence for excluding a memory range twice.

Reviewed by: markj
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34778

(cherry picked from commit 8a0339e679aada927966be10f897891b447edb0b)

2 years agosavecore: include '-u' flag in usage message
Mitchell Horne [Tue, 5 Apr 2022 19:20:42 +0000 (16:20 -0300)]
savecore: include '-u' flag in usage message

Reported by: Pau Amma <pauamma@gundo.com>
Fixes bc7ed46b635e ("Add '-u' switch that would...")
MFC after: 3 days

(cherry picked from commit 173fc6f4562ecb4228653328d578d427d99dd54a)

2 years agomem(4): Improve ioctl section formatting
Mitchell Horne [Thu, 24 Feb 2022 16:15:17 +0000 (12:15 -0400)]
mem(4): Improve ioctl section formatting

Add the missing .El which fixes the indentation of the memory range
definitions and operation. Add subsection headings to further clarify
this section. Do the same for the RETURN VALUES section, and mention
explicitly that MEM_EXTRACT_PADDR always returns zero.

Reviewed by: markj, 0mp, Pau Amma <pauamma@gundo.com>
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D34574

(cherry picked from commit 071b78ce8fecd874c9aaa329467399c7b500c2e8)

2 years agomii: include missing sources in loadable module
Milan Obuch [Sat, 2 Apr 2022 18:28:33 +0000 (15:28 -0300)]
mii: include missing sources in loadable module

As of today, using 'kldload miibus' is not equivalent to using 'device
miibus' in a kernel config. Newly introduced PHY drivers (DP83822,
DP83867, VSCPHY) and source files/PHY driver for FDT-enabled kernels
are missing. Without including them, kernel modules using any function
from dev/mii/mii_fdt.c refuse to load. Additionally, miivar.h directly
includes opt_platform.h.

Add the missing sources to the module build, with the FDT-only files
gated behind an OPT_FDT check. Maintain the alphabetical listing of
SRCS, but move the required header files to a separate line to improve
readability.

Reviewed by: mhorne, mindal@semihalf.com
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34256

(cherry picked from commit 517ea731d4e803450537e9369d6a16aa4081acd7)

2 years agocgem: Support building as a loadable kernel module
Milan Obuch [Sat, 2 Apr 2022 16:53:37 +0000 (13:53 -0300)]
cgem: Support building as a loadable kernel module

For development, building a driver as kernel module is both convenient
and a time saver (no need for reboot on some change, testing it requires
just kldunload and kldload, a matter of seconds). For some special
cases, it may be even desirable to postpone initializing the network
interface after some action is done (loading a FPGA bitstream may be
required for Zynq/ZynqMP based hardware as an example).

Building is limited to ARM, ARM64 and RISC-V architectures (for Zynq,
ZynqMP, PolarFire Soc based boards, and HiFive based boards are known to
use CGEM at the moment).

Reviewed by: mhorne
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34687

(cherry picked from commit 242cd60a0a670ff7cc446436bedd129fbdce062c)

2 years agolibc: Check for readdir(2) errors in fts(3)
Ganael LAPLANCHE [Mon, 28 Mar 2022 14:54:02 +0000 (10:54 -0400)]
libc: Check for readdir(2) errors in fts(3)

Previously, such errors were not distinguished from the end-of-directory
condition.

With improvements from Mahmoud Abumandour <ma.mandourr@gmail.com>.

Reviewed by: markj
PR: 262038

(cherry picked from commit 0cff70ca66547ca5b04030ef07e6a0b9759a0184)

2 years agoaudit: Initialize vattr fields before calling VOP_GETATTR
Mark Johnston [Sun, 20 Mar 2022 01:59:13 +0000 (21:59 -0400)]
audit: Initialize vattr fields before calling VOP_GETATTR

Some filesystems do not fill out certain optional vattr fields.  To
ensure that they do not get copied out to userspace uninitialized, use
VATTR_NULL to provide default values.

Reported by: KMSAN
Sponsored by: The FreeBSD Foundation

(cherry picked from commit ecd764b0ea7a1b7fb5f1e6632f8d8db9233f06ea)

2 years agonet: Fix LLE lock leaks
Mark Johnston [Fri, 8 Apr 2022 15:46:19 +0000 (11:46 -0400)]
net: Fix LLE lock leaks

Historically, lltable_try_set_entry_addr() would release the LLE lock
upon failure.  After some refactoring, it no longer does so, but
consumers were not adjusted accordingly.

Also fix a leak that can occur if lltable_calc_llheader() fails in the
ARP code, but I suspect that such a failure can only occur due to a code
bug.

Reviewed by: bz, melifaro
Reported by: pho
Fixes: 0b79b007ebfc ("[lltable] Restructure nd6 code.")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit dd91d8448665dd31df5be7341756394293c6e36c)

2 years agoi386: Fix the nodevice apic build
Mark Johnston [Fri, 8 Apr 2022 15:47:52 +0000 (11:47 -0400)]
i386: Fix the nodevice apic build

PR: 263124
Fixes: 62d09b46ad75 ("x86: Defer LAPIC calibration until after timecounters are available")
Reviewed by: kib, jhb, emaste
Sponsored by: The FreeBSD Foundation

(cherry picked from commit aa597d4049ffee69d413ea2154f4b312ffbaf646)

2 years agovidcontrol: disable p, P, and H when vt(4) is in use
Ed Maste [Wed, 6 Apr 2022 23:39:19 +0000 (19:39 -0400)]
vidcontrol: disable p, P, and H when vt(4) is in use

These options use the CONS_SCRSHOT ioctl to capture the contents of the
current console, which is not yet supported by vt(4).  Disable the
options when vt(4) is in use rather than emitting a possibly confusing
error message.

This change should be reverted if CONS_SCRSHOT is implemented for vt(4).

PR: 263099
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

(cherry picked from commit c71ae91f1976746b380a8aada8676d7ae084fdc5)
(cherry picked from commit 1f4442f71fa33a8ef6d3da808e32872fb23a5700)

2 years agocpufreq.4: Use Xr for drivers with manuals
Mateusz Piotrowski [Mon, 4 Apr 2022 12:25:41 +0000 (14:25 +0200)]
cpufreq.4: Use Xr for drivers with manuals

While here, do not use Pa for drivers.

MFC after: 1 week

(cherry picked from commit 963a032b8d7e33384d7f9b6d593ab9914d949520)

2 years agoCross-reference cd(4) and cd9660(5)
Mateusz Piotrowski [Fri, 8 Apr 2022 13:19:07 +0000 (15:19 +0200)]
Cross-reference cd(4) and cd9660(5)

MFC after: 3 days

(cherry picked from commit 70068a3e1d7a6aeaabd3a810f4e16f87e5f08339)

2 years agobacklight.8: Fix description of -f
Mateusz Piotrowski [Fri, 8 Apr 2022 10:25:37 +0000 (12:25 +0200)]
backlight.8: Fix description of -f

If an unqualified name is provided, /dev/backlight/ is automatically
prepended instead of /dev/backlight.

MFC after: 3 days

(cherry picked from commit 2f60a7f902b0f58fa5fba0f75c4e4335963c8186)

2 years agopw.8: Do not specify full path to shell in examples
Mateusz Piotrowski [Sun, 3 Apr 2022 12:50:28 +0000 (14:50 +0200)]
pw.8: Do not specify full path to shell in examples

Providing a full path to a shell is discouraged in the description of
the -s flag. Let's follow the best practices in the examples.

MFC after: 1 week

(cherry picked from commit 84733f2e9676853b9420b1443ff98ea98dadc0d6)

2 years agopw.8: Fix synopsis of NIS flags
Mateusz Piotrowski [Sun, 3 Apr 2022 11:42:49 +0000 (13:42 +0200)]
pw.8: Fix synopsis of NIS flags

MFC after: 1 week

(cherry picked from commit 5243e560f635e28d76a15f434d4ba7f87c1067d3)

2 years agopw.8: Sorty synopsis flag
Mateusz Piotrowski [Sun, 3 Apr 2022 11:38:05 +0000 (13:38 +0200)]
pw.8: Sorty synopsis flag

MFC after: 1 week

(cherry picked from commit a0177bd56a0c4c414b41bccd65f815fe9b307870)

2 years agoefibootmgr: Use the hier(7) ESP mount point in examples
Mateusz Piotrowski [Sun, 3 Apr 2022 12:05:30 +0000 (14:05 +0200)]
efibootmgr: Use the hier(7) ESP mount point in examples

MFC after: 1 week

(cherry picked from commit 5fce57dd120c5c3c12541e1bd79a42fcfb95947d)

2 years agopw.8: Improve argument names
Mateusz Piotrowski [Sun, 3 Apr 2022 11:08:58 +0000 (13:08 +0200)]
pw.8: Improve argument names

Arguments passed to flags like -d and -k had ambiguous names like "dir".
Change that to more descriptive names like "homedir".

Also, clarify that -u min,max is for UIDs and -i min,max for GIDs.

MFC after: 1 week

(cherry picked from commit feb04c7b7c91a7042dd123773693e9f71114c3c8)

2 years agong_btsocket(4): Fix a typo in an error message
Gordon Bergling [Wed, 6 Apr 2022 16:27:29 +0000 (18:27 +0200)]
ng_btsocket(4): Fix a typo in an error message

- s/mulitplexor/multiplexor/

(cherry picked from commit f64919bbd9b7d84f61a99264c33187fc63aca2a4)

2 years agowpa_supplicant.conf.5: add note about scan_ssid=1 eavesdropping
Ed Maste [Wed, 16 Mar 2022 02:18:01 +0000 (22:18 -0400)]
wpa_supplicant.conf.5: add note about scan_ssid=1 eavesdropping

When scan_ssid=1 the list of configured SSIDs is available to
eavesdroppers.  Note this in the man page.

PR: 194122
Reviewed by: debdrup, Pau Amma
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34576

(cherry picked from commit 4f75af31a86ff71780f48a5b99cf814f61d77eae)

2 years agompr: add \n in diagnostic printf
Ed Maste [Mon, 28 Mar 2022 17:24:06 +0000 (13:24 -0400)]
mpr: add \n in diagnostic printf

Diff reduction between mpr and mps.

Fixes: e2997a03b7f7 ("Diagnostic buffer fixes for the mps(4)...")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 27ac4281fddd81e1352cd05bb9f50ed303f12e89)

2 years agodumpon: proceed without compression if the kernel lacks support
Ed Maste [Thu, 10 Mar 2022 18:04:34 +0000 (13:04 -0500)]
dumpon: proceed without compression if the kernel lacks support

PR: 252554
Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34520

(cherry picked from commit 2b20327ec9394754c0bac2d83567b972a08e3930)

2 years agolibarchive: fix zstd compression support
Martin Matuska [Fri, 8 Apr 2022 08:09:32 +0000 (10:09 +0200)]
libarchive: fix zstd compression support

The commit 833a452e9 introduced a change that detached
the zstd compression (not decompression) support from base build.

Reported by: kevans

(cherry picked from commit 7f815d4f128f063c1bac361c8f26b52ab7df1e6c)

2 years agoisci(4): Remove a double word in an error message
Gordon Bergling [Sun, 3 Apr 2022 14:07:20 +0000 (16:07 +0200)]
isci(4): Remove a double word in an error message

- s/is is/is/

(cherry picked from commit 756220b5152526a5a89ca16df31d8acf0a7795bb)

2 years agotty(4): Add a HISTORY section to the manual page
Gordon Bergling [Sun, 3 Apr 2022 13:12:41 +0000 (15:12 +0200)]
tty(4): Add a HISTORY section to the manual page

Note that a console typewriter device /dev/tty
and asynchronous communication interfaces /dev/tty[0-5]
first appeared in Version 1 AT&T UNIX.

Obtained from: OpenBSD

(cherry picked from commit b988af5b439220f37159ed18318e8e4baeedc6a7)

2 years agoif_indextoname(3): Correct the RFC in a comment
Gordon Bergling [Sun, 3 Apr 2022 11:50:15 +0000 (13:50 +0200)]
if_indextoname(3): Correct the RFC in a comment

RFC 2533 refers to 'A Syntax for Describing Media Feature Sets',
which is wrong since the correct reference should be
RFC 2553 'Basic Socket Interface Extensions for IPv6'.

Obtained from: OpenBSD

(cherry picked from commit fa556e83be84c588704ce0d652803eb7187bcd30)

2 years agokern: Fix two typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 12:52:49 +0000 (14:52 +0200)]
kern: Fix two typos in source code comments

- s/accomodate/accommodate/

(cherry picked from commit c9b04ee4f8a85ba4f6645de25c17180c752d1b04)

2 years agoneta: Fix a few common typos in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:29:23 +0000 (10:29 +0200)]
neta: Fix a few common typos in a source code comment

- s/hander/handler/

(cherry picked from commit 6efd2e3e513f53cb0cab8c852d1b88bbcbd13c7d)

2 years agodevd(8): Fix a typo in a configuration file
Gordon Bergling [Sat, 2 Apr 2022 09:52:26 +0000 (11:52 +0200)]
devd(8): Fix a typo in a configuration file

- s/coresponding/corresponding/

(cherry picked from commit e09d161bd99bbbd5b5e35eb987cf53f5f3d50515)

2 years agosafe(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:03:17 +0000 (14:03 +0200)]
safe(4): Fix a typo in a source code comment

- s/multple/multiple/

(cherry picked from commit 81d4309f9bc1a651066b19d02b766f1386d558df)

2 years agotsec: Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:48:37 +0000 (10:48 +0200)]
tsec: Fix a typo in a source code comment

- s/immediatly/immediately/

(cherry picked from commit 5c0b62dcfc38671c51399bda14ed3d8202c80872)

2 years agopnfsserver(4): Fix a typo in the manual page
Gordon Bergling [Sat, 2 Apr 2022 13:12:51 +0000 (15:12 +0200)]
pnfsserver(4): Fix a typo in the manual page

- s/commmand/command/

(cherry picked from commit a16977209bc261239022fac2cab6956a8e9676b5)

2 years agosmartpqi(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 13:21:45 +0000 (15:21 +0200)]
smartpqi(4): Fix a typo in a source code comment

- s/commmand/command/

(cherry picked from commit 882d3b24fe055b777efb7de575f8126ab965085b)

2 years agorpc(3): Fix two typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 07:33:24 +0000 (09:33 +0200)]
rpc(3): Fix two typos in source code comments

- s/alloctaed/allocated/

Obtained from: NetBSD

(cherry picked from commit 5c49e1cbea1beef4d3c5c4096ed48664c3c218df)

2 years agoetherswitch(4): Fix a few common typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 12:51:57 +0000 (14:51 +0200)]
etherswitch(4): Fix a few common typos in source code comments

- s/accomodate/accommodate/

(cherry picked from commit 9097d2f5d10f2cf051eac81e0d3626554633d9f8)

2 years agomrsas(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 11:59:11 +0000 (13:59 +0200)]
mrsas(4): Fix a typo in a source code comment

- s/alloction/allocation/

(cherry picked from commit 32c601b6cfbcd6d99722faaacb8d246cd27116bd)

2 years agocc_vegas(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:07:44 +0000 (14:07 +0200)]
cc_vegas(4): Fix a typo in a source code comment

- s/measurment/measurement/

(cherry picked from commit 17628f1b7927cefe2c28c6cb786cc51890589cf9)

2 years agonet(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:57:06 +0000 (14:57 +0200)]
net(4): Fix a typo in a source code comment

- s/accomodate/accommodate/

(cherry picked from commit d792dc7ebb2caba22980428c801f0392a73cc15a)

2 years agotop(1): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:53:20 +0000 (14:53 +0200)]
top(1): Fix a typo in a source code comment

- s/accomodate/accommodate/

(cherry picked from commit 2fc0894023bf4220ae559d9eeff8aa5c51b18cff)

2 years agolibnetbsd: Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:53:56 +0000 (14:53 +0200)]
libnetbsd: Fix a typo in a source code comment

- s/accomodate/accommodate/

(cherry picked from commit 49f2bb36769f04b6720e8bb2c6db2a94e517e19a)

2 years agobce(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:40:34 +0000 (14:40 +0200)]
bce(4): Fix a typo in a source code comment

- s/exisitng/existing/

(cherry picked from commit 24926c487b59c7d80637ea77b13ffb6eb797b7f6)

2 years agoloader.4th(8): Fix a typo in the manual page
Gordon Bergling [Sat, 2 Apr 2022 13:11:59 +0000 (15:11 +0200)]
loader.4th(8): Fix a typo in the manual page

- s/commmand/command/

(cherry picked from commit ad49d7c54cca4906179369e2196c1edbcf509342)

2 years agoiscsi(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 13:20:59 +0000 (15:20 +0200)]
iscsi(4): Fix a typo in a source code comment

- s/commmand/command/

(cherry picked from commit 01d74e5c7a35195160984d2c015862f08aeda081)

2 years agocxgbe(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 13:19:59 +0000 (15:19 +0200)]
cxgbe(4): Fix a typo in a source code comment

- s/commmand/command/

(cherry picked from commit 5ee87525a853ebf50d834e69f814b9055996b964)

2 years agomlx4en(4): Fix two in source code comments
Gordon Bergling [Sat, 2 Apr 2022 11:33:05 +0000 (13:33 +0200)]
mlx4en(4): Fix two in source code comments

- s/differnt/different/
- s/differntly/differently/

(cherry picked from commit 6039e38f93819050ef7627f16554c97830b98a32)

2 years agokhelp(9): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:09:08 +0000 (14:09 +0200)]
khelp(9): Fix a typo in a source code comment

- s/measurment/measurement/

(cherry picked from commit 8d30ef92d59567d47a1fee9dc71baf17a555234d)

2 years agokern: Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:15:02 +0000 (10:15 +0200)]
kern: Fix a typo in a source code comment

- s/paniced/panicked/

(cherry picked from commit 669d5ea4e3a5824520d3da7fc0beb9bf3d8d1a8f)

2 years agoneta: Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:46:13 +0000 (10:46 +0200)]
neta: Fix a typo in a source code comment

- s/immediatly/immediately/

(cherry picked from commit 592fcf6c455508b39342dbbf5725c85af9623245)

2 years agonet(3): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 07:24:48 +0000 (09:24 +0200)]
net(3): Fix a typo in a source code comment

- s/paramenters/parameters/

(cherry picked from commit 23677398ca6b2b66a5ba9c5302ea81f52d14d986)

2 years agoisci(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 11:35:30 +0000 (13:35 +0200)]
isci(4): Fix a typo in a source code comment

- s/differnt/different/

(cherry picked from commit 011e6016d0225e757a4475b082d1017804d259e9)

2 years agocam: Fix typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 08:13:35 +0000 (10:13 +0200)]
cam: Fix typos in source code comments

- s/paniced/panicked/

(cherry picked from commit 49dace1d465dd99b72a73a9d373137be7816e2f0)

2 years agokern: Fix two typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 12:14:31 +0000 (14:14 +0200)]
kern: Fix two typos in source code comments

- s/measurment/measurement/

(cherry picked from commit 7181887e8220879b0d7fd7dc16e455a7e5e22f7d)

2 years agoocs_fc(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:28:30 +0000 (14:28 +0200)]
ocs_fc(4): Fix a typo in a source code comment

- s/initialzied/initialized/

(cherry picked from commit cededdff9bf00914bc7109c38ee778b894e7dd6f)

2 years agofusefs(5): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:56:21 +0000 (14:56 +0200)]
fusefs(5): Fix a typo in a source code comment

- s/accomodate/accommodate/

(cherry picked from commit ef1534cad8a085946105e135d2d75e275011ec4b)

2 years agocrypto(9): Fix a typo in the manual page
Gordon Bergling [Sat, 2 Apr 2022 12:35:55 +0000 (14:35 +0200)]
crypto(9): Fix a typo in the manual page

- s/faciliate/facilitate/

(cherry picked from commit 8e8d2a722e82eaaaab7a63704285a23166775904)

2 years agosnd_csa(4): Fix a few common typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 08:30:52 +0000 (10:30 +0200)]
snd_csa(4): Fix a few common typos in source code comments

- s/hander/handler/

(cherry picked from commit dc8d33b3682b624789210c4776a0fca9525151e1)

2 years agoipf(5): Fix a typo in the manual page
Gordon Bergling [Sat, 2 Apr 2022 12:50:45 +0000 (14:50 +0200)]
ipf(5): Fix a typo in the manual page

- s/accomodate/accommodate/

(cherry picked from commit 8a3568b584cb9e1abab94c047172fc99421e99a9)

2 years agonet(3): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 07:41:10 +0000 (09:41 +0200)]
net(3): Fix a typo in a source code comment

- s/Multilik/Multilink/

Obtained from: NetBSD

(cherry picked from commit f8d292b6656de9e78ae63981e2c8d8662a85dc8c)

2 years agonetinet: Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:39:32 +0000 (14:39 +0200)]
netinet: Fix a typo in a source code comment

- s/exisitng/existing/

(cherry picked from commit 942e8cab8c6f8a6a5dabdc7b87269ee39f657535)

2 years agousd: Fix two typos
Gordon Bergling [Sat, 2 Apr 2022 13:16:02 +0000 (15:16 +0200)]
usd: Fix two typos

- s/commmand/command/

(cherry picked from commit f223450b5df921bb602c089b097f7d2b9a860ed9)

2 years agohtu21(4): Correct a typo in the manual page
Gordon Bergling [Sat, 2 Apr 2022 12:06:14 +0000 (14:06 +0200)]
htu21(4): Correct a typo in the manual page

- s/measurment/measurement/

(cherry picked from commit 0d40cd15240503931f493c0c97d8db0914bfbfbd)

2 years agonet(3): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:53:40 +0000 (10:53 +0200)]
net(3): Fix a typo in a source code comment

- s/verion/version/

(cherry picked from commit cba46da538b8ff0937c3a67554ada363da96ce66)

2 years agorisc-v: Fix two typos in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 06:58:45 +0000 (08:58 +0200)]
risc-v: Fix two typos in a source code comment

- s/interger/integer/
- s/manupilate/manipulate/

(cherry picked from commit c748efcd9408480cb11d09a1ef4348dc7fd088b6)

2 years agonetpfil: Fix two typo in source code comments
Gordon Bergling [Sat, 2 Apr 2022 12:18:11 +0000 (14:18 +0200)]
netpfil: Fix two typo in source code comments

- s/measurment/measurement/

While here, also fix some whitespace issues.

(cherry picked from commit f70fc4377f26f66ff3c125dbf7b6fa8b4698ed8d)

2 years agousb(3): Fix a few typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 08:14:32 +0000 (10:14 +0200)]
usb(3): Fix a few typos in source code comments

- s/paniced/panicked/

(cherry picked from commit 9094c3a71bc1f2893c64479ba42016ed1507792c)

2 years agomemguard(9): Fix two typos in source code comments
Gordon Bergling [Sat, 2 Apr 2022 11:51:27 +0000 (13:51 +0200)]
memguard(9): Fix two typos in source code comments

- s/comparsion/comparison/

(cherry picked from commit f167c46e7965ae08255313c4a624be19b4873442)

2 years agocron(8): Fix a typo in the documentation
Gordon Bergling [Sat, 2 Apr 2022 13:16:33 +0000 (15:16 +0200)]
cron(8): Fix a typo in the documentation

- s/commmand/command/

(cherry picked from commit 3b31bf26b47b45323d25e32591690737906020d3)

2 years agojme(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:22:28 +0000 (10:22 +0200)]
jme(4): Fix a typo in a source code comment

- s/watchog/watchdog

(cherry picked from commit be83eecf5a81612675a679111b14486b31c9df05)

2 years agoisci(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:29:34 +0000 (14:29 +0200)]
isci(4): Fix a typo in a source code comment

- s/initialzied/initialized/

(cherry picked from commit b61c7c2dfb644a3950f17cfb8ba92d6c09d6649c)

2 years agobxe(4): Fix a typo in an error message
Gordon Bergling [Sat, 2 Apr 2022 06:56:06 +0000 (08:56 +0200)]
bxe(4): Fix a typo in an error message

- s/intergers/integers/

(cherry picked from commit e443f2102eb596f9e0bd9a8bc084755229bd7e5f)

2 years agosound(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:50:03 +0000 (10:50 +0200)]
sound(4): Fix a typo in a source code comment

- s/immediatly/immediately/

(cherry picked from commit 24498b53eff4f770e06d1dc1a1cba549b7cbaac6)

2 years agoNOTES: Fix a typo in a comments
Gordon Bergling [Sat, 2 Apr 2022 12:50:04 +0000 (14:50 +0200)]
NOTES: Fix a typo in a comments

- s/accomodate/accommodate/

(cherry picked from commit b34f7568d180df8b13f4877a48bea4930d453f18)

2 years agong_pppoe(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 11:54:36 +0000 (13:54 +0200)]
ng_pppoe(4): Fix a typo in a source code comment

- s/asychronous/asynchronous/

(cherry picked from commit 7fc0ffda35641bb31ed50a5c2f548c40d3da4bc4)

2 years agojme(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 08:54:43 +0000 (10:54 +0200)]
jme(4): Fix a typo in a source code comment

- s/verion/version/

(cherry picked from commit 13bf578c251e74e1114a73c28d8d5d60d1efdd39)

2 years agoefivar(8): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 11:34:46 +0000 (13:34 +0200)]
efivar(8): Fix a typo in a source code comment

- s/differnt/different/

(cherry picked from commit cf226430bb1a6086106fb63669b526cfc33a2544)

2 years agoiwm(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 09:50:38 +0000 (11:50 +0200)]
iwm(4): Fix a typo in a source code comment

- s/coresponding/corresponding/

Obtained from: NetBSD

(cherry picked from commit 9f4dc7fd97de953744caa6a7cfc4e291871f1224)

2 years agoown(9): Fix a typo in a function name in the manual page
Gordon Bergling [Sat, 2 Apr 2022 13:26:40 +0000 (15:26 +0200)]
own(9): Fix a typo in a function name in the manual page

- s/own_commmand_wait/own_command_wait/

(cherry picked from commit a95850f10af4fb4102f4c4f7c16775dbcd6568e6)

2 years agosound(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 2 Apr 2022 12:40:10 +0000 (14:40 +0200)]
sound(4): Fix a typo in a source code comment

- s/exisitng/existing/

(cherry picked from commit 0ce9617620987bd9d4ddd408c892af6aae19f78c)

2 years agomt(3): Fix a typo in the manual page
Gordon Bergling [Wed, 6 Apr 2022 16:41:08 +0000 (18:41 +0200)]
mt(3): Fix a typo in the manual page

- s/mulitple/multiple/

(cherry picked from commit 656d68a711952ac2b92ed258502978c5ba1dbc73)

2 years agopass(4): Fix a typo in the manual page
Gordon Bergling [Wed, 6 Apr 2022 16:46:26 +0000 (18:46 +0200)]
pass(4): Fix a typo in the manual page

- s/modfied/modified/

(cherry picked from commit 3dcfd6c266d492075e8f8481a60170b22866db56)

2 years agosmbfs: caution against use in the manpage
Ed Maste [Wed, 6 Apr 2022 18:25:37 +0000 (14:25 -0400)]
smbfs: caution against use in the manpage

It supports only the obsolete SMBv1 protocol, is known to be buggy, and
likely has security vulnerabilities.  It will either be updated or
removed in the future, but for now at least describe the current state
in the man page.

PR: 263043
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 7c140ef034c33ab0b16b535f3d5f945dc8f71cb4)

2 years agopw.8: Sort flags in synopsis
Mateusz Piotrowski [Fri, 1 Apr 2022 22:49:10 +0000 (00:49 +0200)]
pw.8: Sort flags in synopsis

MFC after: 1 week

(cherry picked from commit 39245a7d45ccdda961ae19bfa2b7dcb3d24ae86c)