Commit graph

20301 commits

Author SHA1 Message Date
Greg Lehey
44f28069e2 makefs: Explain the -d option
(cherry picked from commit 915af883221a4982e89ef878f1def0899ccac283)
2023-10-24 09:51:46 -04:00
Jan Bramkamp
700689bc2a bhyve: Use VMIO_SIOCSIFFLAGS instead of SIOCGIFFLAGS
Creating an IP socket to invoke the SIOCGIFFLAGS ioctl on is the only
thing preventing bhyve from working inside a bhyve jail with IPv4 and
IPv6 disabled restricting the jailed bhyve process to only access the
host network via a tap/vmnet device node.

PR:		273557
Fixes:		56be282bc9 ("bhyve: net_backends, automatically IFF_UP tap devices")
Reviewed by:	markj
MFC after:	1 week

(cherry picked from commit fd8b9c73a5a63a7aa438a73951d7a535b4f25d9a)
2023-10-24 09:21:17 -04:00
Vitaliy Gusev
c038e80498 bhyve: Remove init_snapshot() and initialize static vars
vCPU threads are starting before init_snapshot() is called. That can lead
to corruption of vcpu_lock userspace mutex (snapshot.c) and then VM hangs
in acquiring that mutex.

init_snapshot() initializes only static variables (mutex, cv) and that
code can be optimized and removed.

Fixes:		9a9a248964 ("bhyve: init checkput before caph_enter")
Reviewed by:	markj
MFC after:	1 week
Sponsored by:	vStack

(cherry picked from commit 7de582874eb9d08f3f87d11ed9e2b9ce8306db79)
2023-10-24 09:21:08 -04:00
R. Christian McDonald
169746a877 ndp: fix timestamp display output
The current xo_format string is incorrect. This restores the display
format prior to libxo-ification work while also explicitly marking
tv_sec and tv_usec as encoded output only.

MFC after:	1 week
Reviewed by:	kp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D42269

(cherry picked from commit 2bb78b46e02413483409fe73244995524b838b6e)
2023-10-24 09:45:35 +02:00
Kristof Provost
72b97a4e28 netlink: cope with growing requests
If a request ends up growing beyong the initially allocated space the
netlink functions (such as snl_add_msg_attr_u32()) will allocate a
new buffer. This invalidates the header pointer we can have received
from snl_create_msg_request(). Always use the hdr returned by
snl_finalize_msg().

Reviewed by:	melifaro
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D42223

(cherry picked from commit 4f8f43b06ed07e96a250855488cc531799d5b78f)
2023-10-24 09:45:20 +02:00
Konstantin Belousov
c5f92e2ac8 automount(8): when flushing autofs, specify fsid
PR:	272446

(cherry picked from commit 56c44bd92efa002b2185445878fc98172ae8c66f)
2023-10-24 03:46:02 +03:00
Andrew Gierth
361f7820cd automount: check for mounted-over autofs instances on flush
PR:	272446

(cherry picked from commit 21b8e363c4eb24c0a5659101603cc08a86d87759)
2023-10-24 03:46:01 +03:00
Kyle Evans
5c2a559876 freebsd-update: create deep BEs by default
The -r flag to bectl needs to go away, and we need to just do the right
thing.  In the meantime, we can apply an -r in freebsd-update as a
minimal fix to stop creating partial backups in these (non-default) deep
BE setups.

PR:		267535
(cherry picked from commit 989c5f6da99081b1f2b76ec09e91078e531e1250)
2023-10-23 19:04:14 -05:00
Ed Maste
6561fec386 freebsd-update: allow user to break out of conflict resolution loop
When a conflict marker is found during update allow the user to confirm
they want it to remain in the file.

Suggested by:	Tim Hogard
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Fixes: ceb5f28ba5 ("freebsd-update: re-edit files if merge confli...")
Differential Revision: https://reviews.freebsd.org/D38896

(cherry picked from commit 3d44241546173de00852ab5e22263ba538cd8759)
2023-10-23 19:35:57 -04:00
John Baldwin
bfbb28f3b1 bsdinstall partedit: Apply changes from scripted installs
I got a check inverted in a previous cleanup commit and as a result
partedit was only applying GEOM changes (and generating an /etc/fstab)
if it got an error reading the current GEOM mesh.  Instead, it needed
to do those actions if it succeeded in reading the mesh.

The lack of /etc/fstab meant that bsdinstall mount didn't mount
anything in a scripted install.

PR:		273723
Reported by:	Andrey Fesenko <andrey@bsdnir.info>
Reported by:	Michal Nowak <mnowak@startmail.com>
Reviewed by:	cognet, brooks
Fixes:		2309909919 bsdinstall: Handle errors from geom_gettree.
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42236

(cherry picked from commit 5307bbcc038f878b4b3714f03a2c824a0caeba4f)
2023-10-19 11:59:57 -07:00
Emmanuel Vadot
a01e703e50 pkgbase: Move blacklist utilities to a new package
Unbloat a bit FreeBSD-utilities.
The only package that will depends on this new one is FreeBSD-ssh
which not anyone have in some setup.
And this will allow to have small pkgbase setup with ssh without
having to bring the bloated FreeBSD-utilities package
Name the package blocklist to reflect upstream futur changes.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D42148

(cherry picked from commit 0983e80a9addbd65603a430e186d2a50b4e15e29)
2023-10-18 16:36:27 +02:00
Pierre Pronchery
9ef162b239 tzsetup: add support for countries in two continents
This supports countries located across multiple continents, as per the
zone1970.tab file. This only affects Cyprus and Türkiye at the moment.

PR:		236874
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41306

(cherry picked from commit 914ab28c598c108bcfa5c040cc3056a8e6fc3811)
2023-10-16 08:29:46 -04:00
Ed Maste
ffe4456d7d freebsd-update: add a note about when files may be deleted
Files under /var/db/freebsd-update are required during the upgrade
process, and to support rollback.  They may be deleted if no upgrade is
in progress and rollback will not be required.

PR:		273601
Reviewed by:	bcr
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42022

(cherry picked from commit 30beebe444f5f415a388be9df91107246bd32674)
2023-10-13 10:13:38 -04:00
Mark Johnston
8f485cac63 bhyve: Move the vm_inject_fault() implementation to vmexit.c
This function isn't generic and has a different signature on arm64.  No
functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40991

(cherry picked from commit 7228ad8da93bcce820c85b733972d0d9cc767d27)
2023-10-11 09:24:41 -04:00
Mark Johnston
a43a3efa5a bhyve: Build the HPET ACPI table on amd64 only
There is no HPET on arm64 and vm_get_hpet_capabilities() is not
implemented there.  Move the vm_get_hpet_capabilities() call into
build_hpet(): I cannot see a downside, and doing so eliminates a global
variable and reduces the amount of code that needs to be conditionally
compiled.  No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40990

(cherry picked from commit 83b003fbe965869124706b4a80b212734152356d)
2023-10-11 09:24:40 -04:00
Mark Johnston
15181b7302 bhyve: Move most early initialization into an MD routine
Prior to initializing PCI devices, main() calls a number of
initialization routines, many of which are amd64-specific.  Move this
list of calls to bhyverun_machdep.c.  Similarly, add an MD function to
handle late initialization.

No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40989

(cherry picked from commit f82af74c76030029d4d8af95c29f2036a20796a4)
2023-10-11 09:24:38 -04:00
Mark Johnston
cd60f1af56 bhyve: Move vcpu initialization into a MD source file
- Make handling of x86 config options, like x86.x2apic, conditional to
  amd64.
- Move fbsdrun_set_capabilities() and spinup_vcpu() to a new file,
  bhyverun_machdep.c.  The moved code is all highly x86 specific.

I'm not sure how best to handle the namespace.  I'm using "bhyve_" for
MD functions called from MI code.  We also have "fbsdrun_" for some MI
routines that are typically called from MD code.  The file name is
prefixed by "bhyverun_".

Reviewed by:	corvink
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40987

(cherry picked from commit e20b74da223d675321618fe6d67858084d152c9e)
2023-10-11 09:24:15 -04:00
Mark Johnston
7ed39a5ad7 bhyve: Make gdb support optional
Add a BHYVE_GDB_SUPPORT make variable that can be set by per-arch
makefiles.  When set, BHYVE_GDB is defined and can be used as a
preprocessor predicate.  Use it to guard gdb stub calls in MI code.

The arm64 bhyve port currently does not have a functional gdb stub, but
that's not critical to landing the port, so this mechanism slightly
reduces the friction of adding support for a new platform.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40986

(cherry picked from commit ca2cda98d265ef5d80b7cd0705697a1af27fb808)
2023-10-11 09:22:08 -04:00
Mark Johnston
c011fbc9a8 bhyve: Make most I/O port handling specific to amd64
- The qemu_fwcfg interface, as implemented, is I/O port-based, but QEMU
  implements an MMIO interface that we'll eventually want to port for
  arm64.
- Retain support for I/O space PCI BARs, simply treat them like MMIO
  BARs for most purposes, similar to what the arm64 kernel does.  Such
  BARs are created by virtio devices.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40741

(cherry picked from commit 31cf78c9217b8298816115474973f4f0568962cf)
2023-10-11 09:22:07 -04:00
Mark Johnston
96753aebcc bhyve: Conditionally compile framebuffer-related code
The arm64 port does not implement VGA, so move the device model sources.
Compile framebuffer code only on amd64 for now, but do not move the
sources, as we ought to be able to add support later.

No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40740

(cherry picked from commit 61429b49d2bd4fdad37e0873b2fc085eacbd26b2)
2023-10-11 09:22:06 -04:00
Mark Johnston
a862ee32ca bhyve: Move legacy PCI interrupt handling under amd64/
Specifically, move IO-APIC, LPC and PIRQ routing code under amd64/.

Use ifdefs to conditionally compile related code in other files.  In
particular, legacy PCI interrupt handling is now compiled only on amd64.
This is not too invasive, but suggestions for a more modular approach
would be appreciated.

I am not sure why qemu fwcfg handling is tied to LPC, and I suspect it
should be decoupled.  In this commit I just apply an ifdef hammer, but
we will eventually want fwcfg on arm64 as well.

No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40739

(cherry picked from commit 55c13f6e7a412cc4bd0ea3fc183cd7c5c2348f01)
2023-10-11 09:22:05 -04:00
Mark Johnston
4e509e693f bhyve: Compile some device models only on amd64
These models register legacy PCI interrupts, which won't be supported in
the arm64 port.  In principle it should be possible to make these models
work on arm64 with a bit of effort, so don't move the sources to the
amd64 subdirectory.

No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40738

(cherry picked from commit 71cc76e8d78eba4f6ff158c1d163af573a52580e)
2023-10-11 09:22:04 -04:00
Mark Johnston
4b5b18f0cf bhyve: Move AP startup code to amd64/
This code is only invoked via MD vmexit handlers.  No functional change
intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40737

(cherry picked from commit c7c5d3e3888aa9018297794285dcd884e6182bd5)
2023-10-11 09:22:03 -04:00
Mark Johnston
2efcefea15 bhyve: Move the gvt-d driver to amd64/
It is amd64-only.  No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40736

(cherry picked from commit 4ab7aea8ec2f5fac0e6d140300c8f04db99d83df)
2023-10-11 09:22:01 -04:00
Mark Johnston
143fde3faf bhyve: Move power management code to amd64/
This implements various x86-specific interfaces.  No functional change
intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40735

(cherry picked from commit 75d1e855b0a2acfb60e5a3c81b018d8f73ebf450)
2023-10-11 09:22:00 -04:00
Mark Johnston
83a8ffc202 bhyve: Move the RTC driver to amd64/
No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40734

(cherry picked from commit a7f6c2ff732db1d0032066109ee0dd5af1a39b81)
2023-10-11 09:21:59 -04:00
Mark Johnston
3f23b202e1 bhyve: Move MSR emulation into amd64/
No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40733

(cherry picked from commit 548b11228f7a83785dcf6c4c8b0bbfed0284d794)
2023-10-11 09:21:58 -04:00
Mark Johnston
f22dc6dca6 bhyve: Remove some unneeded includes from snapshot.c
MFC after:	1 week
Sponsored by:	Innovate UK

(cherry picked from commit 145ffd5db770669339fb73d242950f76d369de1b)
2023-10-11 09:21:56 -04:00
Mark Johnston
28c8a44993 bhyve: Split vmexit handling into a separate file
Put it in amd64, since most of it is MD and won't be used on arm64.  Add
a bit of glue to bhyverun.h to make CPU startup and shutdown work
without having to export more global variables.  AP startup will be
reworked further in a future revision.

This makes bhyverun.c much more machine-independent.

No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40556

(cherry picked from commit 72f9c9d82fce84fcb68c9aa1f32fabcf0c0038e9)
2023-10-11 09:21:55 -04:00
Mark Johnston
013da5d9c4 bhyve: Move kernemu to amd64/
This code handles instruction emulation for accesses to various
amd64-specific MMIO regions.

No functional change intended.

Reviewed by:	corvink, jhb, emaste
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40554

(cherry picked from commit a1642451ce25bb0e2d01765a8dedda69c5029d48)
2023-10-11 09:21:54 -04:00
Mark Johnston
aeb52e2ff6 bhyve: Move more amd64-specific code under amd64/
mptable and the e820 are both rather amd64-specific and can be moved
easily.

In the case of e820, move the registration with qemu_fwcfg into e820.c,
as it simplifies bhyverun.c a bit and I can't see any downsides.

No functional change intended.

Reviewed by:	corvink, jhb, emaste
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40552

(cherry picked from commit 4fe5b70cae6761b9205ff35b72ccfe60d7326301)
2023-10-11 09:21:53 -04:00
Mark Johnston
71378e0ffa bhyve: Move some more amd64-specific drivers to their own subdir
No functional change intended.

Reviewed by:	corvink, jhb, emaste
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40551

(cherry picked from commit f927afc1a6fe8257e28d79e8bb77305c2958724a)
2023-10-11 09:21:52 -04:00
Mark Johnston
63a45512b2 bhyve: Start moving machine-dependent code into subdirectories
In preparation for an arm64 port, make an easy change which puts some
machine-dependent code in its own directory.

Going forward, code which is only used on one platform should live in a
MD directory.  We should strive to layer modules in such a way as to
avoid polluting shared code with lots of ifdefs.  For some existing
files this will take some effort.

task_switch.c and fwctl.c are an easy place to start: the former is very
x86-specific, and the latter provides an I/O port interface which can't
be used on anything other than x86.  (fwcfg as implemented has the same
problem, but QEMU also supports a MMIO fwcfg interface.)  So I propose
that we start by simply making those files conditional.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40501

(cherry picked from commit 4f2bd4027b3261d159f6d673dc9ee9e84b4a3538)
2023-10-11 09:21:51 -04:00
Mark Johnston
24682747b4 bhyve: Improve pcifd function naming
read_config() and write_config() are externally visible, so give them
more descriptive names.  No functional change intended.

MFC after:	1 week
Sponsored by:	Innovate UK

(cherry picked from commit 01d53c34e79afaad757088e5fbb4846f02a8beca)
2023-10-11 09:21:48 -04:00
Danilo G. Baio
42790564b4 jexec.8: Add examples section
MFC after:	3 days
Reviewed by:	gbe, 0mp, danfe, pauamma_gundo.com
Differential Revision: https://reviews.freebsd.org/D40831

(cherry picked from commit 04c8bfc1761010c36081cf300fa751548d541122)
2023-10-10 20:13:07 -03:00
Mitchell Horne
5a2849bc3c pmcstat: fix duplicate event allocation on CPU 0
Commit b6e28991bf modified the allocation path for system scope PMCs
so that the event was allocated early for CPU 0. The reason is so that
the PMC's capabilities could be checked, to determine if pmcstat should
allocate the event on every CPU, or just on one CPU in each NUMA domain.
In the current scheme, there is no way to determine this information
without performing the PMC allocation.

This broke the established use-case of log analysis, and so
0aa1507751 was committed to fix the assertion. The result was what
appeared to be functional, but in normal counter measurement pmcstat was
silently allocating two counters for CPU 0.

This cuts the total number of counters that can be allocated from a CPU
in half. Additionally, depending on the particular hardware/event, we
might not be able to allocate the same event twice on a single CPU.

The simplest solution is to release the early-allocated PMC once we have
obtained its capabilities, and reallocate it later on. This restores the
event list logic to behave as it has for many years, and partially
reverts commit b6e28991bf.

Reported by:	alc, kevans
Reviewed by:	jkoshy, ray
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41978

(cherry picked from commit c362fe939f6fe52056fb7506be9e5cbd0a5ef60b)
2023-10-10 14:06:12 -03:00
Mark Johnston
162787ac49 makefs/zfs tests: Add a test case which appends to a file after import
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit b6da7f2fd127f447aa20843666b98d3a1d07b8c9)
2023-10-04 09:42:48 -04:00
Mark Johnston
5175923ef4 makefs/zfs: Ensure that the last block of a file has the right size
When copying a file's contents into the pool, a loop copies blocks of
the maximum size (128KB), allocating space from the vdev for each block.
The space allocator rounds up to the nearest block size, but for files
larger than the maximum size, this can result in the last block having a
smaller logical size than the rest of the blocks belonging to that
dnode.  This violates some ZFS invariants when appending to that file.

Modify fs_populate_file() to use the same block size for the final
block.

Reported by:	cperciva
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit ef20cd33d3287ebead0d30f2e177fc57a97dc2d5)
2023-10-04 09:42:37 -04:00
Mark Johnston
0074d0551d makefs/zfs: Remove a nonsensical comment
When populating files, makefs needs to copy their contents into
userspace in order to compute a checksum, so copy_file_range(2) is out
of the question.  Though, it could possibly be used when building other
types of filesystems.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 60c95af88f6a63fb7c2c86c6ff9c18743f6bbf0d)
2023-10-04 09:42:23 -04:00
Mark Johnston
ea5173e572 makefs/zfs: Set the objset block pointer fill field correctly
It is supposed to contain the number of objects allocated from the set,
excluding the meta dnode.

Reported by:	mav
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 46402fd21631b7d4686f8c341d92db6bcb190e5d)
2023-10-04 09:42:14 -04:00
Mark Johnston
d4a5d7a155 makefs/zfs tests: Run zdb prior to importing makefs-created pools
zdb contains quite a few assertions that can help catch bugs.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 87534f95dd2ed51e01165e0072cb1c7790809a8b)
2023-10-04 09:42:07 -04:00
Alan Somers
c70a4185c6 mprutil: "fix user reply buffer (64)..." warnings
Depending on the card's firmware version, it may return different length
responses for MPI2_FUNCTION_IOC_FACTS.  But the first part of the
response contains the length of the rest, so query it first to get the
length and then use that to size the buffer for the full response.

Also, correctly zero-initialize MPI2_IOC_FACTS_REQUEST.  It only worked
by luck before.

PR:		264848
Reported by:	Julien Cigar <julien@perdition.city>
Sponsored by:	Axcient
Reviewed by:	scottl, imp
Differential Revision: https://reviews.freebsd.org/D38739

(cherry picked from commit 7d154c4dc64e61af7ca536c4e9927fa07c675a83)
2023-10-02 19:31:12 -06:00
Juraj Lutter
a39ddf881a freebsd-update: Allow for upper/lowercase y/n
Allow for upper/lowercase y/n in "Does this look right?" question.

Reviewed by:		emaste
Approved by:		emaste
Differential revision:	https://reviews.freebsd.org/D40434

(cherry picked from commit 39f4633b3d2354c01a290d5f422dce7874061769)
2023-10-01 13:30:06 -04:00
Ed Maste
bc41221564 freebsd-update: handle file -> directory on upgrade
Upgrading from FreeBSD 13.2 to 14.0 failed with
  install: ///usr/include/c++/v1/__string exists but is not a directory
because __string changed from a file to a directory with an LLVM
upgrade.

Now, remove the existing file when the type conflicts.  Note that this
is only an interim fix to facilitate upgrades from 13.2 for 14.0 BETA
testing.  This change does not handle the directory -> file case and
further work is needed.

PR:		273661
Reviewed by:	dim, gordon
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41893

(cherry picked from commit f6d37c9ca13f8ab0ef32cf5344daecb8122d1e85)
2023-10-01 09:06:44 -04:00
R. Christian McDonald
f21f0d2e16 arp(8): fix by-interface and by-host filtering when using netlink
arp(8) has traditionally supported filtering by interface via -i and
by hostname. However, this functionality was omitted from the initial
netlink-ification of arp. This patch re-introduces this filtering
functionality.

This patch also improves by-interface filtering by storing and using the
ifindex of the requested interface for filtering instead of comparing
interface name strings

Reviewed by:	melifaro
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 79278872ad966e5f54805efbeb692c8cbc0306c8)
2023-09-30 13:26:12 +00:00
Stéphane Rochoy
be31bd5989 makefs: Handle missing link keyword in mtree spec
PR:		241178
Reviewed by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/850

(cherry picked from commit d26c1a0f8bceb6748436fe3fc57bac3ef8179dd3)
2023-09-24 09:17:43 -04:00
Ed Maste
84266fb897 Add deprecation notices to publickey(5) tools
Reviewed by:	imp, manu
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40144

(cherry picked from commit d5ef73a71f0e2fbc4dc9b907a6e59a15599c50b3)
2023-09-22 20:34:09 -04:00
Mateusz Piotrowski
fbd543a3fe bsdinstall.8: Set Bl's -width correctly
MFC after:		3 days

(cherry picked from commit a8f5c9d3305feb8e846e2ebb6511e350c2702eca)
2023-09-22 14:45:50 +02:00
Mateusz Piotrowski
8a43207b6d daemon.8: Document -u sets HOME, USER, and SHELL
Fixes:	6b3ad1d737 When -u option is used also set USER, HOME and SHELL
MFC after:	3 days

(cherry picked from commit c1207678f7ebd546a0705dabc3218e49abe06a99)
2023-09-22 14:41:28 +02:00
Mateusz Piotrowski
498aa9b2bf daemon.8: Sort options in DESCRIPTION
MFC after:	3 days

(cherry picked from commit ee23e1e49666e2c6edd0e5d749d3562587dcb9a7)
2023-09-22 14:41:28 +02:00