]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
8 years agoDocument r276068, fix for panic when destroying vnet jail with
gjb [Tue, 14 Jul 2015 01:32:18 +0000 (01:32 +0000)]
Document r276068, fix for panic when destroying vnet jail with
gif(4).

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285518 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r275807, compat.linux.osrelease updated after
gjb [Mon, 13 Jul 2015 20:07:36 +0000 (20:07 +0000)]
Document r275807, compat.linux.osrelease updated after
support for CentOS 6 ports has been added.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285509 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r274486, pfil(9) default hash change.
gjb [Mon, 13 Jul 2015 20:07:34 +0000 (20:07 +0000)]
Document r274486, pfil(9) default hash change.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285508 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r279157, ral(4) support for Ralink RT5390 and RT5392
gjb [Mon, 13 Jul 2015 20:07:32 +0000 (20:07 +0000)]
Document r279157, ral(4) support for Ralink RT5390 and RT5392
chipsets.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285507 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r283076, nvd(4) and nvme(4) included in GENERIC.
gjb [Mon, 13 Jul 2015 20:07:29 +0000 (20:07 +0000)]
Document r283076, nvd(4) and nvme(4) included in GENERIC.
Add Intel to sponsors.ent (note, &intel; cannot be used here).

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r276403, bhyve support for AMD processors with SVM/AMD-V.
gjb [Mon, 13 Jul 2015 20:07:26 +0000 (20:07 +0000)]
Document r276403, bhyve support for AMD processors with SVM/AMD-V.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285505 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r275273, virtio_console(4) addition.
gjb [Mon, 13 Jul 2015 20:07:24 +0000 (20:07 +0000)]
Document r275273, virtio_console(4) addition.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285504 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoSort by svn revision.
gjb [Mon, 13 Jul 2015 18:54:10 +0000 (18:54 +0000)]
Sort by svn revision.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285499 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoReword previous mkimg(1) update.
gjb [Mon, 13 Jul 2015 18:54:08 +0000 (18:54 +0000)]
Reword previous mkimg(1) update.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285498 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r284523, mkimg(1) '-c' option.
gjb [Mon, 13 Jul 2015 18:54:06 +0000 (18:54 +0000)]
Document r284523, mkimg(1) '-c' option.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285497 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r278968, EFI support added to mkimg(1).
gjb [Mon, 13 Jul 2015 18:54:03 +0000 (18:54 +0000)]
Document r278968, EFI support added to mkimg(1).

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285496 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r284365, vxlan(4) addition.
gjb [Mon, 13 Jul 2015 18:54:01 +0000 (18:54 +0000)]
Document r284365, vxlan(4) addition.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285495 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r284066, gre(4) overhaul.
gjb [Mon, 13 Jul 2015 18:53:58 +0000 (18:53 +0000)]
Document r284066, gre(4) overhaul.
Add Yandex LLC to sponsors.ent.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r282861, apple-boot, apple-hfs, apple-ufs support in gpart(8).
gjb [Mon, 13 Jul 2015 18:53:55 +0000 (18:53 +0000)]
Document r282861, apple-boot, apple-hfs, apple-ufs support in gpart(8).

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285493 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r283548, mkimg(1) now used for i386 memstick images.
gjb [Mon, 13 Jul 2015 15:46:01 +0000 (15:46 +0000)]
Document r283548, mkimg(1) now used for i386 memstick images.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285480 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r277520, 510.status-world-kernel addition.
gjb [Mon, 13 Jul 2015 15:45:58 +0000 (15:45 +0000)]
Document r277520, 510.status-world-kernel addition.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285479 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r283161, native FreeBSD/arm build support in release tools.
gjb [Mon, 13 Jul 2015 15:45:56 +0000 (15:45 +0000)]
Document r283161, native FreeBSD/arm build support in release tools.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285478 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r283972, 3wire ttys class.
gjb [Mon, 13 Jul 2015 15:45:54 +0000 (15:45 +0000)]
Document r283972, 3wire ttys class.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r284009, growfs rc(8) script addition.
gjb [Mon, 13 Jul 2015 15:45:51 +0000 (15:45 +0000)]
Document r284009, growfs rc(8) script addition.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285476 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r284775, ttyu{1,2,3} enabled by default on arm.
gjb [Mon, 13 Jul 2015 15:45:49 +0000 (15:45 +0000)]
Document r284775, ttyu{1,2,3} enabled by default on arm.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285475 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r283270, nc(1) update to OpenBSD 5.7's version.
gjb [Mon, 13 Jul 2015 15:45:46 +0000 (15:45 +0000)]
Document r283270, nc(1) update to OpenBSD 5.7's version.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285474 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r284398, tzdata update to 2015e.
gjb [Mon, 13 Jul 2015 15:45:44 +0000 (15:45 +0000)]
Document r284398, tzdata update to 2015e.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285473 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r283258, date(1) '-r' compatibility with the GNU version.
gjb [Mon, 13 Jul 2015 15:45:42 +0000 (15:45 +0000)]
Document r283258, date(1) '-r' compatibility with the GNU version.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285472 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r285028
brueffer [Mon, 13 Jul 2015 13:42:05 +0000 (13:42 +0000)]
MFC: r285028

Add the year to the VAX-11/780 announcement entry.

PR: 200961
Submitted by: John Marshall
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r284290, r284323
brueffer [Mon, 13 Jul 2015 13:14:51 +0000 (13:14 +0000)]
MFC: r284290, r284323

Improve grammar.

PR: 200673
Submitted by: Fabian Keil
Obtained from: ElectroBSD
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r285029
brueffer [Mon, 13 Jul 2015 13:02:04 +0000 (13:02 +0000)]
MFC: r285029

Fix an obviously wrong boolean operator.

PR: 200983
Submitted by: David Bindeman
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285453 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r284930
brueffer [Mon, 13 Jul 2015 12:28:18 +0000 (12:28 +0000)]
MFC: r284930

Add CouchDB ports (5984 TCP/UDP).

PR: 193268
Submitted by: yuri@rawbw.com
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r285010
brueffer [Mon, 13 Jul 2015 12:19:01 +0000 (12:19 +0000)]
MFC: r285010

Add one more file missed in the BIND-removal entries.

PR: 196515
Submitted by: Trond Endrestol
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r284929
brueffer [Mon, 13 Jul 2015 12:04:40 +0000 (12:04 +0000)]
MFC: r284929

Fix issues that kept some of the examples from actually working.

PR: 144534
Submitted by: Nicolas Edel
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285448 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r284931
brueffer [Mon, 13 Jul 2015 11:58:08 +0000 (11:58 +0000)]
MFC: r284931

Set the initial system time to a sane (as in: not end of 21st century)
value when booting on a PC with CMOS clock set to a year before 2000.

This uses 1980 (instead of 1970 as in the initial patch) as pivot year as
suggested by imp in the PR followup.

PR: 195703
Submitted by: cs@soi.spb.ru
Reviewed by: imp
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285446 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r285088:
hselasky [Sat, 11 Jul 2015 21:59:15 +0000 (21:59 +0000)]
MFC r285088:
Fix broken implementation of "kvasprintf()" function by adding missing
kmalloc() call. Make function global instead of static inline to fix
compiler warnings about passing variable argument lists to inline
functions.

Sponsored by:   Mellanox Technologies
Approved by: re, gjb

git-svn-id: svn://svn.freebsd.org/base/stable/10@285410 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284887:
kib [Sat, 11 Jul 2015 19:11:40 +0000 (19:11 +0000)]
MFC r284887:
Handle errors from background write of the cylinder group blocks.

MFC r284927:
Simplify code.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285402 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoFix two remaining issues with the arm UFS mount issue:
gjb [Fri, 10 Jul 2015 22:10:00 +0000 (22:10 +0000)]
Fix two remaining issues with the arm UFS mount issue:

- Add the GEOM_PART_GPT option and enable MSDOSFS in the GUMSTIX
  kernel. [1]

- Add GEOM_LABEL to the PANDABOARD kernel, that should have been
  included included in r285132.  I confused the kernel configuration
  used for the WANDBOARD and PANDABOARD, which the former uses the
  IMX6 kernel configuration, along with the CUBOX-HUMMINGBOARD.

This is a direct commit to stable/10, as was r285132.

[1] I do not actually have the GUMSTIX board, but I suspect it will
    fail to boot in the same way as the others have been.

Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285365 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoUpdate stable/10 to BETA1 in preparation for 10.2-BETA1 builds.
gjb [Fri, 10 Jul 2015 00:01:33 +0000 (00:01 +0000)]
Update stable/10 to BETA1 in preparation for 10.2-BETA1 builds.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285346 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoRemove duplicate file(1) update entry.
gjb [Thu, 9 Jul 2015 22:44:28 +0000 (22:44 +0000)]
Remove duplicate file(1) update entry.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285341 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument SA-15:12.
gjb [Thu, 9 Jul 2015 17:45:08 +0000 (17:45 +0000)]
Document SA-15:12.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285335 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r285330, OpenSSL update to 1.0.1p.
gjb [Thu, 9 Jul 2015 17:25:02 +0000 (17:25 +0000)]
Document r285330, OpenSSL update to 1.0.1p.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285333 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r285329
jkim [Thu, 9 Jul 2015 17:17:22 +0000 (17:17 +0000)]
MFC: r285329

Merge OpenSSL 1.0.1p.

Approved by: re (gjb)
Relnotes: yes

git-svn-id: svn://svn.freebsd.org/base/stable/10@285330 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r276383, r276400:
gjb [Thu, 9 Jul 2015 15:56:51 +0000 (15:56 +0000)]
MFC r276383, r276400:

 r276383:
  Delay dropping to the mountroot prompt for 10 seconds
  in case the root device is not yet ready.

 r276400:
  Use the correct loader.conf(5) entry for deferring the
  mountroot prompt.

Approved by: re (marius)
Reminded by: hrs
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285322 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r275020): partial fix for getgrouplist() in group_compat case
des [Thu, 9 Jul 2015 13:30:37 +0000 (13:30 +0000)]
MFH (r275020): partial fix for getgrouplist() in group_compat case

PR: 190055
Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285317 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r285305, sendmail update to 8.15.2.
gjb [Thu, 9 Jul 2015 05:46:37 +0000 (05:46 +0000)]
Document r285305, sendmail update to 8.15.2.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285306 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Update for sendmail 8.15.2 import
gshapiro [Thu, 9 Jul 2015 05:27:30 +0000 (05:27 +0000)]
MFC: Update for sendmail 8.15.2 import

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285305 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files
gshapiro [Thu, 9 Jul 2015 05:25:47 +0000 (05:25 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files
     are built to use the new sendmail-8.15.2/cf tree.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285304 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Merge sendmail 8.15.2
gshapiro [Thu, 9 Jul 2015 05:23:17 +0000 (05:23 +0000)]
MFC: Merge sendmail 8.15.2

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285303 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Temporarily disable WARNS while addressing a non-issue with the upstream code
gshapiro [Thu, 9 Jul 2015 05:02:13 +0000 (05:02 +0000)]
MFC: Temporarily disable WARNS while addressing a non-issue with the upstream code

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285302 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoBy default, sendmail 8.15 uses uncompressed IPv6 addresses. Keep
gshapiro [Thu, 9 Jul 2015 05:00:19 +0000 (05:00 +0000)]
By default, sendmail 8.15 uses uncompressed IPv6 addresses.  Keep
current FreeBSD 10 and earlier behavior of using compressed IPv6
addresses in configuration, maps, rulesets, etc.  (FreeBSD 11 and
later will use the new default of uncompressed IPv6 addresses.)

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285301 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: libsm/path.c is about to disappear in the merge of sendmail 8.15.2. It
gshapiro [Thu, 9 Jul 2015 04:58:56 +0000 (04:58 +0000)]
MFC: libsm/path.c is about to disappear in the merge of sendmail 8.15.2.  It
is an empty file now so it is safe to remove before the merge.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r285138:
loos [Wed, 8 Jul 2015 23:50:04 +0000 (23:50 +0000)]
MFC r285138:

  Install loader.rc with ARM u-boot loader (ubldr).

  loader.rc is the responsible to read and process loader.conf variables.

  This fix the issue of loader.conf being silently ignored.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285298 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r279597 (and 259152,259219 as dependency)
bapt [Wed, 8 Jul 2015 21:06:19 +0000 (21:06 +0000)]
MFC: r279597 (and 259152,259219 as dependency)

Make calendar(1) usable again. rework the calendar parser so that it is
compatible with documented format:

Support includes surrounded by '"' or '<' '>'
Print warnings about bad syntax
Correctly navigate through include directories to find calendar files
Correctly support multiple includes

While here:

MFC: 262011 (by eadler)

calendar(1): don't segfault in invalid input

When the user supplies an invalid number of days provide a useful error message
instead of segfaulting.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285291 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r285236, TSO and checksum offloading support in
gjb [Wed, 8 Jul 2015 12:08:58 +0000 (12:08 +0000)]
Document r285236, TSO and checksum offloading support in
hv_netvsc(4).

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285267 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r285206, unbound updated to 1.5.3.
gjb [Wed, 8 Jul 2015 12:08:55 +0000 (12:08 +0000)]
Document r285206, unbound updated to 1.5.3.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285266 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument r285092, pw(8) '-R' option.
gjb [Wed, 8 Jul 2015 12:08:53 +0000 (12:08 +0000)]
Document r285092, pw(8) '-R' option.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285265 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r273489 (cperciva):
gjb [Wed, 8 Jul 2015 09:54:17 +0000 (09:54 +0000)]
MFC r273489 (cperciva):
 Populate the GELI passphrase cache with the kern.geom.eli.passphrase
 variable (if any) provided in the boot environment.  Unset it from
 the kernel environment after doing this, so that the passphrase is
 no longer present in kernel memory once we enter userland.

 This will make it possible to provide a GELI passphrase via the boot
 loader.

 Note: head and stable/10 differ as a result of r273174, which renames
 the getenv(), setenv(), and unsetenv() functions with kern_getenv(),
 kern_setenv(), and kern_unsetenv(), which was reverted in the relevant
 parts of this change in 10-STABLE.

PR: 200448
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285263 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoRevert r285249, pending further investigation on how the build
gjb [Tue, 7 Jul 2015 20:36:48 +0000 (20:36 +0000)]
Revert r285249, pending further investigation on how the build
broke.

Approved by: re (implicit)
Pointyhat: gjb (self)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r273489 (cperciva):
gjb [Tue, 7 Jul 2015 18:52:22 +0000 (18:52 +0000)]
MFC r273489 (cperciva):
 Populate the GELI passphrase cache with the kern.geom.eli.passphrase
 variable (if any) provided in the boot environment.  Unset it from
 the kernel environment after doing this, so that the passphrase is
 no longer present in kernel memory once we enter userland.

 This will make it possible to provide a GELI passphrase via the boot
 loader.

PR: 200448
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285249 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284746 and r284889 TSO and checksum offloading support for Netvsc
whu [Tue, 7 Jul 2015 04:15:22 +0000 (04:15 +0000)]
MFC r284746 and r284889 TSO and checksum offloading support for Netvsc
driver on Hyper-V.

Submitted by: whu
Reviewed by: royger
Approved by: re
Relnotes: yes
Sponsored by: Microsoft OSTC
Differential Revision:  https://reviews.freebsd.org/D2906

git-svn-id: svn://svn.freebsd.org/base/stable/10@285236 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284928: speed up ar(1) on UFS file systems
emaste [Tue, 7 Jul 2015 02:17:24 +0000 (02:17 +0000)]
MFC r284928: speed up ar(1) on UFS file systems

Fault in the buffer prior to writing to workaround poor performance due
to interaction with kernel fs deadlock avoidance code. See the comment
prior to vn_io_fault_doio() in sys/kern/vfs_vnops.c for details of the
issue.

On my stable/10 desktop with a 16MB obj.o and "ar r out.a obj.o" I see
the following run times (seconds):

x ar.r284891
+ ar.patched
+----------------------------------------------------------------------+
|+                                                                     |
|+                                                                    x|
|+                                                                   xx|
|A                                                                   |A|
+----------------------------------------------------------------------+
    N         Min          Max        Median           Avg        Stddev
x   3       1.307        1.321         1.315     1.3143333  0.0070237692
+   3       0.020        0.023         0.022   0.021666667  0.0015275252
Difference at 95.0% confidence
        -1.29267 +/- 0.0115203
        -98.3515% +/- 0.876513%
        (Student's t, pooled s = 0.00508265)

Thanks to kib for diagnosing and explaining the issue and suggesting
the workaround.

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r276605, r282089): upgrade to latest Unbound
des [Mon, 6 Jul 2015 13:23:27 +0000 (13:23 +0000)]
MFH (r276605, r282089): upgrade to latest Unbound
MFH (r276699, r276702, r277057): local control socket
MFH (r276599, r276612, r282087, r282088): build fixes

This brings in Unbound 1.5.3 from head.  Local control sockets are now
supported and will be used by default for new installations.  Existing
systems will continue to use TCP control sockets until the automated
setup script is re-run ("service local_unbound setup") and the service
restarted ("service local_unbound restart").

Approved by: re (kib)
Relnotes: yes

git-svn-id: svn://svn.freebsd.org/base/stable/10@285206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r285050, r285053, r285059:
garga [Mon, 6 Jul 2015 13:01:01 +0000 (13:01 +0000)]
MFC r285050, r285053, r285059:

When passwd or group information is changed (by pw, vipw, chpass, ...)
temporary file is created and then a rename() call move it to official file.
This operation didn't have any check to make sure data was written to disk
and if a power cycle happens system could end up with a 0 length passwd
or group database.

There is a pfSense bug with more information about it:

https://redmine.pfsense.org/issues/4523

The following changes were made to protect passwd and group operations:

* lib/libutil/gr_util.c:
 - Replace mkstemp() by mkostemp() with O_SYNC flag to create temp file
 - After rename(), fsync() call on directory for faster result

* lib/libutil/pw_util.c
 - Replace mkstemp() by mkostemp() with O_SYNC flag to create temp file

* usr.sbin/pwd_mkdb/pwd_mkdb.c
 - Added O_SYNC flag on dbopen() calls
 - After rename(), fsync() call on directory for faster result

* lib/libutil/pw_util.3
 - pw_lock() returns a file descriptor to master password file on success

Differential Revision: https://reviews.freebsd.org/D2978
Approved by: re (kib), bapt (implicit agreed)
Sponsored by: Netgate

git-svn-id: svn://svn.freebsd.org/base/stable/10@285205 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284593: MFV r284412: 5911 ZFS "hangs" while deleting file
avg [Mon, 6 Jul 2015 10:40:51 +0000 (10:40 +0000)]
MFC r284593: MFV r284412: 5911 ZFS "hangs" while deleting file

illumos/illumos-gate@46e1baa6cf6d5432f5fd231bb588df8f9570c858
https://www.illumos.org/issues/5911
Sometimes ZFS appears to hang while deleting a file. It is actually
making slow progress at the file deletion, but other operations
(administrative and writes via the data path) "hang" until the file
removal completes, which can take a long time if the file has many
blocks. The deletion (or most of it) happens in a single txg, and the
sync thread spends most of its time reading indirect blocks...

Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Reviewed by: Alek Pinchuk <alek@nexenta.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>

PR: 199775
Approved by: re(kib)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285202 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r281337
marius [Sun, 5 Jul 2015 20:16:38 +0000 (20:16 +0000)]
MFC: r281337

Don't enable RX and TX before their initial configuration is done, i. e.
after setting up interrupt moderation but before turning interrupts on.
This matches what Realtek's r8168 Linux driver does as of version 8.039.00
and fixes problems with certain incarnations of certain MAC revisions
like the interface requiring an extra up/down-cycle after boot to start
working or DMA configuration not being adhered to.

PR: 193743, 197535
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285177 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r281751
marius [Sun, 5 Jul 2015 19:32:10 +0000 (19:32 +0000)]
MFC: r281751

Refine the workaround for Intel HSD131 [1] added in r269052 (MFCed to
stable/10 in r269592):
- Use the full mask described by the erratum as with a sufficiently high
  number of these false-positives, the overflow bit (bit 62) additionally
  gets set [7].
- HSD131 has been brought into several other Haswell-derived CPUs including
  to the next generation, i. e. Intel Broadwell. Thus, also skip reporting of
  these benign errors by default on CPU models affected by HSM142, HSW131 and
  BDM48 [2 - 5], describing the HSD131 silicon bug for additional models.
  Also, Celeron 2955U with a CPU ID of 0x45 have been reported to be covered
  by this fault [6], with the specification update concerned with HSM142 [2]
  only referring to 0x3c and 0x46.

Submitted by: David Froehlich [7]
Approved by: re (kib)

http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf [1]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-mobile-specification-update.pdf [2]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/5th-gen-core-family-spec-update.pdf [3]
http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/core-m-processor-family-spec-update.pdf [4]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-e3-1200v3-spec-update.pdf [5]
https://lists.freebsd.org/pipermail/freebsd-hackers/2015-January/046878.html [6]

git-svn-id: svn://svn.freebsd.org/base/stable/10@285174 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284914:
wblock [Sun, 5 Jul 2015 14:17:57 +0000 (14:17 +0000)]
MFC r284914:

Fix a couple of missing lines that obscured the -p description.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/stable/10@285162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoAdd the GEOM_LABEL option to the BEAGLEBONE, GUMSTIX, and RPI-B
gjb [Sat, 4 Jul 2015 14:50:32 +0000 (14:50 +0000)]
Add the GEOM_LABEL option to the BEAGLEBONE, GUMSTIX, and RPI-B
kernel configuration files, resolving an issue where the UFS and
MSDOSFS partitions would not mount as set in fstab(5).

This is a direct commit to stable/10, as the GEOM_LABEL option
is handled differently in head for arm/armv6.  The WANDBOARD
and PANDABOARD already have this kernel option entry via the IMX6
kernel configuration file, so do not need to be changed.

Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284004 (parital):
gjb [Sat, 4 Jul 2015 00:43:23 +0000 (00:43 +0000)]
MFC r284004 (parital):
 Use the pw(8) '-R' flag to change the relative root directory
 when creating operating within the DESTDIR.

Approved by: re (marius)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285115 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoLatest clang uses openat(2).
sjg [Fri, 3 Jul 2015 20:43:31 +0000 (20:43 +0000)]
Latest clang uses openat(2).

If the pathname is absolute or dirfd is AT_FDCWD we can
handle it exactly like open(2).
Otherwise we output an A record to indicate that the path of
an open directory needs to be used (earlier in the trace).

Also filemon_pid_check needs to hold proctree_lock
and use proc_realparent()

Differential Revision:  D2810
Reviewed by: jhb
Approved by: re

git-svn-id: svn://svn.freebsd.org/base/stable/10@285112 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284732:
dim [Fri, 3 Jul 2015 20:29:04 +0000 (20:29 +0000)]
MFC r284732:

Add __cxa_deleted_virtual to libcxxrt's version map.

This symbol can sometimes be emitted by clang++, and was not yet
exported from libcxxrt.  Attempt to be compatible with libsupc++ by
using the same CXXABI_1.3.6 symbol version.

Approved by: re (kib)
Reported by: yuri@rawbw.com
PR: 200863
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D2850

git-svn-id: svn://svn.freebsd.org/base/stable/10@285109 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoRevert a modification that should not have been part of r285092
bapt [Fri, 3 Jul 2015 14:29:55 +0000 (14:29 +0000)]
Revert a modification that should not have been part of r285092

Approved by: re (implicit)
Sponsored by: gandi.net

git-svn-id: svn://svn.freebsd.org/base/stable/10@285094 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r274011,r274022,r274453,r274542,r274632,r274727,r275653,r275656,r275657,
bapt [Fri, 3 Jul 2015 14:22:44 +0000 (14:22 +0000)]
MFC: r274011,r274022,r274453,r274542,r274632,r274727,r275653,r275656,r275657,
     r275658,r275829,r277652,r277764,r278475,r278767,r278819,r278902,r279256,
     r282681,r282683,r282685,r282686,r282687,r282697,r282698,r282699,r282700,
     r282709,r282712,r282713,r282716,r282718,r282719,r282720,r282721,r283809,
     r283810,r283811,r283814,r283815,r283816,r283818,r283841,r283842,r283843,
     r283961,r283962,r284110,r284111,r284112,r284113,r284114,r284117,r284118,
     r284119,r284120,r284121,r284122,r284123,r284124,r284126,r284128,r284129,
     r284130,r284133,r284135,r284137,r284139,r284140,r284148,r284149,r284392

Lots of cleanup in the pw(8) code
Add pw -R <rootdir>
Add lots of regression tests
More accurate error messages

Approved by: re (kib)
Sponsored by: gandi.net

git-svn-id: svn://svn.freebsd.org/base/stable/10@285092 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument EN-15:08 (revised), EN-15:09, EN-15:10.
gjb [Thu, 2 Jul 2015 20:41:50 +0000 (20:41 +0000)]
Document EN-15:08 (revised), EN-15:09, EN-15:10.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285060 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r269137 by marcel:
emaste [Thu, 2 Jul 2015 18:27:04 +0000 (18:27 +0000)]
MFC r269137 by marcel:

  Add missing definition of ELF_MACHINE_OK, now used by gcore(1).

PR: 201204

git-svn-id: svn://svn.freebsd.org/base/stable/10@285052 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284893, r284895-r284897, r284942, r284968, r284996, r285005:
gjb [Thu, 2 Jul 2015 16:17:05 +0000 (16:17 +0000)]
MFC r284893, r284895-r284897, r284942, r284968, r284996, r285005:

 r284893 (brd):
  Add initial support for building Vagrant images for VMWare.
  Next steps will be adding Virtualbox support and uploading
  to Hashicorp Atlas for others to consume.

 r284895:
  Add default VAGRANT_IMG variable.

 r284896:
  Remove _ACCOUNT and add _USERNAME, _NAME, _VERSION for the
  VAGRANT_${VAR} variables extracted from VAGRANT_UPLOAD_CONF.

  Set ATLAS_${VAR} to VAGRANT_${VAR} if VAGRANT_UPLOAD_CONF
  is set.  There is intent to intentionally have separate
  variants of configuration entries, but the defaults do not
  yet have any reason to be different.

 r284897:
  Instead of hard-coding the PROVIDERS for upload, add the
  VAGRANT_PROVIDERS variable.  Right now, it defaults to only
  vmware_desktop, virtualbox support is to follow at some point.

  While here, fix the hashicorp URL: s/vagrant/atlas/, which
  was result of a sed(1) replace (and my fault).

 r284942 (brd):
  Add Support for uploading Vagrant images to Hashicorp Atlas.

 r284968:
  Default the VAGRANT_VERSION to ${REVISION}-${BRANCH} if
  not set, which expands to '11.0-CURRENT', for example.

  If the branch is -CURRENT, -STABLE, or -PRERELEASE, suffix
  the VAGRANT_VERSION with the snapshot date.

 r284996:
  Fix the gcloud port/package name.

 r285005:
  Remove the HH-MM suffix from the build date suffix.

  It was useful when working out several kinks when testing
  automated image uploading when retrying was necessary, but
  now it is making things much too messy.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285049 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r277531): don't include newvers in freebsd-version
des [Thu, 2 Jul 2015 11:46:40 +0000 (11:46 +0000)]
MFH (r277531): don't include newvers in freebsd-version

git-svn-id: svn://svn.freebsd.org/base/stable/10@285027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r265096:
garga [Thu, 2 Jul 2015 10:31:08 +0000 (10:31 +0000)]
MFC r265096:

Fix "netstat -gW" behavior broken in r259638.
netstat has two options for printing multicast tables:
sysctl (the default one for live systems) and kvm-based one (for cores).
It looks like kvm-based one hasn't been working since it's been introduced
in r190012 due to absence of mfctablesize kernel symbol.
Check for all ipv4-multicast symbols being correctly resolved was introduced
in r259638 regardless of 'live' value leading to "No IPv4 MROUTING" error
message.

Reported by: Olivier Cochard-LabbĂ©
Approved by: melifaro@
Sponsored by: Netgate

git-svn-id: svn://svn.freebsd.org/base/stable/10@285022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284348: Fix panic when adding vtnet interfaces to a bridge
kp [Wed, 1 Jul 2015 21:21:14 +0000 (21:21 +0000)]
MFC r284348: Fix panic when adding vtnet interfaces to a bridge

vtnet interfaces are always in promiscuous mode (at least if the
VIRTIO_NET_F_CTRL_RX feature is not negotiated with the host).  if_promisc() on
a vtnet interface returned ENOTSUP although it has IFF_PROMISC set. This
confused the bridge code. Instead we now accept all enable/disable promiscuous
commands (and always keep IFF_PROMISC set).

There are also two issues with the if_bridge error handling.

If if_promisc() fails it uses bridge_delete_member() to clean up. This tries to
disable promiscuous mode on the interface. That runs into an assert, because
promiscuous mode was never set in the first place. (That's the panic reported in
PR 200210.)
We can only unset promiscuous mode if the interface actually is promiscuous.
This goes against the reference counting done by if_promisc(), but only the
first/last if_promic() calls can actually fail, so this is safe.

A second issue is a double free of bif. It's already freed by
bridge_delete_member().

PR:         200210

git-svn-id: svn://svn.freebsd.org/base/stable/10@285016 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284712:
neel [Wed, 1 Jul 2015 19:46:57 +0000 (19:46 +0000)]
MFC r284712:
Restore the host's GS.base before returning from 'svm_launch()' so the Dtrace
FBT provider works with vmm.ko on AMD.

git-svn-id: svn://svn.freebsd.org/base/stable/10@285015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC 284913:
pfg [Wed, 1 Jul 2015 15:03:49 +0000 (15:03 +0000)]
MFC 284913:
dconschat(8): Use NULL instead of 0 for the last argument in execl(3)

Found while experimenting with the gcc sentinel attribute.

git-svn-id: svn://svn.freebsd.org/base/stable/10@285007 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r278153,284416: ttm memory allocation improvements
avg [Wed, 1 Jul 2015 11:28:42 +0000 (11:28 +0000)]
MFC r278153,284416: ttm memory allocation improvements

If the vm_page_alloc_contig() failed in the ttm page allocators, do
what other callers of vm_page_alloc_contig() do, retry after
vm_pageout_grow_cache().

ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restriction
This change re-organizes code a little bit to extract common pieces
of ttm_alloc_new_pages() and ttm_get_pages() into dedicated functions.
Also, for requests without address restrictions regular vm_page_alloc()
is used.
Lastly, when vm_page_alloc_contig() fails we call VM_WAIT before calling
vm_pageout_grow_cache() to ensure that there is enough free pages at
all.

Note: no MFC to stable/9 because it lacks vm_pageout_grow_cache().

git-svn-id: svn://svn.freebsd.org/base/stable/10@285002 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284304: MFV r284030: 5818 zfs {ref}compressratio is incorrect with 4k sector...
avg [Wed, 1 Jul 2015 10:47:13 +0000 (10:47 +0000)]
MFC r284304: MFV r284030: 5818 zfs {ref}compressratio is incorrect with 4k sector size

Note: no MFC to stable/9 because r268075 (vendor r267565) has not been MFC-ed.

git-svn-id: svn://svn.freebsd.org/base/stable/10@285001 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284297: several lockstat improvements
avg [Wed, 1 Jul 2015 10:15:49 +0000 (10:15 +0000)]
MFC r284297: several lockstat improvements

git-svn-id: svn://svn.freebsd.org/base/stable/10@284998 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r275765): clean up, add special case for + line
des [Wed, 1 Jul 2015 07:31:39 +0000 (07:31 +0000)]
MFH (r275765): clean up, add special case for + line

git-svn-id: svn://svn.freebsd.org/base/stable/10@284994 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284495:
kib [Wed, 1 Jul 2015 06:54:25 +0000 (06:54 +0000)]
MFC r284495:
Keep a vnode which is freed but still owing inactivation, on the active list.
This closes a race where such vnode is not msync-ed until reboot.

git-svn-id: svn://svn.freebsd.org/base/stable/10@284993 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284741
davidcs [Tue, 30 Jun 2015 20:59:07 +0000 (20:59 +0000)]
MFC r284741

Updated Copyright information
Added support for the following:
     - iSCSI TLV (requires 64 Tx and 32 Rx rings
     - 9K receive buffers for jumbo frames (feature may be enabled/disabled)
     - builtin firmware, bootloader and minidump template
     - quick stats
     - async event handling for SFP insertion/removal and DCBX changes
     - Configuring DCBX and interrupt coalescing parameters

git-svn-id: svn://svn.freebsd.org/base/stable/10@284982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC 284709:
wblock [Tue, 30 Jun 2015 19:53:26 +0000 (19:53 +0000)]
MFC 284709:
  Call /etc/crontab the "system crontab", not "root's crontab".  While
  here, fix some other wording issues

git-svn-id: svn://svn.freebsd.org/base/stable/10@284970 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284739
davidcs [Tue, 30 Jun 2015 18:58:33 +0000 (18:58 +0000)]
MFC r284739
tx_mtx should be grabbed before calling buf_ring_dequeue_sc()

Submitted by:Attilio.Rao@isilon.com

git-svn-id: svn://svn.freebsd.org/base/stable/10@284966 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284470
davidcs [Tue, 30 Jun 2015 17:59:14 +0000 (17:59 +0000)]
MFC r284470
In bxe_init_mcast_macs_list(): mc_mac->mac needs to point to the multicast mac address
In bxe_set_mc_list(): added missing BXE_MCAST_UNLOCK()
In __ecore_vlan_mac_h_exec_pending(): need to check for ECORE_PENDING

Submitted by: gary.zambrano@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/10@284963 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284335
davidcs [Tue, 30 Jun 2015 17:44:44 +0000 (17:44 +0000)]
MFC r284335

PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.

bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.

bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context

Submitted by: gary.zambrano@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/10@284962 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoRe-add if_hw_tso* assignments to if_ix.c that were removed in r283668.
erj [Tue, 30 Jun 2015 16:26:13 +0000 (16:26 +0000)]
Re-add if_hw_tso* assignments to if_ix.c that were removed in r283668.

These are used in stable/10 as well as 11.

Requested by: rmacklem@

git-svn-id: svn://svn.freebsd.org/base/stable/10@284958 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r275659): fix dependency on newvers.sh
des [Tue, 30 Jun 2015 15:32:57 +0000 (15:32 +0000)]
MFH (r275659): fix dependency on newvers.sh

git-svn-id: svn://svn.freebsd.org/base/stable/10@284957 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r277695): allow tracing dlfunc() / dlsym() events
des [Tue, 30 Jun 2015 14:17:02 +0000 (14:17 +0000)]
MFH (r277695): allow tracing dlfunc() / dlsym() events

git-svn-id: svn://svn.freebsd.org/base/stable/10@284954 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r270391): don't set rc_debug in /etc/defaults/rc.conf
des [Tue, 30 Jun 2015 13:30:10 +0000 (13:30 +0000)]
MFH (r270391): don't set rc_debug in /etc/defaults/rc.conf

git-svn-id: svn://svn.freebsd.org/base/stable/10@284952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH (r283578): import new moduli from upstream
des [Tue, 30 Jun 2015 12:46:43 +0000 (12:46 +0000)]
MFH (r283578): import new moduli from upstream

git-svn-id: svn://svn.freebsd.org/base/stable/10@284950 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r262233
brueffer [Tue, 30 Jun 2015 09:34:59 +0000 (09:34 +0000)]
MFC: r262233

Spelling, grammar and mdoc cleanup.

git-svn-id: svn://svn.freebsd.org/base/stable/10@284949 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284858:
tijl [Tue, 30 Jun 2015 08:40:15 +0000 (08:40 +0000)]
MFC r284858:

Enable the use of __builtin_va_* for ICC.

PR: 198822
Submitted by: Sergey Melnikov <sergey.melnikov@intel.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@284948 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284719:
kib [Tue, 30 Jun 2015 05:53:15 +0000 (05:53 +0000)]
MFC r284719:
Only take previous buffer queue lock (olock) when needed for REMFREE
in binsfree().

git-svn-id: svn://svn.freebsd.org/base/stable/10@284944 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284882, r284884:
gjb [Tue, 30 Jun 2015 00:51:43 +0000 (00:51 +0000)]
MFC r284882, r284884:

 r284882:
  Add initial support for automatically uploading GCE virtual
  machine images to the Google Compute Engine platform.

  Remove gce-package.sh.

 r284884:
  Fix a vi-invoked typo.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@284943 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r279901 (kmoore):
delphij [Mon, 29 Jun 2015 19:09:16 +0000 (19:09 +0000)]
MFC r279901 (kmoore):

 - Include commas in valid file-name chars freebsd-update will support

git-svn-id: svn://svn.freebsd.org/base/stable/10@284940 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r256594 (cperciva):
delphij [Mon, 29 Jun 2015 19:02:30 +0000 (19:02 +0000)]
MFC r256594 (cperciva):

Speed up `freebsd-update IDS` by using IFS to split fields instead of
forking lots of processes to run echo|cut.  In one test this reduced
the CPU time from 980s to 134s and the wallclock time from 806s to
132s.

Submitted by: Oleg Ginzburg

git-svn-id: svn://svn.freebsd.org/base/stable/10@284939 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r274630,r274653 (feld):
delphij [Mon, 29 Jun 2015 18:56:53 +0000 (18:56 +0000)]
MFC r274630,r274653 (feld):

Add logic for detecting non-persistent filesystems being utilized by
workdir which would break the upgrade process upon reboot.

Currently we check for tmpfs and md.

git-svn-id: svn://svn.freebsd.org/base/stable/10@284938 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r276095 (des)
delphij [Mon, 29 Jun 2015 18:51:08 +0000 (18:51 +0000)]
MFC r276095 (des)

Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently
expand the latter.

git-svn-id: svn://svn.freebsd.org/base/stable/10@284937 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f