MFC r270145:

  Replace DPADD with DPSRCS to fix "make checkdpadd"

  Phabric: D625
  Approved by: jmmv (mentor)
  Reviewed by: dim
  PR: 192734


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@270913 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270117:

  Add -ll to LDADD to fix "make checkdpadd"

  Phabric: D622
  Approved by: rpaulo (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@270914 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270180:

  Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd"

  Approved by: jmmv (mentor)
  Phabric: D633
  PR: 192763


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@270915 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270519:

  Fix "make checkdpadd" for lib/libc when MK_SSP != no

  Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in
  lib/libc when MK_SSP != no

  Approved by: rpaulo (mentor)
  Phabric: D675 (as part of a larger diff)
  PR: 192728


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@270916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270445:
  The size of the GPT table can not be less than one sector.

MFC r270521:
  Since the size of GPT entry may differ from the sizeof(struct gpt_ent),
  use the size from GPT header to iterate entries.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@270918 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r257985:
  Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already
  unlocked route. Use in6_rtalloc() instead of in6_rtalloc1. This helps
  simplify the code and remove several now unused variables.

  PR:		156283


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@270924 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270661:
  Remove leading '/' from hardlink name when removing them from the
  regular file name. This fixes the problem, when bsdtar can not create
  hardlinks to extracted files.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge 270872 from head:

  Fix character case in examples for "camcontrol security" - should be
  "-U user" not "-u user".

PR:		193179
Submitted by:	milios ccsys com


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271059 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r269488 from head:

  For reasons which are not clear, r254263 broke some PCMCIA and CardBus
  bridges in strange ways, either rendering them unable to detect
  insertion and removal events, or possibly unable to read from the
  device behind the bridge.

  This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
  Instruments PCxx12 (d=0x8039 v=0c104c) bridge.  The very similar
  Tecra M9 has the same bridge, but worked fine without this change.

  The bridge chip has no I/O port BAR, and there is nothing in the spec
  to suggest I/O decoding should be enabled; however enabling it fixes
  the issue.  Add an XXX comment to this effect.

Discussed with:		jhb, imp


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271061 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r269871 from head:

  Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()

Submitted by:	Malcolm Douglas via freebsd-doc
Reviewed by:	jhb


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271063 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r270677 from head:

  Fix xref, pam(8) -> pam(3)

PR:		193045
Submitted by:	rsimmons0 gmail com


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r268303 from head:

  Add support to asmc(4) for Macmini 3,1.

PR:		190195
Submitted by:	fbsdbugs2 sentry.org
Relnotes:	yes


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271068 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r270844:
Minor space/tab cleanups.

Most of them were ripped from the GSoC 2104
SMAP + kpatch project (but unrelated).
Only cosmetic changes.

Taken from:	Oliver Pinter (op@)


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271072 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
drm/radeon: Fix a memory leak when radeonkms is unloaded

This an MFC of r270750.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271091 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270433:

  Garbage collect libl dependency

  The application links and runs without libl

  Approved by: rpaulo (mentor)
  Phabric: D673
  Submitted by: trociny


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271126 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 270674:
Clarify that the -c argument clears the list of tracepoints specified by
-t (it does not clear all tracepoints).

Approved by:	re (gjb for 10)


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271176 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 270722:
Correct the destroy example.  The -n argument is not needed (and is not
valid).

Approved by:	re (gjb for 10)


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271177 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270348:
Add some missing checks for unsupported interfaces (e.g. pflog(4)) when
handling ioctls. While here, remove duplicated checks for a NULL ifp in
in6_control(): this check is already done near the beginning of the
function.

MFC r270349:
Suppress warnings when retrieving protocol stats from interfaces that
don't support IPv6 (e.g. pflog(4)).

PR:	189117


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271184 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270423:
Restore pre-r239157 handling of sched_yield(), when thread time slice
was aborted, allowing other threads to run.  Without this change thread
is just rescheduled again, that was illustrated by provided test tool.

PR:		192926
Submitted by:	eric@vangyzen.net


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@271195 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r271078:
  Fix typo: s/_maske/_mask/

Sponsored by:	The FreeBSD Foundation


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