]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoDocument r275299, mrouted rc(8) script removal from base.
gjb [Sun, 11 Jan 2015 19:00:58 +0000 (19:00 +0000)]
Document r275299, mrouted rc(8) script removal from base.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275171, r275190: hpwmc(4) performance counter
gjb [Sun, 11 Jan 2015 19:00:55 +0000 (19:00 +0000)]
Document r275171, r275190: hpwmc(4) performance counter
sampling fixes for G4 and G5 class processors.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274987, gpio(3) addition.
gjb [Sun, 11 Jan 2015 19:00:52 +0000 (19:00 +0000)]
Document r274987, gpio(3) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274960, elfdump(1) cap_limits support.
gjb [Sun, 11 Jan 2015 19:00:49 +0000 (19:00 +0000)]
Document r274960, elfdump(1) cap_limits support.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274733, PMU power-button event support for certain
gjb [Sun, 11 Jan 2015 19:00:47 +0000 (19:00 +0000)]
Document r274733, PMU power-button event support for certain
PowerBooks.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274394, bsdconfig(8) skips initial tzetup(8) screen
gjb [Sun, 11 Jan 2015 19:00:44 +0000 (19:00 +0000)]
Document r274394, bsdconfig(8) skips initial tzetup(8) screen
if run within a VM.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274386, apci(4) and pci(4) fix for ACPI S3 state.
gjb [Sun, 11 Jan 2015 19:00:41 +0000 (19:00 +0000)]
Document r274386, apci(4) and pci(4) fix for ACPI S3 state.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274246, gre(4) overhaul, me(4) addition.
gjb [Sun, 11 Jan 2015 19:00:38 +0000 (19:00 +0000)]
Document r274246, gre(4) overhaul, me(4) addition.
Add Yandex LLC to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274085, vt(4) is now default.
gjb [Sun, 11 Jan 2015 19:00:35 +0000 (19:00 +0000)]
Document r274085, vt(4) is now default.

Sponsored by: The FreeBSD Foundation

9 years agoSwitch around the order of static inline to be in line with how it's
adrian [Sun, 11 Jan 2015 18:43:45 +0000 (18:43 +0000)]
Switch around the order of static inline to be in line with how it's
used elsewhere, and to keep gcc-4.7 happy.

This is a request from the DragonflyBSD project.

9 years agoStore the shadow command/mode register in the softc, not a local static var.
ian [Sun, 11 Jan 2015 17:00:24 +0000 (17:00 +0000)]
Store the shadow command/mode register in the softc, not a local static var.

Submitted by: Michal Meloun

9 years agoRename gic_init_secondary to arm_init_secondary_ic to help with the merge
andrew [Sun, 11 Jan 2015 16:46:43 +0000 (16:46 +0000)]
Rename gic_init_secondary to arm_init_secondary_ic to help with the merge
of the arm_intrng project branch.

9 years agoWhen aggregating TRIM segments, move the new one to the list end.
mav [Sun, 11 Jan 2015 16:36:39 +0000 (16:36 +0000)]
When aggregating TRIM segments, move the new one to the list end.

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

MFC after: 2 weeks

9 years agoRemove no longer used "M_FLOWID" flag and update the netisr manpage.
hselasky [Sun, 11 Jan 2015 16:15:31 +0000 (16:15 +0000)]
Remove no longer used "M_FLOWID" flag and update the netisr manpage.
This patch completes process started by r275358.

Sponsored by: Mellanox Technologies

9 years agoFix support for ConnectX2 hardware.
hselasky [Sun, 11 Jan 2015 15:00:08 +0000 (15:00 +0000)]
Fix support for ConnectX2 hardware.

MFC after: 3 days
Sponsored by: Mellanox Technologies

9 years agoRework the GIC driver to ease the import of the arm_intrng branch. The
andrew [Sun, 11 Jan 2015 10:26:49 +0000 (10:26 +0000)]
Rework the GIC driver to ease the import of the arm_intrng branch. The
common code has been pulled out to static functions.

9 years agoDo not regenerate and install liblzma.pc when only build libraries
bapt [Sun, 11 Jan 2015 09:25:01 +0000 (09:25 +0000)]
Do not regenerate and install liblzma.pc when only build libraries
aka do not regenerate while generating 32bits libs

Reported by: antoine

9 years agocxgb: replace r273280 with a more comprehensive fix.
np [Sun, 11 Jan 2015 07:51:58 +0000 (07:51 +0000)]
cxgb: replace r273280 with a more comprehensive fix.

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

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

MFC after: 1 week

9 years agoAdd LBA as secondary sort key for synchronous I/O requests.
mav [Sun, 11 Jan 2015 00:26:18 +0000 (00:26 +0000)]
Add LBA as secondary sort key for synchronous I/O requests.

On FreeBSD gethrtime() implemented via getnanouptime(), that has 1ms (1/hz)
precision.  It makes primary sort key (timestamp) collision very possible.
In such situations sorting by secondary key of LBA is much more reasonable
then by totally meaningless zio pointer value.

With this change on multi-threaded synchronous ZVOL read I've measured 10%
throughput increase and average latency reduction.

MFC after: 2 weeks

9 years agoUse .MAKE.LEVEL being defined as a bootstrap aid when providing
imp [Sat, 10 Jan 2015 23:43:39 +0000 (23:43 +0000)]
Use .MAKE.LEVEL being defined as a bootstrap aid when providing
fallback targets to build the aic generated files. fmake doesn't like
the current construct, and since it doesn't have .MAKE.LEVEL, just
don't provide the fallback targets for fmake. This gives a little
extra compatibility to old systems trying to build new kernels at
almost no cost to the current code.

9 years agoTake out some more no-error warnings, as the build is clean without
imp [Sat, 10 Jan 2015 23:43:37 +0000 (23:43 +0000)]
Take out some more no-error warnings, as the build is clean without
them.

9 years agoFix calculation of requester for PCI device behind PCIe/PCI bridge.
kib [Sat, 10 Jan 2015 23:12:49 +0000 (23:12 +0000)]
Fix calculation of requester for PCI device behind PCIe/PCI bridge.
In my case on the test machine, I have hierarchy of
pcib2 (PCIe port on host bridge with PCIe capability) -> pci2 ->
    pcib3 (ITE PCIe/PCI bridge) -> pci3 -> em1

The device to check PCIe capability is pcib2 and not pcib3, as it is
currently done in the code.  Also, in case of the bridge, we shall
step to pcib2 for the loop iteration, since pcib3 does not carry PCIe
capability info and would force wrong recalculation of rid.

Also change the returned requester to the PCIe bus which provides port
for the bridge.  This only results in changing
hw.busdma.pciX.X.X.X.bounce tunable to force identity-mapped context
for the device.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoPrint rid when announcing DMAR context creation. Print sid when fault
kib [Sat, 10 Jan 2015 22:57:08 +0000 (22:57 +0000)]
Print rid when announcing DMAR context creation.  Print sid when fault
occurs.  This allows to connect dots in case the requester is
calculated erronously.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix typo in hpet(4) device name in r273598 entry.
gjb [Sat, 10 Jan 2015 22:23:41 +0000 (22:23 +0000)]
Fix typo in hpet(4) device name in r273598 entry.

Submitted by: Jan Beich
Sponsored by: The FreeBSD Foundation

9 years agoReword entry for r270745: 'tracer' keyword displays the tracing
gjb [Sat, 10 Jan 2015 22:23:38 +0000 (22:23 +0000)]
Reword entry for r270745: 'tracer' keyword displays the tracing
process, not the child<->parent mapping.

Submitted by: mjg
Sponsored by: The FreeBSD Foundation

9 years agoAdd the llvm-symbolizer tool, which enables the sanitizers to report
dim [Sat, 10 Jan 2015 22:22:42 +0000 (22:22 +0000)]
Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information.  This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

9 years agoRemove a few redundant DPADD/LDADD pairs in llvm utilities.
dim [Sat, 10 Jan 2015 22:11:49 +0000 (22:11 +0000)]
Remove a few redundant DPADD/LDADD pairs in llvm utilities.

9 years agoMinor fixes:
gjb [Sat, 10 Jan 2015 22:04:46 +0000 (22:04 +0000)]
Minor fixes:
 - Capitalize titles
 - Typo fix.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273806, Chelsio T5 userspace library.
gjb [Sat, 10 Jan 2015 22:04:43 +0000 (22:04 +0000)]
Document r273806, Chelsio T5 userspace library.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273598, /dev/heptN devices for HPET access from
gjb [Sat, 10 Jan 2015 22:04:41 +0000 (22:04 +0000)]
Document r273598, /dev/heptN devices for HPET access from
userland.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273515, virtio_console(4) addition.
gjb [Sat, 10 Jan 2015 22:04:38 +0000 (22:04 +0000)]
Document r273515, virtio_console(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273331, vxlan(4) addition.
gjb [Sat, 10 Jan 2015 22:04:35 +0000 (22:04 +0000)]
Document r273331, vxlan(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273264, SD card detection instability fix for RPI.
gjb [Sat, 10 Jan 2015 22:04:32 +0000 (22:04 +0000)]
Document r273264, SD card detection instability fix for RPI.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273178, kern.vt.spclkeys replaced with individual
gjb [Sat, 10 Jan 2015 22:04:30 +0000 (22:04 +0000)]
Document r273178, kern.vt.spclkeys replaced with individual
kern.vt.kbd_* variants.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273146, OpenSSL updated to 1.0.1j.
gjb [Sat, 10 Jan 2015 22:04:27 +0000 (22:04 +0000)]
Document r273146, OpenSSL updated to 1.0.1j.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272842, r272848, dl_iterate_pthr(3) always
gjb [Sat, 10 Jan 2015 22:04:24 +0000 (22:04 +0000)]
Document r272842, r272848, dl_iterate_pthr(3) always
returns the path of the dlpi_name ELF object.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272730, support for AR816x/AR817x in alc(4).
gjb [Sat, 10 Jan 2015 22:04:21 +0000 (22:04 +0000)]
Document r272730, support for AR816x/AR817x in alc(4).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272720, PLPMTUD blackhole detection (RFC 4821).
gjb [Sat, 10 Jan 2015 22:04:18 +0000 (22:04 +0000)]
Document r272720, PLPMTUD blackhole detection (RFC 4821).
Add Limelight Networks to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272488, userland CTF support in DTrace.
gjb [Sat, 10 Jan 2015 22:04:15 +0000 (22:04 +0000)]
Document r272488, userland CTF support in DTrace.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272350, MK_ARM_EABI removal.
gjb [Sat, 10 Jan 2015 22:04:12 +0000 (22:04 +0000)]
Document r272350, MK_ARM_EABI removal.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272274, canmount=off set on /var when installing on
gjb [Sat, 10 Jan 2015 22:04:10 +0000 (22:04 +0000)]
Document r272274, canmount=off set on /var when installing on
ZFS.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272273, '%U' and '%W' support added to strptime(3).
gjb [Sat, 10 Jan 2015 22:04:07 +0000 (22:04 +0000)]
Document r272273, '%U' and '%W' support added to strptime(3).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272198, mkimg(1) longopts to obtain information about
gjb [Sat, 10 Jan 2015 22:04:04 +0000 (22:04 +0000)]
Document r272198, mkimg(1) longopts to obtain information about
the utility itself.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272166, primes(6) fix for incorrectly-returned values.
gjb [Sat, 10 Jan 2015 22:04:01 +0000 (22:04 +0000)]
Document r272166, primes(6) fix for incorrectly-returned values.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272089, ipfw(4) fix when using dummynet(4) at layer 2
gjb [Sat, 10 Jan 2015 22:03:58 +0000 (22:03 +0000)]
Document r272089, ipfw(4) fix when using dummynet(4) at layer 2
leading to possible kernel panic.

Sponsored by: The FreeBSD Foundation

9 years agoAdd an 'abi-compat' subsection to the 'userland' section.
gjb [Sat, 10 Jan 2015 22:03:56 +0000 (22:03 +0000)]
Add an 'abi-compat' subsection to the 'userland' section.

Document r271982, compat.linux.osrelease updated after
support for CentOS 6 ports has been added.

Sponsored by: The FreeBSD Foundation

9 years agoBump copyright year, following past few commits.
gjb [Sat, 10 Jan 2015 22:03:53 +0000 (22:03 +0000)]
Bump copyright year, following past few commits.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271705, hardware context support added to drm/i915.
gjb [Sat, 10 Jan 2015 22:03:50 +0000 (22:03 +0000)]
Document r271705, hardware context support added to drm/i915.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271697, dtrace fixes for FreeBSD/powerpc.
gjb [Sat, 10 Jan 2015 22:03:47 +0000 (22:03 +0000)]
Document r271697, dtrace fixes for FreeBSD/powerpc.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271482, mkimg(1) support for empty partition
gjb [Sat, 10 Jan 2015 22:03:44 +0000 (22:03 +0000)]
Document r271482, mkimg(1) support for empty partition
entries.

Sponsored by: The FreeBSD Foundation

9 years agoAdd a 'periodic-scripts' subsection to the 'userland'
gjb [Sat, 10 Jan 2015 22:03:42 +0000 (22:03 +0000)]
Add a 'periodic-scripts' subsection to the 'userland'
section.

Document r271321, don't cross mount boundaries when
cleaning tmp files.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270745, ps(1) 'tracer' keyword addition.
gjb [Sat, 10 Jan 2015 22:03:39 +0000 (22:03 +0000)]
Document r270745, ps(1) 'tracer' keyword addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270676, support for ${LOCALBASE}/etc/rc.conf.d in
gjb [Sat, 10 Jan 2015 22:03:36 +0000 (22:03 +0000)]
Document r270676, support for ${LOCALBASE}/etc/rc.conf.d in
rc(8).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270675, mailwrapper(8) supports mailer.conf(5) in
gjb [Sat, 10 Jan 2015 22:03:33 +0000 (22:03 +0000)]
Document r270675, mailwrapper(8) supports mailer.conf(5) in
LOCALBASE.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270096, autofs(5).
gjb [Sat, 10 Jan 2015 22:03:30 +0000 (22:03 +0000)]
Document r270096, autofs(5).

Sponsored by: The FreeBSD Foundation

9 years agoRegenerate the manpages for the additional llvm/clang tools. This
dim [Sat, 10 Jan 2015 21:44:31 +0000 (21:44 +0000)]
Regenerate the manpages for the additional llvm/clang tools.  This
contains only very minor updates.

9 years agoMinimize the usage of SCTP_BUF_IS_EXTENDED.
tuexen [Sat, 10 Jan 2015 20:49:57 +0000 (20:49 +0000)]
Minimize the usage of SCTP_BUF_IS_EXTENDED.
This should help Robert...

9 years agoUse new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.
mav [Sat, 10 Jan 2015 18:28:58 +0000 (18:28 +0000)]
Use new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.

This slightly reduces overhead by avoiding dnode_hold()/dnode_rele() calls.

MFC after: 2 weeks

9 years agoRetire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
tuexen [Sat, 10 Jan 2015 13:56:26 +0000 (13:56 +0000)]
Retire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
Robert Watson.

9 years agoGarbage collect m_copymdata(), an mbuf utility routine introduced
rwatson [Sat, 10 Jan 2015 10:41:23 +0000 (10:41 +0000)]
Garbage collect m_copymdata(), an mbuf utility routine introduced
in FreeBSD 7 that has not been used since.  It contains a number
of unresolved bugs including an inverted bcopy() and incorrect
handling of read-only mbufs using internal storage.  Removing this
unused code is substantially essier than fixing it in order to
update it to the coming mbuf world order -- but it can always be
restored from revision history if it turns out to prove useful for
future work.

Pointed out by: jmallett
Sponsored by: EMC / Isilon Storage Division

9 years agoAdd a regression test for PR 192108.
jlh [Sat, 10 Jan 2015 10:16:22 +0000 (10:16 +0000)]
Add a regression test for PR 192108.

I won't go through the hassle of MFCing it since I expect all changes to go
first through HEAD anyway.

PR: 192108

9 years agoRestore Ethernet-within-IP Encapsulation support that was broken after
ae [Sat, 10 Jan 2015 08:28:50 +0000 (08:28 +0000)]
Restore Ethernet-within-IP Encapsulation support that was broken after
r273087. Move all checks from gif_output() into gif_transmit(). Previously
they were checked always, because if_start always called gif_output.
Now gif_transmit() can be called directly from if_bridge() code and we need
do checks here.

PR: 196646
MFC after: 1 week

9 years agoAllow clock_getcpuclockid() on the CPU-time clock for zombie process.
dchagin [Sat, 10 Jan 2015 07:22:38 +0000 (07:22 +0000)]
Allow clock_getcpuclockid() on the CPU-time clock for zombie process.
Posix does not prohibit this.

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

Reviewed by: kib
MFC after: 1 week

9 years agoIncrease default MAXTSIZ to allow execution of larger binaries.
jhibbits [Sat, 10 Jan 2015 06:54:10 +0000 (06:54 +0000)]
Increase default MAXTSIZ to allow execution of larger binaries.

This allows executing static clang built with -O0.

The value is configurable by a sysctl, so if one needs to clamp it down, they
still can.

Discussed with: nwhitehorn,emaste

9 years agoImprove style and fix a possible use-after-free case introduced in r268384
delphij [Sat, 10 Jan 2015 06:48:35 +0000 (06:48 +0000)]
Improve style and fix a possible use-after-free case introduced in r268384
by reinitializing the 'freestate' pointer after freeing the memory.

Obtained from: HardenedBSD (71fab80c5dd3034b71a29a61064625018671bbeb)
PR: 194525
Submitted by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
MFC after: 2 weeks

9 years agoUse if_name() macro instead of ifp->if_xname.
ae [Sat, 10 Jan 2015 03:29:17 +0000 (03:29 +0000)]
Use if_name() macro instead of ifp->if_xname.

MFH: 1 week

9 years agoFix an error introduced in r274246.
ae [Sat, 10 Jan 2015 03:26:46 +0000 (03:26 +0000)]
Fix an error introduced in r274246.
Pass mtag argument into m_tag_locate() to continue the search from
the last found mtag.

X-MFC after: r274246

9 years agoMove the recursion detection code into separate function gif_check_nesting().
ae [Sat, 10 Jan 2015 03:13:16 +0000 (03:13 +0000)]
Move the recursion detection code into separate function gif_check_nesting().
Also make MTAG_GIF definition private to if_gif.c.

MFC after: 1 week

9 years agoInstall the liblzma pkg-config file
bapt [Sat, 10 Jan 2015 00:11:10 +0000 (00:11 +0000)]
Install the liblzma pkg-config file

MFC after: 1 week

9 years agoImport the lzma pc file
bapt [Sat, 10 Jan 2015 00:07:34 +0000 (00:07 +0000)]
Import the lzma pc file

9 years agoFix typo.
melifaro [Fri, 9 Jan 2015 20:29:13 +0000 (20:29 +0000)]
Fix typo.

Submitted by: Olivér Pintér

9 years agoWith the update of compiler-rt we try to build a number of files that
andrew [Fri, 9 Jan 2015 20:00:37 +0000 (20:00 +0000)]
With the update of compiler-rt we try to build a number of files that
don't build on some ARM platforms, provide symbols we already provide in
libc, or don't exist. Remove these from the build. Some of these may
return later on specific targets.

Differential Revision: https://reviews.freebsd.org/D1468
Reviewed by: dim, imp

9 years agoAdd MBR EFI partition type definition
emaste [Fri, 9 Jan 2015 19:37:12 +0000 (19:37 +0000)]
Add MBR EFI partition type definition

Sponsored by: The FreeBSD Foundation

9 years agomkimg: Add MBR EFI partition type
emaste [Fri, 9 Jan 2015 19:34:48 +0000 (19:34 +0000)]
mkimg: Add MBR EFI partition type

Sponsored by: The FreeBSD Foundation

9 years agoAdd support for USB device side mode to the USB modem driver.
hselasky [Fri, 9 Jan 2015 18:40:12 +0000 (18:40 +0000)]
Add support for USB device side mode to the USB modem driver.

MFC after: 1 week
Submitted by: br@

9 years agovar/named/etc/namedb/working should be removed as part of namedb.
delphij [Fri, 9 Jan 2015 18:09:45 +0000 (18:09 +0000)]
var/named/etc/namedb/working should be removed as part of namedb.

MFC after: 2 weeks

9 years agoFixup r276668, /usr/tests/sbin/ifconfig/ shouldn't be removed.
delphij [Fri, 9 Jan 2015 18:07:08 +0000 (18:07 +0000)]
Fixup r276668, /usr/tests/sbin/ifconfig/ shouldn't be removed.

9 years agoProperly remove ieee488, gpib and readline from mtree.
delphij [Fri, 9 Jan 2015 18:05:50 +0000 (18:05 +0000)]
Properly remove ieee488, gpib and readline from mtree.

9 years agoUninline M_SIZE() in m_align() to reduce direct use of MLEN and MHLEN.
rwatson [Fri, 9 Jan 2015 15:21:53 +0000 (15:21 +0000)]
Uninline M_SIZE() in m_align() to reduce direct use of MLEN and MHLEN.

Differential Revision: https://reviews.freebsd.org/D1471
Reviewed by: glebius, bz, rpaulo
Sponsored by: EMC / Isilon Storage Division

9 years agoANSIfy sys/fs/msdosfs
emaste [Fri, 9 Jan 2015 14:50:08 +0000 (14:50 +0000)]
ANSIfy sys/fs/msdosfs

There are a number of msdosfs improvements in NetBSD that may be worth
bringing over, and this reduces noise in the comparison.

Differential Revision: https://reviews.freebsd.org/D1466
Reviewed by: kib
Sponsored by: The FreeBSD Foundation

9 years ago* Deal with ARCNET L2 multicast mapping for IPv6 the same way as in IPv4:
melifaro [Fri, 9 Jan 2015 12:56:51 +0000 (12:56 +0000)]
* Deal with ARCNET L2 multicast mapping for IPv6 the same way as in IPv4:
  handle it in arc_output() instead of nd6_storelladdr().
* Remove IFT_ARCNET check from arpresolve() since arc_output() does not
  use arpresolve() to handle broadcast/multicast. This check was there
  since r84931. It looks like it was not used since r89099 (initial
  import of Arcnet support where multicast is handled separately).
* Remove IFT_IEEE1394 case from nd6_storelladdr() since firewire_output()
  calles nd6_storelladdr() for unicast addresses only.
* Remove IFT_ARCNET case from nd6_storelladdr() since arc_output() now
  handles multicast by itself.

As a result, we have the following pattern: all non-ethernet-style
media have their own multicast map handling inside their appropriate
routines. On the other hand, arpresolve() (and nd6_storelladdr()) which
meant to be 'generic' ones de-facto handles ethernet-only multicast maps.

MFC after: 3 weeks

9 years agoUse nitems().
glebius [Fri, 9 Jan 2015 12:26:08 +0000 (12:26 +0000)]
Use nitems().

9 years agoRemove a 'This is dumb' comment that has been incorrect for at least a
rwatson [Fri, 9 Jan 2015 12:08:51 +0000 (12:08 +0000)]
Remove a 'This is dumb' comment that has been incorrect for at least a
decade: m_pulldown() is willing to consider ordinary mbufs writable.
Retain another, related, and also outdated comment, but with a caveat
that it is partially stale.  Do not, for now, address the problem that
it raises (that only EXT_CLUSTER external storage is considered
writable, regardless of the results of M_WRITABLE() on the mbuf).

MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division

9 years agoImprove documentation for autofs variables and executable maps;
trasz [Fri, 9 Jan 2015 10:59:49 +0000 (10:59 +0000)]
Improve documentation for autofs variables and executable maps;
also some markup fixes.

Differential Revision: https://reviews.freebsd.org/D1447
MFC after: 1 month
Sponsored by: The FreeBSD Foundation

9 years agoRemove junk added during testing phase
bapt [Fri, 9 Jan 2015 07:48:22 +0000 (07:48 +0000)]
Remove junk added during testing phase

9 years agoSynchronize libedit with NetBSD and activate UTF-8 support [1]
bapt [Fri, 9 Jan 2015 07:40:56 +0000 (07:40 +0000)]
Synchronize libedit with NetBSD and activate UTF-8 support [1]

Differences with NetBSD
Reapply our local patches on top of it
Fix Unicode environement detection
Fix reading a line in unicode environment.
It allows /bin/sh to works in UTF-8 envs

Differential Revision: https://reviews.freebsd.org/D1455
Reviewed by: jilles, pfg
Obtained from: NetBSD [1]
MFC after: 1 month
Relnotes: yes

9 years agoDon't mask the IP-address when doing multicast IP over infiniband.
hselasky [Fri, 9 Jan 2015 06:39:07 +0000 (06:39 +0000)]
Don't mask the IP-address when doing multicast IP over infiniband.

PR: 196631
MFC after: 3 days
Sponsored by: Mellanox Technologies

9 years agoFix DMAR context allocations for the devices behind PCIe->PCI bridges
kib [Fri, 9 Jan 2015 02:10:44 +0000 (02:10 +0000)]
Fix DMAR context allocations for the devices behind PCIe->PCI bridges
after dmar driver was converted to use rids.  The bus component to
calculate context page must be taken from the requestor rid, which is
a bridge, and not from the device bus number.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoRemove extraneous period
emaste [Fri, 9 Jan 2015 01:57:11 +0000 (01:57 +0000)]
Remove extraneous period

Reported by: rodrigc

9 years agoMFV: r276862
jkim [Fri, 9 Jan 2015 00:42:10 +0000 (00:42 +0000)]
MFV: r276862

Fix build.

9 years agoMerge OpenSSL 1.0.1k.
jkim [Thu, 8 Jan 2015 23:42:41 +0000 (23:42 +0000)]
Merge OpenSSL 1.0.1k.

9 years agoNow compiler-rt has been updated in r276851, bring in the various
dim [Thu, 8 Jan 2015 22:40:56 +0000 (22:40 +0000)]
Now compiler-rt has been updated in r276851, bring in the various
sanitizer libraries that already work on FreeBSD:

* asan:    Address Sanitizer
* ubsan:   Undefined Behavior Sanitizer
* profile: Profile Guided Optimization support

Please note that these libraries are *experimental* at this stage, so
the main Makefile is not yet connected to the build.

Since I didn't want to needlessly edit BSD.usr.dist, you will also have
to create the install directory /usr/lib/clang/3.5.0/lib/freebsd
manually for now.

9 years agoImport OpenSSL 1.0.1k.
jkim [Thu, 8 Jan 2015 22:40:39 +0000 (22:40 +0000)]
Import OpenSSL 1.0.1k.

9 years agoChange the default method for device_quiesce() to return 0 instead of
jhb [Thu, 8 Jan 2015 21:46:28 +0000 (21:46 +0000)]
Change the default method for device_quiesce() to return 0 instead of
EOPNOTSUPP.  The current behavior can mask real quiesce errors since
devclass_quiesce_driver() stops iterating over drivers as soon as it
gets an error (incluiding EOPNOTSUPP), but the caller it returns the
error to explicitly ignores EOPNOTSUPP.

Reviewed by: imp

9 years agoApparently more Makefiles use stuff from compiler-rt, so fix them up
dim [Thu, 8 Jan 2015 20:11:38 +0000 (20:11 +0000)]
Apparently more Makefiles use stuff from compiler-rt, so fix them up
too.  (This did not show during a make universe, strangely.)

9 years agoFollow up to r276851 by also committing a necessary update to
dim [Thu, 8 Jan 2015 20:08:00 +0000 (20:08 +0000)]
Follow up to r276851 by also committing a necessary update to
lib/libblocksruntime.

Pointy hat to: dim

9 years agoUpdate compiler-rt to trunk r224034. This brings a number of new
dim [Thu, 8 Jan 2015 19:47:10 +0000 (19:47 +0000)]
Update compiler-rt to trunk r224034.  This brings a number of new
builtins, and also the various sanitizers.  Support for these will be
added in a later commit.

9 years agoReject attempts to read the cpuset mask of a negative domain ID.
jhb [Thu, 8 Jan 2015 19:11:14 +0000 (19:11 +0000)]
Reject attempts to read the cpuset mask of a negative domain ID.

9 years agoDocument CPU_WHICH_DOMAIN and bump Dd for cpuset.1.
jhb [Thu, 8 Jan 2015 18:53:11 +0000 (18:53 +0000)]
Document CPU_WHICH_DOMAIN and bump Dd for cpuset.1.

Missed in: r276829

9 years agoRevert r274569. It seems to be causing a crash when merging CTF data for
markj [Thu, 8 Jan 2015 18:45:16 +0000 (18:45 +0000)]
Revert r274569. It seems to be causing a crash when merging CTF data for
recent i386 GENERIC kernels.

Reported by: David Wolfskill