kadesai [Fri, 26 Jun 2015 11:58:42 +0000 (11:58 +0000)]
Kernel panic may be observed by user, if MR controller is under Chip reset (OCR)
and there are some pending IOs at the time of OCR. This is mainly because of
recursive mutext in OCR and IO completion function call. Generic IO completion (from ISR) needs
sim_lock to be held before it calls completion to CAM (xpt_done), but in case of OCR path mrsas_ocr thread
itself take sim_lock, so this condition is now handled in this patch.
MFC after: 3 days
andrew [Fri, 26 Jun 2015 09:02:40 +0000 (09:02 +0000)]
pc_curpmap is only in the armv6 pcpu data.
royger [Fri, 26 Jun 2015 07:12:17 +0000 (07:12 +0000)]
amd64: set the correct LMA values
The current linker script generates program headers with VMA == LMA:
Entry point 0xffffffff802e7000
There are 6 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0xffffffff80200040 0xffffffff80200040
0x0000000000000150 0x0000000000000150 R E 8
INTERP 0x0000000000000190 0xffffffff80200190 0xffffffff80200190
0x000000000000000d 0x000000000000000d R 1
[Requesting program interpreter: /red/herring]
LOAD 0x0000000000000000 0xffffffff80200000 0xffffffff80200000
0x00000000010559b0 0x00000000010559b0 R E 200000
LOAD 0x0000000001056000 0xffffffff81456000 0xffffffff81456000
0x0000000000132638 0x000000000052ecf8 RW 200000
DYNAMIC 0x0000000001056000 0xffffffff81456000 0xffffffff81456000
0x00000000000000d0 0x00000000000000d0 RW 8
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RWE 8
This is fine for the FreeBSD loader, because it completely ignores p_paddr
and instead uses p_vaddr with a hardcoded offset. Other loaders however
acknowledge p_paddr (like the Xen ELF loader), in which case they will try
to load the kernel at the wrong place. Fix this by adding an AT keyword to
the first section specifying the physical address, other sections will
follow suit, so it ends up looking like:
Entry point 0xffffffff802e7000
There are 6 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0xffffffff80200040 0x0000000000200040
0x0000000000000150 0x0000000000000150 R E 8
INTERP 0x0000000000000190 0xffffffff80200190 0x0000000000200190
0x000000000000000d 0x000000000000000d R 1
[Requesting program interpreter: /red/herring]
LOAD 0x0000000000000000 0xffffffff80200000 0x0000000000200000
0x00000000010559b0 0x00000000010559b0 R E 200000
LOAD 0x0000000001056000 0xffffffff81456000 0x0000000001456000
0x0000000000132638 0x000000000052ecf8 RW 200000
DYNAMIC 0x0000000001056000 0xffffffff81456000 0x0000000001456000
0x00000000000000d0 0x00000000000000d0 RW 8
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RWE 8
Tested on bare metal using the native FreeBSD loader and grub2 from TRUEOS.
Sponsored by: Citrix Systems R&D
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D2783
kib [Fri, 26 Jun 2015 07:01:29 +0000 (07:01 +0000)]
Split the DMAR unit domains and contexts. Domains carry address space
and related data structures. Contexts attach requests initiators to
domains. There is still 1:1 correspondence between contexts and
domains on the running system, since only busdma currently allocates
them, using dmar_get_ctx_for_dev().
Large part of the change is formal rename of the ctx to domain, but
patch also reworks the context allocation and free to allow for
independent domain creation.
The helper dmar_move_ctx_to_domain() is introduced for future use, to
reassign request initiator from one domain to another. The hard issue
which is not yet resolved with the context move is proper handling (or
reserving) RMRR entries in the destination domain as required by ACPI
DMAR table for moved context.
Tested by: pho
Sponsored by: The FreeBSD Foundation
adrian [Fri, 26 Jun 2015 04:14:05 +0000 (04:14 +0000)]
Un-static cpuset_which() - it's useful in other contexts, such as some
CPU set operations in my upcoming NUMA work.
Tested/compiled:
* i386 (run)
* amd64 (run)
* mips (run)
* mips64 (run)
* armv6 (built)
Sponsored by: Norse Corp, Inc.
adrian [Fri, 26 Jun 2015 04:12:06 +0000 (04:12 +0000)]
Rename seq_* to mseq_*, to avoid clashes with seq.h (namely, seq_read.)
cy [Fri, 26 Jun 2015 03:29:23 +0000 (03:29 +0000)]
Add support for additional architectures in ntp.
Differential Revision: D2720
Reviewed by: jmg, reoberto, andrew, ian, imp
bz [Thu, 25 Jun 2015 23:16:01 +0000 (23:16 +0000)]
Another attempt to make this compile on more architectures after r284777.
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
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
gjb [Thu, 25 Jun 2015 20:40:51 +0000 (20:40 +0000)]
Fix an incorrect revision number.
Sponsored by: The FreeBSD Foundation
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
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
gjb [Thu, 25 Jun 2015 18:44:57 +0000 (18:44 +0000)]
Document r283092, ACPICA updated to
20150515.
Sponsored by: The FreeBSD Foundation
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
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
gjb [Thu, 25 Jun 2015 18:44:50 +0000 (18:44 +0000)]
Document r279955, autofs(5) '-noauto' map addition.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:48 +0000 (18:44 +0000)]
Document r275681, autofs(5) '-media' map addition.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:46 +0000 (18:44 +0000)]
Update the svn revision marker.
Sponsored by: The FreeBSD Foundation
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
gjb [Thu, 25 Jun 2015 18:44:42 +0000 (18:44 +0000)]
Add missing '-' in Hyper-V.
Sponsored by: The FreeBSD Foundation
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
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
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
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
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
gjb [Thu, 25 Jun 2015 18:44:29 +0000 (18:44 +0000)]
Document r284273, initial ACPI support for aarch64.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:27 +0000 (18:44 +0000)]
Document r284254, bmake updated to
20150606.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:25 +0000 (18:44 +0000)]
Document r283959, EM_MULTIQUEUE kernel configuration option.
Sponsored by: The FreeBSD Foundation
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
gjb [Thu, 25 Jun 2015 18:44:20 +0000 (18:44 +0000)]
Document r283766, ig4(4) addition.
Sponsored by: The FreeBSD Foundation
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
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
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
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
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
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
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
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)
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
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
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
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
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.
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
andrew [Thu, 25 Jun 2015 08:15:47 +0000 (08:15 +0000)]
Export __flt_rounds from the arm64 libc.so
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
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
gshapiro [Thu, 25 Jun 2015 01:42:59 +0000 (01:42 +0000)]
Add a note on the second sendmail fix for WeakDH interoperability.
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
mjg [Thu, 25 Jun 2015 00:15:37 +0000 (00:15 +0000)]
rlimit: deduplicate code in chg* functions
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
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
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
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.
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.
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
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
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)
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
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.
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
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
kevlo [Wed, 24 Jun 2015 09:28:43 +0000 (09:28 +0000)]
Mention that using ports/net/malo-firmware-kmod to install the firmware.
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
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
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
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
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
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
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
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
sjg [Tue, 23 Jun 2015 20:01:12 +0000 (20:01 +0000)]
Remove entry about make.conf - no longer relevant
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
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
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
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
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
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.
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
dim [Tue, 23 Jun 2015 06:59:46 +0000 (06:59 +0000)]
Fix r284722, by making it actually compile.
Pointy hat to: dim
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
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.
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
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
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
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
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
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
hiren [Mon, 22 Jun 2015 21:53:55 +0000 (21:53 +0000)]
Fix a typo: s/iff/if/
Sponsored by: Limelight Networks
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
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)
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
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'
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
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
sbruno [Mon, 22 Jun 2015 17:04:24 +0000 (17:04 +0000)]
Make imgact_binmisc_exec() static.
Submitted by: kib
Reviewed by: sson
sjg [Mon, 22 Jun 2015 16:13:17 +0000 (16:13 +0000)]
targets now needs .PHONY
mav [Mon, 22 Jun 2015 08:26:28 +0000 (08:26 +0000)]
Dump additional config bytes for INIT_FIRMWARE_MULTI_ID.
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.