]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoRevert r284860. I was looking at the wrong files.
gjb [Thu, 25 Jun 2015 20:46:11 +0000 (20:46 +0000)]
Revert r284860.  I was looking at the wrong files.
Sigh.

Sponsored by: The FreeBSD Foundation

9 years agoIf INVARIANTS is specified, add ctor/dtor to junk memory if they are
jmg [Thu, 25 Jun 2015 20:44:46 +0000 (20:44 +0000)]
If INVARIANTS is specified, add ctor/dtor to junk memory if they are
unspecified...

Submitted by: Suresh Gumpula at Netapp
Differential Revision: https://reviews.freebsd.org/D2725

9 years agoFix an incorrect revision number.
gjb [Thu, 25 Jun 2015 20:40:51 +0000 (20:40 +0000)]
Fix an incorrect revision number.

Sponsored by: The FreeBSD Foundation

9 years agoEnable the use of __builtin_va_* for ICC.
tijl [Thu, 25 Jun 2015 19:39:07 +0000 (19:39 +0000)]
Enable the use of __builtin_va_* for ICC.

PR: 198822
Submitted by: Sergey Melnikov <sergey.melnikov@intel.com>
MFC after: 5 days

9 years agoDocument r284237, file(1) updated to 5.23.
gjb [Thu, 25 Jun 2015 18:44:59 +0000 (18:44 +0000)]
Document r284237, file(1) updated to 5.23.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r283092, ACPICA updated to 20150515.
gjb [Thu, 25 Jun 2015 18:44:57 +0000 (18:44 +0000)]
Document r283092, ACPICA updated to 20150515.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284329, OpenSSL update to 1.0.1o.
gjb [Thu, 25 Jun 2015 18:44:55 +0000 (18:44 +0000)]
Document r284329, OpenSSL update to 1.0.1o.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r258431, boot-time memory test on amd64 platforms is now
gjb [Thu, 25 Jun 2015 18:44:53 +0000 (18:44 +0000)]
Document r258431, boot-time memory test on amd64 platforms is now
disabled by default.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r279955, autofs(5) '-noauto' map addition.
gjb [Thu, 25 Jun 2015 18:44:50 +0000 (18:44 +0000)]
Document r279955, autofs(5) '-noauto' map addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275681, autofs(5) '-media' map addition.
gjb [Thu, 25 Jun 2015 18:44:48 +0000 (18:44 +0000)]
Document r275681, autofs(5) '-media' map addition.

Sponsored by: The FreeBSD Foundation

9 years agoUpdate the svn revision marker.
gjb [Thu, 25 Jun 2015 18:44:46 +0000 (18:44 +0000)]
Update the svn revision marker.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284746, TSO and checksum offloading support in hv_netvsc(4).
gjb [Thu, 25 Jun 2015 18:44:44 +0000 (18:44 +0000)]
Document r284746, TSO and checksum offloading support in hv_netvsc(4).

Sponsored by: The FreeBSD Foundation

9 years agoAdd missing '-' in Hyper-V.
gjb [Thu, 25 Jun 2015 18:44:42 +0000 (18:44 +0000)]
Add missing '-' in Hyper-V.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284702, uart(4) update to support AMT on newer systems.
gjb [Thu, 25 Jun 2015 18:44:40 +0000 (18:44 +0000)]
Document r284702, uart(4) update to support AMT on newer systems.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284589, fstyp(8) now recognizes ZFS and GELI filesystems.
gjb [Thu, 25 Jun 2015 18:44:38 +0000 (18:44 +0000)]
Document r284589, fstyp(8) now recognizes ZFS and GELI filesystems.

Sponsored by: The FreeBSD Foundation

9 years agoMove the crypt(3) entries from userland-programs to
gjb [Thu, 25 Jun 2015 18:44:36 +0000 (18:44 +0000)]
Move the crypt(3) entries from userland-programs to
userland-libraries.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284483, Blowfish crypt(3) now supports $2y$ format.
gjb [Thu, 25 Jun 2015 18:44:34 +0000 (18:44 +0000)]
Document r284483, Blowfish crypt(3) now supports $2y$ format.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284297, lockstat(1) improvements.
gjb [Thu, 25 Jun 2015 18:44:31 +0000 (18:44 +0000)]
Document r284297, lockstat(1) improvements.
Add ClusterHQ to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284273, initial ACPI support for aarch64.
gjb [Thu, 25 Jun 2015 18:44:29 +0000 (18:44 +0000)]
Document r284273, initial ACPI support for aarch64.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r284254, bmake updated to 20150606.
gjb [Thu, 25 Jun 2015 18:44:27 +0000 (18:44 +0000)]
Document r284254, bmake updated to 20150606.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r283959, EM_MULTIQUEUE kernel configuration option.
gjb [Thu, 25 Jun 2015 18:44:25 +0000 (18:44 +0000)]
Document r283959, EM_MULTIQUEUE kernel configuration option.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r283766, improved hang detection in em(4).
gjb [Thu, 25 Jun 2015 18:44:22 +0000 (18:44 +0000)]
Document r283766, improved hang detection in em(4).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r283766, ig4(4) addition.
gjb [Thu, 25 Jun 2015 18:44:20 +0000 (18:44 +0000)]
Document r283766, ig4(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r283136, net.inet.tcp.hostcache.purgenow addition.
gjb [Thu, 25 Jun 2015 18:44:18 +0000 (18:44 +0000)]
Document r283136, net.inet.tcp.hostcache.purgenow addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282988, alloc_align() added to malloc.h and stdlib.h.
gjb [Thu, 25 Jun 2015 18:44:16 +0000 (18:44 +0000)]
Document r282988, alloc_align() added to malloc.h and stdlib.h.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282973, libgomp no longer built by default, unless building
gjb [Thu, 25 Jun 2015 18:44:14 +0000 (18:44 +0000)]
Document r282973, libgomp no longer built by default, unless building
the base system GCC.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282901, RACCT/RCTL in GENERIC by default.
gjb [Thu, 25 Jun 2015 18:44:12 +0000 (18:44 +0000)]
Document r282901, RACCT/RCTL in GENERIC by default.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282827, BeagleBone Black power button support added.
gjb [Thu, 25 Jun 2015 18:44:10 +0000 (18:44 +0000)]
Document r282827, BeagleBone Black power button support added.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282783, freescale PCI Root Complex support added.
gjb [Thu, 25 Jun 2015 18:44:08 +0000 (18:44 +0000)]
Document r282783, freescale PCI Root Complex support added.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282779, Thumb-2 support for ARMv7 added.
gjb [Thu, 25 Jun 2015 18:44:06 +0000 (18:44 +0000)]
Document r282779, Thumb-2 support for ARMv7 added.

Sponsored by: The FreeBSD Foundation

9 years agoFix support for the null encryption algorithm which now requires
gnn [Thu, 25 Jun 2015 18:38:58 +0000 (18:38 +0000)]
Fix support for the null encryption algorithm which now requires
a key.

Sponsored by: Rubicon Communications (Netgate)

9 years agoSort the cpu architectures by name rather than a combination of
andrew [Thu, 25 Jun 2015 16:47:11 +0000 (16:47 +0000)]
Sort the cpu architectures by name rather than a combination of
alphabetical order and appending new architectures to the end of the list.

Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation

9 years agoCorrect r284777 to use proper includes and remove dead code to unbreak kernel builds.
eri [Thu, 25 Jun 2015 15:05:58 +0000 (15:05 +0000)]
Correct r284777 to use proper includes and remove dead code to unbreak kernel builds.

Differential Revision: https://reviews.freebsd.org/D2847

9 years agoChange the hour:minute delimiter from ':' to '-', since
gjb [Thu, 25 Jun 2015 14:24:06 +0000 (14:24 +0000)]
Change the hour:minute delimiter from ':' to '-', since
the former is an invalid character in EC2 images.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation

9 years agoConsider PRERELEASE builds snapshots, in addition to CURRENT and
gjb [Thu, 25 Jun 2015 13:40:00 +0000 (13:40 +0000)]
Consider PRERELEASE builds snapshots, in addition to CURRENT and
STABLE.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation

9 years agoRemove limitations on setting WWNNs starting from 2.
mav [Thu, 25 Jun 2015 10:03:38 +0000 (10:03 +0000)]
Remove limitations on setting WWNNs starting from 2.

It is odd that driver first tries to generate synthetic WWNN based on
WWPN starting from 2, but then refuses to use it.  If we don't trust
generated WWNN, we should probably not generate it.  Same time this
limitation prevents potentially valid WWNN setting by user.

9 years agoImplement fpgetmask, it's needed by Python.
andrew [Thu, 25 Jun 2015 08:22:25 +0000 (08:22 +0000)]
Implement fpgetmask, it's needed by Python.

Approved by: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation

9 years agoExport __flt_rounds from the arm64 libc.so
andrew [Thu, 25 Jun 2015 08:15:47 +0000 (08:15 +0000)]
Export __flt_rounds from the arm64 libc.so

9 years agoProtect smbus ioctls in ig4 driver using a shared lock.
grembo [Thu, 25 Jun 2015 07:52:51 +0000 (07:52 +0000)]
Protect smbus ioctls in ig4 driver using a shared lock.
Document locking semantics.

Differential Revision: https://reviews.freebsd.org/D2744
Reviewed by: jah, kib
Approved by: kib

9 years agoMerge changes from vendor driver 1.1.4:
delphij [Thu, 25 Jun 2015 06:15:08 +0000 (06:15 +0000)]
Merge changes from vendor driver 1.1.4:

  v1.1.4 2015-06-09
   * Fix a bug that FailLED was not initialized properly.
  v1.1.3 2015-05-19
   * Support Report Luns command.
  v1.1.2 2015-05-05
   * Fix a bug that report wrong physical sector size for 512e HDD.

Many thanks to HighPoint for continued support of FreeBSD!

This driver update is intended for 10.2-RELEASE.

Submitted by: Steve Chang
MFC after: 3 days

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

9 years agorlimit: fix a an old name in a comment: uihashtbl_mtx -> uihashtbl_lock
mjg [Thu, 25 Jun 2015 01:24:36 +0000 (01:24 +0000)]
rlimit: fix a an old name in a comment: uihashtbl_mtx -> uihashtbl_lock

9 years agorlimit: deduplicate code in chg* functions
mjg [Thu, 25 Jun 2015 00:15:37 +0000 (00:15 +0000)]
rlimit: deduplicate code in chg* functions

9 years agoEnsure ASSUME_ALWAYS_YES is set when deleting pkg(8) from the
gjb [Wed, 24 Jun 2015 21:30:35 +0000 (21:30 +0000)]
Ensure ASSUME_ALWAYS_YES is set when deleting pkg(8) from the
DESTDIR, otherwise it can get stuck in ttyin.

This means no 10-STABLE EC2 images this week.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation

9 years agosh: Fix some arithmetic undefined behaviour.
jilles [Wed, 24 Jun 2015 20:51:48 +0000 (20:51 +0000)]
sh: Fix some arithmetic undefined behaviour.

Fix shifts of possibly negative numbers found with ubsan and avoid signed
integer overflow when hashing an extremely long command name.

MFC after: 1 week

9 years agoALTQ FAIRQ discipline import from DragonFLY
eri [Wed, 24 Jun 2015 19:16:41 +0000 (19:16 +0000)]
ALTQ FAIRQ discipline import from DragonFLY

Differential Revision:  https://reviews.freebsd.org/D2847
Reviewed by:    glebius, wblock(manpage)
Approved by:    gnn(mentor)
Obtained from:  pfSense
Sponsored by:   Netgate

9 years agoFix compilation when the armv6 world is being compiled without hw floating
ian [Wed, 24 Jun 2015 18:29:34 +0000 (18:29 +0000)]
Fix compilation when the armv6 world is being compiled without hw floating
point support.  The fenv-vfp.c file overrides -mfloat-abi so it can use
floating point instructions if it detects support at runtime.  Make it also
override -mfpu in case the user has set -mfpu=none.

9 years agoFix a misplaced #endif (maybe a mismerge?). Emitting the symbol for CURPMAP
ian [Wed, 24 Jun 2015 18:26:04 +0000 (18:26 +0000)]
Fix a misplaced #endif (maybe a mismerge?).  Emitting the symbol for CURPMAP
is not dependent on whether VFP (hardware floating point) is enabled.

9 years agoImplement fpsetmask. Some third-party software makes use of it, for example
andrew [Wed, 24 Jun 2015 16:18:58 +0000 (16:18 +0000)]
Implement fpsetmask. Some third-party software makes use of it, for example
perl.

Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation

9 years agoSet the alignment of the setjmp magic values correctly. The alignment needs
andrew [Wed, 24 Jun 2015 16:15:32 +0000 (16:15 +0000)]
Set the alignment of the setjmp magic values correctly. The alignment needs
to be before the lavel, otherwise an extra word may be added between the
label and the data.

Obtained from: ABT Systems Ltd
Sponsored by: The FReeBSD Foundation

9 years agoSeveral build changes for ix and ixv:
erj [Wed, 24 Jun 2015 15:53:52 +0000 (15:53 +0000)]
Several build changes for ix and ixv:

- Allow ix and ixv to be built seperately.
- Re-enable building ix for i386 and amd64 archs
- Fix ixv Makefile.

Approved by: jfv (mentor)

9 years agoAt the suggestion of jhb, replace atomic_set/clear calls with use of
sbruno [Wed, 24 Jun 2015 15:52:26 +0000 (15:52 +0000)]
At the suggestion of jhb, replace atomic_set/clear calls with use of
exclusive locks in the enable/disable interpreter path.

Tested with WITNESS/INVARIANTS on and off.

Reviewed by: sson davide

9 years agoTeach ctld about CTL's physical_port and virtual_port fields.
mav [Wed, 24 Jun 2015 15:13:27 +0000 (15:13 +0000)]
Teach ctld about CTL's physical_port and virtual_port fields.

This allows ctld to work with isp(4) virtual ports, specifying them as
isp0/1, isp0/2, etc.  There are still problems on isp(4) layer with
disabling those ports after enabling, but hopefully they can be fixed.

MFC after: 3 days
Sponsored by: iXsystems, Inc.

9 years agoadd floatingpoint.h for arm64
emaste [Wed, 24 Jun 2015 14:51:53 +0000 (14:51 +0000)]
add floatingpoint.h for arm64

On other architectures floatingpoint.h is a symlink to
machine/floatingpoint.h which in turn includes machine/ieeefp.h.
Do this on arm64 as well for now.

Sponsored by: The FreeBSD Foundation

9 years agoFix the floating-point exception values to line up with the hardware
andrew [Wed, 24 Jun 2015 12:19:49 +0000 (12:19 +0000)]
Fix the floating-point exception values to line up with the hardware
register bits. Nothing in base uses these as they are deprecated, however
third-party applications, such as perl, expect some of these functions to
exist.

Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation

9 years agoMention that using ports/net/malo-firmware-kmod to install the firmware.
kevlo [Wed, 24 Jun 2015 09:28:43 +0000 (09:28 +0000)]
Mention that using ports/net/malo-firmware-kmod to install the firmware.

9 years agoFix reported_gone setting, missed in some cases.
mav [Wed, 24 Jun 2015 09:06:12 +0000 (09:06 +0000)]
Fix reported_gone setting, missed in some cases.

This makes driver better track reported CAM_SEL_TIMEOUTs to properly
report device reappearance later.  This fixes target 0 not reappearing
after initiator mode disabled and then reenabled.

MFC after: 3 days

9 years agosfxge: skip VPD info population if access is denied
arybchik [Wed, 24 Jun 2015 06:25:20 +0000 (06:25 +0000)]
sfxge: skip VPD info population if access is denied

The patch allows to run on unprivileged PF (PFIOV) passed to
a virtual machine.

Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D2891

9 years agoTSO and checksum offloading support for Netvsc driver on Hyper-V.
whu [Wed, 24 Jun 2015 06:01:29 +0000 (06:01 +0000)]
TSO and checksum offloading support for Netvsc driver on Hyper-V.

Submitted by: whu
Reviewed by: royger
Approved by: royger
MFC after: 1 week
Relnotes: yes
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D2517

9 years agoSet some internal helpers as static and initialize few variables to silence
araujo [Wed, 24 Jun 2015 01:48:44 +0000 (01:48 +0000)]
Set some internal helpers as static and initialize few variables to silence
CLANG WARNINGS.
BUMP SHLIB_MAJOR version as the ABI potentially changed.

Also run an 'exp run' to double check if any external project are using
those functions. Thanks antoine@.

PR: 200807
Differential Revision: D2775
Reviewed by: kib, ngie

9 years agoRemove unused variables to silence CLANG warnings.
araujo [Wed, 24 Jun 2015 01:34:35 +0000 (01:34 +0000)]
Remove unused variables to silence CLANG warnings.
Remove some BLANK lines and unnecessary TABS.

Differential Revision: D2687
Reviewed by: rodrigc, hselasky

9 years agoRename __weak to __weak_symbol to avoid language conflict with objective-C.
hselasky [Tue, 23 Jun 2015 22:40:22 +0000 (22:40 +0000)]
Rename __weak to __weak_symbol to avoid language conflict with objective-C.

PR: 200972 (exp-run)
Suggested by: theraven@
MFC after: 3 days

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

9 years agotx_mtx should be grabbed before calling buf_ring_dequeue_sc()
davidcs [Tue, 23 Jun 2015 20:09:52 +0000 (20:09 +0000)]
tx_mtx should be grabbed before calling buf_ring_dequeue_sc()

Submitted by:Attilio.Rao@isilon.com
MFC after:5 days

9 years agoRemove entry about make.conf - no longer relevant
sjg [Tue, 23 Jun 2015 20:01:12 +0000 (20:01 +0000)]
Remove entry about make.conf - no longer relevant

9 years agoFix endless recursion in sys/net/if.c's drbr_inuse_drv(), found by clang
dim [Tue, 23 Jun 2015 18:48:41 +0000 (18:48 +0000)]
Fix endless recursion in sys/net/if.c's drbr_inuse_drv(), found by clang
3.7.0.

Reviewed by: marcel

9 years agozero this struct as it depends upon it...
jmg [Tue, 23 Jun 2015 18:40:20 +0000 (18:40 +0000)]
zero this struct as it depends upon it...

Reviewed by: mjg
Differential Revision: https://reviews.freebsd.org/D2890

9 years agoAdd __cxa_deleted_virtual to libcxxrt's version map.
dim [Tue, 23 Jun 2015 17:54:24 +0000 (17:54 +0000)]
Add __cxa_deleted_virtual to libcxxrt's version map.

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

Reported by: yuri@rawbw.com
PR: 200863
Reviewed by: emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D2850

9 years agoUpdate vendor driver to 1.2.7. This update improves driver reliability and
delphij [Tue, 23 Jun 2015 17:26:16 +0000 (17:26 +0000)]
Update vendor driver to 1.2.7.  This update improves driver reliability and
adds support of 4Kn drives and report LUNs command.

This driver update is intended for 10.2-RELEASE.

Many thanks to HighPoint for providing this driver update.

Submitted by: Steve Chang
MFC after: 3 days

9 years agoSwitch fstyp build to toggle ZFS support on WITHOUT_ZFS rather than WITHOUT_CDDL
allanjude [Tue, 23 Jun 2015 16:34:43 +0000 (16:34 +0000)]
Switch fstyp build to toggle ZFS support on WITHOUT_ZFS rather than WITHOUT_CDDL

PR: 200976
Approved by: imp
MFC after: 1 week
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D2045

9 years agoAdd dev.isp.X.role sysctl in addition to tunable.
mav [Tue, 23 Jun 2015 16:13:20 +0000 (16:13 +0000)]
Add dev.isp.X.role sysctl in addition to tunable.

It (mostly) allows to enable/disable initiator mode in run time.
Target mode control is blocked here to force coordination with CTL.

While there, add separate tunables/sysctls for virtual channels.

9 years agoAlso save x8. It may be passed into a function as the indirect result
andrew [Tue, 23 Jun 2015 10:32:26 +0000 (10:32 +0000)]
Also save x8. It may be passed into a function as the indirect result
location pointer when the return value doesn't fit in a register, e.g. when
returning a struct.

Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation

9 years agoFix r284722, by making it actually compile.
dim [Tue, 23 Jun 2015 06:59:46 +0000 (06:59 +0000)]
Fix r284722, by making it actually compile.

Pointy hat to: dim

9 years agoRename mksegarray to xbd_mksegarray for consistency with other function
cperciva [Tue, 23 Jun 2015 06:50:03 +0000 (06:50 +0000)]
Rename mksegarray to xbd_mksegarray for consistency with other function
names in this file.

Submitted by: royger

9 years agoFix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
dim [Tue, 23 Jun 2015 06:48:02 +0000 (06:48 +0000)]
Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.

9 years agoFix endless recursion in dwarf_get_section_max_offsets(), found by clang
dim [Tue, 23 Jun 2015 06:42:30 +0000 (06:42 +0000)]
Fix endless recursion in dwarf_get_section_max_offsets(), found by clang
3.7.0.

Reviewed by: emaste

9 years agoOnly take previous buffer queue lock (olock) when needed for REMFREE
kib [Tue, 23 Jun 2015 06:12:14 +0000 (06:12 +0000)]
Only take previous buffer queue lock (olock) when needed for REMFREE
in binsfree().

Submitted by: Conrad Meyer
Sponsored by: EMC / Isilon Storage Division
Review: https://reviews.freebsd.org/D2882
MFC after: 1 week

9 years agocxgbe: get_fl_payload returns a header mbuf when successful.
np [Tue, 23 Jun 2015 05:55:13 +0000 (05:55 +0000)]
cxgbe: get_fl_payload returns a header mbuf when successful.

MFC after: 3 days

9 years agoAn additional fix for the openssl Weak DH remediation:
gshapiro [Tue, 23 Jun 2015 04:33:54 +0000 (04:33 +0000)]
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.

MFC after: 2 days

9 years agoRestore the host's GS.base before returning from 'svm_launch()'.
neel [Tue, 23 Jun 2015 02:17:23 +0000 (02:17 +0000)]
Restore the host's GS.base before returning from 'svm_launch()'.

Previously this was done by the caller of 'svm_launch()' after it returned.
This works fine as long as no code is executed in the interim that depends
on pcpu data.

The dtrace probe 'fbt:vmm:svm_launch:return' broke this assumption because
it calls 'dtrace_probe()' which in turn relies on pcpu data.

Reported by: avg
MFC after: 1 week

9 years agoReverting r284710.
hiren [Mon, 22 Jun 2015 22:16:06 +0000 (22:16 +0000)]
Reverting r284710.
Today I learned: iff == if and only if.

Suggested by: many

9 years agoFix a typo: s/iff/if/
hiren [Mon, 22 Jun 2015 21:53:55 +0000 (21:53 +0000)]
Fix a typo: s/iff/if/

Sponsored by:     Limelight Networks

9 years agoCall /etc/crontab the "system crontab", not "root's crontab". While
wblock [Mon, 22 Jun 2015 20:24:59 +0000 (20:24 +0000)]
Call /etc/crontab the "system crontab", not "root's crontab".  While
here, fix some other wording issues

PR: 201048
Submitted by: teksimian@gmail.com
MFC after: 1 week

9 years agoFix generation of src.conf.5
sjg [Mon, 22 Jun 2015 20:21:57 +0000 (20:21 +0000)]
Fix generation of src.conf.5

Since makeman turns all options on, we need to guard somethings from
make(showconfig)

9 years agoAdd a workaround to correctly align the stack before calling into C code.
andrew [Mon, 22 Jun 2015 19:43:08 +0000 (19:43 +0000)]
Add a workaround to correctly align the stack before calling into C code.
When enough time has passed for users to update their userland the kernel
fix will be applied. This will change the ABI to have x0 point to the args
and sp be correctly aligned.

It is expected this compatibility code can be removed when the kernel and
qemu usermode emulation have both been updated for the new ABI.

This fixes clang failures, and most likely other crashes.

Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation

9 years agoAppy := to dependent opts once value determined.
sjg [Mon, 22 Jun 2015 19:01:09 +0000 (19:01 +0000)]
Appy := to dependent opts once value determined.

This is needed to fix output from 'make showconfig'

9 years agoReport failing value from 'make showconfig' in build option script
emaste [Mon, 22 Jun 2015 17:23:36 +0000 (17:23 +0000)]
Report failing value from 'make showconfig' in build option script

Sponsored by: The FreeBSD Foundation

9 years agoAdd new UART device presented on newer AMT enabled systems/laptops.
sbruno [Mon, 22 Jun 2015 17:16:09 +0000 (17:16 +0000)]
Add new UART device presented on newer AMT enabled systems/laptops.

Tested on Dell Latitude E7240.

MFC after: 2 weeks
Relnotes: yes

9 years agoMake imgact_binmisc_exec() static.
sbruno [Mon, 22 Jun 2015 17:04:24 +0000 (17:04 +0000)]
Make imgact_binmisc_exec() static.

Submitted by: kib
Reviewed by: sson

9 years agotargets now needs .PHONY
sjg [Mon, 22 Jun 2015 16:13:17 +0000 (16:13 +0000)]
targets now needs .PHONY

9 years agoDump additional config bytes for INIT_FIRMWARE_MULTI_ID.
mav [Mon, 22 Jun 2015 08:26:28 +0000 (08:26 +0000)]
Dump additional config bytes for INIT_FIRMWARE_MULTI_ID.

9 years agoAdd logging of executed mailbox command names.
mav [Mon, 22 Jun 2015 06:30:02 +0000 (06:30 +0000)]
Add logging of executed mailbox command names.

Previously those commands were logged only as part of register dump,
that is not very readable.

9 years agoInstall ncurses html documentation again after r284345
antoine [Mon, 22 Jun 2015 05:41:13 +0000 (05:41 +0000)]
Install ncurses html documentation again after r284345

9 years agoremove 16 rules and replace by 2 by using a table
julian [Mon, 22 Jun 2015 04:25:41 +0000 (04:25 +0000)]
remove 16 rules and replace by 2 by using a table
I've been doing this ever since there were tables
coudl make more efficient by using "in recv"  and "out xmit" instead of via
but I'll leave that.

MFC after: 1 week

9 years agoChange the probe to what was intended: attach to devices with
marcel [Mon, 22 Jun 2015 00:34:29 +0000 (00:34 +0000)]
Change the probe to what was intended: attach to devices with
a type 0 header and not to function 0 devices.

9 years agoFix a regression in "movs" emulation after r284539. The regression was caused
neel [Mon, 22 Jun 2015 00:30:34 +0000 (00:30 +0000)]
Fix a regression in "movs" emulation after r284539. The regression was caused
due to a change in behavior of the 'vm_map_gpa()'.

Prior to r284539 if 'vm_map_gpa()' was called to map an address range in the
guest MMIO region then it would return NULL. This was used by the "movs"
emulation to detect if the 'src' or 'dst' operand was in MMIO space.

Post r284539 'vm_map_gpa()' started returning a non-NULL pointer even when
mapping the guest MMIO region.

Fix this by returning non-NULL only if [gaddr, gaddr+len) is entirely
within the 'lowmem' or 'highmem' regions and NULL otherwise.

Pointy hat to: neel
Reviewed by: grehan
Reported by: tychon, Ben Perrault (ben.perrault@gmail.com)
MFC after: 1 week

9 years agoOnly build gperf as a bootstrap tool if gcc is going to be built
bapt [Sun, 21 Jun 2015 22:45:53 +0000 (22:45 +0000)]
Only build gperf as a bootstrap tool if gcc is going to be built

9 years agoSimplify code to install manpages and it symlinks
bapt [Sun, 21 Jun 2015 22:42:55 +0000 (22:42 +0000)]
Simplify code to install manpages and it symlinks

Use the bmake's .for multi variable loops to simplify and make the code more
readable

9 years agoSimplify symlinks on include files by using bmake's multivariable .for loops
bapt [Sun, 21 Jun 2015 22:27:52 +0000 (22:27 +0000)]
Simplify symlinks on include files by using bmake's multivariable .for loops

9 years agoEnable ttyu1, ttyu2, ttyu3 for arm installations.
gjb [Sun, 21 Jun 2015 19:50:02 +0000 (19:50 +0000)]
Enable ttyu1, ttyu2, ttyu3 for arm installations.

This should make all consoles available, whether it
is VGA, HDMI, serial, or JTAG, but more importantly
enables all consoles when ttyu0 is not predictable.
For example, the Pandaboard ES apparently has three
consoles available, but the DB9/RS232 serial port is
ttyu2, so not available by default after the system
boots.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation