Enable fingerprint checking as the currently known
fingerprint has an uploaded signature on all mirrors.

Approved by:	bapt
MFC after:	2 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257667 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use proper capitalization for FreeBSD.org

Approved by:	bapt
MFC after:	2 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257668 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Call initarm_lastaddr() later in the init sequence, after establishing
static device mappings, rather than as the first of the initializations
that a platform can hook into.  This allows a platform to allocate KVA
from the top of the address space downwards for things like static device
mapping, and return the final "last usable address" result after that and
other early init work is done.

Because some platforms were doing work in initarm_lastaddr() that needs to
be done early, add a new initarm_early_init() routine and move the early
init code to that routine on those platforms.

Rename platform_devmap_init() to initarm_devmap_init() to match all the
other init routines called from initarm() that are designed to be
implemented by platform code.

Add a comment block that explains when these routines are called and the
type of work expected to be done in each of them.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257669 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Modify the libproc breakpoint add/remove functions to stop the target
process if it has not already been stopped, since this is required for
ptrace(2) to work.

libdtrace does not seem to stop target processes before trying to remove
their breakpoints, so we were previously failing to remove the breakpoint
on r_debug_state() in rtld. This was causing processes to die with SIGTRAP
if they called dlopen(3) after dtrace(1) had detached.

Reported by:	symbolics@gmx.com
Reviewed by:	rpaulo
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257670 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add myself to the calendar.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257671 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make PTE_DEVICE a synonym for PTE_NOCACHE on armv4, to make it easier to
share the same code on both architectures.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257672 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add new helper routines for arm static device mapping.  The new code
allocates kva space from the top down for the device mappings and builds
entries in an internal table which is automatically used later by
arm_devmap_bootstrap().  The platform code just calls the new
arm_devmap_add_entry() function as many times as it needs to (up to 32
entries allowed; most platforms use 2 or 3 at most).

There is also a new arm_devmap_lastaddr() function that returns the lowest
kva address allocated; this can be used to implement initarm_lastaddr()
which is used to initialize vm_max_kernel_address.

The new code is based on a similar concept developed for the imx family
SoCs recently.  They will soon be converted to use this new common code.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257673 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Style and comment tweaks, no functional changes.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257676 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove local devmap code and use the essentially identical common code
that got moved from imx_machdep.c to arm/devmap.c.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257678 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use suword32 and suword64 instead of copyout(9). This fixes a bug in the
emulation of the call instruction caused by reversing the uaddr and kaddr
arguments when copying data out to userland: the suword* functions take the
uaddr as the first argument whereas copyout(9) takes the kaddr as the first
argument. This also partially undoes the fixes from r257143.

Submitted by:	Prashanth Kumar <pra_udupi@yahoo.co.in> (original version)
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257679 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do not coalesce if the swap object belongs to tmpfs vnode.  The
coalesce would extend the object to keep pages for the anonymous
mapping created by the process.  The pages has no relations to the
tmpfs file content which could be written into the corresponding
range, causing anonymous mapping and file content aliasing and
subsequent corruption.

Another lesser problem created by coalescing is over-accounting on the
tmpfs node destruction, since the object size is substracted from the
total count of the pages owned by the tmpfs mount.

Reported and tested by:	bdrewery
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257680 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFV of 255902, tzdata2013f
MFV of 257651, tzdata2013h

tzdata2013f
- Jordan goes to winter time on the last Friday in October.
- Tocantins in Brazil will not go into summer time in October.
- Indonesian time zones renames.
- Lots of cleanups in with regarding to links and historical data.

tzdata2013h
- Libya didn't go back to DST.
- Fix Morocco 2038 issue.
- Brazil/Acre and Western Amazonas are chaning timezones.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257681 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add required kernel option.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257686 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove net.link.ether.inet.useloopback sysctl tunable. It was always on by
default from the very beginning. It was placed in wrong namespace
net.link.ether, originally it had been at another wrong namespace. It was
incorrectly documented at incorrect manual page arp(8). Since new-ARP commit,
the tunable have been consulted only on route addition, and ignored on route
deletion. Behaviour of a system with tunable turned off is not fully correct,
and has no advantages comparing to normal behavior.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257689 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
In complemence to ifa_add_loopback_route() and ifa_del_loopback_route()
provide function ifa_switch_loopback_route() that will be used in case when
an interface address used for a loopback route goes away, but we have another
interface address with same address value and want to preserve loopback
route.

Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257690 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix libgcc build with gcc after r257645, by using -Wno-static-in-inline
for clang only.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257691 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Rewrite in_control(), so that it is comprehendable without getting mad.

o Provide separate functions for SIOCAIFADDR and for SIOCDIFADDR, with
  clear code flow from beginning to the end. After that the rest of
  in_control() gets very small and clear.
o Provide sx(9) lock to protect against parallel ioctl() invocations.
o Reimplement logic from r201282, that tried to keep localhost route in
  table when multiple P2P interfaces with same local address are created
  and deleted.

Discussed with:		pluknet, melifaro
Sponsored by:		Netflix
Sponsored by:		Nginx, Inc.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257692 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
netinet code no longer uses IFA_RTSELF.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257693 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove remnants of BIND from /etc, since there is no BIND in base now.

Sorry, that would break users running head and BIND from ports, since
ports rely on these scripts. The ports will be fixed soon.

Reviewed by:	erwin


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257694 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Fix link loss on vlan reconfiguration.
- Fix issues with 'vlanhwfilter'.

MFC after:	1 week
Silence from:	jfv 5 weeks


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