]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
8 years agoMFC r286886: Fixing typo as well as improving readability of a few comments.
avatar [Wed, 9 Sep 2015 04:16:55 +0000 (04:16 +0000)]
MFC r286886: Fixing typo as well as improving readability of a few comments.

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

8 years agoMFC r286799:
hselasky [Sat, 29 Aug 2015 06:28:48 +0000 (06:28 +0000)]
MFC r286799:
Fix race in USB PF which can happen if we stop tracing exactly when
the kernel is tapping an USB transfer. This leads to a NULL pointer
access. The solution is to only trace while the USB bus lock is
locked.

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

8 years agoMFC of 286750,tzdata8:
edwin [Fri, 14 Aug 2015 00:00:50 +0000 (00:00 +0000)]
MFC of 286750,tzdata8:

Update to tzdata2015f:

Changes affecting future time stamps

    North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
    The abbreviation remains "KST".  (Thanks to Robert Elz.)
    Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo Camargo.)
    Changes affecting past and future time stamps
    Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to Roman Tudos.)

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

8 years agoMFC r286519:
dim [Wed, 12 Aug 2015 19:18:54 +0000 (19:18 +0000)]
MFC r286519:

In GNU as, avoid left-shifting negative integers, which is undefined.

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

8 years agoMFC r286515:
dim [Wed, 12 Aug 2015 19:06:35 +0000 (19:06 +0000)]
MFC r286515:

In libm's exp2(3), avoid left-shifting a negative integer, which is
undefined.  Replace it with the intended value, in a defined way.

Reviewed by: bde

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

8 years agoMFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new
gshapiro [Sat, 8 Aug 2015 16:35:42 +0000 (16:35 +0000)]
MFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new
     version imports.

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

8 years agoMFC r285973
davidcs [Wed, 5 Aug 2015 02:08:42 +0000 (02:08 +0000)]
MFC r285973
    - Avoid lock contention in the if_transmit callback by using trylock and
     enqueueing the frames when it fails. This way there is some latency
     removed from the transmitting path.
    - If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just
     enqueue the desired frames and return successful transmit. This way we
     avoid to return errors on transmit side and resulting in
     possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set
     everytime we get the threshold ring hit, so this can be happening quite
     often.

Submitted by: Attilio.Rao@isilon.com

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

8 years agoFix a regression introduced with previous OpenSSH by explicitly
delphij [Thu, 30 Jul 2015 10:09:07 +0000 (10:09 +0000)]
Fix a regression introduced with previous OpenSSH by explicitly
initializing devices_done.

Submitted by: jkim

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

8 years agoDocument SA-15:14 through SA-15:17.
gjb [Tue, 28 Jul 2015 20:38:52 +0000 (20:38 +0000)]
Document SA-15:14 through SA-15:17.

Sponsored by: The FreeBSD Foundation

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

8 years agoFix resource exhaustion in TCP reassembly. [SA-15:15]
delphij [Tue, 28 Jul 2015 19:58:54 +0000 (19:58 +0000)]
Fix resource exhaustion in TCP reassembly. [SA-15:15]

Fix OpenSSH multiple vulnerabilities. [SA-15:16]

Fix BIND remote denial of service vulnerability. [SA-15:17]

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

8 years agoMFC r285340:
dim [Tue, 28 Jul 2015 09:19:04 +0000 (09:19 +0000)]
MFC r285340:

Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function.
Detected by clang 3.7.0 with the warning:

sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c:309:18: error: variable
'rptr' is uninitialized when used here [-Werror,-Wuninitialized]
chp->cq.rptr = rptr;
       ^~~~

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

8 years agoDocument FreeBSD-SA-15:13.
gjb [Wed, 22 Jul 2015 16:38:07 +0000 (16:38 +0000)]
Document FreeBSD-SA-15:13.

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

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

8 years agoFix resource exhaustion due to sessions stuck in LAST_ACK state.
delphij [Tue, 21 Jul 2015 23:42:20 +0000 (23:42 +0000)]
Fix resource exhaustion due to sessions stuck in LAST_ACK state.

Security: CVE-2015-5358
Security: SA-15:13.tcp
Submitted by: Jonathan Looney (Juniper SIRT)
Reviewed by: lstewart

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

8 years agoNote merge of sendmail 8.15.2
gshapiro [Sat, 11 Jul 2015 04:55:01 +0000 (04:55 +0000)]
Note merge of sendmail 8.15.2

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

8 years agoPrevious MFC to trigger new .cf builds didn't catch freebsd.mc.
gshapiro [Sat, 11 Jul 2015 03:57:36 +0000 (03:57 +0000)]
Previous MFC to trigger new .cf builds didn't catch freebsd.mc.

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

8 years agoMFC: Update for sendmail 8.15.2 import
gshapiro [Sat, 11 Jul 2015 03:53:03 +0000 (03:53 +0000)]
MFC: Update for sendmail 8.15.2 import

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

8 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files
gshapiro [Sat, 11 Jul 2015 03:50:17 +0000 (03:50 +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.

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

8 years agoMFC: Merge sendmail 8.15.2
gshapiro [Sat, 11 Jul 2015 03:46:36 +0000 (03:46 +0000)]
MFC: Merge sendmail 8.15.2

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

8 years agoMFC: Temporarily disable WARNS while addressing a non-issue with the
gshapiro [Sat, 11 Jul 2015 03:34:57 +0000 (03:34 +0000)]
MFC: Temporarily disable WARNS while addressing a non-issue with the
     upstream code

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

8 years agoBy default, sendmail 8.15 uses uncompressed IPv6 addresses. Keep
gshapiro [Sat, 11 Jul 2015 03:32:22 +0000 (03:32 +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.)

git-svn-id: svn://svn.freebsd.org/base/stable/8@285370 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 [Sat, 11 Jul 2015 03:29:04 +0000 (03:29 +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.

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

8 years agoDocument SA-15:11.bind.
gjb [Tue, 7 Jul 2015 23:37:16 +0000 (23:37 +0000)]
Document SA-15:11.bind.

Sponsored by: The FreeBSD Foundation

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

8 years agoFix BIND resolver remote denial of service when validating.
delphij [Tue, 7 Jul 2015 21:43:23 +0000 (21:43 +0000)]
Fix BIND resolver remote denial of service when validating.

Security: CVE-2015-4620
Security: FreeBSD-SA-15:11.bind

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

8 years agoMFC: r281337
marius [Sun, 5 Jul 2015 20:16:51 +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

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

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

Refine the workaround for Intel HSD131 [1] added in r269052 (MFCed to
stable/8 in r269595):
- 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/8@285176 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/8@285060 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284739
davidcs [Tue, 30 Jun 2015 20:31:00 +0000 (20:31 +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/8@284978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284470
davidcs [Tue, 30 Jun 2015 20:28:07 +0000 (20:28 +0000)]
MFC r284470
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/8@284977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284335
davidcs [Tue, 30 Jun 2015 20:24:23 +0000 (20:24 +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/8@284976 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument FreeBSD-EN-15:06.file, FreeBSD-EN-15:07.zfs,
gjb [Thu, 25 Jun 2015 20:01:27 +0000 (20:01 +0000)]
Document FreeBSD-EN-15:06.file, FreeBSD-EN-15:07.zfs,
FreeBSD-EN-15:08.sendmail, FreeBSD-SA-15:10.openssl.

Sponsored by: The FreeBSD Foundation

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

8 years agoAdd a note on the second sendmail fix for WeakDH interoperability.
gshapiro [Thu, 25 Jun 2015 01:57:47 +0000 (01:57 +0000)]
Add a note on the second sendmail fix for WeakDH interoperability.

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

8 years agoMFC: An additional fix for the openssl Weak DH remediation:
gshapiro [Thu, 25 Jun 2015 01:56:36 +0000 (01:56 +0000)]
MFC: An additional fix for the openssl Weak DH remediation:

     The import of openssl to address the FreeBSD-SA-15:10.openssl security
     advisory includes a change which rejects handshakes with DH parameters
     below 768 bits.  sendmail releases prior to 8.15.2 (not yet released),
     defaulted to a 512 bit DH parameter setting for client connections.

     The first fix committed last week changed the default to 1024 bits.

     This commit fixes the case where the DHParameters option is set to a
     file which doesn't exist, which is the case on newer versions of
     FreeBSD which enable STARTTLS by default by auto-creating TLS
     certificates.

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

8 years agoMFC r284237,r284277:
delphij [Wed, 24 Jun 2015 23:05:17 +0000 (23:05 +0000)]
MFC r284237,r284277:

file 5.23.

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

8 years agoMFC r284346:
dim [Sat, 20 Jun 2015 13:30:09 +0000 (13:30 +0000)]
MFC r284346:

Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:

    lib/libfetch/http.c:1628:26: error: address of array 'purl->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = purl->user ?
                                                   ~~~~~~^~~~ ~
    lib/libfetch/http.c:1630:30: error: address of array 'purl->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = purl->pwd?
                                                       ~~~~~~^~~~
    lib/libfetch/http.c:1657:25: error: address of array 'url->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url->user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1659:29: error: address of array 'url->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url->pwd ?
                                                       ~~~~~^~~ ~
    lib/libfetch/http.c:1669:25: error: address of array 'url->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url->user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1671:29: error: address of array 'url->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url->pwd ?
                                                       ~~~~~^~~ ~

Since url->user and url->pwd are arrays, they can never be NULL, so the
checks can be removed.

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D2673

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

8 years agoMFC r284229: Add support for '_' occurring at the beginning or
ume [Thu, 18 Jun 2015 16:46:40 +0000 (16:46 +0000)]
MFC r284229: Add support for '_' occurring at the beginning or
end of a name component.

PR: 176093
Submitted by: landonf__at__bikemonkey.org

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

8 years agoMFC r284011:
hselasky [Wed, 17 Jun 2015 07:38:50 +0000 (07:38 +0000)]
MFC r284011:
Don't wait forever for USB data to be flushed.

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

8 years agoAdd a note regarding the change to sendmail'c default DH parameter size
gshapiro [Wed, 17 Jun 2015 03:23:45 +0000 (03:23 +0000)]
Add a note regarding the change to sendmail'c default DH parameter size
for client connections.

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

8 years agoMFC: The import of openssl to address the FreeBSD-SA-15:10.openssl security
gshapiro [Wed, 17 Jun 2015 03:22:18 +0000 (03:22 +0000)]
MFC: The import of openssl to address the FreeBSD-SA-15:10.openssl security
     advisory includes a change which rejects handshakes with DH parameters
     below 768 bits.  sendmail releases prior to 8.15.2 (not yet released),
     defaulted to a 512 bit DH parameter setting for client connections.
     This commit chages that default to 1024 bits.  sendmail 8.15.2, when
     released well use a default of 2048 bits.

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

8 years agoMFC of 284397,tzdata8:
edwin [Mon, 15 Jun 2015 01:03:21 +0000 (01:03 +0000)]
MFC of 284397,tzdata8:

Update to tzdata2015e:

  Changes affecting future time stamps

    Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
    not 06-13 and 07-18 as we had guessed.  (Thanks to Milamber.)

    Assume Cayman Islands will observe DST starting next year, using US rules.
    Although it isn't guaranteed, it is the most likely.

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

8 years agoMerge OpenSSL 0.9.8zg.
jkim [Thu, 11 Jun 2015 19:39:27 +0000 (19:39 +0000)]
Merge OpenSSL 0.9.8zg.

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

8 years agoMFC 281887:
jhb [Tue, 2 Jun 2015 19:20:39 +0000 (19:20 +0000)]
MFC 281887:
Reassign copyright statements on several files from Advanced
Computing Technologies LLC to Hudson River Trading LLC.

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

8 years agoMFC 282417:
jhb [Tue, 2 Jun 2015 15:12:33 +0000 (15:12 +0000)]
MFC 282417:
Various updates to the ftruncate(2) documentation:
- Note that ftruncate(2) can operate on shared memory objects and cross
  reference shm_open(2).
- Note that ftruncate(2) does not change the file position pointer (aka
  seek pointer) of the file descriptor.
- ftruncate(2) will fail with EINVAL for all sorts of other fd types than
  just sockets, so instead note that it fails for all but regular files and
  shared memory objects.
- Note that ftruncate(2) also appeared in 4.2BSD along with truncate(2).
  (Or at least the manpage for both appeared in 4.2, I did not check the
  kernel code itself to see if either predated 4.2.)

PR: 199472

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

8 years agoMFC 281170:
jhb [Tue, 2 Jun 2015 15:02:28 +0000 (15:02 +0000)]
MFC 281170:
vfork() first appeared in 3BSD which pre-dates 2.9BSD.  Verified via the
copy of 3BSD on disc 1 of "The CSRG Archives".

PR: 198612

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

8 years agoMFC: r283261
jkim [Mon, 1 Jun 2015 19:26:24 +0000 (19:26 +0000)]
MFC: r283261

Do not probe Intel PIIX4 south bridge quirks on amd64.

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

8 years agoMFC r283274
davidcs [Fri, 29 May 2015 23:33:49 +0000 (23:33 +0000)]
MFC r283274

Submitted by:gary.zambrano@qlogic.com

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

8 years agoMFC r283269
davidcs [Fri, 29 May 2015 23:28:55 +0000 (23:28 +0000)]
MFC r283269

Submitted by: gary.zambrano@qlogic.com
Approved by:davidcs@freebsd.org

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

8 years agoMFC r283254:
dim [Thu, 28 May 2015 06:45:13 +0000 (06:45 +0000)]
MFC r283254:

Ensure that the static structs emitted by the MODULE_DEPEND() and
MODULE_VERSION() macros don't end up as .comm symbols, when all the
version fields are zero.

Normally, such symbols will end up in .bss, but for kernel module
version objects, this can lead to "garbage" version numbers.

Fix this by instructing the compiler to always put these structs in the
.data segment instead.

Reported by: delphij, ae

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

8 years agoMFC r283064:
hselasky [Wed, 27 May 2015 13:27:39 +0000 (13:27 +0000)]
MFC r283064:
Fix an off-by-one error by adding proper range checks when parsing the
HDA association descriptors. This fixes a crash during device probe
for some HDA PCI devices.

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

8 years agoMFC r282652:
hselasky [Thu, 21 May 2015 07:09:19 +0000 (07:09 +0000)]
MFC r282652:
Ensure the USB audio driver doesn't attach twice on the same USB
device by grabbing all the USB audio device interfaces.

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

8 years agoMFC: file 5.22.
delphij [Tue, 19 May 2015 23:53:25 +0000 (23:53 +0000)]
MFC: file 5.22.

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

8 years agoMFC of 283079,tzdata8:
edwin [Mon, 18 May 2015 21:18:44 +0000 (21:18 +0000)]
MFC of 283079,tzdata8:

Update to tzdata2015d:

Release 2015d - 2015-04-24 08:09:46 -0700

  Changes affecting future time stamps

    Egypt will not observe DST in 2015 and will consider canceling it
    permanently.  For now, assume no DST indefinitely.
    (Thanks to Ahmed Nazmy and Tim Parenti.)

  Change affecting past and future time zone abbreviations

    The abbreviations for Hawaii-Aleutian standard and daylight times
    have been changed from HAST/HADT to HST/HDT, as per US Government
    Printing Office style.  This affects only America/Adak since 1983,
    as America/Honolulu was already using the new style.

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

8 years agoMFC of 283042,tzdata8:
edwin [Mon, 18 May 2015 02:10:19 +0000 (02:10 +0000)]
MFC of 283042,tzdata8:

Update to tzdata2015c:

    Release 2015c - 2015-04-11 08:55:55 -0700

    Changes affecting future time stamps

    Egypt's spring-forward transition is at 24:00 on April's last Thursday,
    not 00:00 on April's last Friday.  2015's transition will therefore be on
    Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
    apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)

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

8 years agoDocument EN-15:04 and EN-15:05.
gjb [Thu, 14 May 2015 04:05:34 +0000 (04:05 +0000)]
Document EN-15:04 and EN-15:05.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC: Sync freebsd-update with -HEAD.
delphij [Wed, 13 May 2015 22:39:29 +0000 (22:39 +0000)]
MFC: Sync freebsd-update with -HEAD.

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

8 years agoMFC r280598:
hselasky [Tue, 5 May 2015 20:01:28 +0000 (20:01 +0000)]
MFC r280598:
Add definition of the ISOCHRONOUS endpoint usage bits.
Refer to the USB v2.0 specification for more information.

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

9 years agoMFC r281582:
bdrewery [Thu, 23 Apr 2015 15:26:07 +0000 (15:26 +0000)]
MFC r281582:

  Remove extra flags from r250462.

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

9 years agoMFC r280999:
bdrewery [Thu, 23 Apr 2015 15:21:47 +0000 (15:21 +0000)]
MFC r280999:

  Use proper CHAN_TCP_PACKET_DEFAULT for agent forwarding when HPN disabled.

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

9 years agoDocument SA-15:07, SA-15:08, SA-15:09.
gjb [Tue, 21 Apr 2015 16:54:21 +0000 (16:54 +0000)]
Document SA-15:07, SA-15:08, SA-15:09.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r281605,281768:
brooks [Tue, 21 Apr 2015 15:00:49 +0000 (15:00 +0000)]
MFC r281605,281768:

r281605:
Fix a minor function definition inconsistancy.

r281768:
Bump doc date missed in r281605.

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

9 years agoMFC: r281331
jkim [Mon, 13 Apr 2015 22:22:32 +0000 (22:22 +0000)]
MFC: r281331

Do not crash when RSDT/XSDT contains an empty entry.

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

9 years agoMFC: r281171
jkim [Sat, 11 Apr 2015 01:17:19 +0000 (01:17 +0000)]
MFC: r281171

Tidy up battery status information.  Remove a trailing white space.

PR: 193671

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

9 years agoMFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.
mav [Fri, 10 Apr 2015 00:44:43 +0000 (00:44 +0000)]
MFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.

When CPU is not busy, those queues are typically empty.  When CPU is busy,
then one more extra sorting is the last thing it needs.  If specific device
(HDD) really needs sorting, then it will be done later by CAM.

This supposed to fix livelock reported for mirror of two SSDs, when UFS
fires zillion of BIO_DELETE requests, that totally blocks I/O subsystem by
pointless sorting of requests and responses under single mutex lock.

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

9 years agoImprove patch for SA-15:04.igmp to solve a potential buffer overflow.
delphij [Tue, 7 Apr 2015 20:20:44 +0000 (20:20 +0000)]
Improve patch for SA-15:04.igmp to solve a potential buffer overflow.

Fix multiple vulnerabilities of ntp. [SA-15:07]

Fix Denial of Service with IPv6 Router Advertisements. [SA-15:09]

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

9 years agoMFC r281006
davidcs [Tue, 7 Apr 2015 18:10:58 +0000 (18:10 +0000)]
MFC r281006
When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring.  Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread

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

9 years agoMFC r280178:
bdrewery [Fri, 3 Apr 2015 17:54:48 +0000 (17:54 +0000)]
MFC r280178:

  Unhide linker line for libraries.

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

9 years agoMFC r280177:
bdrewery [Fri, 3 Apr 2015 17:49:15 +0000 (17:49 +0000)]
MFC r280177:

  Remove unneeded handling of undefined NM.

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

9 years agoMFC r278530:
bdrewery [Fri, 3 Apr 2015 17:18:05 +0000 (17:18 +0000)]
MFC r278530:

  When catopen(3) returns an error, it caches the result of that error from
  r202992. The refcount on the cache entry is not initialized, so any attempt
  to clean the cache will skip over this item since it likely has a >0 value.

  This change is currently a NOP.

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

9 years agoMFC r272291:
bdrewery [Fri, 3 Apr 2015 17:14:19 +0000 (17:14 +0000)]
MFC r272291:

  Document [EPERM] for UNIX sockets.

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

9 years agoMFC r280262 and r280263:
hselasky [Thu, 26 Mar 2015 10:27:39 +0000 (10:27 +0000)]
MFC r280262 and r280263:
Add more known bugs to the USB audio manual page.

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

9 years agoDocument SA-15:06.
gjb [Wed, 25 Mar 2015 17:58:44 +0000 (17:58 +0000)]
Document SA-15:06.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r280322 and r280429:
hselasky [Wed, 25 Mar 2015 13:18:36 +0000 (13:18 +0000)]
MFC r280322 and r280429:
The synchronisation value returned by the so-called feedback endpoint
appears to be too inaccurate that it can be used to synchronize the
playback data stream. If there is a recording endpoint associated with
the playback endpoint, use that instead. That means if the isochronous
OUT endpoint is asynchronus the USB audio driver will automatically
start recording, if possible, to get exact information about the
needed sample rate adjustments. In no recording endpoint is present,
no rate adaption will be done.

While at it fix an issue where the hardware buffer pointers don't get
reset at the first device PCM trigger.

Make some variables 32-bit to avoid problems with multithreading.

Use the feedback value from the synchronization endpoint as fallback
when there is no recording channel.

PR:  198444

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

9 years agoMFC r280345:
hselasky [Wed, 25 Mar 2015 13:08:57 +0000 (13:08 +0000)]
MFC r280345:
Fix for out of order device destruction notifications when using the
delist_dev() function. In addition to this change:
- add a proper description of this function
- add a proper witness assert inside this function
- switch a nearby line to use the "cdp" pointer instead of cdev2priv()

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

9 years agoMFC r279854:
hselasky [Wed, 25 Mar 2015 10:38:59 +0000 (10:38 +0000)]
MFC r279854:
Lock softc before clearing bits.

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

9 years agoMFC of 280413,tzdata8:
edwin [Tue, 24 Mar 2015 06:11:20 +0000 (06:11 +0000)]
MFC of 280413,tzdata8:

Release 2015b - 2015-03-19 23:28:11 -0700

  Changes affecting future time stamps

    Mongolia will start observing DST again this year, from the last
    Saturday in March at 02:00 to the last Saturday in September at 00:00.
    (Thanks to Ganbold Tsagaankhuu.)

    Palestine will start DST on March 28, not March 27.  Also,
    correct the fall 2014 transition from September 26 to October 24.
    Adjust future predictions accordingly.  (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps

    The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
    regression.  (Thanks to Stuart Bishop for reporting the problem.)

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: America/Antigua, America/Cayman,
    Pacific/Midway, and Pacific/Saipan.

  Changes affecting time zone abbreviations

    Correct the 1992-2010 DST abbreviation in Volgograd from "MSK" to "MSD".
    (Thanks to Hank W.)

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

9 years agoMerge OpenSSL 0.9.8zf.
jkim [Fri, 20 Mar 2015 21:56:48 +0000 (21:56 +0000)]
Merge OpenSSL 0.9.8zf.

Relnotes: yes

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

9 years agoFix issues with original SA-15:06.openssl commit:
delphij [Fri, 20 Mar 2015 07:11:20 +0000 (07:11 +0000)]
Fix issues with original SA-15:06.openssl commit:

 - Revert a portion of ASN1 change per suggested by OpenBSD
   and OpenSSL developers.  The change was removed from the
   formal OpenSSL release and does not solve security issue.
 - Properly fix CVE-2015-0209 and CVE-2015-0288.

Pointy hat to: delphij

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

9 years agoFix multiple OpenSSL vulnerabilities.
delphij [Thu, 19 Mar 2015 17:40:43 +0000 (17:40 +0000)]
Fix multiple OpenSSL vulnerabilities.

Security: FreeBSD-SA-15:06.openssl
Security: CVE-2015-0209
Security: CVE-2015-0286
Security: CVE-2015-0287
Security: CVE-2015-0288
Security: CVE-2015-0289
Security: CVE-2015-0293

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

9 years agoMFC 278321:
jhb [Fri, 13 Mar 2015 20:10:09 +0000 (20:10 +0000)]
MFC 278321:
Use direct hardware access for internal requests for KCS and SMIC.  In
particular, updates to the watchdog should no longer sleep.
- Add a new IPMI_IO_LOCK for low-level I/O access.  Use this for
  kcs_polled_request() and smic_polled_request().
- Add a new backend callback "ipmi_driver_request" to handle a driver
  request.  The new callback performs the request sychronously for KCS
  and SMIC.  SSIF still defers the work to the worker thread since the
  worker thread sleeps during request processing anyway.
- Allocate driver requests on the stack rather than using malloc().

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

9 years agoMFC r254340
peter [Tue, 10 Mar 2015 05:23:29 +0000 (05:23 +0000)]
MFC r254340

Some objects - such as *_genassym.o are not hooked into
SRCS OBJS or anything else, yet have a dependency on symlinks
such as machine/

This causes occasional build failures with -j

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

9 years agoMFC: r279364
jkim [Fri, 6 Mar 2015 22:35:01 +0000 (22:35 +0000)]
MFC: r279364

Use realpath(3) to properly expand $ORIGIN to its absolute path.

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

9 years agoMFC of 279706,tzdata8:
edwin [Fri, 6 Mar 2015 22:09:44 +0000 (22:09 +0000)]
MFC of 279706,tzdata8:

Release 2015a - 2015-01-29

Changes affecting future time stamps

    The Mexican state of Quintana Roo, represented by America/Cancun,
    will shift from Central Time with DST to Eastern Time without DST
    on 2015-02-01 at 02:00.  (Thanks to Steffen Thorsen and Gwillim Law.)

    Chile will not change clocks in April or thereafter; its new standard time
    will be its old daylight saving time.  This affects America/Santiago,
    Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)

    New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
    (Thanks to Tim Parenti.)

  Changes affecting past time stamps

    Iceland observed DST in 1919 and 1921, and its 1939 fallback
    transition was Oct. 29, not Nov. 29.  Remove incorrect data from
    Shanks about time in Iceland between 1837 and 1908.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
    and Asia/Muscat.

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

9 years agoMFC r279324:
ae [Thu, 5 Mar 2015 10:12:28 +0000 (10:12 +0000)]
MFC r279324:
  When gpart(8) is trying automatically determine the first available
  block of free space after existing partition, take into account
  provider's stripeoffset, since the result will be adjusted to this
  value.

  PR:        197989

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

9 years agoMFC r279270:
hselasky [Thu, 5 Mar 2015 09:37:27 +0000 (09:37 +0000)]
MFC r279270:
Add ugen keyword to USB pnpinfo. Remove extra space from existing pnpinfo.

PR: 198015
PR: 198019
PR: 198026

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

9 years agoMFC r279242:
hselasky [Thu, 5 Mar 2015 09:29:05 +0000 (09:29 +0000)]
MFC r279242:
Fix debugging macros.

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

9 years agoMFC r279233:
hselasky [Fri, 27 Feb 2015 12:23:30 +0000 (12:23 +0000)]
MFC r279233:
Ensure that the XHCI driver will refresh the control endpoint settings
when re-enumerating a FULL speed device. Else the wrong max packet
setting might be used when trying to re-enumerate a FULL speed device.

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

9 years agoBump __FreeBSD_version after FreeBSD-EN-15:01.vt,
gjb [Wed, 25 Feb 2015 16:44:40 +0000 (16:44 +0000)]
Bump __FreeBSD_version after FreeBSD-EN-15:01.vt,
FreeBSD-EN-15:02.openssl, FreeBSD-EN-15:03.freebsd-update,
FreeBSD-SA-15:04.igmp, FreeBSD-SA-15:05.bind

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument FreeBSD-EN-15:01.vt, FreeBSD-EN-15:02.openssl,
gjb [Wed, 25 Feb 2015 16:36:44 +0000 (16:36 +0000)]
Document FreeBSD-EN-15:01.vt, FreeBSD-EN-15:02.openssl,
FreeBSD-EN-15:03.freebsd-update, FreeBSD-SA-15:04.igmp,
FreeBSD-SA-15:05.bind

Sponsored by: The FreeBSD Foundation

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

9 years agoInstant MFC:
delphij [Wed, 25 Feb 2015 05:43:02 +0000 (05:43 +0000)]
Instant MFC:

Fix integer overflow in IGMP protocol.

Security: FreeBSD-SA-15:04.igmp
Security: CVE-2015-1414
Found by: Mateusz Kocielski, Logicaltrust
Analyzed by: Marek Kroemeke, Mateusz Kocielski (shm@NetBSD.org) and
22733db72ab3ed94b5f8a1ffcde850251fe6f466
Submited by: Mariusz Zaborski <oshogbo@FreeBSD.org>
Reviewed by: bms
Approved by: so

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

9 years agoRemove leftover debugging output, accidentally committed.
ian [Fri, 20 Feb 2015 13:34:12 +0000 (13:34 +0000)]
Remove leftover debugging output, accidentally committed.

Pointy hat: ian
Noticed by: dim

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

9 years agoLower some WARNS from 6 to 5 to eliminate redundant redeclaration errors
ian [Fri, 20 Feb 2015 05:23:51 +0000 (05:23 +0000)]
Lower some WARNS from 6 to 5 to eliminate redundant redeclaration errors
on yylex().  This allows stable-8 to build on machines running 10 or later
(with a newer yacc that emits its own declaration) and also keep building
on older machines with a yacc that doesn't do so.

This is a direct commit to stable-8 because it fixes a problem that doesn't
exist on later branches.

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

9 years agoMFC r204227: Remove -b .orig from patch commands, since it's the default.
ian [Fri, 20 Feb 2015 01:03:44 +0000 (01:03 +0000)]
MFC r204227:  Remove -b .orig from patch commands, since it's the default.

This allows an 8-stable build to work on a system with newer tools that
don't have the old -b option.

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

9 years agoMFC r270190: Don't stop other parallel build legs on failure of make_check.
ian [Fri, 20 Feb 2015 00:55:38 +0000 (00:55 +0000)]
MFC r270190: Don't stop other parallel build legs on failure of make_check.

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

9 years agoFix CVE-2015-1349.
delphij [Wed, 18 Feb 2015 22:29:52 +0000 (22:29 +0000)]
Fix CVE-2015-1349.

This is a direct commit to stable/8 because BIND is removed from HEAD.

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

9 years agoMFC r278739:
delphij [Tue, 17 Feb 2015 19:15:07 +0000 (19:15 +0000)]
MFC r278739:

Disallow pattern spaces which would cause intermediate calculations to
overflow size_t.

Obtained from: DragonFly (2841837793bd095a82f477e9c370cfe6cfb3862c dillon)
Security: CERT VU#695940

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

9 years agoMFC r278503:
hselasky [Fri, 13 Feb 2015 07:53:18 +0000 (07:53 +0000)]
MFC r278503:
Revert r274918 and make a better solution. Poll the synchronisation
endpoint less frequently to make the sample rate adjustment more
accurate. This should resolve problems with the DN32-USB module for
Midas audio systems and possibly other similar products from Klark
Teknik.

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

9 years agoMFC r278477:
hselasky [Fri, 13 Feb 2015 07:46:02 +0000 (07:46 +0000)]
MFC r278477:
Fix DMA address casts.

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

9 years agoMFC r278105:
hselasky [Tue, 10 Feb 2015 13:48:49 +0000 (13:48 +0000)]
MFC r278105:
Separate out detection of prevent and allow medium removal quirk.

PR: 185747

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

9 years agoMFC r278071:
hselasky [Tue, 10 Feb 2015 13:20:34 +0000 (13:20 +0000)]
MFC r278071:
Section 3.2.9 in the XHCI specification about control transfers says
that we should use a normal-TRB if there are more TRBs extending the
data-stage TRB. Add a dedicated state bit to the internal USB transfer
flags to handle this case.

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

9 years agoMFC r278337:
brooks [Mon, 9 Feb 2015 10:09:46 +0000 (10:09 +0000)]
MFC r278337:

When upgrading, install the ELF runtime linkers before libraries.

This is required to prevent problems with nss modules that use libthr when
upgrading from releases prior to 10.1.

PR: 197366
Differential Revision: D1790
Reviewed by: cperciva
Sponsored by: DARPA, AFRL

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

9 years agoMFC: r266744, r267712, r276351, r277043
marius [Sun, 8 Feb 2015 21:49:29 +0000 (21:49 +0000)]
MFC: r266744, r267712, r276351, r277043

- Add PCI ID for AMT based serial interface found on the Lenovo T61.
- add support for MosChip MCS9922...  This is found on an ExpressCard.. [1]
- Add PCI ID for the Oxford Semiconductor OXPCIe952 device.

PR: 186891 [1]

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