]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r270256:
pfg [Thu, 28 Aug 2014 18:11:05 +0000 (18:11 +0000)]
MFC r270256:
Always check the limits of array index variables before using them.

Obtained from: DragonFlyBSD

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

9 years agoNote r269398 adds RFC5661 support.
gjb [Thu, 28 Aug 2014 15:05:42 +0000 (15:05 +0000)]
Note r269398 adds RFC5661 support.

Submitted by: rmacklem
Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270242, sequential packet support in devd(8)
gjb [Thu, 28 Aug 2014 15:00:04 +0000 (15:00 +0000)]
Document r270242, sequential packet support in devd(8)

Submitted by: asomers
Sponsored by: The FreeBSD Foundation

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

9 years agoNote r268700 was sponsored by Spectra Logic.
gjb [Thu, 28 Aug 2014 14:57:09 +0000 (14:57 +0000)]
Note r268700 was sponsored by Spectra Logic.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument some CTL improvements.
mav [Thu, 28 Aug 2014 09:40:44 +0000 (09:40 +0000)]
Document some CTL improvements.

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

9 years agoDocument CAM locking improvements.
mav [Thu, 28 Aug 2014 09:00:53 +0000 (09:00 +0000)]
Document CAM locking improvements.

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

9 years agoDocument GEOM direct dispatch support and some other GEOM changes.
mav [Thu, 28 Aug 2014 08:48:10 +0000 (08:48 +0000)]
Document GEOM direct dispatch support and some other GEOM changes.

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

9 years agoMove more storage stuff to storage section.
mav [Thu, 28 Aug 2014 08:25:15 +0000 (08:25 +0000)]
Move more storage stuff to storage section.

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

9 years agoMove some points between sections.
mav [Thu, 28 Aug 2014 07:57:00 +0000 (07:57 +0000)]
Move some points between sections.

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

9 years agoDocument r269946, USDT DTrace probe improvements.
gjb [Thu, 28 Aug 2014 06:16:36 +0000 (06:16 +0000)]
Document r269946, USDT DTrace probe improvements.

Submitted by: rpaulo
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r267632:
bryanv [Thu, 28 Aug 2014 04:20:24 +0000 (04:20 +0000)]
MFC r267632:

  Fix GCC compile warning: Variable(s) can be used uninitialized.

PR: 193076

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

9 years agoCorrect the note about r270401: s/pam(3)/pam_group(8)
gjb [Thu, 28 Aug 2014 01:14:59 +0000 (01:14 +0000)]
Correct the note about r270401: s/pam(3)/pam_group(8)

Submitted by: jilles
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r261491 (by ambrisko):
markj [Wed, 27 Aug 2014 21:11:19 +0000 (21:11 +0000)]
MFC r261491 (by ambrisko):
Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and
allow mrsas(4) from LSI to attach to newer LSI cards that are support by
mrsas(4).  If mrsas(4) is not loaded into the system at boot then mfi(4)
will always attach.  If a modified mrsas(4) is loaded in the system.  That
modification is return "-30" in it's probe since that is between
BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY.

This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident
that denotes cards that should work with mrsas(4).  New entries that should
have this option.

This is the first step to get mrsas(4) checked into FreeBSD and to avoid
collision with people that use mrsas(4) from LSI.  Since mfi(4) takes
priority, then mrsas(4) users need to rebuild GENERIC.  Using the
.disabled="1" method doesn't work since that blocks attaching and the
probe gave it to mfi(4).

MFC r267451 (by delphij):
Correct variable for loader tunable variable hw.mfi.mrsas_enable.

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

9 years agoMFC r265255, r270506:
markj [Wed, 27 Aug 2014 19:51:42 +0000 (19:51 +0000)]
MFC r265255, r270506:
Allow "a.out" as an alias for the executable if no other matching entries
are found.

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

9 years agoMFC r270180:
ngie [Wed, 27 Aug 2014 18:25:14 +0000 (18:25 +0000)]
MFC r270180:

r269906:

 Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld with
 MK_TESTS == no

 Phabric: D555
 Approved by: jmmv (mentor, implicit)
 Pointyhat to: ngie

r269904:

 Integrate lib/libutil into the build/kyua

 Remove the .t wrappers

 Rename all of the TAP test applications from test-<test> to
 <test>_test to match the convention described in the TestSuite
 wiki page

 humanize_number_test.c:

 - Fix -Wformat warnings with counter variables
 - Fix minor style(9) issues:
 -- Header sorting
 -- Variable declaration alignment/sorting in main(..)
 -- Fit the lines in <80 columns
 - Fix an off by one index error in the testcase output [*]
 - Remove unnecessary `extern char * optarg;` (this is already provided by
   unistd.h)

 Phabric: D555
 Approved by: jmmv (mentor)
 Obtained from: EMC / Isilon Storage Division [*]
 Submitted by: Casey Peel <cpeel@isilon.com> [*]
 Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r270510
truckman [Wed, 27 Aug 2014 18:00:58 +0000 (18:00 +0000)]
MFC r270510

Catch up to gcc 3.3 -> 3.4 upgrade.

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

9 years agoMFC r270134:
hselasky [Wed, 27 Aug 2014 14:22:40 +0000 (14:22 +0000)]
MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR: 192755

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

9 years agoMFC r270133:
hselasky [Wed, 27 Aug 2014 14:17:15 +0000 (14:17 +0000)]
MFC r270133:
Add more USB class codes.

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

9 years agoMFC r269777:
hselasky [Wed, 27 Aug 2014 14:07:24 +0000 (14:07 +0000)]
MFC r269777:
Fix string length argument passed to "sysctl_handle_string()" so that
the complete string is returned by the function and not just only one
byte.

PR: 192544

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

9 years agoMFC 270438
grehan [Wed, 27 Aug 2014 06:13:44 +0000 (06:13 +0000)]
MFC 270438
  Change __inline style to be consistent with FreeBSD usage,
  and also fix gcc build.

PR: 192880

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

9 years agoMFC r270204:
kib [Wed, 27 Aug 2014 01:38:26 +0000 (01:38 +0000)]
MFC r270204:
Do not busy the UFS mount point inside VOP_RENAME().

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

9 years agoMFC r270203:
kib [Wed, 27 Aug 2014 01:37:22 +0000 (01:37 +0000)]
MFC r270203:
Correct the test for condition to suspend UFS filesystem during unmount.

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

9 years agoMFC r270202:
kib [Wed, 27 Aug 2014 01:34:33 +0000 (01:34 +0000)]
MFC r270202:
Increase max number of physical segments on amd64 to 63.

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

9 years agoMFC r270417, r270418, r270455, r270457:
gjb [Wed, 27 Aug 2014 00:50:51 +0000 (00:50 +0000)]
MFC r270417, r270418, r270455, r270457:

r270417:
  Fix arm build breakage when building stable/10 on
  head/.

r270418:
  Also export UNAME_r to fix arm builds.

r270455:
  Set OSREL and UNAME_r in release/release.sh when building
  ports to prevent ports build failures from killing the
  release build.

r270457:
  Wrap a long line.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix the stable/10 errata/article.xml to conform to
gjb [Wed, 27 Aug 2014 00:07:33 +0000 (00:07 +0000)]
Fix the stable/10 errata/article.xml to conform to
FDP style conventions (as best as possible).

Sponsored by: The FreeBSD Foundation

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

9 years agoFix the stable/10 hardware/article.xml to conform to
gjb [Tue, 26 Aug 2014 23:58:54 +0000 (23:58 +0000)]
Fix the stable/10 hardware/article.xml to conform to
FDP style conventions.
Fix a few rendering issues, while here.

Sponsored by: The FreeBSD Foundation

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

9 years agoBump copyright year.
gjb [Tue, 26 Aug 2014 23:51:01 +0000 (23:51 +0000)]
Bump copyright year.

Sponsored by: The FreeBSD Foundation

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

9 years agoUpdate the readme/article.xml to reflect send-pr(1) is
gjb [Tue, 26 Aug 2014 23:50:21 +0000 (23:50 +0000)]
Update the readme/article.xml to reflect send-pr(1) is
deprecated, and direct to Bugzilla.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix the stable/10 hardware/article.xml to conform to
gjb [Tue, 26 Aug 2014 23:45:26 +0000 (23:45 +0000)]
Fix the stable/10 hardware/article.xml to conform to
FDP style conventions.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix a typo: s/sytem/system/
gjb [Tue, 26 Aug 2014 23:31:22 +0000 (23:31 +0000)]
Fix a typo: s/sytem/system/

Sponsored by: The FreeBSD Foundation

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

9 years agoFix alphabetical sorting with alc(4) addition.
gjb [Tue, 26 Aug 2014 23:19:09 +0000 (23:19 +0000)]
Fix alphabetical sorting with alc(4) addition.

Move atp(4) driver under 'Pointing Devices', added
to 'Keyboards' by mistake.

Sponsored by: The FreeBSD Foundation

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

9 years agoAdd the following to the hardware notes:
gjb [Tue, 26 Aug 2014 22:47:40 +0000 (22:47 +0000)]
Add the following to the hardware notes:
 - aacraid(4)
 - alc(4)
 - ath_hal(4)
 - atp(4)
 - cxgbe(4)
 - hptnr(4)

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r269743:
wblock [Tue, 26 Aug 2014 19:58:48 +0000 (19:58 +0000)]
MFC r269743:

Update the comments in exec.h with help from jilles.

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

9 years ago- Update stable/10 to 10.1-PRERELEASE now that the
gjb [Tue, 26 Aug 2014 15:31:56 +0000 (15:31 +0000)]
- Update stable/10 to 10.1-PRERELEASE now that the
  code slush is in effect.  (Forgotten on the 22nd.)
- Set the 10.1 as the .Fx mdoc(7) default.
- Update the TARGET_TRIPLE and BUILD_TRIPLE for clang(1)
  to reflect 10.1.

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

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

9 years agoAdd a non-breaking space in the mount_nfs(8) example.
gjb [Tue, 26 Aug 2014 13:53:01 +0000 (13:53 +0000)]
Add a non-breaking space in the mount_nfs(8) example.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix an oddly-worded sentence.
gjb [Tue, 26 Aug 2014 13:44:56 +0000 (13:44 +0000)]
Fix an oddly-worded sentence.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r265778 (by melifaro):
ae [Tue, 26 Aug 2014 10:32:08 +0000 (10:32 +0000)]
MFC r265778 (by melifaro):
  Fix ndp(8) -f flag parsing

  PR: bin/136661

MFC r268827 (by peter):
  Fix "ndp -d hostname".

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

9 years agoMFC r270416:
dim [Tue, 26 Aug 2014 06:31:52 +0000 (06:31 +0000)]
MFC r270416:

In r260015, I renamed several identifiers to avoid -Wsystem-header
warnings.  In r261283, I imported libc++ 3.4 release, but this contained
one identifier that had not been renamed yet, leading to a compilation
error when using -std=c++1y.  Fix the compilation error by correctly
renaming the identifier.

Reported by: rcarter@pinyon.org
PR: base/192139

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

9 years agoMerge SETAN changes from head:
imp [Tue, 26 Aug 2014 03:45:54 +0000 (03:45 +0000)]
Merge SETAN changes from head:

r270327 | imp | 2014-08-22 07:15:59 -0600 (Fri, 22 Aug 2014) | 6 lines
We should never enter the PROBE_SETAN phase if we're not ATAPI, since
that's ATAPI specific. Instead, skip to PROBE_SET_MULTI instead for
non ATAPI protocols. The prior code incorrectly terminated the probe
with a break, rather than arranging for probedone to get called. This
caused panics or worse on some systems.

r270249 | imp | 2014-08-20 16:58:12 -0600 (Wed, 20 Aug 2014) | 13 lines
Turns out that IDENTIFY DEVICE and IDENTIFY PACKET DEVICE return data
that's only mostly similar. Specifically word 78 bits are defined for
IDENTIFY DEVICE as
        5 Supports Hardware Feature Control
while a IDENTIFY PACKET DEVICE defines them as
        5 Asynchronous notification supported
Therefore, only pay attention to bit 5 when we're talking to ATAPI
devices (we don't use the hardware feature control at this time).
Ignore it for ATA devices. Remove kludge that papered over this issue
for Samsung SATA SSDs, since Micron drives also have the bit set and
the error was caused by this bad interpretation of the spec (which is
quite easy to do, since bits aren't normally overlapping like this).

Sponsored by: Netflix (the merge and the original work)

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

9 years agoMFH (r269653): Give a brief error message
thompsa [Tue, 26 Aug 2014 02:31:37 +0000 (02:31 +0000)]
MFH (r269653): Give a brief error message

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

9 years agoDocument r270631, ixlv(4) merged from head/.
gjb [Mon, 25 Aug 2014 22:31:04 +0000 (22:31 +0000)]
Document r270631, ixlv(4) merged from head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix a formatting nit.
gjb [Mon, 25 Aug 2014 22:25:57 +0000 (22:25 +0000)]
Fix a formatting nit.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270630, vm 'fast path' page fault hander.
gjb [Mon, 25 Aug 2014 22:20:04 +0000 (22:20 +0000)]
Document r270630, vm 'fast path' page fault hander.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270552, kern.geom.part.mbr.enforce_chs tunable.
gjb [Mon, 25 Aug 2014 22:20:02 +0000 (22:20 +0000)]
Document r270552, kern.geom.part.mbr.enforce_chs tunable.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270514, ASUS USB-AC51 support in urtwn(4).
gjb [Mon, 25 Aug 2014 22:20:00 +0000 (22:20 +0000)]
Document r270514, ASUS USB-AC51 support in urtwn(4).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270509, vtnet(4) netmap(4) support.
gjb [Mon, 25 Aug 2014 22:19:58 +0000 (22:19 +0000)]
Document r270509, vtnet(4) netmap(4) support.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270415, lukemftpd removal.
gjb [Mon, 25 Aug 2014 22:19:56 +0000 (22:19 +0000)]
Document r270415, lukemftpd removal.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270401, pam(3) 'account' facility support.
gjb [Mon, 25 Aug 2014 22:19:54 +0000 (22:19 +0000)]
Document r270401, pam(3) 'account' facility support.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270297, native netmap(4) support in cxgbe(4) for
gjb [Mon, 25 Aug 2014 22:19:52 +0000 (22:19 +0000)]
Document r270297, native netmap(4) support in cxgbe(4) for
the T5 10G/40G card.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270159, various bhyve(4) enhancements.
gjb [Mon, 25 Aug 2014 22:19:50 +0000 (22:19 +0000)]
Document r270159, various bhyve(4) enhancements.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270157, FFS multithreaded soft updates.
gjb [Mon, 25 Aug 2014 22:19:48 +0000 (22:19 +0000)]
Document r270157, FFS multithreaded soft updates.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC of the Intel Base driver for the Intel XL710 Ethernet Controller Family
jfv [Mon, 25 Aug 2014 22:04:29 +0000 (22:04 +0000)]
MFC of the Intel Base driver for the Intel XL710 Ethernet Controller Family
- It was decided to change the driver name to if_ixl for FreeBSD
- This release adds the VF Driver to the tree, it can be built into
  the kernel or as the if_ixlv module
- The VF driver is independent for the first time, this will be
  desireable when full SRIOV capability is added to the OS.

Submitted by: jack.vogel@intel.com and eric.joyner@intel.com

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

9 years agoMFC r270011:
kib [Mon, 25 Aug 2014 21:21:29 +0000 (21:21 +0000)]
MFC r270011:
Implement 'fast path' for the vm page fault handler.

MFC r270387 (by alc):
Relax one of the conditions for mapping a page on the fast path.

Approved by: re (gjb)

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

9 years agoMFC r261647 (by alc):
kib [Mon, 25 Aug 2014 21:19:08 +0000 (21:19 +0000)]
MFC r261647 (by alc):
Don't call vm_fault_prefault() on zero-fill faults.

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

9 years agoMFC r261412 (by alc):
kib [Mon, 25 Aug 2014 21:16:57 +0000 (21:16 +0000)]
MFC r261412 (by alc):
Make prefaulting more aggressive on hard faults.

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

9 years agoMFC r269978 (by alc):
kib [Mon, 25 Aug 2014 20:49:25 +0000 (20:49 +0000)]
MFC r269978 (by alc):
Avoid pointless (but harmless) actions on unmanaged pages.

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

9 years agoAdd attribution for r270130
gjb [Mon, 25 Aug 2014 20:37:12 +0000 (20:37 +0000)]
Add attribution for r270130

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270130, unmapped I/O in Xen's blkfront driver.
gjb [Mon, 25 Aug 2014 20:37:10 +0000 (20:37 +0000)]
Document r270130, unmapped I/O in Xen's blkfront driver.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270061, if__nf10bmac(4) merged from head/.
gjb [Mon, 25 Aug 2014 20:37:09 +0000 (20:37 +0000)]
Document r270061, if__nf10bmac(4) merged from head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270043, '-o key=val' pairing for NFS version
gjb [Mon, 25 Aug 2014 20:37:07 +0000 (20:37 +0000)]
Document r270043, '-o key=val' pairing for NFS version
specification.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270031, fparseln(3) update to 1.7.
gjb [Mon, 25 Aug 2014 20:37:05 +0000 (20:37 +0000)]
Document r270031, fparseln(3) update to 1.7.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270026, nvi 2.1.2-c80f493b038
gjb [Mon, 25 Aug 2014 20:37:03 +0000 (20:37 +0000)]
Document r270026, nvi 2.1.2-c80f493b038

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269975, igxbe(4) tunable renaming.
gjb [Mon, 25 Aug 2014 19:45:46 +0000 (19:45 +0000)]
Document r269975, igxbe(4) tunable renaming.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269968, iscsictl(8) '-M' flag.
gjb [Mon, 25 Aug 2014 19:45:44 +0000 (19:45 +0000)]
Document r269968, iscsictl(8) '-M' flag.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269847:
gjb [Mon, 25 Aug 2014 19:45:42 +0000 (19:45 +0000)]
Document r269847:
 apr 1.4.8 -> 1.5.1
 apr-util 1.5.2 -> 1.5.3
 serf 1.3.4 -> 1.3.7
 svnlite 1.8.8 -> 1.8.10

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269846, vfs.zfs.arc_average_blocksize.
gjb [Mon, 25 Aug 2014 19:45:40 +0000 (19:45 +0000)]
Document r269846, vfs.zfs.arc_average_blocksize.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269805, extra ifconfig(8) arguments are passable to
gjb [Mon, 25 Aug 2014 18:52:51 +0000 (18:52 +0000)]
Document r269805, extra ifconfig(8) arguments are passable to
jail(8) ip4.addr and ip6.addr parameters.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269800, ping6(8) itimer reset when low interval and
gjb [Mon, 25 Aug 2014 18:52:49 +0000 (18:52 +0000)]
Document r269800, ping6(8) itimer reset when low interval and
small number of packets.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269774, new zfs(8) sysctls.
gjb [Mon, 25 Aug 2014 18:52:47 +0000 (18:52 +0000)]
Document r269774, new zfs(8) sysctls.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269686, OpenSSL update to 1.0.1i.
gjb [Mon, 25 Aug 2014 18:52:45 +0000 (18:52 +0000)]
Document r269686, OpenSSL update to 1.0.1i.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269651, restore(8) fix when restoring UFS dump to
gjb [Mon, 25 Aug 2014 18:52:43 +0000 (18:52 +0000)]
Document r269651, restore(8) fix when restoring UFS dump to
ZFS filesystem.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269432, ttyu0 and ttyu1 default to 'onifconsole'
gjb [Mon, 25 Aug 2014 18:52:41 +0000 (18:52 +0000)]
Document r269432, ttyu0 and ttyu1 default to 'onifconsole'
on ia64.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r268994: C++ exception/unwind handling fix
ian [Mon, 25 Aug 2014 18:45:15 +0000 (18:45 +0000)]
MFC r268994: C++ exception/unwind handling fix

  Add FreeBSD to the list of environments that needs to handle R_ARM_TARGET2
  relocations in unwind data as pc-relative indirect references.

Note that the commit log for r269792 incorrectly claims that it includes
this change, but I apparently fumbled it somehow, so this is the real MFC.

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

9 years agoDocument r269398, NFSv4.1
gjb [Mon, 25 Aug 2014 17:53:03 +0000 (17:53 +0000)]
Document r269398, NFSv4.1

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269397, vmrun.sh synced with head/.
gjb [Mon, 25 Aug 2014 17:53:01 +0000 (17:53 +0000)]
Document r269397, vmrun.sh synced with head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoRevert r270079 which was MFC of r269688, build libohash while bootstrapping.
ian [Mon, 25 Aug 2014 17:31:06 +0000 (17:31 +0000)]
Revert r270079 which was MFC of r269688, build libohash while bootstrapping.

The changes to split the ohash code out of m4 into its own library haven't
been MFC'd, so this change was causing an error during bootstrap when
building stable-10.

Submitted by: Dai Sieh <dsieh@dsieh.com>
Pointy hat to: ian

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

9 years agoDocument r269298, max SCSI ports in ctl(4).
gjb [Mon, 25 Aug 2014 17:30:33 +0000 (17:30 +0000)]
Document r269298, max SCSI ports in ctl(4).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269257, ldns/unbound update.
gjb [Mon, 25 Aug 2014 17:30:31 +0000 (17:30 +0000)]
Document r269257, ldns/unbound update.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269220, save-entropy.sh no longer harvests entropy
gjb [Mon, 25 Aug 2014 17:30:29 +0000 (17:30 +0000)]
Document r269220, save-entropy.sh no longer harvests entropy
within jail(8).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269196, em(4) update to 7.4.2.
gjb [Mon, 25 Aug 2014 17:30:27 +0000 (17:30 +0000)]
Document r269196, em(4) update to 7.4.2.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269177, fixed- and dynamically-allocated support in
gjb [Mon, 25 Aug 2014 17:30:25 +0000 (17:30 +0000)]
Document r269177, fixed- and dynamically-allocated support in
mkimg(1) for VMDK and VHD files.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r269024, lldb update to r202189.
gjb [Mon, 25 Aug 2014 17:30:23 +0000 (17:30 +0000)]
Document r269024, lldb update to r202189.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268933, virtio_random(4).
gjb [Mon, 25 Aug 2014 17:30:21 +0000 (17:30 +0000)]
Document r268933, virtio_random(4).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268932, bhyve(4) zfs boot
gjb [Mon, 25 Aug 2014 17:30:20 +0000 (17:30 +0000)]
Document r268932, bhyve(4) zfs boot

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268903, kldstat(8) '-q' support when using '-n module.ko'
gjb [Mon, 25 Aug 2014 17:30:18 +0000 (17:30 +0000)]
Document r268903, kldstat(8) '-q' support when using '-n module.ko'

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268899, byacc(1) update to 20140422.
gjb [Mon, 25 Aug 2014 17:30:16 +0000 (17:30 +0000)]
Document r268899, byacc(1) update to 20140422.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268791, gstat(8) '-p' flag.
gjb [Mon, 25 Aug 2014 16:25:18 +0000 (16:25 +0000)]
Document r268791, gstat(8) '-p' flag.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268700, camcontrol(8) 'persist' command.
gjb [Mon, 25 Aug 2014 16:25:16 +0000 (16:25 +0000)]
Document r268700, camcontrol(8) 'persist' command.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268515, file(1) and libmagic(3) update to 5.19.
gjb [Mon, 25 Aug 2014 16:25:14 +0000 (16:25 +0000)]
Document r268515, file(1) and libmagic(3) update to 5.19.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix revision sorting for r268161.
gjb [Mon, 25 Aug 2014 16:25:12 +0000 (16:25 +0000)]
Fix revision sorting for r268161.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268098, service(8) directory traversal check.
gjb [Mon, 25 Aug 2014 16:25:10 +0000 (16:25 +0000)]
Document r268098, service(8) directory traversal check.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268046, oce(4) vendor updates.
gjb [Mon, 25 Aug 2014 16:25:08 +0000 (16:25 +0000)]
Document r268046, oce(4) vendor updates.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r268019, sed(1) '-u' flag.
gjb [Mon, 25 Aug 2014 16:25:06 +0000 (16:25 +0000)]
Document r268019, sed(1) '-u' flag.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r267979, procstat(1) '-r' and '-H' flags.
gjb [Mon, 25 Aug 2014 16:25:04 +0000 (16:25 +0000)]
Document r267979, procstat(1) '-r' and '-H' flags.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r267878, bsdgrep(1) pattern matching bug.
gjb [Mon, 25 Aug 2014 16:25:02 +0000 (16:25 +0000)]
Document r267878, bsdgrep(1) pattern matching bug.

Sponsored by: The FreeBSD Foundation

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

9 years agoMerge r270023 from head:
glebius [Mon, 25 Aug 2014 15:51:07 +0000 (15:51 +0000)]
Merge r270023 from head:
  Do not lookup source node twice when pf_map_addr() is used.

  PR:           184003
  Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
  Sponsored by: InnoGames GmbH

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

9 years agoMerge r270022 from head:
glebius [Mon, 25 Aug 2014 15:49:41 +0000 (15:49 +0000)]
Merge r270022 from head:
  pf_map_addr() can fail and in this case we should drop the packet,
  otherwise bad consequences including a routing loop can occur.

  Move pf_set_rt_ifp() earlier in state creation sequence and
  inline it, cutting some extra code.

  PR:           183997
  Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
  Sponsored by: InnoGames GmbH

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

9 years agoMerge 270010 from head:
glebius [Mon, 25 Aug 2014 15:48:28 +0000 (15:48 +0000)]
Merge 270010 from head:
  Fix synproxy with IPv6. pf_test6() was missing a check for M_SKIP_FIREWALL.

  PR:           127920
  Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
  Sponsored by: InnoGames GmbH

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

9 years agoMerge r269998 from head:
glebius [Mon, 25 Aug 2014 15:40:37 +0000 (15:40 +0000)]
Merge r269998 from head:
  - Count global pf(4) statistics in counter(9).
  - Do not count global number of states and of src_nodes,
    use uma_zone_get_cur() to obtain values.
  - Struct pf_status becomes merely an ioctl API structure,
    and moves to netpfil/pf/pf.h with its constants.
  - V_pf_status is now of type struct pf_kstatus.

  Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
  Sponsored by: InnoGames GmbH

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

9 years agoMake sure the psr field in the trapframe (which holds the value of cr.ipsr)
marcel [Mon, 25 Aug 2014 15:15:59 +0000 (15:15 +0000)]
Make sure the psr field in the trapframe (which holds the value of cr.ipsr)
is properly synthesized for the EPC syscall. Properly synthesized in this
case means that the bank number (BN bitfield) is set to 1. This is needed
because the move-from-PSR instruction does copy all bits! In this case
the BN bitfield was not copied.

While normally this is not a problem, because when we leave the kernel via
the EPC syscall path again, we don't actually care about the BN bitfield.
We restore PSR with a move-to-PSR instruction, which also doesn't cover
the BN bitfield.

There is however a scenario where we enter the kernel via the EPC syscall
path and leave the kernel via the exception/interrupt path. That path
uses the RFI (Return-From-Interrupt) instruction and it restores all bits.
What happens in that case is that we don't properly switch to register
bank 1 and any exception/interrupt that happens while running in bank 0
clobbers the process' (or kernel's) banked registers. This is because the
CPU switches to bank 0 on an exception/interrupt so that there are 16
general registers available for constructing a trapframe and saving the
context. Consequently: normal code should always use register bank 1.

This bug has been present since 2003 (11 years) and has been the cause
for many "unexplained" kernel panics. It says something about how often
we hit this problem on the one hand and how tricky it was to find it.

Many thanks to: clusteradm@ for enabling me to track this down!

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