]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
8 years agoMFC 284709:
wblock [Tue, 30 Jun 2015 19:53:26 +0000 (19:53 +0000)]
MFC 284709:
  Call /etc/crontab the "system crontab", not "root's crontab".  While
  here, fix some other wording issues

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

8 years agoMFC r284739
davidcs [Tue, 30 Jun 2015 18:58:33 +0000 (18:58 +0000)]
MFC r284739
tx_mtx should be grabbed before calling buf_ring_dequeue_sc()

Submitted by:Attilio.Rao@isilon.com

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

8 years agoMFC r284470
davidcs [Tue, 30 Jun 2015 17:59:14 +0000 (17:59 +0000)]
MFC r284470
In bxe_init_mcast_macs_list(): mc_mac->mac needs to point to the multicast mac address
In bxe_set_mc_list(): added missing BXE_MCAST_UNLOCK()
In __ecore_vlan_mac_h_exec_pending(): need to check for ECORE_PENDING

Submitted by: gary.zambrano@qlogic.com

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

8 years agoMFC r284335
davidcs [Tue, 30 Jun 2015 17:44:44 +0000 (17:44 +0000)]
MFC r284335

PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.

bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.

bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context

Submitted by: gary.zambrano@qlogic.com

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

8 years agoRe-add if_hw_tso* assignments to if_ix.c that were removed in r283668.
erj [Tue, 30 Jun 2015 16:26:13 +0000 (16:26 +0000)]
Re-add if_hw_tso* assignments to if_ix.c that were removed in r283668.

These are used in stable/10 as well as 11.

Requested by: rmacklem@

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

8 years agoMFH (r275659): fix dependency on newvers.sh
des [Tue, 30 Jun 2015 15:32:57 +0000 (15:32 +0000)]
MFH (r275659): fix dependency on newvers.sh

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

8 years agoMFH (r277695): allow tracing dlfunc() / dlsym() events
des [Tue, 30 Jun 2015 14:17:02 +0000 (14:17 +0000)]
MFH (r277695): allow tracing dlfunc() / dlsym() events

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

8 years agoMFH (r270391): don't set rc_debug in /etc/defaults/rc.conf
des [Tue, 30 Jun 2015 13:30:10 +0000 (13:30 +0000)]
MFH (r270391): don't set rc_debug in /etc/defaults/rc.conf

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

8 years agoMFH (r283578): import new moduli from upstream
des [Tue, 30 Jun 2015 12:46:43 +0000 (12:46 +0000)]
MFH (r283578): import new moduli from upstream

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

8 years agoMFC: r262233
brueffer [Tue, 30 Jun 2015 09:34:59 +0000 (09:34 +0000)]
MFC: r262233

Spelling, grammar and mdoc cleanup.

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

8 years agoMFC r284858:
tijl [Tue, 30 Jun 2015 08:40:15 +0000 (08:40 +0000)]
MFC r284858:

Enable the use of __builtin_va_* for ICC.

PR: 198822
Submitted by: Sergey Melnikov <sergey.melnikov@intel.com>

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

8 years agoMFC r284719:
kib [Tue, 30 Jun 2015 05:53:15 +0000 (05:53 +0000)]
MFC r284719:
Only take previous buffer queue lock (olock) when needed for REMFREE
in binsfree().

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

8 years agoMFC r284882, r284884:
gjb [Tue, 30 Jun 2015 00:51:43 +0000 (00:51 +0000)]
MFC r284882, r284884:

 r284882:
  Add initial support for automatically uploading GCE virtual
  machine images to the Google Compute Engine platform.

  Remove gce-package.sh.

 r284884:
  Fix a vi-invoked typo.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r279901 (kmoore):
delphij [Mon, 29 Jun 2015 19:09:16 +0000 (19:09 +0000)]
MFC r279901 (kmoore):

 - Include commas in valid file-name chars freebsd-update will support

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

8 years agoMFC r256594 (cperciva):
delphij [Mon, 29 Jun 2015 19:02:30 +0000 (19:02 +0000)]
MFC r256594 (cperciva):

Speed up `freebsd-update IDS` by using IFS to split fields instead of
forking lots of processes to run echo|cut.  In one test this reduced
the CPU time from 980s to 134s and the wallclock time from 806s to
132s.

Submitted by: Oleg Ginzburg

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

8 years agoMFC r274630,r274653 (feld):
delphij [Mon, 29 Jun 2015 18:56:53 +0000 (18:56 +0000)]
MFC r274630,r274653 (feld):

Add logic for detecting non-persistent filesystems being utilized by
workdir which would break the upgrade process upon reboot.

Currently we check for tmpfs and md.

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

8 years agoMFC r276095 (des)
delphij [Mon, 29 Jun 2015 18:51:08 +0000 (18:51 +0000)]
MFC r276095 (des)

Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently
expand the latter.

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

8 years agoMFC r284425:
delphij [Mon, 29 Jun 2015 18:44:15 +0000 (18:44 +0000)]
MFC r284425:

Skip src component if /usr/src is empty.

Submitted by: kczekirda
Reviewed by: cperciva, delphij, nwhitehorn, allanjude

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

8 years agoMFC r284792:
delphij [Mon, 29 Jun 2015 18:34:30 +0000 (18:34 +0000)]
MFC r284792:

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

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

8 years agoMFC r284765, r284875:
mav [Sun, 28 Jun 2015 09:41:10 +0000 (09:41 +0000)]
MFC r284765, r284875:
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.

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

8 years agoMFC r284808: Remove limitations on setting WWNNs starting from 2.
mav [Sun, 28 Jun 2015 09:27:34 +0000 (09:27 +0000)]
MFC r284808: 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.

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

8 years agoMFC r284748: Fix reported_gone setting, missed in some cases.
mav [Sun, 28 Jun 2015 09:26:14 +0000 (09:26 +0000)]
MFC r284748: 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.

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

8 years agoMFC r284727: Add dev.isp.X.role sysctl in addition to tunable.
mav [Sun, 28 Jun 2015 09:25:13 +0000 (09:25 +0000)]
MFC r284727: 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.

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

8 years agoMFC r284681: Rewrite port database handling for target mode.
mav [Sun, 28 Jun 2015 09:24:02 +0000 (09:24 +0000)]
MFC r284681: Rewrite port database handling for target mode.

Previous implementation was too fragile to initiator parameters changes.
In case of port role change it could not survive different handle assigned
to the same initiator by firmware, even though initiator was logged out.
The new implementation should be more resillient to this kind of problems,
trying to work in any situation and only warn user about suspisious events.

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

8 years agoMFC r282209:
neel [Sun, 28 Jun 2015 03:22:26 +0000 (03:22 +0000)]
MFC r282209:
Emulate the 'bit test' instruction.

MFC r282259:
Re-implement RTC current time calculation to eliminate the possibility of
losing time.

MFC r282281:
Advertise the MTRR feature via CPUID and emulate the minimal set of MTRR MSRs.

MFC r282284:
When an instruction cannot be decoded just return to userspace so bhyve(8)
can dump the instruction bytes.

MFC r282287:
Don't require <sys/cpuset.h> to be always included before <machine/vmm.h>.

MFC r282296:
Emulate MSR_SYSCFG which is accessed by Linux on AMD cpus when MTRRs are
enabled.

MFC r282301:
Relax limits when transitioning a vector from the IRR to the ISR and also
when extinguishing it from the ISR in response to an EOI.

MFC r282335:
Advertise an additional memory BAR in the "dummy" device emulation.

MFC r282336:
Emulate machine check related MSRs to allow guest OSes like Windows to boot.

MFC r282351:
Don't advertise the Intel SMX capability to the guest.

MFC r282407:
Emulate the 'CMP r/m8, imm8' instruction.

MFC r282519:
Add macros for AMD-specific bits in MSR_EFER: LMSLE, FFXSR and TCE.

MFC r282520:
Emulate guest writes to EFER_MSR properly.

MFC r282558:
Deprecate the 3-way return values from vm_gla2gpa() and vm_copy_setup().

MFC r282571:
Check 'td_owepreempt' and yield the vcpu thread if it is set.

MFC r282595:
Allow byte reads of AHCI registers.

MFC r282784:
Handling indirect descriptors is a capability of the host and not one that
needs to be negotiated. Use the host capabilities field and not the negotiated
field when verifying that indirect descriptors are supported.

MFC r282788:
Allow configuration of the sector size advertised to the guest.

MFC r282865:
Set the subvendor field in config space to the vendor ID. This is required
by the Windows virtio drivers to correctly match a device.

MFC r282922:
Bump the size of the blockif scatter-gather list to 67.

MFC r283075:
Fix off-by-one in array index bounds check. bhyveload would allow you to
create 33 entries on an array that only has 32 slots

MFC r283168:
Temporarily revert r282922 which bumped the max descriptors.

MFC r283255:
Emulate the "CMP r/m, reg" instruction (opcode 39H).

MFC r283256:
Add an option "--get-vmcs-exit-inst-length" to display the instruction length
of the instruction that caused the VM-exit.

MFC r283264:
Change the header type of the emulated host-bridge from type 1 to type 0.

MFC r283293:
Don't rely on the 'VM-exit instruction length' field in the VMCS to always
have an accurate length on an EPT violation.

MFC r283299:
Remove bogus verification of instruction length after instruction decode.

MFC r283308:
Exceptions don't deliver an error code in real mode.

MFC r283657:
Fix non-deterministic delays when accessing a vcpu that was in "running" or
"sleeping" state.

MFC r283973:
Use tunable 'hw.vmm.svm.features' to disable specific SVM features even
though they might be available in hardware. Use tunable 'hw.vmm.svm.num_asids'
to limit the number of ASIDs used by the hypervisor.

MFC r284046:
Fix regression in 'verify_gla()' with the RIP-relative addressing mode.

MFC r284174:
Support guest writes to the TSC by enabling the "use TSC offsetting"
execution control.

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

8 years agoMFC r279444:
neel [Sun, 28 Jun 2015 01:21:55 +0000 (01:21 +0000)]
MFC r279444:
Allow passthrough devices to be hinted.

MFC r279683:
When ICW1 is issued the edge sense circuit is reset which means that
following an initialization a low-to-high transistion is necesary to
generate an interrupt.

MFC r279925:
Add -p parameter to list PCI device to pass through to the guest.

MFC r281559:
Fix handling of BUS_PROBE_NOWILDCARD in 'device_probe_child()'.

MFC r280447:
When fetching an instruction in non-64bit mode, consider the value of the
code segment base address.

MFC r280725:
Move legacy interrupt allocation for virtio devices to common code.

MFC r280775:
Fix the RTC device model to operate correctly in 12-hour mode.

MFC r280929:
Fix "MOVS" instruction memory to MMIO emulation.

MFC r280968:
Display instruction bytes and %rip prior to aborting due to an instruction
emulation error.

MFC r281145:
Enhance the support for Group 1 Extended opcodes for CMP, AND, OR instructions.

MFC r281542:
Initialize 'error' before use (Coverity IDs 1249748124974712497511249749)

MFC r281561:
Prior to aborting due to an ioport error, it is always interesting to see what
the guest's %rip is.

MFC r281611:
If the number of guest vcpus is less than '1' then flag it as an error.

MFC r281612:
Prefer 'vcpu_should_yield()' over checking 'curthread->td_flags' directly.

MFC r281630:
Relax the check on which vectors can be delivered through the APIC. According
to the Intel SDM vectors 16 through 255 are allowed to be delivered via the
local APIC.

MFC r281879:
Missing break in switch case (Coverity ID 1292499)

MFC r281946:
Don't allow guest to modify readonly bits in the PCI config 'status' register.

MFC r281987:
STOS/STOSB/STOSW/STOSD/STOSQ instruction emulation.

MFC r282206:
Implement the century byte in the RTC.

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

8 years agoMFC r276428:
neel [Sat, 27 Jun 2015 22:48:22 +0000 (22:48 +0000)]
MFC r276428:
Replace bhyve's minimal RTC emulation with a fully featured one in vmm.ko.

MFC r276432:
Initialize all fields of 'struct vm_exception exception' before passing it
to vm_inject_exception().

MFC r276763:
Clear blocking due to STI or MOV SS in the hypervisor when an instruction is
emulated or when the vcpu incurs an exception.

MFC r277149:
Clean up usage of 'struct vm_exception' to only to communicate information
from userspace to vmm.ko when injecting an exception.

MFC r277168:
Fix typo (missing comma).

MFC r277309:
Make the error message explicit instead of just printing the usage if the
virtual machine name is not specified.

MFC r277310:
Simplify instruction restart logic in bhyve.

MFC r277359:
Fix a bug in libvmmapi 'vm_copy_setup()' where it would return success even
if the 'gpa' was in the guest MMIO region.

MFC r277360:
MOVS instruction emulation.

MFC r277626:
Add macro to identify AVIC capability (advanced virtual interrupt controller)
in AMD processors.

MFC r279220:
Don't close a block context if it couldn't be opened avoiding a null deref.

MFC r279225:
Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time.

MFC r279227:
Emulate MSR 0xC0011024 when running on AMD processors.

MFC r279228:
Always emulate MSR_PAT on Intel processors and don't rely on PAT save/restore
capability of VT-x. This lets bhyve run nested in older VMware versions that
don't support the PAT save/restore capability.

MFC r279540:
Fix warnings/errors when building vmm.ko with gcc.

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

8 years agoMFC r284646:
kib [Sat, 27 Jun 2015 09:47:28 +0000 (09:47 +0000)]
MFC r284646:
The barriers, provided by _acq and _rel atomics, are acquire and
release barriers, not read and write barriers.

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

8 years agoMFC r284743:
hselasky [Fri, 26 Jun 2015 21:35:36 +0000 (21:35 +0000)]
MFC r284743:
Rename __weak to __weak_symbol to avoid language conflict with objective-C.

PR: 200972 (exp-run)
Suggested by: theraven@

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

8 years agoMFC r267386,269611,284730:
delphij [Fri, 26 Jun 2015 19:55:01 +0000 (19:55 +0000)]
MFC r267386,269611,284730:

Update vendor driver to 1.2.7.  This update improves driver reliability and
adds support of 4Kn drives and report LUNs command.

Many thanks to HighPoint for providing this driver update.

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

8 years agoLimit the number of autoconfigured queues to 8.
erj [Fri, 26 Jun 2015 17:13:23 +0000 (17:13 +0000)]
Limit the number of autoconfigured queues to 8.

This limit was in a previous version of the driver, but it is being re-
added to match the behavior of previous versions of 10. It prevents the
driver from using too many MSI-X vectors on systems with a large number of
logical CPU cores.

Thanks to <jwd@slowblink.com> for bringing up this issue.

Approved by: jfv (mentor)

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

8 years agoMFC r284594:
kib [Fri, 26 Jun 2015 06:25:14 +0000 (06:25 +0000)]
MFC r284594:
Restore the td_cookie value upon detach.

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

8 years agoMFC: r284747
arybchik [Fri, 26 Jun 2015 06:08:52 +0000 (06:08 +0000)]
MFC: r284747

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.

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

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

Sponsored by: The FreeBSD Foundation

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

8 years agoUpdate the svn revision marker.
gjb [Thu, 25 Jun 2015 18:45:37 +0000 (18:45 +0000)]
Update the svn revision marker.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r284778, file(1) updated to 5.23.
gjb [Thu, 25 Jun 2015 18:45:35 +0000 (18:45 +0000)]
Document r284778, file(1) updated to 5.23.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r284665:
gjb [Thu, 25 Jun 2015 18:45:33 +0000 (18:45 +0000)]
Document r284665:
- kern.racct.enable tunable and RACCT_DISABLED kernel
  configuration option.
- RACCT/RCTL in GENERIC by default.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument rr284522, EM_MULTIQUEUE kernel configuration option.
gjb [Thu, 25 Jun 2015 18:45:31 +0000 (18:45 +0000)]
Document rr284522, EM_MULTIQUEUE kernel configuration option.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r284460, ACPICA updated to 20150515.
gjb [Thu, 25 Jun 2015 18:45:29 +0000 (18:45 +0000)]
Document r284460, ACPICA updated to 20150515.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r284330, OpenSSL updated to 1.0.1o.
gjb [Thu, 25 Jun 2015 18:45:27 +0000 (18:45 +0000)]
Document r284330, OpenSSL updated to 1.0.1o.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r283875, chmod, chflags, chown and chgrp recursive
gjb [Thu, 25 Jun 2015 18:45:24 +0000 (18:45 +0000)]
Document r283875, chmod, chflags, chown and chgrp recursive
symlink processing.
Add Multiplay to sponsors.ent.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r283280, several improvements/updates to the HyperV drivers.
gjb [Thu, 25 Jun 2015 18:45:22 +0000 (18:45 +0000)]
Document r283280, several improvements/updates to the HyperV drivers.
Add Microsoft Open Source Technology Center to sponsors.ent.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r283262, boot-time memory test on amd64 platforms is now
gjb [Thu, 25 Jun 2015 18:45:20 +0000 (18:45 +0000)]
Document r283262, boot-time memory test on amd64 platforms is now
disabled by default.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r283242, autofs(5) '-noauto' map addition.
gjb [Thu, 25 Jun 2015 18:45:17 +0000 (18:45 +0000)]
Document r283242, autofs(5) '-noauto' map addition.

Sponsored by: The FreeBSD Foundation

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

8 years agoAdd ScaleEngine, Inc. to sponsors.ent.
gjb [Thu, 25 Jun 2015 18:45:15 +0000 (18:45 +0000)]
Add ScaleEngine, Inc. to sponsors.ent.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r283223, autofs(5) '-media' map.
gjb [Thu, 25 Jun 2015 18:45:13 +0000 (18:45 +0000)]
Document r283223, autofs(5) '-media' map.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r282974, uefisign(8) added.
gjb [Thu, 25 Jun 2015 18:45:11 +0000 (18:45 +0000)]
Document r282974, uefisign(8) added.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r282870, freebsd-update(8) prevents upgrading a system
gjb [Thu, 25 Jun 2015 18:45:09 +0000 (18:45 +0000)]
Document r282870, freebsd-update(8) prevents upgrading a system
with pending (incomplete) updates.

Sponsored by: The FreeBSD Foundation

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

8 years agoDocument r282746, openresolv updated to 3.7.0.
gjb [Thu, 25 Jun 2015 18:45:07 +0000 (18:45 +0000)]
Document r282746, openresolv updated to 3.7.0.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r284780, r284811, r284812:
gjb [Thu, 25 Jun 2015 14:58:50 +0000 (14:58 +0000)]
MFC r284780, r284811, r284812:

 r284780:
  Ensure ASSUME_ALWAYS_YES is set when deleting pkg(8) from the
  DESTDIR, otherwise it can get stuck in ttyin.

 r284811:
  Consider PRERELEASE builds snapshots, in addition to CURRENT
  and STABLE.

 r284812:
  Change the hour:minute delimiter from ':' to '-', since
  the former is an invalid character in EC2 images.

Approved by: re (glebius, insta-MFC)
Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r271651, r271719, r272138, r272457, r272845, r275476, r275518, r275614,
tijl [Thu, 25 Jun 2015 13:01:10 +0000 (13:01 +0000)]
MFC r271651, r271719, r272138, r272457, r272845, r275476, r275518, r275614,
    r275819, r276176, r278154, r278160, r278339, r279127, r279240, r279491,
    r279493, r279856, r283032, r284423, r284426, r284427, r284428

Merge changes to libm from the past 9 months.  This includes improvements
to the Bessel functions and adds the C99 function lgammal.

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

8 years agoMFC r284308: MFV r284042: 1778 Assertion failed: rn->rn_nozpool == B_FALSE
avg [Thu, 25 Jun 2015 08:11:39 +0000 (08:11 +0000)]
MFC r284308: MFV r284042: 1778 Assertion failed: rn->rn_nozpool == B_FALSE

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

8 years agoMFC r284698: Dump additional config bytes for INIT_FIRMWARE_MULTI_ID.
mav [Thu, 25 Jun 2015 07:25:40 +0000 (07:25 +0000)]
MFC r284698: Dump additional config bytes for INIT_FIRMWARE_MULTI_ID.

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

8 years agoMFC r284697: Add logging of executed mailbox command names.
mav [Thu, 25 Jun 2015 07:24:47 +0000 (07:24 +0000)]
MFC r284697: Add logging of executed mailbox command names.

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

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

8 years agoMFC r284540:
mav [Thu, 25 Jun 2015 07:23:35 +0000 (07:23 +0000)]
MFC r284540:
In case of target mode disable at least ISP2532 return invalid zero
ct_rxid value on CTIO completion.  Try to workaround that using tag_id
from the CCB, pointed by still valid ct_syshandle.

I don't know whether this is valid fix or dirty hack, but considering that
alternative is indefinitely stuck command -- it worth trying.

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

8 years agoMFC r274675 (by jhb), r274708:
mav [Thu, 25 Jun 2015 07:22:37 +0000 (07:22 +0000)]
MFC r274675 (by jhb), r274708:
Convert the refire_notify_ack timer from timeout(9) to callout(9).

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

8 years agoMFC r284640: Bring per-port LUN enable/disable code up to date:
mav [Thu, 25 Jun 2015 07:11:48 +0000 (07:11 +0000)]
MFC r284640: Bring per-port LUN enable/disable code up to date:
 - remove last remnants of never implemented multiple targets support;
 - implement missing support for LUN mapping in this area.

Due to existing locking constraints LUN mapping code is practically
unlocked at this point.  Hopefully it is not racy enough to live until
somebody get idea how to call sleeping fronend methods under lock also
taken by the same frontend in non-sleepable context. :(

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

8 years agoMFC r284627: Remove some dead and duplicate LUN enabling code.
mav [Thu, 25 Jun 2015 07:10:51 +0000 (07:10 +0000)]
MFC r284627: Remove some dead and duplicate LUN enabling code.

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

8 years agoMFC r284639: Introduce separate lock for tokens to reduce ctl_lock scope.
mav [Thu, 25 Jun 2015 07:09:39 +0000 (07:09 +0000)]
MFC r284639: Introduce separate lock for tokens to reduce ctl_lock scope.

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

8 years agoMFC r284641:
mav [Thu, 25 Jun 2015 07:08:46 +0000 (07:08 +0000)]
MFC r284641:
Fix REPORT LUNS command output for the case when same LUN mapped to same
port several times.  While it is unusual configuration, it is not illegal.

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

8 years agoMFC r284622: Remove device queue freeze handling and replace it with dummy.
mav [Thu, 25 Jun 2015 07:07:32 +0000 (07:07 +0000)]
MFC r284622: Remove device queue freeze handling and replace it with dummy.

At this point CTL has no known use case for device queue freezes.
Same time existing (considered to be broken) code was found to cause
modify-after-free issues.

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

8 years agoMFC r284541:
mav [Thu, 25 Jun 2015 07:06:24 +0000 (07:06 +0000)]
MFC r284541:
Change ATIO/INOT counting to prevent periph destruction while requests
are still running inside CTL.

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

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

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

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

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

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

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

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

8 years agoMFC r284237,284277:
delphij [Wed, 24 Jun 2015 19:58:14 +0000 (19:58 +0000)]
MFC r284237,284277:

file 5.23.

Relnotes: yes

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

8 years agoMFC r284512: Properly handle locking on the ARP protocol request sending.
eri [Wed, 24 Jun 2015 19:06:54 +0000 (19:06 +0000)]
MFC r284512: Properly handle locking on the ARP protocol request sending.

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

8 years agoMFC r284683:
gjb [Wed, 24 Jun 2015 18:58:42 +0000 (18:58 +0000)]
MFC r284683:
 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.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r284660, r284676:
gjb [Wed, 24 Jun 2015 18:56:28 +0000 (18:56 +0000)]
MFC r284660, r284676:

 r284660:
  Remove the Azure-local vm_extra_create_disk(), since we no longer
  need qemu-img to convert the final VHD image to an Azure-compatible
  format.

  Although the waagent utility is installed from ports, create the
  symlink to /usr/sbin, pending investigation on where this is
  hard-coded, so it can be reported upstream.

 r284676:
  Append the hour and minute to the snapshot suffix for EC2
  AMIs and Azure VM images.  This is particularly helpful for
  testing to avoid name collisions, but also useful for cases
  where a necessary rebuild is done before the date changes.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r284269, r284270, r284655, r284656, r284658:
marcel [Wed, 24 Jun 2015 18:40:34 +0000 (18:40 +0000)]
MFC r284269, r284270, r284655, r284656, r284658:
VHD fixes for Microsoft Azure:
1.  Round the image size to the VHD geometry and then round to a
    multiple of 1MB.
2.  Change the creator OS from "FBSD" to "Wi2k". It matters...
3.  Bump the VHD tool version and the mkimg version.

Approved by: re (gjb)

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

8 years agoMFC r284306: MFV r284036: 5961 Fix stack overflow in zfs_create_fs
avg [Wed, 24 Jun 2015 14:41:54 +0000 (14:41 +0000)]
MFC r284306: MFV r284036: 5961 Fix stack overflow in zfs_create_fs

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

8 years agoMFC r284303: MFV r283534: 5515 dataset user hold doesn't reject empty tags
avg [Wed, 24 Jun 2015 14:39:26 +0000 (14:39 +0000)]
MFC r284303: MFV r283534: 5515 dataset user hold doesn't reject empty tags

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

8 years agoMFC r284301: MFV r284040: check that datasets are snapshots
avg [Wed, 24 Jun 2015 14:37:55 +0000 (14:37 +0000)]
MFC r284301: MFV r284040: check that datasets are snapshots

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

8 years agoMFC r284309: zfs clone should not mount the clone if canmount == noauto
avg [Wed, 24 Jun 2015 14:30:04 +0000 (14:30 +0000)]
MFC r284309: zfs clone should not mount the clone if canmount == noauto

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

8 years agoMFH: r284250
brueffer [Wed, 24 Jun 2015 12:21:25 +0000 (12:21 +0000)]
MFH: r284250

Consistently use trailing whitespace in passphrase prompts.

PR: 193496
Submitted by: Fabian Keil

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

8 years agoMFH: r284249
brueffer [Wed, 24 Jun 2015 12:19:11 +0000 (12:19 +0000)]
MFH: r284249

Correct Hawaii's admission day.

PR: 192651

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

8 years agoFix r284612: As pointed out by jhb, in stable branches, if_baudrate
gallatin [Tue, 23 Jun 2015 22:31:04 +0000 (22:31 +0000)]
Fix r284612:  As pointed out by jhb, in stable branches, if_baudrate
is 32b on 32b platforms.  So rather than a simple MFC of r284612,
we need to use if_initbaudrate() to properly express a 40Gb speed.

Spotted by: jhb
Sponsored by: Netflix

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

8 years agoRevert part of the r283303 (by jhb):
kib [Tue, 23 Jun 2015 06:30:36 +0000 (06:30 +0000)]
Revert part of the r283303 (by jhb):

Revert MFC of r270223, which bumped MAXCPU on amd64 from 64 to 256.
The cpuset_getaffinity(2) and cpuset_setaffinity(2) check minimum set
size, which now fails for binaries compiled on 10.0 with MAXCPU == 64.

Submitted by: jhb
PR:   200802

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

8 years agoMFC r284609: Interim fix for "Login not found" error.
dteske [Tue, 23 Jun 2015 04:17:12 +0000 (04:17 +0000)]
MFC r284609: Interim fix for "Login not found" error.

PR: bin/196514

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

8 years agoMFC (mergeinfo only) obsolete revisions 278464-278465.
dteske [Tue, 23 Jun 2015 04:15:23 +0000 (04:15 +0000)]
MFC (mergeinfo only) obsolete revisions 278464-278465.

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

8 years agoMFC r283863:
dteske [Tue, 23 Jun 2015 04:03:54 +0000 (04:03 +0000)]
MFC r283863:
Fix a debug statement. Only the callback function (performing the
incrementing of dpv_overall_oread) knows what its purpose is (and
often times it was bytes, not lines).

MFC r283975 (araujo):
Clean up unused variable and silence clang warnings.

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

8 years agoMFC r284672 (antoine):
dteske [Tue, 23 Jun 2015 03:56:05 +0000 (03:56 +0000)]
MFC r284672 (antoine):
Install version.4th.8 again
It was disconnected from installation in r281081, but was never removed
from the tree or added to ObsoleteFiles.inc

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

8 years agoMFC r284612: Fix a typo
gallatin [Mon, 22 Jun 2015 19:37:04 +0000 (19:37 +0000)]
MFC r284612:  Fix a typo

Sponsored by: Netflix

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

8 years agoMFC: r284578
jkim [Mon, 22 Jun 2015 16:24:27 +0000 (16:24 +0000)]
MFC: r284578

Fix a typo.

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

8 years agoWhen using KTRACE, set a variable to the appropriate value and don't
tuexen [Mon, 22 Jun 2015 06:06:38 +0000 (06:06 +0000)]
When using KTRACE, set a variable to the appropriate value and don't
leave it initialized at NULL.
Since the affected functions where moved from sys/kern/uipc_syscalls.c
to sys/netinet/sctp_syscalls.c it was not possible to MFC r284613.
Therefore, this is a direct commit with the corresponding changes of r284613.

Reported by: Coverity
CID: 10180581018060

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

8 years agoMFC r284604:
tuexen [Mon, 22 Jun 2015 05:36:08 +0000 (05:36 +0000)]
MFC r284604:
Don't leak sockets.

Reported by: Coverity
CID: 1306785

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

8 years agoMFC r284596:
tuexen [Mon, 22 Jun 2015 05:34:13 +0000 (05:34 +0000)]
MFC r284596:
When setting the primary address, return an error whenever it fails.

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

8 years agoMFC r284547:
tuexen [Mon, 22 Jun 2015 05:31:29 +0000 (05:31 +0000)]
MFC r284547:
Fix a bug reported by coverity. Since AF_UNIX sockets don't
have multiple addresses, the problem didn't show up during testing.

Reported by: Coverity
CID: 1306787

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

8 years agoMFC r284617:
gjb [Mon, 22 Jun 2015 00:54:47 +0000 (00:54 +0000)]
MFC r284617:
 Fix path to waagent.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r283141:
trasz [Sun, 21 Jun 2015 07:00:54 +0000 (07:00 +0000)]
MFC r283141:

Remove the warning about invalid PE checksum; apparently nothing
cares about those checksums anyway.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r283285:
trasz [Sun, 21 Jun 2015 06:54:54 +0000 (06:54 +0000)]
MFC r283285:

Advertise ctlstat(8) a little better.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r281929:
trasz [Sun, 21 Jun 2015 06:49:44 +0000 (06:49 +0000)]
MFC r281929:

Fix growfs(8) build with debug enabled (make -DGFSDBG).

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r282238:
trasz [Sun, 21 Jun 2015 06:44:32 +0000 (06:44 +0000)]
MFC r282238:

Remove spurious period.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r282236:
trasz [Sun, 21 Jun 2015 06:40:43 +0000 (06:40 +0000)]
MFC r282236:

Make rctl(8) more user-friendly when RACCT/RCTL is disabled for some reason.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r282857:
trasz [Sun, 21 Jun 2015 06:36:54 +0000 (06:36 +0000)]
MFC r282857:

Document RCTL events in devd.conf(5).

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r282213:
trasz [Sun, 21 Jun 2015 06:28:26 +0000 (06:28 +0000)]
MFC r282213:

Add kern.racct.enable tunable and RACCT_DISABLED config option.
The point of this is to be able to add RACCT (with RACCT_DISABLED)
to GENERIC, to avoid having to rebuild the kernel to use rctl(8).

MFC r282901:

Build GENERIC with RACCT/RCTL support by default.  Note that it still
needs to be enabled by adding "kern.racct.enable=1" to /boot/loader.conf.

Note those two are MFC-ed together, because the latter one changes the
name of RACCT_DISABLED option to RACCT_DEFAULT_TO_DISABLED.  Should have
committed the renaming separately...

Relnotes: yes
Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r284567:
gjb [Sun, 21 Jun 2015 04:39:34 +0000 (04:39 +0000)]
MFC r284567:
  Add Makefile.azure, used to upload VHD images to the
  Microsoft Azure environment, similar to the EC2 AMIs.

Sponsored by: The FreeBSD Foundation

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

8 years agoMFC r284127:
markj [Sun, 21 Jun 2015 00:36:02 +0000 (00:36 +0000)]
MFC r284127:
witness: don't warn about matrix inconsistencies without holding the mutex

Lock order checking is done without the witness mutex held, so multiple
threads that are racing to establish a new lock order may read matrix
entries that are in an inconsistent state. Don't print a warning in this
case, but instead just redo the check after taking the witness lock.

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

8 years agoMFC: r284531
rmacklem [Sat, 20 Jun 2015 23:15:57 +0000 (23:15 +0000)]
MFC: r284531
Document that a forced dismount of an NFSv3 mount when the
NLM (rpc.lockd) is running can crash the system.
Unfortunately this is not easy to fix, but I have left
PR#200585 open.

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

8 years agoMFC r281820:
trasz [Sat, 20 Jun 2015 15:55:53 +0000 (15:55 +0000)]
MFC r281820:

Add hint about "volmode=dev" to ctl.conf(5).

Sponsored by: The FreeBSD Foundation

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

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

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

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

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

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

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