MFC rev. 265926:
(NANO_CONFIG): New variable containing path of config file, so that
the configuration can reference additional files relative to its own
location.

(NANO_MODULES): If set to "default", install all built modules.

Reviewed by:	imp
MFC r266195:

Remove some prototypes for undefined functions.
MFC r265465:

Don't reply monlist request when it's not enabled.
Document r266279 and r266280, '-J' flag to ps(1), and
corresponding top(1) change.

Sponsored by:	The FreeBSD Foundation
MFC 260237:
Fix a bug in the HPET emulation where a timer interrupt could be lost when the
guest disables the HPET.

The HPET timer interrupt is triggered from the callout handler associated with
the timer. It is possible for the callout handler to be delayed before it gets
a chance to execute. If the guest disables the HPET during this window then the
handler never gets a chance to execute and the timer interrupt is lost.

This is now fixed by injecting a timer interrupt into the guest if the callout
time is detected to be in the past when the HPET is disabled.
Add FreeBSD version 11.0.

This is a direct commit to stable/10.
MFC r266006 and r266011:
Fix unload of USB audio kernel module.
MFC rev. 265593:
(dd_out): Fix handling of all-zeroes block at end of input with
conv=sparse.

PR:		bin/189174
PR:		bin/189284
Reviewed by:	kib
MFC r265534:

msync(2) must return ENOMEM and not EINVAL when the address is outside the
allowed range or when one or more pages are not mapped. This according to
The Open Group Base Specifications Issue 7.

Sponsored by:	EMC / Isilon storage division
Fix a typo.

Submitted by:	Hilko Meyer <hilko.meyer@gmx.de>
Sponsored by:	The FreeBSD Foundation
MFC r266426

Slightly restructure the final loop in rman_reserve_resource_bound().
Replace with the existing loop termination test with a similar
condition from the nested "if" that may terminate the loop a bit
sooner, but still not too early.   This condition can then be removed
from the nested "if".  Relocate an operator to be style(9) compliant.
MFC r266116,r266136

A page mask size is 12-bits, not 11.
backport ASLR and PIE support to FreeBSD 10-STABLE

based on my previous work + lattera's extension:

upstream git-id: 401a161083850a9a4ce916f37520c084cff1543b

 Changes to be committed:
	modified:   bin/sh/Makefile
	modified:   libexec/getty/Makefile
	modified:   libexec/rtld-elf/rtld.c
	modified:   sbin/dhclient/Makefile
	modified:   sbin/hastd/Makefile
	modified:   sbin/natd/Makefile
	modified:   sbin/nfsiod/Makefile
	modified:   sbin/rtsol/Makefile
	modified:   secure/usr.sbin/sshd/Makefile
	modified:   share/mk/bsd.own.mk
	modified:   share/mk/bsd.prog.mk
	new file:   sys/amd64/conf/OP-ASLR
	modified:   sys/amd64/include/vmparam.h
	modified:   sys/compat/freebsd32/freebsd32_misc.c
	modified:   sys/conf/files
	modified:   sys/conf/options
	modified:   sys/kern/imgact_elf.c
	modified:   sys/kern/kern_exec.c
	modified:   sys/kern/kern_jail.c
	new file:   sys/kern/kern_pax.c
	modified:   sys/sys/jail.h
	new file:   sys/sys/pax.h
	modified:   sys/vm/vm_map.c
	modified:   sys/vm/vm_map.h
	modified:   sys/vm/vm_mmap.c
	new file:   tools/build/options/WITH_PIE
	modified:   usr.sbin/apmd/Makefile
	modified:   usr.sbin/auditd/Makefile
	modified:   usr.sbin/auditdistd/Makefile
	modified:   usr.sbin/bsnmpd/bsnmpd/Makefile
	modified:   usr.sbin/ctld/Makefile
	modified:   usr.sbin/daemon/Makefile
	modified:   usr.sbin/iscsid/Makefile
	modified:   usr.sbin/jail/Makefile
	modified:   usr.sbin/jexec/Makefile
	modified:   usr.sbin/mountd/Makefile
	modified:   usr.sbin/moused/Makefile
	modified:   usr.sbin/nfsd/Makefile
	modified:   usr.sbin/nfsuserd/Makefile
	modified:   usr.sbin/powerd/Makefile
	modified:   usr.sbin/rpc.lockd/Makefile
	modified:   usr.sbin/rpc.statd/Makefile
	modified:   usr.sbin/rpc.yppasswdd/Makefile
	modified:   usr.sbin/rpc.ypupdated/Makefile
	modified:   usr.sbin/rpc.ypxfrd/Makefile
	modified:   usr.sbin/rpcbind/Makefile
	modified:   usr.sbin/syslogd/Makefile
	modified:   usr.sbin/tcpdump/tcpdump/Makefile
	modified:   usr.sbin/watchdogd/Makefile

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PaX ASLR: fixed tunables in kern_pax.c

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: remove dirty hack to determine which pax_init should use

probably this fixed some issue with linuxulator on amd64

bump __FreeBSD_version to 1000706

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: updated debug messages

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: removed unused variable

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PaX ASLR: added more debug messages

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: fix debug messages, added new line

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: use the right sysent, before this commit called wrong sv_pax_aslr_init

this fixed some compat issues with COMPAT_FREEBSD32 and linuxulator

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>