]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
9 years agoMFstable/10 r278554:
ngie [Wed, 11 Feb 2015 08:33:22 +0000 (08:33 +0000)]
MFstable/10 r278554:

r278554:

  MFC r277663:

  r277663:

    Add MK_EE knob to control installing edit, ee, etc

    Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC 277709:
jhb [Tue, 10 Feb 2015 21:41:56 +0000 (21:41 +0000)]
MFC 277709:
Use an sbuf to generate the output of the net.inet.tcp.hostcache.list
sysctl to avoid a possible buffer overflow if the cache grows while the
text is being generated.

PR: 172675

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

9 years agoFix PAE build, bus_size_t still is 32 bit in that case.
marius [Tue, 10 Feb 2015 21:30:20 +0000 (21:30 +0000)]
Fix PAE build, bus_size_t still is 32 bit in that case.

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

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

PR: 185747

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

9 years agoMFC r278103:
hselasky [Tue, 10 Feb 2015 13:36:37 +0000 (13:36 +0000)]
MFC r278103:
The flowid and hashtype should be copied from the originating packet
when fragmenting IP packets to preserve the order of the packets in a
stream. Else the resulting fragments can be sent out of order when the
hardware supports multiple transmit rings.

Sponsored by: Mellanox Technologies

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

9 years agoMFC r278071:
hselasky [Tue, 10 Feb 2015 13:18:48 +0000 (13:18 +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/9@278508 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278337:
brooks [Mon, 9 Feb 2015 09:45:58 +0000 (09:45 +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/9@278444 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278111: Retry indefinitely on SCSI BUSY status from VMware disks and CDs.
mav [Mon, 9 Feb 2015 09:14:22 +0000 (09:14 +0000)]
MFC r278111: Retry indefinitely on SCSI BUSY status from VMware disks and CDs.

VMware returns BUSY status when storage has transient connectivity issues.
It is often better to wait and let VM admin fix the problem then crash.

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

9 years agoMFC r278297:
dim [Mon, 9 Feb 2015 07:52:45 +0000 (07:52 +0000)]
MFC r278297:

Fix two clang 3.6.0 warnings in usr.sbin/syslogd:

usr.sbin/syslogd/syslogd.c:1023:10: error: address of array 'f->f_prevline' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
    f->f_prevline && !strcmp(msg, f->f_prevline) &&
    ~~~^~~~~~~~~~
usr.sbin/syslogd/syslogd.c:1178:16: error: address of array 'f->f_prevline' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
} else if (f->f_prevline) {
       ~~  ~~~^~~~~~~~~~

In both cases, the f_prevline field of struct filed is a char array, so
it can never be null.  Remove the checks.

Reviewed by: jilles
Differential Revision: https://reviews.freebsd.org/D1716

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

9 years agoMFC r278222:
dim [Mon, 9 Feb 2015 07:49:41 +0000 (07:49 +0000)]
MFC r278222:

Mark typedefs for manually implementing _Static_assert() as unused, so
they won't show up unecessarily for -Wunused-local-typedefs.

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

9 years agoMFC r277953:
dim [Mon, 9 Feb 2015 07:45:46 +0000 (07:45 +0000)]
MFC r277953:

Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST.  No
functional change.

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

9 years agoMFC r276359: symlink(7): Note that stat(1) does not follow symlinks by
jilles [Sun, 8 Feb 2015 22:47:34 +0000 (22:47 +0000)]
MFC r276359: symlink(7): Note that stat(1) does not follow symlinks by
default.

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

9 years agoMFC: r275871
marius [Sun, 8 Feb 2015 22:30:12 +0000 (22:30 +0000)]
MFC: r275871

Update the use of bus space macros to be more correct.

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

9 years agoMFC: r275870
marius [Sun, 8 Feb 2015 22:27:23 +0000 (22:27 +0000)]
MFC: r275870

Use the correct macro for listing the maximum bus space size.

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

9 years agoMFC: r266744, r267712, r276351, r277043
marius [Sun, 8 Feb 2015 21:41:26 +0000 (21:41 +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/9@278408 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r276344
marius [Sun, 8 Feb 2015 21:31:49 +0000 (21:31 +0000)]
MFC: r276344

- Const'ify the ahci_ids table.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

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

9 years agoMFC: r276313
marius [Sun, 8 Feb 2015 21:12:54 +0000 (21:12 +0000)]
MFC: r276313

Const'ify a firmware image missed in r251142 (MFCed to stable/9 in r225736).

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

9 years agoMFC: r276299
marius [Sun, 8 Feb 2015 20:44:50 +0000 (20:44 +0000)]
MFC: r276299

- Make PCI_QUIRK_MSI_INTX_BUG work by using the ID of the actual PCI device
  for the lookup.
- For devices affected by PCI_QUIRK_MSI_INTX_BUG, ensure PCIM_CMD_INTxDIS
  is cleared when using MSI/MSI-X.
- Employ PCI_QUIRK_MSI_INTX_BUG for BCM5714(S)/BCM5715(S)/BCM5780(S) rather
  than clearing PCIM_CMD_INTxDIS unconditionally for all devices in bge(4).

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

9 years agoMFC 276065:
jhb [Fri, 6 Feb 2015 18:41:57 +0000 (18:41 +0000)]
MFC 276065:
Explicitly treat timeouts when waiting for IBF or OBF to change state as an
error.  This fixes occasional hangs in the IPMI kcs thread when using
ipmitool locally.

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

9 years agoMFC 277714:
jhb [Fri, 6 Feb 2015 18:13:29 +0000 (18:13 +0000)]
MFC 277714:
natd(8) will work with an unconfigured interface and effectively not do
anything until the interface is assigned an address.  This fixes
ipfw_nat to do the same by using an IP of INADDR_ANY instead of
aborting the nat setup if the requested interface is not yet configured.

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

9 years agoMFC 275808:
jhb [Fri, 6 Feb 2015 15:53:13 +0000 (15:53 +0000)]
MFC 275808:
Check for SS_NBIO in so->so_state instead of sb->sb_flags in
soreceive_stream().

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

9 years agoMFC r277136:
hselasky [Thu, 5 Feb 2015 21:37:59 +0000 (21:37 +0000)]
MFC r277136:
Resolve a special case deadlock: When two or more threads are
simultaneously detaching kernel drivers on the same USB device we can
get stuck in the "usb_wait_pending_ref_locked()" function because the
conditions needed for allowing detach are not met.

While at it ensure that "flag_iserror" is only written when "priv_mtx"
is locked, which is protecting it.

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

9 years agoMFC r277179, r277199 and r277391:
hselasky [Thu, 5 Feb 2015 21:25:11 +0000 (21:25 +0000)]
MFC r277179, r277199 and r277391:
Add a kernel function to delist our kernel character devices, so that
the device name can be re-used right away in case we are destroying
the character devices in the background.

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

9 years agoMFC 274402:
jhb [Thu, 5 Feb 2015 20:59:21 +0000 (20:59 +0000)]
MFC 274402:
Add device ID for the T502-BT (dual-port 1G) adapter.

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

9 years agoMFC r266969 and r276717:
hselasky [Thu, 5 Feb 2015 20:15:42 +0000 (20:15 +0000)]
MFC r266969 and r276717:
Add 64-bit DMA support in the XHCI controller driver.
- Fix some comments and whitespaces while at it.
- Add support for PAE.

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

9 years agoAdd the 'security.url' macro to stable/9 and stable/8
gjb [Thu, 5 Feb 2015 19:31:41 +0000 (19:31 +0000)]
Add the 'security.url' macro to stable/9 and stable/8
branches, and replace hard-coded (and inconsistent) URLs
in security.xml and errata.xml.

Prefer https:// over http://.

Sponsored by: The FreeBSD Foundation

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

9 years agoConsistently prefix SA-XX:YY with 'FreeBSD-' as we do in
gjb [Thu, 5 Feb 2015 19:15:03 +0000 (19:15 +0000)]
Consistently prefix SA-XX:YY with 'FreeBSD-' as we do in
almost all other places they are referenced.

Sponsored by: The FreeBSD Foundation

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

9 years agoApply r278265 from head:
gjb [Thu, 5 Feb 2015 17:46:13 +0000 (17:46 +0000)]
Apply r278265 from head:

Security Advisory information is included on several
pages in the release notes.  Rather than duplicating
the information between various files, add two new
files to include in all pages that currently display
the information.

Bump copyright year.

Move SAs and ENs into their respective files.

Add missing ENs.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r278101 (hrs):
gjb [Thu, 5 Feb 2015 11:54:55 +0000 (11:54 +0000)]
MFC r278101 (hrs):
  Add a toc.section.depth=3 parameter to use the same
  ToC depth as DocBook DSSSL stylesheet.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r277730:
ngie [Thu, 5 Feb 2015 10:50:51 +0000 (10:50 +0000)]
MFC r277730:

r277730:

  Honor MK_ACPI in etc/devd and etc/rc.d

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFstable/10 r278244:
ngie [Thu, 5 Feb 2015 10:26:24 +0000 (10:26 +0000)]
MFstable/10 r278244:

  MFC r270028:

    Make the USB and ZFS devd configuration files optional depending on the
    values of MK_USB/MK_ZFS

    Making zfs.conf optional resolves PR # 186971

    PR: 186971
    Phabric: D606
    Approved by: jmmv (mentor)
    Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277738:
ngie [Thu, 5 Feb 2015 10:06:44 +0000 (10:06 +0000)]
MFC r277738:

r277738:

  Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277740,r278053:
ngie [Thu, 5 Feb 2015 09:55:00 +0000 (09:55 +0000)]
MFC r277740,r278053:

r277740:

  Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

  Sponsored by: EMC / Isilon Storage Division

r278053:

  Remove hostapd and wpa_supplicant from FILES so they're installed conditionally
  if MK_WIRELESS != no

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

9 years agoMFC r277732,r277733:
ngie [Wed, 4 Feb 2015 19:40:30 +0000 (19:40 +0000)]
MFC r277732,r277733:

r277732:

  Honor MK_API in etc/rc.d

  Sponsored by: EMC / Isilon Storage Division

r277733:

  Honor MK_AMD with etc/rc.d/amd

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277731,r277734:
ngie [Wed, 4 Feb 2015 11:51:46 +0000 (11:51 +0000)]
MFC r277731,r277734:

r277731:

  Honor MK_LPR with etc/rc.d/lpd

  Sponsored by: EMC / Isilon Storage Division

r277734:

  Remove explicit inclusion of lpd from FILES

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277686,r277687:
ngie [Wed, 4 Feb 2015 10:36:10 +0000 (10:36 +0000)]
MFC r277686,r277687:

r277686:

  Install bsnmp rc.d script if MK_BSNMP != no

  Sponsored by: EMC / Isilon Storage Division

r277687:

  Fill in entries for MK_BSNMP == no

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277739:
ngie [Wed, 4 Feb 2015 09:23:40 +0000 (09:23 +0000)]
MFC r277739:

r277739:

  Honor MK_JAIL with etc/rc.d/jail

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277433: MFV r277432:
delphij [Wed, 4 Feb 2015 00:52:26 +0000 (00:52 +0000)]
MFC r277433: MFV r277432:

Plug various memory leaks in libzfs import implementation.

Illumos issue:
    5518 Memory leaks in libzfs import implementation

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

9 years agoMFC r277463:
delphij [Wed, 4 Feb 2015 00:45:28 +0000 (00:45 +0000)]
MFC r277463:

Fix xz handling for files larger than 32K.

Submitted by: Stefan Ehmann <shoesoft gmx net>
PR: bin/186861

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

9 years agoMFV r277814, r277868, r277869:
pfg [Tue, 3 Feb 2015 14:37:38 +0000 (14:37 +0000)]
MFV r277814, r277868, r277869:
amd: Add extra check for NULL before deref.

MFV r277841:
Fix a clang 3.6.0 warning (from dim)

CID: 274421
Obtained from: NetBSD
MFC after: 4 days

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

9 years agoMFC r277419:
mav [Tue, 3 Feb 2015 08:06:59 +0000 (08:06 +0000)]
MFC r277419:
Allow skipping dmu_buf_will_dirty() call in dsl_dir_transfer_space().

dsl_dir_transfer_space() is mostly called after dsl_dir_diduse_space(),
which already calls dmu_buf_will_dirty() for the same dbuf and tx, so
its duplicate call in those cases will change nothing, only spend time.

Skipping this call by four times reduces time spent in dbuf_write_done()
and descendants, updating dataset statistics with several congested lock
acquisitions.  When rewriting 8K zvol blocks at 1GB/s rate, this reduces
CPU time spent inside dbuf_write_done(), according to profiling, from 45%
of 683K samples to 18% of 422K.

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

9 years agoMFC r277952:
dim [Tue, 3 Feb 2015 08:03:19 +0000 (08:03 +0000)]
MFC r277952:

Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST.  No
functional change.

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

9 years agoMFC r277951:
dim [Tue, 3 Feb 2015 07:59:33 +0000 (07:59 +0000)]
MFC r277951:

Fix a bunch of -Wcast-qual warnings in netgraph's ng_parse.c, by using
__DECONST.  No functional change.

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

9 years agoMFC r277806:
delphij [Mon, 2 Feb 2015 18:48:49 +0000 (18:48 +0000)]
MFC r277806:

Use unsigned int for index value.

Without this change a local attacker could trigger a panic by
tricking the kernel into accessing undefined kernel memory.

We would like to acknowledge Francisco Falcon from CORE Security
Technologies who discovered the issue and reported to the
FreeBSD Security Team.

More information can be found at CORE Security's advisory at:
http://www.coresecurity.com/content/freebsd-kernel-multiple-vulnerabilities

This is an errata candidate for releng/10.1 and releng/9.3.  Earlier
releases are not affected.

Reported by:  Francisco Falcon from CORE Security Technologies
Security:     CVE-2014-0998
Reviewed by:  dumbbell

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

9 years agoMFC r277354, r277365:
pfg [Mon, 2 Feb 2015 15:53:01 +0000 (15:53 +0000)]
MFC r277354, r277365:
ext2: Garbage-collect some unused variables

Reported by: clang static analysis

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

9 years agoMFC r277758: Fix several potential overflows in UNMAP code.
mav [Mon, 2 Feb 2015 12:10:24 +0000 (12:10 +0000)]
MFC r277758: Fix several potential overflows in UNMAP code.

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

9 years agoMFC r278067:
ngie [Mon, 2 Feb 2015 10:00:45 +0000 (10:00 +0000)]
MFC r278067:

r278067:

  MFC r277541:

  r277541:

    Add sample log rotation support for opensm

    Up to 7 archives of the log will be kept (just for consistency with the other
    log rotation rules)

    PR: 196788
    Reviewed by: hselasky
    Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277666,r277685:
ngie [Mon, 2 Feb 2015 09:23:18 +0000 (09:23 +0000)]
MFC r277666,r277685:

r277666:

  Only build share/dtrace if MK_CDDL != no

  Sponsored by: EMC / Isilon Storage Division

r277685:

  Fill in some dtrace entries when MK_CDDL == no

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277674:
ngie [Mon, 2 Feb 2015 08:37:45 +0000 (08:37 +0000)]
MFC r277674:

r277674 (by ngie):

  Fix building rcorder with -DDEBUG by using libutil.h instead of util.h from
  usr.bin/make

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277901:
dim [Mon, 2 Feb 2015 08:05:11 +0000 (08:05 +0000)]
MFC r277901:

Fix a -Wcast-qual warning in libkern's strtol(), by using __DECONST.  No
functional change.

MFC r277903:

Similar to r277901, fix more -Wcast-qual warnings in libkern's strtoq(),
strtoul() and strtouq(), by using __DECONST.  No functional change.

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

9 years agoMFC r228099,r245171,r277939:
ngie [Mon, 2 Feb 2015 08:04:38 +0000 (08:04 +0000)]
MFC r228099,r245171,r277939:

r228099:

  - Create links to the xz and lzma versions even if BSD grep is not the
    default. Nor GNU nor liblzma in base provides such functionality so
    it may be useful.

r245171:

  Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT".
  Correct r226271 which should have used WITHOUT_BZIP2_SUPPORT per r166255.

  Obtained from: Juniper Networks

r277939:

  Create MANLINKS for lzgrep, etc when MK_LZMA_SUPPORT != no

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r277899:
dim [Mon, 2 Feb 2015 07:42:03 +0000 (07:42 +0000)]
MFC r277899:

Fix a bunch of -Wcast-qual warnings in cd9660_util.c, by using
__DECONST.  No functional change.

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

9 years agoMFC r277898:
dim [Mon, 2 Feb 2015 07:37:25 +0000 (07:37 +0000)]
MFC r277898:

Fix a bunch of -Wcast-qual warnings in msdosfs_conv.c, by using
__DECONST.  No functional change.

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

9 years agoMFC r277883:
dim [Mon, 2 Feb 2015 07:30:00 +0000 (07:30 +0000)]
MFC r277883:

Ensure that lint does not pick up C11 keywords (e.g.  _Noreturn), even
if C11 mode is used.  It does not support any C11 constructs.

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

9 years agoRevert r278017 (MFC of r273381 and r276417) and r278018 (MFC of r273434)
dim [Sun, 1 Feb 2015 02:29:58 +0000 (02:29 +0000)]
Revert r278017 (MFC of r273381 and r276417) and r278018 (MFC of r273434)
until I can figure out why it leads to link failures in some scenarios.

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

9 years agoMFC r273434 (by bapt):
dim [Sun, 1 Feb 2015 01:42:38 +0000 (01:42 +0000)]
MFC r273434 (by bapt):

Do not define bad_array_new_length::bad_array_new_length in libc++ anymore
when used in combinaison with libcxxrt since it is now defined there already.
This fixes building world

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

9 years agoMFC r273381 (by bapt):
dim [Sat, 31 Jan 2015 23:48:59 +0000 (23:48 +0000)]
MFC r273381 (by bapt):

Add support for __cxa_throw_bad_array_new_length in libcxxrt

It is required for use with newer g++49

Differential Revision: https://reviews.freebsd.org/D982
Reviewed by: theraven
Approved by: theraven

MFC r276417:

Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604.

Interesting fixes:
76584a0  Reorganize code to use only 32bit atomic ops for 32bit platforms
30d2ae5  Implement __cxa_throw_bad_array_new_length

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

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

9 years agoMFC 274398,274537:
jhb [Fri, 30 Jan 2015 18:55:16 +0000 (18:55 +0000)]
MFC 274398,274537:
Move NFS and TFTP filesystems before the synthetic filesystems (bzip,
gzip, and split).

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

9 years agoMFC r277802, r277811:
pfg [Fri, 30 Jan 2015 14:37:59 +0000 (14:37 +0000)]
MFC r277802, r277811:

sed: Fix resource leak and dereference after NULL.

process.c:
Protect access against NULL.

main.c:
Prevent outfile overwrite resource leak.

CID: 271181
CID: 1006930

Obtained from: NetBSD

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

9 years agoMFC r277185:
mav [Thu, 29 Jan 2015 16:19:05 +0000 (16:19 +0000)]
MFC r277185:
Fix overflow bug from r248577, turning 30s TRIM timeout into ~4s.

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

9 years agoMFC r276983: When aggregating TRIM segments, move the new one to the end.
mav [Thu, 29 Jan 2015 16:16:20 +0000 (16:16 +0000)]
MFC r276983: When aggregating TRIM segments, move the new one to the end.

New segment at the list head may block all TRIM requests until txg of that
segment can be processed.  On my random I/O tests this change reduce peak
TRIM list length from 650 to 450 segments.  Hopefully it should reduce TRIM
burstiness when list processing is unblocked.

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

9 years agoMFH (r277237): pass PAM_RHOST to RADIUS server as Calling-Station-ID
des [Thu, 29 Jan 2015 09:06:21 +0000 (09:06 +0000)]
MFH (r277237): pass PAM_RHOST to RADIUS server as Calling-Station-ID

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

9 years agoMFC r277246:
hselasky [Wed, 28 Jan 2015 19:59:26 +0000 (19:59 +0000)]
MFC r277246:
Add more USB device IDs.

PR: 196362

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

9 years agoMFC r277245:
hselasky [Wed, 28 Jan 2015 19:53:00 +0000 (19:53 +0000)]
MFC r277245:
Add more USB request definitions. The values are described in section
9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"

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

9 years agoMFC r277417:
hselasky [Wed, 28 Jan 2015 19:43:33 +0000 (19:43 +0000)]
MFC r277417:
Fix returned data for the USB_GET_DEV_PORT_PATH IOCTL in particular
the value returned in the "udp_port_level" field.

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

9 years agoMFC r277340, r277349:
pfg [Wed, 28 Jan 2015 15:37:35 +0000 (15:37 +0000)]
MFC r277340, r277349:

Remove dead code.
After the ext2 variant of the "orlov allocator" was implemented,
the case for a negative or zero dirsize disappeared.

Drop the dead code and unsign dirsize given that it can't be
negative anyways.

ext2fs: fix for uninitialized pointer read.
path.ep_bp was being used uninitialized in ext4_ext_find_extent().

CID: 1062344
CID: 1008669

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

9 years agoMFC r277608, r277656, r277659:
pfg [Wed, 28 Jan 2015 02:33:06 +0000 (02:33 +0000)]
MFC r277608, r277656, r277659:

Small upstream fixes for GDB.

GDB: Fix memset thinkos.

2005-03-25  Anthony Green  <green@redhat.com>

       * remote.c (remote_store_registers): Fix memset usage.
       * std-regs.c (value_of_builtin_frame_reg): Ditto.
       (value_of_builtin_frame_fp_reg): Ditto.
       (value_of_builtin_frame_reg): Ditto.

Reported by: Dirk Engling

gdb: Add missing break statements

2004-05-21  Jim Blandy  <jimb@redhat.com>

       * dwarf2expr.c (execute_stack_op): Add 'break' statements after
       cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)

GDB: Replace use of sprintf.

2005-03-17  Mark Kettenis  <kettenis@gnu.org>

      * corelow.c (get_core_register_section): Replace usage of sprintf
      and strcpy with xstrprintf and xstrdup.

CID: 604160, 604161, 604162, 604163
CID: 1006819 1008254

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

9 years agoFix SCTP SCTP_SS_VALUE kernel memory corruption and disclosure vulnerability
delphij [Tue, 27 Jan 2015 19:36:08 +0000 (19:36 +0000)]
Fix SCTP SCTP_SS_VALUE kernel memory corruption and disclosure vulnerability
and SCTP stream reset vulnerability.

Security: FreeBSD-SA-15:02.kmem
Security: CVE-2014-8612
Security: FreeBSD-SA-15:03.sctp
Security: CVE-2014-8613

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

9 years agoMFC: r277579
jkim [Mon, 26 Jan 2015 19:33:35 +0000 (19:33 +0000)]
MFC: r277579

Revert r216942.  This commit was premature and caused too many complaints.

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

9 years agoMFC r277295:
ae [Sun, 25 Jan 2015 14:50:49 +0000 (14:50 +0000)]
MFC r277295:
  Fix condition and really sort ports. Also add comment describing
  the intent of this code.

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

9 years agoMFC r277301:
pfg [Sat, 24 Jan 2015 21:25:55 +0000 (21:25 +0000)]
MFC r277301:
ext2: cosmetical issues

Minor sorting and note when the cases are expected to fall through.

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

9 years agoMFC r277272:
ngie [Sat, 24 Jan 2015 03:04:08 +0000 (03:04 +0000)]
MFC r277272:

  Don't call abort on usage errors; print out the usage message instead

  PR: 196793
  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r276804:
ngie [Fri, 23 Jan 2015 23:09:38 +0000 (23:09 +0000)]
MFC r276804:

  Fix 'make depend' before infiniband headers have been installed to build host
  by removing space between -I and the header directory

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r276806:
ngie [Fri, 23 Jan 2015 22:39:27 +0000 (22:39 +0000)]
MFC r276806:

  Remove unnecessary .include of bsd.own.mk

  Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r276577: MFV r276568:
delphij [Fri, 23 Jan 2015 18:50:36 +0000 (18:50 +0000)]
MFC r276577: MFV r276568:

Update file to 5.22.

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

9 years agoMFC r277216:
gjb [Thu, 22 Jan 2015 02:24:42 +0000 (02:24 +0000)]
MFC r277216:
  Evaluate running userland/kernel version in daily
  periodic(8) run, taken from uname(1) '-U' and '-K'
  flags.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r276892:
hselasky [Tue, 20 Jan 2015 05:14:07 +0000 (05:14 +0000)]
MFC r276892:
Add support for USB device side mode to the USB modem driver.

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

9 years agoMFC r276825 and r277372:
hselasky [Tue, 20 Jan 2015 05:02:35 +0000 (05:02 +0000)]
MFC r276825 and r277372:
Allow a block size of zero to mean 512 bytes, which is the most common
block size for USB disks. This fixes support for "Action Cam SJ4000".

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

9 years agoMFH: r277085
brueffer [Mon, 19 Jan 2015 10:58:52 +0000 (10:58 +0000)]
MFH: r277085

Fix a typo in the FFS maxbpg option, it was erroneously spelled maxbpf.

The error has been reported to and fixed in the NetBSD upstream version as well.

PR:             196598
Submitted by:   Dan McGregor

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

9 years agoMFC r276798:
hselasky [Mon, 19 Jan 2015 07:20:20 +0000 (07:20 +0000)]
MFC r276798:
Fix handling of an error case when the MUSB driver is operating in USB
device side mode.

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

9 years agoMFC r277044:
hselasky [Mon, 19 Jan 2015 07:03:40 +0000 (07:03 +0000)]
MFC r277044:
Increase the maximum number of dynamic USB quirks. USB memory stick
devices which don't support the synchronize cache SCSI command are
likely to also not support the prevent-allow medium removal SCSI
command.

PR: 185747

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

9 years agoMFC 277212:
hselasky [Mon, 19 Jan 2015 06:59:40 +0000 (06:59 +0000)]
MFC 277212:
Fix compilation for 32-bit architectures.

PR: 196580
Sponsored by: Mellanox Technologies

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

9 years agoMFC r276959:
np [Sun, 18 Jan 2015 20:39:24 +0000 (20:39 +0000)]
MFC r276959:
cxgb: replace r273280 with a more comprehensive fix.

Poll for link state when the link is down, even for interrupt capable
PHYs.

Allow PHYs to report a dubious "partial" link.  If this state is seen 3
consecutive times (each check is ~1s apart) then reset the PHY.  This is
a workaround for a situation where repeatedly toggling the link from the
peer gets the AEL2005 PHY into a state where it never establishes a PCS
block lock even when everything is in order.

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

9 years agoMFC r276517:
dim [Sat, 17 Jan 2015 12:54:02 +0000 (12:54 +0000)]
MFC r276517:

Pull in r200010 from upstream libc++ trunk (by Marshall Clow):

  Rename some internal templates to avoid conflict with complier
  intrinsics. __is_constructible --> __libcpp_is_constructible,
  __is_nothrow_constructible --> __libcpp_is_nothrow_constructible, and
  __is_nothrow_assignable --> __libcpp_is_nothrow_assignable. No
  functionality change.

Pull in r206805 from upstream libc++ trunk (by Marshall Clow):

  Use compiler intrinsic __is_constructible if available

This should fix building parts of world with -std=c++11 enabled.

Reported by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>

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

9 years agoMFC r277147:
dim [Sat, 17 Jan 2015 11:41:04 +0000 (11:41 +0000)]
MFC r277147:

Since the merge of file 5.21 in r276415 and r276416, stable/9 and
stable/10 cannot be built from FreeBSD 8.x.  This is because the
build-tools stage requires libmagic, but lib/libmagic/config.h was
generated on head, and it now enables using the xlocale.h APIs, which
are not supported on 8.x (and on 9.x before __FreeBSD_version 900506).

See also the start of this thread on -stable:
https://lists.freebsd.org/pipermail/freebsd-stable/2015-January/081521.html

To fix this, conditionalize the use of xlocale.h APIs to make
bootstrapping from older FreeBSD versions work correctly.

Reviewed by: delphij
Differential Revision: https://reviews.freebsd.org/D1518

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

9 years agoMFC r276906:
dchagin [Sat, 17 Jan 2015 06:17:54 +0000 (06:17 +0000)]
MFC r276906:

Allow clock_getcpuclockid() on the CPU-time clock for zombie process.
Posix does not prohibit this.

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

9 years agoMFC r272947, r272950:
pfg [Sat, 17 Jan 2015 01:21:30 +0000 (01:21 +0000)]
MFC r272947, r272950:

tcpd: complete function prototypes.
tcpd.h: add prototype for hosts_ctl

This clears up at least a build issues on mysql-server
ports. While here also replace some spaces with tabs
in our headers.

PR: 32808
PR: 42336

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

9 years agoMFC r277158:
jamie [Sat, 17 Jan 2015 01:16:24 +0000 (01:16 +0000)]
MFC r277158:

  Don't set prison's pr_ip4s or pr_ip6s to -1.

PR: 196474

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

9 years agoMFC r276981:
hselasky [Wed, 14 Jan 2015 05:32:16 +0000 (05:32 +0000)]
MFC r276981:
Fix support for ConnectX2 hardware.

Sponsored by: Mellanox Technologies

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

9 years agoMFC r276749:
hselasky [Tue, 13 Jan 2015 17:16:06 +0000 (17:16 +0000)]
MFC r276749:
Fixes and updates for the Linux compatibility layer:
- Remove unsupported "bus" field from "struct pci_dev".
- Fix logic inside "pci_enable_msix()" when the number of allocated
  interrupts are less than the number of available interrupts.
- Update header files included from "list.h".
- Ensure that "idr_destroy()" removes all entries before destroying
  the IDR root node(s).
- Set the "device->release" function so that we don't leak memory at
  device destruction.
- Use FreeBSD's "log()" function for certain debug printouts.
- Put parenthesis around arguments inside the min, max, min_t and max_t macros.
- Make sure we don't leak file descriptors by dropping the extra file
  reference counts done by the FreeBSD kernel when calling falloc()
  and fget_unlocked().

Sponsored by: Mellanox Technologies

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

9 years agoMFC r276879:
hselasky [Tue, 13 Jan 2015 17:02:21 +0000 (17:02 +0000)]
MFC r276879:
Don't mask the IP-address when doing multicast IP over infiniband.

PR:             196631
Sponsored by:   Mellanox Technologies

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

9 years agoAvoid crash in vt_blank() and improve performance
emaste [Mon, 12 Jan 2015 18:38:09 +0000 (18:38 +0000)]
Avoid crash in vt_blank() and improve performance

MFC of r268771 (partial), r268796

PR: 196510
Reported by: Andre Albsmeier
Sponsored by: The FreeBSD Foundation

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

9 years agoAdd missing libexec/bsdconfig subdirectories
emaste [Mon, 12 Jan 2015 18:20:37 +0000 (18:20 +0000)]
Add missing libexec/bsdconfig subdirectories

MFC of r266902.

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

9 years agoAvoid ./ in zoneinfo entries in METALOG
emaste [Mon, 12 Jan 2015 18:19:07 +0000 (18:19 +0000)]
Avoid ./ in zoneinfo entries in METALOG

Use of "find ." resulted in METALOG entries with an extra ./ -- e.g.,
./usr/share/zoneinfo/./America/Toronto.  Avoid this by using globbing
via "find *" instead.

MFC of r271047.

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

9 years agoMFC r276991:
ngie [Sun, 11 Jan 2015 20:22:12 +0000 (20:22 +0000)]
MFC r276991:

  MFC r275687,r275692:

  Relnotes: yes

  r275687:

    Remove termcap entry reordering; install the file verbatim instead

    termcap entry reordering requires ex (which is available via usr.bin/vi), which
    breaks on build hosts where installworld is run with MK_VI == no (or when
    make delete-old is run on ^/projects/building-blocks as vi, et al, are
    removed on the branch when the knob is tweaked to => "no")

    Reordering termcap was believed to improve performance, but the file is now
    accessed via /etc/termcap.db, so /etc/termcap (and /usr/share/misc/termcap by
    proxy) access is less preferred.

    Reordering the file broke the historical comment <-> entry mapping as well,
    which could muddle the purpose of entries in the file, so it could be
    potentially harmful to readers in its reordered state.

    Discussion took place on hackers@ here:
    https://lists.freebsd.org/pipermail/freebsd-hackers/2014-December/046657.html

    Discussed with: -hackers, mp
    Sponsored by: EMC / Isilon Storage Division

  r275692:

    Fix building termcap.db when make obj is run beforehand from a clean tree by
    using make variables for the filenames, which helps resolve pathing
    appropriately when running cap_mkdb

    Pointyhat to: me

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

9 years agoMFC r228993 (by uqs):
ngie [Sun, 11 Jan 2015 19:28:37 +0000 (19:28 +0000)]
MFC r228993 (by uqs):

  Spelling fixes for share/

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

9 years agoCorrect comparison of IPv6 wildcard address.
ume [Sun, 11 Jan 2015 18:50:49 +0000 (18:50 +0000)]
Correct comparison of IPv6 wildcard address.

MFH: r276814

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

9 years agoMFC r265329:
nwhitehorn [Sun, 11 Jan 2015 17:18:14 +0000 (17:18 +0000)]
MFC r265329:
Disable ACPI and P4TCC throttling by default, following discussion on
freebsd-current. These CPU speed control techniques are usually unhelpful
at best. For now, continue building the relevant code into GENERIC so that
it can trivially be re-enabled at runtime if anyone wants it.

Relnotes: yes

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

9 years agoUnset BINDIR for osmtest, because ${TESTSBASE} is unset.
hselasky [Sun, 11 Jan 2015 14:49:18 +0000 (14:49 +0000)]
Unset BINDIR for osmtest, because ${TESTSBASE} is unset.

Sponsored by: Mellanox Technologies

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

9 years agoMFC r276815:
hselasky [Sun, 11 Jan 2015 14:33:16 +0000 (14:33 +0000)]
MFC r276815:
Fix for compilation issue. Don't use the "abs()" function for unsigned
computations.

PR: 196597
Sponsored by: Mellanox Technologies

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