Fix improper .Fx macro usage.

Differential Revision:	https://reviews.freebsd.org/D1158
Reviewed by:	wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274720 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
The number of BSD partitions is variable. Return the proper number
(which is in basetable->gpt_entries).

Submitted by: ae@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274721 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove acl_size.c; apparently it was never used.

PR:		194398
Submitted by:	ngie@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274722 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make the auto_master(5) man page clearer on how auto_master
and map files work together, and add example for smbfs.

Differential Revision:	https://reviews.freebsd.org/D1184
Reviewed by:	wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cxgbe(4): figure out the max payload size and save it for later.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274724 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replace the pw(1) calls with a variable, to make it easier to to change across all the tests as needed.

Reviewed by:	will


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274727 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for Power Button PMU events on non-ADB macs, such as aluminum
PowerBooks.

MFC after:	2 weeks
Relnotes:	yes


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use db_printsym() instead of our own in backtraces

Summary:
Currently if there are problems finding a symbol, backtrace ends up printing
something like:

0xdeadbeef: at +0x12345

Which is pretty useless.  This on its own should be fixed (retrieving symbols),
but aside from that, using db_printsym() is a better solution anyway.  If it
can't find a valid symbol it prints the actual address, and it has the added
benefit that if it can find the symbol, it might be able to print the file and
line as well.

Test Plan: Tested on my G4 PowerBook

Reviewers: #powerpc, nwhitehorn

Reviewed By: nwhitehorn

Differential Revision: https://reviews.freebsd.org/D1173

MFC after:	3 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
I agree w/ tedu that this isn't a Bug.. it's like complaining that
you can't use an ssh client to fetch a web page...

Submitted by:	tedu (via -tech)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use proper ordering in EXAMPLES section in growfs(8).

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document growfs(8) feature apparently nobody knows about.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Include a random device.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
* Add a random device
* Use the same rootdev path as MALTA, so the same emulator setups
  can be used with minimal fuss.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274740 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add example on how to use gpart before growfs.  While here, reorder examples
so that the simplest one comes first.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Uniformly refer to a file system as "file system".

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cpudep_ap_early_bootstrap() takes no arguments, so no need to give it one.

MFC after:	3 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Set the current vnet inside the ioctl handler for ipfilter.

Without this fix, the vnet was NULL and would crash.
This fix is similar to what was done inside the ioctl handler for PF.

Tested by:
   (1) Boot a kernel with "options VIMAGE" enabled
   (2) Type:

   echo "map lo0 from 10.0.0.0/24 to ! 10.0.0.0/24 -> 127.0.0.1/32" > /etc/ipnat.rules ; service ipnat onerestart

PR: 176992
Differential Revision: https://reviews.freebsd.org/D1191
Reviewed by: cy


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274744 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFp4: @179066

Add page which describes VNET network stack virtualization infrastructure.

Submitted by: bz
Sponsored by: The FreeBSD Foundation
Sponsored by: CK Software GmbH


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Spell out "Windows" - no need to censor it in a man page


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use geom attribute "PART::type" to determine partition type and choose
relevant fsck_xxx utility.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274750 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f