svn commit: r281816 - head/sys/dev/mii

2015-04-20 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 06:46:11 2015 New Revision: 281816 URL: https://svnweb.freebsd.org/changeset/base/281816 Log: Since brgphy doesn't call mii_phy_setmedia(), there is no reason to set any value to ifm_data. If brgphy ever to call mii_phy_setmedia(), then the value of BRGPHY_S

svn commit: r281815 - head/sys/dev/usb/video

2015-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 21 06:11:47 2015 New Revision: 281815 URL: https://svnweb.freebsd.org/changeset/base/281815 Log: Don't print uninitialized variables. CID: 1295242 Modified: head/sys/dev/usb/video/udl.c Modified: head/sys/dev/usb/video/udl.c ==

svn commit: r281814 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 05:41:56 2015 New Revision: 281814 URL: https://svnweb.freebsd.org/changeset/base/281814 Log: Tweak BSS symbol handling from r281811 to not consider them unresolved Modified: head/tools/build/check-links.sh Modified: head/tools/build/check-links.sh =

svn commit: r281813 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 05:10:18 2015 New Revision: 281813 URL: https://svnweb.freebsd.org/changeset/base/281813 Log: Support libraries linked by path. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/check-links.sh Modified: head/tools/build/check-links.

svn commit: r281812 - in head: contrib/bmake contrib/bmake/PSD.doc contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2015-04-20 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 21 04:40:38 2015 New Revision: 281812 URL: https://svnweb.freebsd.org/changeset/base/281812 Log: Merge bmake-20150418 PR: 199486 Added: head/contrib/bmake/mk/cython.mk - copied unchanged from r281761, vendor/NetBSD/bmake/dist/mk/cython.mk head/contrib/bma

svn commit: r281811 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 03:29:03 2015 New Revision: 281811 URL: https://svnweb.freebsd.org/changeset/base/281811 Log: - For executables search for matching (B) global uninitialized BSS symbols from linked libraries. Only do this for BSS symbols that have a size which avoids __

svn commit: r281810 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 03:06:58 2015 New Revision: 281810 URL: https://svnweb.freebsd.org/changeset/base/281810 Log: Revert r281805 for now as it breaks due to spaces in output Modified: head/tools/build/check-links.sh Modified: head/tools/build/check-links.sh

svn commit: r281809 - head/release/tools

2015-04-20 Thread Glen Barber
Author: gjb Date: Tue Apr 21 02:49:44 2015 New Revision: 281809 URL: https://svnweb.freebsd.org/changeset/base/281809 Log: Simplify variable expansion in attempt to fix the vm-image build. Sponsored by: The FreeBSD Foundation Modified: head/release/tools/vmimage.subr Modified: head/rele

svn commit: r281808 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 02:02:25 2015 New Revision: 281808 URL: https://svnweb.freebsd.org/changeset/base/281808 Log: Pass full path to ldd(1) so it works on files in cwd. Modified: head/tools/build/check-links.sh Modified: head/tools/build/check-links.sh ==

svn commit: r281807 - head/usr.sbin/wpa

2015-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 21 02:00:37 2015 New Revision: 281807 URL: https://svnweb.freebsd.org/changeset/base/281807 Log: Fix wpa/hostapd build without OpenSSL. Modified: head/usr.sbin/wpa/Makefile.crypto Modified: head/usr.sbin/wpa/Makefile.crypto ===

svn commit: r281806 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20 contrib/wpa/patches contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/...

2015-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 21 01:45:11 2015 New Revision: 281806 URL: https://svnweb.freebsd.org/changeset/base/281806 Log: Merge wpa_supplicant/hostapd 2.4. Major changes are: SAE, Suite B, RFC 7268, EAP-PKE, ACS, and tons of bug fixes. Relnotes: yes Added: head/contrib/wpa

svn commit: r281805 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 01:37:14 2015 New Revision: 281805 URL: https://svnweb.freebsd.org/changeset/base/281805 Log: Support demangling C++ symbols with -D flag. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/check-links.sh Modified: head/tools/build/c

svn commit: r281802 - in head/release: . arm64 tools

2015-04-20 Thread Glen Barber
Author: gjb Date: Tue Apr 21 00:48:35 2015 New Revision: 281802 URL: https://svnweb.freebsd.org/changeset/base/281802 Log: Merge the following from ^/projects/release-arm64 to allow building FreeBSD/arm64 VM images and memstick.img installation medium: r281786, r281788, r281792: r281

svn commit: r281800 - head/usr.bin/patch

2015-04-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 20 22:15:18 2015 New Revision: 281800 URL: https://svnweb.freebsd.org/changeset/base/281800 Log: patch(1): small include changes. Mostly to match OpenBSD, no functional change. Obtained from:OpenBSD Modified: head/usr.bin/patch/inp.c head/usr.bin/

svn commit: r281799 - in head/sys: arm/conf modules/dtb/allwinner

2015-04-20 Thread Luiz Otavio O Souza
Author: loos Date: Mon Apr 20 22:12:19 2015 New Revision: 281799 URL: https://svnweb.freebsd.org/changeset/base/281799 Log: Build and install the DTB for all the supported AllWinner SoCs. We will need them when we start booting using ubldr. Added: head/sys/modules/dtb/allwinner/ head/s

svn commit: r281798 - head/lib/libc/iconv

2015-04-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 20 22:09:50 2015 New Revision: 281798 URL: https://svnweb.freebsd.org/changeset/base/281798 Log: Fix improbable memory leak in _citrus_prop_read_str(). Found by: Clang Static Analyzer Modified: head/lib/libc/iconv/citrus_prop.c Modified: head/lib/libc/iconv

svn commit: r281797 - head/sys/net

2015-04-20 Thread Mark Johnston
Author: markj Date: Mon Apr 20 22:08:11 2015 New Revision: 281797 URL: https://svnweb.freebsd.org/changeset/base/281797 Log: Move the definition of struct bpf_if to bpf.c. A couple of fields are still exposed via struct bpf_if_ext so that bpf_peers_present() can be inlined into its caller

svn commit: r281795 - head/sys/cam/scsi

2015-04-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 20 21:44:55 2015 New Revision: 281795 URL: https://svnweb.freebsd.org/changeset/base/281795 Log: scsi_parse_transportid_rdma(): fix mismatch in memoty access size. Independently found by Coverity and gcc49. CID: 1230006 Reviewed by: ken MFC after

svn commit: r281793 - in head: lib/libmt lib/libpmc share/man/man4

2015-04-20 Thread Joel Dahl
Author: joel (doc committer) Date: Mon Apr 20 21:19:26 2015 New Revision: 281793 URL: https://svnweb.freebsd.org/changeset/base/281793 Log: Minor mdoc fixes. Modified: head/lib/libmt/mt.3 head/lib/libpmc/pmc.haswellxeon.3 head/share/man/man4/ata.4 Modified: head/lib/libmt/mt.3 ==

svn commit: r281791 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 20 20:51:19 2015 New Revision: 281791 URL: https://svnweb.freebsd.org/changeset/base/281791 Log: - Speedup significantly by not using subshells for data already fetched. Ran against /usr/local/sbin/pkg: Before: 25.12 real12.41 user33.14 sy

svn commit: r281790 - head/tools/build

2015-04-20 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 20 20:45:10 2015 New Revision: 281790 URL: https://svnweb.freebsd.org/changeset/base/281790 Log: Fix indentation to use tabs Modified: head/tools/build/check-links.sh Modified: head/tools/build/check-links.sh

svn commit: r281789 - head

2015-04-20 Thread Eitan Adler
Author: eadler Date: Mon Apr 20 20:33:22 2015 New Revision: 281789 URL: https://svnweb.freebsd.org/changeset/base/281789 Log: phabricator related changes: - don't lint either contrib or crypto: these are both externally written directories - add additional linters for s

Re: svn commit: r281758 - head/bin/ed

2015-04-20 Thread Bruce Evans
On Mon, 20 Apr 2015, Eitan Adler wrote: On 19 April 2015 at 21:23, Bruce Evans wrote: On Mon, 20 Apr 2015, Eitan Adler wrote: ... --- head/bin/ed/glbl.c Mon Apr 20 00:24:32 2015(r281757) +++ head/bin/ed/glbl.c Mon Apr 20 02:07:57 2015(r281758) @@ -60,7 +60,7 @@ build_active_

svn commit: r281787 - head/sbin/dmesg

2015-04-20 Thread Eric van Gyzen
Author: vangyzen Date: Mon Apr 20 20:07:39 2015 New Revision: 281787 URL: https://svnweb.freebsd.org/changeset/base/281787 Log: dmesg: accommodate message buffer growth between the sysctl calls Allocate 12.5% extra space to avoid ENOMEM when the message buffer is growing steadily. Re

svn commit: r281785 - in head: share/man/man9 sys/kern

2015-04-20 Thread Eric van Gyzen
Author: vangyzen Date: Mon Apr 20 20:03:26 2015 New Revision: 281785 URL: https://svnweb.freebsd.org/changeset/base/281785 Log: Always send log(9) messages to the message buffer. It is truer to the semantics of logging for messages to *always* go to the message buffer, where they can even

svn commit: r281783 - head/release/tools

2015-04-20 Thread Glen Barber
Author: gjb Date: Mon Apr 20 19:54:54 2015 New Revision: 281783 URL: https://svnweb.freebsd.org/changeset/base/281783 Log: When building VM disk images, vm_copy_base() uses tar(1) to copy the userland from one md(4)-mounted filesystem to a clean filesystem to prevent remnants of files that w

svn commit: r281782 - head/usr.sbin/bhyve

2015-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 19:11:27 2015 New Revision: 281782 URL: https://svnweb.freebsd.org/changeset/base/281782 Log: Don't set bits that should be zero for SATA devices. Old value made Linux think that it is PATA device with SATA bridge. MFC after:2 weeks Modified: head/us

Re: svn commit: r281758 - head/bin/ed

2015-04-20 Thread Eitan Adler
On 19 April 2015 at 21:23, Bruce Evans wrote: > On Mon, 20 Apr 2015, Eitan Adler wrote: > >> Log: >> ed(1): Fix [-Werror=logical-not-parentheses] >> /usr/src/bin/ed/glbl.c:64:36: error: logical not is only applied >> to >> theleft hand side of comparison [-Werror=logical-not-paren

svn commit: r281781 - head/usr.sbin/crunch/crunchide

2015-04-20 Thread Ed Maste
Author: emaste Date: Mon Apr 20 18:30:06 2015 New Revision: 281781 URL: https://svnweb.freebsd.org/changeset/base/281781 Log: crunchide: Remove local EM_* ELF definitions provided by system ELF headers Suggested by: imp (in review D2314) Modified: head/usr.sbin/crunch/crunchide/exec_elf3

svn commit: r281780 - head/usr.sbin/sysrc

2015-04-20 Thread Devin Teske
Author: dteske Date: Mon Apr 20 17:46:09 2015 New Revision: 281780 URL: https://svnweb.freebsd.org/changeset/base/281780 Log: Update usage statement to align with post-r279624 functionality. MFC after:3 days X-MFC-to: stable/10 stable/9 Modified: head/usr.sbin/sysrc/sysrc Modi

svn commit: r281779 - head/usr.sbin/vidcontrol

2015-04-20 Thread Ed Maste
Author: emaste Date: Mon Apr 20 17:43:55 2015 New Revision: 281779 URL: https://svnweb.freebsd.org/changeset/base/281779 Log: vidcontrol: skip invalid video modes returned by vt(4) vt(4) has a stub CONS_MODEINFO ioctl that does not provide any data but returns success. This needs to be fi

svn commit: r281777 - head/contrib/llvm/patches

2015-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 17:37:37 2015 New Revision: 281777 URL: https://svnweb.freebsd.org/changeset/base/281777 Log: Add llvm patch corresponding to r281775. Added: head/contrib/llvm/patches/patch-13-llvm-r229911-uleb128-commas.diff Added: head/contrib/llvm/patches/patch-13-llvm-r22991

svn commit: r281775 - head/contrib/llvm/lib/MC/MCParser

2015-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 17:36:35 2015 New Revision: 281775 URL: https://svnweb.freebsd.org/changeset/base/281775 Log: Pull in r229911 from upstream llvm trunk (by Benjamin Kramer): MC: Allow multiple comma-separated expressions on the .uleb128 directive. For compatiblity with

svn commit: r281774 - head/sys/dev/xen/netfront

2015-04-20 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Mon Apr 20 17:30:13 2015 New Revision: 281774 URL: https://svnweb.freebsd.org/changeset/base/281774 Log: Remove unused variable. Differential Revision:D2333 Reviewed by: royger Modified: head/sys/dev/xen/netfront/netfront.c Modif

svn commit: r281773 - head/sys/dev/ixgbe

2015-04-20 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Mon Apr 20 17:24:39 2015 New Revision: 281773 URL: https://svnweb.freebsd.org/changeset/base/281773 Log: Add back ixgbe_rxeof, just remove the assignment to more. Modified: head/sys/dev/ixgbe/if_ix.c Modified: head/sys/dev/ixgbe/if_ix.c

svn commit: r281772 - head/sys/dev/ixgbe

2015-04-20 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Mon Apr 20 17:21:15 2015 New Revision: 281772 URL: https://svnweb.freebsd.org/changeset/base/281772 Log: Remove unused variable. Differential Revision:D2331 Reviewed by: erj Modified: head/sys/dev/ixgbe/if_ix.c Modified: head/sys

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread Adrian Chadd
(this is why I'm not mfc'ing it.) hwpmc's ABI is not in any way usefully backwards compatible. -adrian ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsu

svn commit: r281771 - head/sys/vm

2015-04-20 Thread Alan Cox
Author: alc Date: Mon Apr 20 16:48:21 2015 New Revision: 281771 URL: https://svnweb.freebsd.org/changeset/base/281771 Log: Eliminate an unused variable. MFC after:1 week Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c ===

svn commit: r281770 - head/sys/fs/nfsclient

2015-04-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 20 16:40:13 2015 New Revision: 281770 URL: https://svnweb.freebsd.org/changeset/base/281770 Log: Prevent a double free. This is similar to r281756 so set the ptr NULL after free as a safety belt against future changes. Obtained from:HardenedBSD (b2e7

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread Justin Hibbits
On Mon, Apr 20, 2015 at 9:19 AM, Bruce Evans wrote: > On Mon, 20 Apr 2015, John Baldwin wrote: > >> On Sunday, April 19, 2015 12:33:22 AM Justin Hibbits wrote: >>> >>> Log: >>> Fix the build. Commit the last part of e500 PMC. >>> ... >>> @@ -136,6 +138,7 @@ enum pmc_cputype { >>> __PMC_

svn commit: r281769 - head/sys/geom/uncompress

2015-04-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 20 16:31:27 2015 New Revision: 281769 URL: https://svnweb.freebsd.org/changeset/base/281769 Log: g_uncompress_taste: prevent a double free. Found by: Clang Static Analyzer MFC after:1 week Modified: head/sys/geom/uncompress/g_uncompress.c Modified: he

svn commit: r281768 - head/share/man/man3

2015-04-20 Thread Brooks Davis
Author: brooks Date: Mon Apr 20 16:23:59 2015 New Revision: 281768 URL: https://svnweb.freebsd.org/changeset/base/281768 Log: Bump doc date missed in r281605. MFC after:1 day Modified: head/share/man/man3/queue.3 Modified: head/share/man/man3/queue.3

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread Bruce Evans
On Mon, 20 Apr 2015, John Baldwin wrote: On Sunday, April 19, 2015 12:33:22 AM Justin Hibbits wrote: Log: Fix the build. Commit the last part of e500 PMC. ... @@ -136,6 +138,7 @@ enum pmc_cputype { __PMC_CLASS(MIPS74K)/* MIPS 74K */ \ __PMC_CLASS(

Re: svn commit: r281721 - head/sys/sys

2015-04-20 Thread John Baldwin
On Sunday, April 19, 2015 12:33:22 AM Justin Hibbits wrote: > Author: jhibbits > Date: Sun Apr 19 00:33:21 2015 > New Revision: 281721 > URL: https://svnweb.freebsd.org/changeset/base/281721 > > Log: > Fix the build. Commit the last part of e500 PMC. > > Pointy hat to: jhibbits > > M

svn commit: r281767 - head/usr.sbin/bhyve

2015-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 14:55:01 2015 New Revision: 281767 URL: https://svnweb.freebsd.org/changeset/base/281767 Log: Report link as up if tap device is not specified (black hole). MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_virtio_net.c Modified: head/usr.sbin/bhyve/pc

Re: svn commit: r280279 - head/sys/sys

2015-04-20 Thread Bruce Evans
On Tue, 21 Apr 2015, Bruce Evans wrote: On Mon, 20 Apr 2015, Konstantin Belousov wrote: On Mon, Apr 13, 2015 at 04:04:45PM -0400, Jung-uk Kim wrote: Please try the attached patch. ... - __asm __volatile("xorl %k0,%k0;popcntq %1,%0" - : "=&r" (result) : "rm" (elem)); ... +

Re: svn commit: r280279 - head/sys/sys

2015-04-20 Thread Bruce Evans
On Mon, 20 Apr 2015, Konstantin Belousov wrote: On Mon, Apr 13, 2015 at 04:04:45PM -0400, Jung-uk Kim wrote: Please try the attached patch. Index: sys/amd64/amd64/pmap.c === --- sys/amd64/amd64/pmap.c (revision 281496) +++

svn commit: r281766 - head/usr.sbin/bhyve

2015-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 14:23:18 2015 New Revision: 281766 URL: https://svnweb.freebsd.org/changeset/base/281766 Log: Report link as up only if we managed to open tap device. It would be cool to report tap device status, but it has no such API. MFC after:2 weeks Modified: h

Re: svn commit: r280279 - head/sys/sys

2015-04-20 Thread Konstantin Belousov
On Mon, Apr 13, 2015 at 04:04:45PM -0400, Jung-uk Kim wrote: > Please try the attached patch. > > Jung-uk Kim > -BEGIN PGP SIGNATURE- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJVLCFZAAoJEHyflib82/FGOp0H/1+Jr+cKUn/MnV5O5SghPw9f > XzTM4+BV9BcWabLRjFe1LR065SfLDXqKLuU4h5lmVSlXQaxElAXxaMeyO3mrMzR4

svn commit: r281765 - head/sys/net

2015-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 10:44:46 2015 New Revision: 281765 URL: https://svnweb.freebsd.org/changeset/base/281765 Log: Activate write-only optimization if bpf device opened with O_WRONLY. dhclient opens bpf as write-only to send packets. It never reads received packets from that descr

svn commit: r281764 - head/usr.sbin/bhyve

2015-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 10:29:42 2015 New Revision: 281764 URL: https://svnweb.freebsd.org/changeset/base/281764 Log: Disable RX/TX queues notifications when not needed. This reduces CPU load and doubles iperf throughput, reaching 2-3Gbit/s. MFC after:2 weeks Sponsored by: i

svn commit: r281763 - head/lib/libc/gen

2015-04-20 Thread Konstantin Belousov
Author: kib Date: Mon Apr 20 09:07:12 2015 New Revision: 281763 URL: https://svnweb.freebsd.org/changeset/base/281763 Log: Remove code to support the top of the stack layout for FreeBSD 1.x/2.x kernel, but keep explanation of the old ps_strings structure to make it clear what sanity check tr

svn commit: r281762 - in head/sys: amd64/amd64 i386/i386

2015-04-20 Thread Konstantin Belousov
Author: kib Date: Mon Apr 20 08:25:55 2015 New Revision: 281762 URL: https://svnweb.freebsd.org/changeset/base/281762 Log: Remove duplicate definitions of MWAIT_CX hints. Identical defines in specialreg.h are enough. Discussed with: mav Sponsored by: The FreeBSD Foundation MFC