]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoPhabricator: enable "history.immutable":
eadler [Thu, 30 Apr 2015 00:27:53 +0000 (00:27 +0000)]
Phabricator: enable "history.immutable":
With certain arc workflows leaving history.immutable as false
results in using the upstream template instead of our usual
commit template.  Since the git workflow issues alluded to in my
prior commit message can be worked around, set history.immutable
once again.

9 years agoFix native-xtools breakage when building a gcc enabled target on a clang
sbruno [Thu, 30 Apr 2015 00:17:32 +0000 (00:17 +0000)]
Fix native-xtools breakage when building a gcc enabled target on a clang
enabled host.  Build a one-off gperf and put it in the PATH for the rest
of the target so the ONE call to gperf by the gcc build picks it up and
DTRT.

Reviewed by: imp

9 years agoRe-implement RTC current time calculation to eliminate the possibility of
neel [Wed, 29 Apr 2015 23:44:28 +0000 (23:44 +0000)]
Re-implement RTC current time calculation to eliminate the possibility of
losing time.

The problem with the earlier implementation was that the uptime value
used by 'vrtc_curtime()' could be different than the uptime value when
'vrtc_time_update()' actually updated 'base_uptime'.

Fix this by calculating and updating the (rtctime, uptime) tuple together.

MFC after: 2 weeks

9 years agoSave errno from close override.
oshogbo [Wed, 29 Apr 2015 22:59:44 +0000 (22:59 +0000)]
Save errno from close override.

Approved by: pjd (mentor)

9 years agoRemove the nvlist_.*[fv] functions.
oshogbo [Wed, 29 Apr 2015 22:57:04 +0000 (22:57 +0000)]
Remove the nvlist_.*[fv] functions.

Those functions are problematic, because there is no way to report
memory allocation problems without complicating the API, so we can
either abort or potentially return invalid results. None of which is
acceptable.

In most cases the caller knows the size of the name, so he can allocate
buffer on the stack and use snprintf(3) to prepare the name.

After some discussion the conclusion is to removed those functions,
which also simplifies the API.

Discussed with: pjd, rstone
Approved by: pjd (mentor)

9 years agoBump __FreeBSD_version for smb(4) changes in r281985
grembo [Wed, 29 Apr 2015 22:50:41 +0000 (22:50 +0000)]
Bump __FreeBSD_version for smb(4) changes in r281985

Differential Revision: https://reviews.freebsd.org/D2398
Reviewed by: bapt, flo
Approved by: bapt, flo

9 years agoObsolute /usr/bin/gperf for non-gcc enabled targets.
sbruno [Wed, 29 Apr 2015 22:46:30 +0000 (22:46 +0000)]
Obsolute /usr/bin/gperf for non-gcc enabled targets.

Leave it as valid for mips/sparc64 gcc enabled targets.

Reviewed by: imp@

9 years agoRemove the use of nvlist_.*[fv] functions from tests.
oshogbo [Wed, 29 Apr 2015 22:46:18 +0000 (22:46 +0000)]
Remove the use of nvlist_.*[fv] functions from tests.

Approved by: pjd (mentor)

9 years agoRemove the use of nvlist_.*[vf] functions from casper and replace
oshogbo [Wed, 29 Apr 2015 22:33:53 +0000 (22:33 +0000)]
Remove the use of nvlist_.*[vf] functions from casper and replace
them with snprintf(3). Assert the results of snprintf(3).

Approved by: pjd (mentor)

9 years agoRemove the use of nvlist_.*[vf] functions from libcapsicum and replace
oshogbo [Wed, 29 Apr 2015 22:19:40 +0000 (22:19 +0000)]
Remove the use of nvlist_.*[vf] functions from libcapsicum and replace
them with snprintf(3). Assert the results of snprintf(3).

Approved by: pjd (mentor)

9 years agoRemove recursion from descriptor-related functions.
oshogbo [Wed, 29 Apr 2015 22:15:02 +0000 (22:15 +0000)]
Remove recursion from descriptor-related functions.

Approved by: pjd (mentor)

9 years agoNvlist functionality is not used within interrupt context, so we should
oshogbo [Wed, 29 Apr 2015 22:00:26 +0000 (22:00 +0000)]
Nvlist functionality is not used within interrupt context, so we should
use M_WAITOK to allocate memory.

Approved by: pjd (mentor)

9 years agoAlways use the nv_malloc macro instead of malloc(3).
oshogbo [Wed, 29 Apr 2015 21:54:34 +0000 (21:54 +0000)]
Always use the nv_malloc macro instead of malloc(3).

Approved by: pjd (mentor)

9 years agoStyle fixes.
oshogbo [Wed, 29 Apr 2015 21:50:04 +0000 (21:50 +0000)]
Style fixes.

Approved by: pjd (mentor)

9 years agovt: fix vt_fb_bitblt_bitmap mask corruption
emaste [Wed, 29 Apr 2015 20:30:11 +0000 (20:30 +0000)]
vt: fix vt_fb_bitblt_bitmap mask corruption

Previously the mask wrapped when one or more of the mask bytes extended
past the right edge of the window. Simplify the logic and use the same
byte offset and bit in both the pattern and mask.

PR: 199648
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2360

9 years agoRevert r281889:
pfg [Wed, 29 Apr 2015 20:08:03 +0000 (20:08 +0000)]
Revert r281889:

The change would appease the static analyzers but it is pretty much a
no-op. I need to trust static analyzers much less, especially for the
kernel.

Requested by: jkim

9 years agoRemove the #ifdef DEBUG code, which is not compilable on 64bit
kib [Wed, 29 Apr 2015 19:47:18 +0000 (19:47 +0000)]
Remove the #ifdef DEBUG code, which is not compilable on 64bit
architectures.  It seems to be an overlooked chunk in the r15645.

PR: 199767
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix typo. It should have been atf_tc_skip, not atf_skip
ngie [Wed, 29 Apr 2015 19:08:11 +0000 (19:08 +0000)]
Fix typo. It should have been atf_tc_skip, not atf_skip

Reported by: many, Jenkins
Pointyhat to: ngie
MFC after: 4 days

9 years agoBrief demo script showing the various values that can be read via the new SIFTR stati...
gnn [Wed, 29 Apr 2015 18:07:58 +0000 (18:07 +0000)]
Brief demo script showing the various values that can be read via the new SIFTR statically defined tracepoint (SDT).

Reviewed by: bz, markj

9 years agoDon't free mbufs when stopping an interface in netmap mode.
jhb [Wed, 29 Apr 2015 17:48:25 +0000 (17:48 +0000)]
Don't free mbufs when stopping an interface in netmap mode.

Currently if you ifconfig down a vtnet interface while it is being used
via netmap, the kernel panics due to trying to treat the cookie values
in the virtio rings as mbufs to be freed. When netmap is enabled, these
cookie values are pointers to something else.

Note that other netmap-aware drivers don't seem to need this as they
store the mbuf pointers in the software rings that mirror the hardware
descriptor rings, and since netmap doesn't touch those, the software
state always has NULL mbuf pointers causing the loops to free mbufs to
not do anything. However, vtnet reuses the same state area for both
netmap and non-netmap mode, so it needs to explicitly avoid looking at
the rings and treating the cookie values as mbufs if netmap is
enabled.

Differential Revision: https://reviews.freebsd.org/D2348
Reviewed by: adrian, bryanv, luigi
MFC after: 1 week
Sponsored by: Norse Corp, Inc.

9 years agoBrief demo script showing the various values that can be read via
gnn [Wed, 29 Apr 2015 17:19:55 +0000 (17:19 +0000)]
Brief demo script showing the various values that can be read via
the new SIFTR statically defined tracepoint (SDT).

Differential Revision: https://reviews.freebsd.org/D2387
Reviewed by: bz, markj

9 years agoRevert r282227. It is clearly incorrect as it frees an object that is still
scottl [Wed, 29 Apr 2015 17:18:41 +0000 (17:18 +0000)]
Revert r282227.  It is clearly incorrect as it frees an object that is still
referenced.  I think that there does exist an unlikely edge case for a
memory leak, but only if a driver is incorrectly written and specifies no
valid range of targets to scan.  That can be fixed in a follow-up commit.

Obtained from: Netflix, Inc.

9 years agoRemove spurious period.
trasz [Wed, 29 Apr 2015 17:01:28 +0000 (17:01 +0000)]
Remove spurious period.

MFC after: 1 month
Sponsored by: International OCD Foun^W^W^WThe FreeBSD Foundation

9 years agoFix typo
brd [Wed, 29 Apr 2015 16:52:43 +0000 (16:52 +0000)]
Fix typo

9 years agoMake rctl(8) more user-friendly when RACCT/RCTL is disabled for some reason.
trasz [Wed, 29 Apr 2015 16:41:49 +0000 (16:41 +0000)]
Make rctl(8) more user-friendly when RACCT/RCTL is disabled for some reason.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation

9 years agoFix mis usage of ms(7) macros
bapt [Wed, 29 Apr 2015 16:41:48 +0000 (16:41 +0000)]
Fix mis usage of ms(7) macros

Submitted by: heirloom doctools upstream

9 years agoDocument r280297, OpenSSL updated to version 1.0.1m.
gjb [Wed, 29 Apr 2015 16:15:26 +0000 (16:15 +0000)]
Document r280297, OpenSSL updated to version 1.0.1m.

Sponsored by: The FreeBSD Foundation

9 years agoImprove support for blacklisting bad memory locations. The user can supply
scottl [Wed, 29 Apr 2015 15:57:14 +0000 (15:57 +0000)]
Improve support for blacklisting bad memory locations.  The user can supply
a text file with a list of physical memory addresses to exclude, and have it
loaded at boot time via the provided example in loader.conf.  The tunable
'vm.blacklist' remains, but using an external file means that there's no
practical limit to the size of the list.  This change also improves the
scanning algorithm for processing the list, scanning the list only once
instead of scanning it for every page in the system.  Both the sysctl and
the file can be unsorted and contain duplicates so long as each entry is
numeric (decimal or hex) and is separated by a space, comma, or newline
character.  The sysctl 'vm.page_blacklist' is now provided to report what
memory locations were successfully excluded.

Reviewed by: imp, emax
Obtained from: Netflix, Inc.
MFC after: 3 days

9 years agoFix memory leak in scsi_scan_bus()
pfg [Wed, 29 Apr 2015 15:46:57 +0000 (15:46 +0000)]
Fix memory leak in scsi_scan_bus()

CID: 1007770
PR: 199671

9 years agoPlug memory leaks in kbdmux(4) (take 2)
pfg [Wed, 29 Apr 2015 15:41:19 +0000 (15:41 +0000)]
Plug memory leaks in kbdmux(4) (take 2)

This is a fix to the previous attempt in r281889, which some (most?)
keyboards.

Discussed with: emaste, jkim

Found by: clang static analyzer
CID: 1007072
CID: 1007073
CID: 1007074

9 years agoAdd pmap_mapbios and pmap_unmapbios. These will be needed to support acpi.
andrew [Wed, 29 Apr 2015 15:00:43 +0000 (15:00 +0000)]
Add pmap_mapbios and pmap_unmapbios. These will be needed to support acpi.

Sponsored by: The FreeBSD Foundation

9 years agoCorrect date typo in UPDATING
smh [Wed, 29 Apr 2015 14:17:40 +0000 (14:17 +0000)]
Correct date typo in UPDATING

MFC after: 1 month
X-MFC-With: r282208
Sponsored by: Multiplay

9 years agoRemove never written documentation
bapt [Wed, 29 Apr 2015 13:30:04 +0000 (13:30 +0000)]
Remove never written documentation

9 years agoExplicitly declare to not print the current date
bapt [Wed, 29 Apr 2015 12:57:55 +0000 (12:57 +0000)]
Explicitly declare to not print the current date

Found with heirloom-doctools which uses the original AT&T macros

9 years agovt_vga: add a timeout while waiting for vertical retrace
royger [Wed, 29 Apr 2015 12:53:41 +0000 (12:53 +0000)]
vt_vga: add a timeout while waiting for vertical retrace

On one of my systems FreeBSD will fail to boot because vt_vga gets stuck
waiting for the vertical retrace if there's no monitor attached. Fix this by
adding a timeout and exiting if the vertical retrace times out.

Sponsored by: Citrix Systems R&D
Reviewed by: emaste, dumbbell
Differential Revision: https://reviews.freebsd.org/D2397

9 years agoMake it possible to statically link SIFTR into the kernel
gnn [Wed, 29 Apr 2015 12:37:45 +0000 (12:37 +0000)]
Make it possible to statically link SIFTR into the kernel
as a new option.

Reviewed by: bz
Discussed with: lstewart
MFC after: 2 weeks

9 years agoRemove oldnfs leftovers from mountd(8).
trasz [Wed, 29 Apr 2015 12:33:00 +0000 (12:33 +0000)]
Remove oldnfs leftovers from mountd(8).

Reviewed by: rmacklem@
Sponsored by: The FreeBSD Foundation

9 years agoAdd kern.racct.enable tunable and RACCT_DISABLED config option.
trasz [Wed, 29 Apr 2015 10:23:02 +0000 (10:23 +0000)]
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).

Differential Revision: https://reviews.freebsd.org/D2369
Reviewed by: kib@
MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation

9 years agoMicrosoft vmbus, storage and other related driver enhancements for HyperV.
whu [Wed, 29 Apr 2015 10:12:34 +0000 (10:12 +0000)]
Microsoft vmbus, storage and other related driver enhancements for HyperV.
    - Vmbus multi channel support.
    - Vector interrupt support.
    - Signal optimization.
    - Storvsc driver performance improvement.
    - Scatter and gather support for storvsc driver.
    - Minor bug fix for KVP driver.
Thanks royger, jhb and delphij from FreeBSD community for the reviews
and comments. Also thanks Hovy Xu from NetApp for the contributions to
the storvsc driver.

PR:     195238
Submitted by:   whu
Reviewed by:    royger, jhb, delphij
Approved by:    royger
MFC after:      2 weeks
Relnotes:       yes
Sponsored by:   Microsoft OSTC

9 years agoATF_REQUIRE_KERNEL_MODULE: use atf_skip, not ATF_REQUIRE_MSG so the testcase
ngie [Wed, 29 Apr 2015 08:56:56 +0000 (08:56 +0000)]
ATF_REQUIRE_KERNEL_MODULE: use atf_skip, not ATF_REQUIRE_MSG so the testcase
no longer bombs out
PLAIN_REQUIRE_KERNEL_MODULE: use printf + _exit, no err so the testcase no
longer bombs out if it prints to stderr

MFC after: 5 days

9 years agoConstify some const parameters in seq.h.
adrian [Wed, 29 Apr 2015 04:08:17 +0000 (04:08 +0000)]
Constify some const parameters in seq.h.

The NUMA work I'm doing uses const for read-only parameters, which requires
the seq.h API to also use const for read-only parameters.

Reviewed by: mjg

9 years agoEmulate the 'bit test' instruction. Windows 7 uses 'bit test' to check the
neel [Wed, 29 Apr 2015 02:01:46 +0000 (02:01 +0000)]
Emulate the 'bit test' instruction. Windows 7 uses 'bit test' to check the
'Delivery Status' bit in APIC ICR register.

Reported by: Leon Dang (ldang@nahannisys.com)
MFC after: 2 weeks

9 years agoStandardise chmod, chflags, chown and chgrp recursive symlink processing
smh [Wed, 29 Apr 2015 00:49:00 +0000 (00:49 +0000)]
Standardise chmod, chflags, chown and chgrp recursive symlink processing

chmod, chflags, chgrp, chmod and chown now affect symlinks in -R mode as
defined in symlink(7); previously symlinks were silently ignored.

Differential Revision: https://reviews.freebsd.org/D2316
Reviewed by: jilles
MFC after: 1 month
Relnotes: yes
Sponsored by: Multiplay

9 years agoOnly include CWARNFLAGS once to reduce command line size from ~1400
imp [Tue, 28 Apr 2015 23:54:55 +0000 (23:54 +0000)]
Only include CWARNFLAGS once to reduce command line size from ~1400
characters to "only" ~900 for kernel builds.

9 years agoImplement the century byte in the RTC. Some guests require this field to be
neel [Tue, 28 Apr 2015 23:44:47 +0000 (23:44 +0000)]
Implement the century byte in the RTC. Some guests require this field to be
properly set.

Reported by: Leon Dang (ldang@nahannisys.com)
MFC after: 2 weeks

9 years agoFix misuse of input argument in traverse_visitbp
smh [Tue, 28 Apr 2015 22:46:58 +0000 (22:46 +0000)]
Fix misuse of input argument in traverse_visitbp

In traverse_visitbp(), the input argument dnp is modified in the middle
to point to a temporary buffer. Originally this doesn't matter, because
no user of TRAVERSE_POST dereferences it. However, in fbeddd6 a piece of
code is added dereferencing dnp after the modification, creating a possible
bug.

We fix this by creating a new local variable cdnp for the DMU_OT_DNODE case,
so we don't modify the input argument. Also we introduce different local
variables in the DMU_OT_OBJSET case to prevent confusion between the input
argument.

Obtained from: zfsonlinux (a585f2f844ed3d4270221fed88f5e494eb55d932)
MFC after: 2 weeks
Sponsored by: Multiplay

9 years agoRefine the entry regarding devfs(5) timestamps, as of
gjb [Tue, 28 Apr 2015 21:57:52 +0000 (21:57 +0000)]
Refine the entry regarding devfs(5) timestamps, as of
r280949, devfs(5) updates default to seconds precision.

Submitted by: jilles
Sponsored by: The FreeBSD Foundation

9 years agolibgomp: bring initial BSD support from upstream.
pfg [Tue, 28 Apr 2015 21:32:27 +0000 (21:32 +0000)]
libgomp: bring initial BSD support from upstream.

Initial support for FreeBSD specific routines related to counting
online processors and dynamic load balancing.

Fix "detection" of the <sys/sysctl> header which upstream seems to have
done wrong.

Obtained from: GCC pre-4.4 branch (rev. 140497; LGPLv2.1+)

9 years agoo Fix bus_space_read_multi functions: correct increment value
br [Tue, 28 Apr 2015 20:33:31 +0000 (20:33 +0000)]
o Fix bus_space_read_multi functions: correct increment value
o Use these functions for streaming

Tested with ATA (PCI bus) / Gem5 simulator

Reviewed by: andrew
Sponsored by: HEIF5

9 years agoFollowup to r282083: add GCC_BOOTSTRAP to the list of broken options on arm64
ngie [Tue, 28 Apr 2015 19:15:28 +0000 (19:15 +0000)]
Followup to r282083: add GCC_BOOTSTRAP to the list of broken options on arm64

Differential Revision: https://reviews.freebsd.org/D2379
Reviewed by: imp

9 years agoDocument r281387, hptnr(4) driver updated to version 1.1.1.
gjb [Tue, 28 Apr 2015 18:11:36 +0000 (18:11 +0000)]
Document r281387, hptnr(4) driver updated to version 1.1.1.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281396, ACPI update to 20150410.
gjb [Tue, 28 Apr 2015 18:11:34 +0000 (18:11 +0000)]
Document r281396, ACPI update to 20150410.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280870, fix directory inclusion when '--one-file-system'
gjb [Tue, 28 Apr 2015 18:11:32 +0000 (18:11 +0000)]
Document r280870, fix directory inclusion when '--one-file-system'
is specified.

Sponsored by: The FreeBSD Foundation

9 years agoUpdate the svn revision marker.
gjb [Tue, 28 Apr 2015 18:11:30 +0000 (18:11 +0000)]
Update the svn revision marker.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281845, file verification support in MAC.
gjb [Tue, 28 Apr 2015 18:11:27 +0000 (18:11 +0000)]
Document r281845, file verification support in MAC.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281713, hwpmc(4) support for Freescale e500 core.
gjb [Tue, 28 Apr 2015 18:11:25 +0000 (18:11 +0000)]
Document r281713, hwpmc(4) support for Freescale e500 core.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281439, support for the 'virt' QEMU SoC.
gjb [Tue, 28 Apr 2015 18:11:23 +0000 (18:11 +0000)]
Document r281439, support for the 'virt' QEMU SoC.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281311, disallow directory traversal in ar(1).
gjb [Tue, 28 Apr 2015 18:11:21 +0000 (18:11 +0000)]
Document r281311, disallow directory traversal in ar(1).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281261, DTrace support for the Book-E.
gjb [Tue, 28 Apr 2015 18:11:19 +0000 (18:11 +0000)]
Document r281261, DTrace support for the Book-E.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281130, gcc attributes added to standard include headers.
gjb [Tue, 28 Apr 2015 18:11:17 +0000 (18:11 +0000)]
Document r281130, gcc attributes added to standard include headers.

Sponsored by: The FreeBSD Foundation

9 years agoFix a whitespace nit.
gjb [Tue, 28 Apr 2015 18:11:14 +0000 (18:11 +0000)]
Fix a whitespace nit.

Sponsored by: The FreeBSD Foundation

9 years agoTypo/spelling fixes.
gjb [Tue, 28 Apr 2015 18:11:12 +0000 (18:11 +0000)]
Typo/spelling fixes.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280971, support for RFC6864.
gjb [Tue, 28 Apr 2015 18:11:10 +0000 (18:11 +0000)]
Document r280971, support for RFC6864.
Add Netflix and Nginx to the sponsors.ent file.

Sponsored by: The FreeBSD Foundation

9 years agoFix revision for GELI prompt support in the loader.
gjb [Tue, 28 Apr 2015 18:11:07 +0000 (18:11 +0000)]
Fix revision for GELI prompt support in the loader.
The initial commit was reverted (without a useful commit
message), and committed again as r281616.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280938, GELI passphrase prompt support added to the
gjb [Tue, 28 Apr 2015 18:11:05 +0000 (18:11 +0000)]
Document r280938, GELI passphrase prompt support added to the
boot loader.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280932, elftoolchain update to version 3179.
gjb [Tue, 28 Apr 2015 18:11:03 +0000 (18:11 +0000)]
Document r280932, elftoolchain update to version 3179.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280930, several RPC fixes.
gjb [Tue, 28 Apr 2015 18:11:00 +0000 (18:11 +0000)]
Document r280930, several RPC fixes.
Add MIT AI Lab to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoPartially document r280859, readelf(1) is now switched to the ELF
gjb [Tue, 28 Apr 2015 18:10:58 +0000 (18:10 +0000)]
Partially document r280859, readelf(1) is now switched to the ELF
toolchain version.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280308, devfs(5) timestamp updates for read/write operations
gjb [Tue, 28 Apr 2015 18:10:55 +0000 (18:10 +0000)]
Document r280308, devfs(5) timestamp updates for read/write operations
is now disabled by default.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280259, initial support for arm64/aarch64.
gjb [Tue, 28 Apr 2015 18:10:53 +0000 (18:10 +0000)]
Document r280259, initial support for arm64/aarch64.
Add arch.arm64 entity to release.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r280183, drm update to match Linux 3.8.13.
gjb [Tue, 28 Apr 2015 18:10:50 +0000 (18:10 +0000)]
Document r280183, drm update to match Linux 3.8.13.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r279957, DSM TRIM support for virtual AHCI disks.
gjb [Tue, 28 Apr 2015 18:10:48 +0000 (18:10 +0000)]
Document r279957, DSM TRIM support for virtual AHCI disks.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281316, xz(1) update to version 5.2.1.
gjb [Tue, 28 Apr 2015 18:10:46 +0000 (18:10 +0000)]
Document r281316, xz(1) update to version 5.2.1.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281373, nvi(1) update to version 2.1.3.
gjb [Tue, 28 Apr 2015 18:10:44 +0000 (18:10 +0000)]
Document r281373, nvi(1) update to version 2.1.3.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281806, wpa_supplicant(8)/hostapd(8) update to version 2.4.
gjb [Tue, 28 Apr 2015 18:10:41 +0000 (18:10 +0000)]
Document r281806, wpa_supplicant(8)/hostapd(8) update to version 2.4.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r281812, make(1) update to version 20150418.
gjb [Tue, 28 Apr 2015 18:10:39 +0000 (18:10 +0000)]
Document r281812, make(1) update to version 20150418.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r282089, unbound(8) update to 1.5.3.
gjb [Tue, 28 Apr 2015 18:10:37 +0000 (18:10 +0000)]
Document r282089, unbound(8) update to 1.5.3.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r279122, netstat(1) updated to use libxo(3).
gjb [Tue, 28 Apr 2015 18:10:35 +0000 (18:10 +0000)]
Document r279122, netstat(1) updated to use libxo(3).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273562, libxo(3) import.
gjb [Tue, 28 Apr 2015 18:10:32 +0000 (18:10 +0000)]
Document r273562, libxo(3) import.
Add Juniper Networks to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDon't add arm64 to universe builds if the user provided a TARGETS list
emaste [Tue, 28 Apr 2015 17:13:05 +0000 (17:13 +0000)]
Don't add arm64 to universe builds if the user provided a TARGETS list

Differential Revision: https://reviews.freebsd.org/D2375
Reported by: andrew
Reviewed by: andrew, imp
Sponsored by: The FreeBSD Foundation

9 years agoFix panic introduced by r282070.
melifaro [Tue, 28 Apr 2015 17:05:55 +0000 (17:05 +0000)]
Fix panic introduced by r282070.
Arm friendly KASSERT() to ease debug of similar crashes.

Submitted by: Olivier Cochard-LabbĂ©

9 years agoAllow the arm64 config file to define SOCDEV_PA and SOCDEV_VA that may be
andrew [Tue, 28 Apr 2015 17:02:43 +0000 (17:02 +0000)]
Allow the arm64 config file to define SOCDEV_PA and SOCDEV_VA that may be
used in locore.S to map an extra range when enabling the MMU.

9 years agoOnly enable the hpet driver on x86 hardware, it doesn't exist on arm64.
andrew [Tue, 28 Apr 2015 16:51:48 +0000 (16:51 +0000)]
Only enable the hpet driver on x86 hardware, it doesn't exist on arm64.

Sponsored by: The FreeBSD Foundation

9 years agoMFV r282150
pfg [Tue, 28 Apr 2015 16:47:56 +0000 (16:47 +0000)]
MFV r282150
libgomp: Update to version 4.3.5.

This is a partial revert of r282115, to bring the fromal upstream
libgomp from GCC 4.3.5 Release under LGPLv2.1+.

This is only brought to ease the ongoing development of the CPU
affinity support.

This shall not be MFC'd.

9 years agoFix pmap_dcache_wb_pou in the new armv6 pmap to correctly achieve icache
andrew [Tue, 28 Apr 2015 16:47:34 +0000 (16:47 +0000)]
Fix pmap_dcache_wb_pou in the new armv6 pmap to correctly achieve icache
consistency from ptrace.

PR: 199739
Submitted by: Jurgen Weiss <weiss at uni-mainz.de> (original version)
Submitted by: Svatopluk Kraus <onwahe at gmail.com>

9 years agoBring updated versions of libcpp and libgomp.
pfg [Tue, 28 Apr 2015 16:28:29 +0000 (16:28 +0000)]
Bring updated versions of libcpp and libgomp.

While GCC 4.3 changed license, the library components remained under
LGPLv2.1 all the during all the existence of the branch.
From gcclibs, only libcpp and libgomp have some value for us in the base
gcc 4.2.1: bring updated versions from GCC 4.3.5 as reference as we have
already been including some of the fixes.

These not expected to become part of any FreeBSD release.

9 years agoThere may not be an FACS table, check for this before accessing it.
andrew [Tue, 28 Apr 2015 16:06:58 +0000 (16:06 +0000)]
There may not be an FACS table, check for this before accessing it.

Sponsored by: The FreeBSD Foundation

9 years agoFix CROCHETBRANCH, forgotten in r280640.
gjb [Tue, 28 Apr 2015 15:32:59 +0000 (15:32 +0000)]
Fix CROCHETBRANCH, forgotten in r280640.

Submitted by: ruben.kerkhof@gmail.com
PR: 199760
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

9 years agoThe presence/absence of CPU features should be tested with
imp [Tue, 28 Apr 2015 14:14:06 +0000 (14:14 +0000)]
The presence/absence of CPU features should be tested with
MACHINE_CPUARCH or MACHINE_ARCH, not MACHINE. The latter is for kernel
only things. Also, I think this should be unconditional since all our
architectures have long double support, but I don't have time to test
that thoroughly so just add a comment to that effect.

9 years agoRequire "ldconfig" for "devd". It is possible that user puts into
glebius [Tue, 28 Apr 2015 13:13:23 +0000 (13:13 +0000)]
Require "ldconfig" for "devd". It is possible that user puts into
devd.conf execution of third-party software, that needs libraries
from /usr/local. Since devd is launched before ldconfig script, if
the hardware that has associated software is attached on boot, then
execution would fail.

Differential Revision: https://reviews.freebsd.org/D2332
Reviewed by: imp

9 years agocrunchide: add basic string table sanity checks
emaste [Tue, 28 Apr 2015 13:04:51 +0000 (13:04 +0000)]
crunchide: add basic string table sanity checks

Reported by: Coverity Scan
CID: 978805, 980919
Sponsored by: The FreeBSD Foundation

9 years agoFix the comment. We will not do SPD lookup again, because
ae [Tue, 28 Apr 2015 11:03:47 +0000 (11:03 +0000)]
Fix the comment. We will not do SPD lookup again, because
ip[6]_ipsec_output() will find PACKET_TAG_IPSEC_OUT_DONE mbuf tag.

Sponsored by: Yandex LLC

9 years agoAdjust CFLAGS to find freebsd_test_suite/macros.h
ngie [Tue, 28 Apr 2015 10:59:06 +0000 (10:59 +0000)]
Adjust CFLAGS to find freebsd_test_suite/macros.h

MFC after: 6 days

9 years agoUse PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs"
ngie [Tue, 28 Apr 2015 10:56:59 +0000 (10:56 +0000)]
Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs"

MFC after: 6 days

9 years ago- Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4)
ngie [Tue, 28 Apr 2015 10:53:06 +0000 (10:53 +0000)]
- Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4)
- Don't use /tmp as a basis for temporary files as it's outside of the ATF
  sandbox
- Don't override MAX macro in sys/param.h

MFC after: 6 days

9 years agoUse ATF_REQUIRE_KERNEL_MODULE instead of aio_available function
ngie [Tue, 28 Apr 2015 10:51:12 +0000 (10:51 +0000)]
Use ATF_REQUIRE_KERNEL_MODULE instead of aio_available function

MFC after: 6 days

9 years agoAdd initial (unpolished) macros for interfacing with the FreeBSD test suite
ngie [Tue, 28 Apr 2015 10:50:31 +0000 (10:50 +0000)]
Add initial (unpolished) macros for interfacing with the FreeBSD test suite

This is very rough, but will be replaced/redesigned some time soon after I fix
the Jenkins breakage I introduced

MFC after: 6 days

9 years agoFill in the copyright boilerplate for the test program
ngie [Tue, 28 Apr 2015 10:29:42 +0000 (10:29 +0000)]
Fill in the copyright boilerplate for the test program

MFC after: 6 days

9 years agoSince PFIL can change mbuf pointer, we should update pointers after
ae [Tue, 28 Apr 2015 09:29:28 +0000 (09:29 +0000)]
Since PFIL can change mbuf pointer, we should update pointers after
calling ipsec_filter().

Sponsored by: Yandex LLC

9 years agoreplace a comment about zfs recv -F corner case with a longer, more detailed one
avg [Tue, 28 Apr 2015 09:19:40 +0000 (09:19 +0000)]
replace a comment about zfs recv -F corner case with a longer, more detailed one

The old comment in zfs_rezget explains what situation the code handles,
the new comment also describes how the situation can arise.

Also, re-join a line that became sufficiently shorti some time ago.

Differential Revision: https://reviews.freebsd.org/D2352
Reviewed by: delphij, smh
MFC after: 12 days