memset() wants the size of the structure to clear, not the size
of the pointer to it.

Submitted by:	Pawel Worach


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233128 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a missing endian conversion.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233129 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fts(3): Document cases where FTS_NOCHDIR is set implicitly.

PR:		docs/166091
Submitted by:	Matthew Story
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233130 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Redirect camcontrol stderr to /dev/null.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233131 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fts(3): Mention that FTS_NOCHDIR imposes {PATH_MAX} limits on the returned
pathnames.

With the current API (no *at functions), FTS_NOCHDIR requires that the
fts_accpath start with the original path passed to fts_open(); therefore,
the depth that can be reached is limited by the {PATH_MAX} constraint on
this pathname.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
.. revert out a local change that I hadn't yet completely finished fleshing
out and testing.

sorry!


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use clockid parameter instead of hard-coded CLOCK_REALTIME.

Reported by:	pjd


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Clean up timestamps in msgbuf code.  The timestamps should now be
    inserted after the priority token thus cleaning up the output.
- Remove the needless double internal do_add_char function.
- Resolve a possible deadlock if interrupts are
    disabled and getnanotime is called

Reviewed by:	bde  kmacy, avg, sbruno (various versions)
Approved by:	cperciva
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
X11BASE is not used any more and has been killed by the x11 team.

Reviewed by:	???
Approved by:	???
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233136 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
rm[0].rm_so must be zero (an explicit check is made for zero in the
outer if condition)

Reviewed by:	se
Approved by:	cperciva


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233137 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
draft-ietf-ipv6-scoping-arch-02.txt is now RFC 4007

PR:		docs/163771
Submitted by:	phk
Reviewed by:	If someone else reviewed your modification.
Approved by:	cperciva
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233138 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do not change current media when driver is already running.  If
driver is running driver would have already completed flow control
configuration.  This change removes unnecessary media changes in
controller reconfiguration cases such that it does not trigger link
reestablishment for configuration change requests like promiscuous
mode change.

Reported by:	Many
Tested by:	Mike Tancsa <mike <> sentex dot net>
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233158 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fix ABI detection logic: for 64-bit elf objects set default ABI to n64.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233159 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Expound a bit more about the system maximum number of FIBs,
how it may be set, and current limitations on the value.

Approved by:	hrs (mentor)
PR:		docs/157453
MFC after:	1 week


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

Approved by:	hrs (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233161 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Rotate auth.log and messages at the beginning of a year. Otherwise,
daily security checks 800.loginfail and 900.tcpwrap may produce
false positive alerts.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
If we ever allow for managed fictitious pages, the pages shall be
excluded from superpage promotions.  At least one of the reason is
that pv_table is sized for non-fictitious pages only.

Consistently check for the page to be non-fictitious before accesing
superpage pv list.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	alc
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make __get_locale() static inline, not just inline, so when compiling libc in
debug mode (without optimisations) it doesn't generate a linker failure.

Approved by:	dim (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233173 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add symbol versioning to libcxxrt.

Approved by:	dim (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@233174 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make kern.geom.part node not static. Also add CTLFLAG_TUN to the
check_integrity sysctl.

MFC after:	1 month


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