Re: svn commit: r282736 - in head: . lib/libmd

2015-05-10 Thread Garrett Cooper
On May 10, 2015, at 21:02, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part On 05/10/15 20:52, Garrett Cooper wrote: On May 10, 2015, at 20:33, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part On 05/10/15 14:21, Thomas Quinot wrote: Author: thomas Date: Sun May 10

Re: svn commit: r282736 - in head: . lib/libmd

2015-05-10 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/10/15 21:03, Garrett Cooper wrote: On May 10, 2015, at 21:02, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part On 05/10/15 20:52, Garrett Cooper wrote: On May 10, 2015, at 20:33, Sean Bruno sbr...@ignoranthack.me wrote:

svn commit: r282747 - head/sbin/ifconfig

2015-05-10 Thread Garrett Cooper
Author: ngie Date: Mon May 11 04:54:56 2015 New Revision: 282747 URL: https://svnweb.freebsd.org/changeset/base/282747 Log: Use MIN from sys/param.h instead of handrolling the macro Replace sys/types.h with sys/param.h per-style(9) MFC after: 3 days Sponsored by: EMC / Isilon

Re: svn commit: r282736 - in head: . lib/libmd

2015-05-10 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/10/15 20:52, Garrett Cooper wrote: On May 10, 2015, at 20:33, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part On 05/10/15 14:21, Thomas Quinot wrote: Author: thomas Date: Sun May 10 21:21:52 2015 New Revision: 282736 URL:

svn commit: r282739 - head/cddl/contrib/opensolaris/common/ctf

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 21:39:24 2015 New Revision: 282739 URL: https://svnweb.freebsd.org/changeset/base/282739 Log: ctf_add_type(): when looking up an integer or floating point type in the list of pending dynamic type definitions, a match on the type name is not sufficient - we

svn commit: r282743 - head/sys/ofed/include/linux

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 22:21:00 2015 New Revision: 282743 URL: https://svnweb.freebsd.org/changeset/base/282743 Log: msecs_to_jiffies() is implemented using tvtohz(9), which always returns a positive value since it adds the current tick to its result. This differs from the behaviour

svn commit: r282745 - head/etc/rc.d

2015-05-10 Thread Xin LI
Author: delphij Date: Mon May 11 00:16:32 2015 New Revision: 282745 URL: https://svnweb.freebsd.org/changeset/base/282745 Log: Revert r282672. tr is in /usr and not available at the time hostid is run (must be run before FILESYSTEMS). Reported by: def Modified:

Re: svn commit: r282736 - in head: . lib/libmd

2015-05-10 Thread Garrett Cooper
On May 10, 2015, at 20:33, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part On 05/10/15 14:21, Thomas Quinot wrote: Author: thomas Date: Sun May 10 21:21:52 2015 New Revision: 282736 URL: https://svnweb.freebsd.org/changeset/base/282736 Log: Unbreak build following rev. 282726

Re: svn commit: r282736 - in head: . lib/libmd

2015-05-10 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/10/15 14:21, Thomas Quinot wrote: Author: thomas Date: Sun May 10 21:21:52 2015 New Revision: 282736 URL: https://svnweb.freebsd.org/changeset/base/282736 Log: Unbreak build following rev. 282726 I already pinged Thomas about this

svn commit: r282734 - in head/sys: dev/atkbdc sys

2015-05-10 Thread Rui Paulo
Author: rpaulo Date: Sun May 10 20:36:57 2015 New Revision: 282734 URL: https://svnweb.freebsd.org/changeset/base/282734 Log: synaptics: more support for semi-MT trackpads. Several improvements to the Synaptics driver to support semi-multitouch trackpads and some other fixes: - Two

Re: svn commit: r282728 - head/sys/boot/efi/loader/arch/i386

2015-05-10 Thread Rui Paulo
On Sunday 10 May 2015 13:30:22 Ian Lepore wrote: Author: ian Date: Sun May 10 13:30:21 2015 New Revision: 282728 URL: https://svnweb.freebsd.org/changeset/base/282728 Log: Don't check the return value from self_reloc(), it can't fail and doesn't return a value. Despite what I

Re: svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Thomas Quinot
* Ian Lepore, 2015-05-10 : That gets past the bootstrapping problem, now it dies like this: --- lib/libcrypt__L --- --- crypt-md5.So --- cc -fpic -DPIC -O -pipe -I/local/build/staging/freebsd/wand/src/lib/libcrypt/../libmd

Re: svn commit: r282672 - head/etc/rc.d

2015-05-10 Thread John-Mark Gurney
Oliver Pinter wrote this message on Sun, May 10, 2015 at 23:32 +0200: The awk is located in /usr/bin/awk too, and for e.g. the growfs should running in the very first steps... Yes, I realized this when I added growfs... As growfs is usually used on single fs root systems, I didn't think it

Re: svn commit: r282744 - in head/sys/cddl/dev/dtrace: amd64 i386

2015-05-10 Thread Julian Elischer
On 5/11/15 6:27 AM, Mark Johnston wrote: Author: markj Date: Sun May 10 22:27:48 2015 New Revision: 282744 URL: https://svnweb.freebsd.org/changeset/base/282744 Log: Remove some commented-out upstream code for handling traps from usermode DTrace probes. This handling is already done in

svn commit: r282740 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2015-05-10 Thread Simon J. Gerraty
Author: sjg Date: Sun May 10 22:03:59 2015 New Revision: 282740 URL: https://svnweb.freebsd.org/changeset/base/282740 Log: Merge bmake-20150505 improve detection of malformed conditionals. Added: head/contrib/bmake/unit-tests/cond2.exp - copied unchanged from r282739,

svn commit: r282741 - head/sys/ofed/include/linux

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 22:04:42 2015 New Revision: 282741 URL: https://svnweb.freebsd.org/changeset/base/282741 Log: find_next_bit() and find_next_zero_bit(): if the caller-specified offset lies within the last block of the bit set and no bits are set beyond the offset, terminate

svn commit: r282744 - in head/sys/cddl/dev/dtrace: amd64 i386

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 22:27:48 2015 New Revision: 282744 URL: https://svnweb.freebsd.org/changeset/base/282744 Log: Remove some commented-out upstream code for handling traps from usermode DTrace probes. This handling is already done in trap() on i386 and amd64. Modified:

Re: svn commit: r282672 - head/etc/rc.d

2015-05-10 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 5/10/15 17:23, John-Mark Gurney wrote: Oliver Pinter wrote this message on Sun, May 10, 2015 at 23:32 +0200: The awk is located in /usr/bin/awk too, and for e.g. the growfs should running in the very first steps... Yes, I realized this

Re: svn commit: r282672 - head/etc/rc.d

2015-05-10 Thread Eitan Adler
On 10 May 2015 at 12:45, John Baldwin j...@freebsd.org wrote: On May 8, 2015, at 19:36, Xin LI delp...@freebsd.org wrote: Author: delphij Date: Fri May 8 23:36:31 2015 New Revision: 282672 URL: https://svnweb.freebsd.org/changeset/base/282672 Log: Always convert uuid to lower case.

Re: svn commit: r282744 - in head/sys/cddl/dev/dtrace: amd64 i386

2015-05-10 Thread Mark Johnston
On Mon, May 11, 2015 at 09:55:25AM +0800, Julian Elischer wrote: On 5/11/15 6:27 AM, Mark Johnston wrote: Author: markj Date: Sun May 10 22:27:48 2015 New Revision: 282744 URL: https://svnweb.freebsd.org/changeset/base/282744 Log: Remove some commented-out upstream code for

svn commit: r282742 - in head/sys: dev/if_ndis net80211

2015-05-10 Thread Adrian Chadd
Author: adrian Date: Sun May 10 22:07:53 2015 New Revision: 282742 URL: https://svnweb.freebsd.org/changeset/base/282742 Log: Prepare for supporting driver-overridden curchan when submitting scan results. Right now the scan infrastructure assumes the channel is under net80211 control,

svn commit: r282736 - in head: . lib/libmd

2015-05-10 Thread Thomas Quinot
Author: thomas Date: Sun May 10 21:21:52 2015 New Revision: 282736 URL: https://svnweb.freebsd.org/changeset/base/282736 Log: Unbreak build following rev. 282726 (Makefile.inc1): add dependency of xinstall on libmd to avoid failure of parallel bootstrap. (lib/libmd/*.h): do not

Re: svn commit: r282672 - head/etc/rc.d

2015-05-10 Thread Oliver Pinter
On Sun, May 10, 2015 at 9:45 PM, John Baldwin j...@freebsd.org wrote: On May 8, 2015, at 19:36, Xin LI delp...@freebsd.org wrote: Author: delphij Date: Fri May 8 23:36:31 2015 New Revision: 282672 URL: https://svnweb.freebsd.org/changeset/base/282672 Log: Always convert uuid to lower

svn commit: r282735 - head/sys/net80211

2015-05-10 Thread Adrian Chadd
Author: adrian Date: Sun May 10 21:05:32 2015 New Revision: 282735 URL: https://svnweb.freebsd.org/changeset/base/282735 Log: Fix typo introduced in previous commit. PR: kern/199632 Submitted by: Andriy Voskoboinyk s3er...@gmail.com Modified:

Re: svn commit: r282672 - head/etc/rc.d

2015-05-10 Thread Eitan Adler
On 10 May 2015 at 17:47, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 5/10/15 17:23, John-Mark Gurney wrote: Oliver Pinter wrote this message on Sun, May 10, 2015 at 23:32 +0200: The awk is located in /usr/bin/awk too, and for e.g. the growfs

svn commit: r282722 - head/usr.bin/col

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 11:41:38 2015 New Revision: 282722 URL: https://svnweb.freebsd.org/changeset/base/282722 Log: For half and reverse line feeds, recognize both SUSv2-style escape-digit and BSD-style escape-control-char sequences in the input stream. Submitted by: schwarze at

svn commit: r282723 - in head/sys/arm: altera/socfpga amlogic/aml8726 conf freescale/imx freescale/vybrid rockchip samsung/exynos ti/omap4 xilinx

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 12:13:27 2015 New Revision: 282723 URL: https://svnweb.freebsd.org/changeset/base/282723 Log: Use the new gic option on all configs that need it. Modified: head/sys/arm/altera/socfpga/files.socfpga head/sys/arm/amlogic/aml8726/files.aml8726

svn commit: r282721 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 11:24:16 2015 New Revision: 282721 URL: https://svnweb.freebsd.org/changeset/base/282721 Log: Remove extendline definition Remove now unused PWBUFSZ define Modified: head/usr.sbin/pw/pwupd.h Modified: head/usr.sbin/pw/pwupd.h

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

2015-05-10 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 10 12:45:21 2015 New Revision: 282725 URL: https://svnweb.freebsd.org/changeset/base/282725 Log: Put recycle pointer in own memory area which is not mmap'able. Modified: head/sys/dev/usb/video/udl.c Modified: head/sys/dev/usb/video/udl.c

svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Thomas Quinot
Author: thomas Date: Sun May 10 13:21:36 2015 New Revision: 282726 URL: https://svnweb.freebsd.org/changeset/base/282726 Log: Ensure libmd symbols do not clash with libcrypto Add a prefix to all symbols in libmd to avoid incompatibilites with same-named, but not binary compatible,

svn commit: r282727 - in head/sys/boot: common efi/boot1 efi/loader efi/loader/arch/amd64 efi/loader/arch/arm efi/loader/arch/arm64 efi/loader/arch/i386

2015-05-10 Thread Ian Lepore
Author: ian Date: Sun May 10 13:24:26 2015 New Revision: 282727 URL: https://svnweb.freebsd.org/changeset/base/282727 Log: The self-relocation code is not efi-specific, move it to boot/common. The function was defined as taking 4 parameters and returning EFI_STATUS, but all existing

svn commit: r282706 - head/sys/vm

2015-05-10 Thread Konstantin Belousov
Author: kib Date: Sun May 10 08:21:03 2015 New Revision: 282706 URL: https://svnweb.freebsd.org/changeset/base/282706 Log: Satisfy vm_object uma zone destructor requirements after r282660 when vnode object creation raced. Reported by: pho Reviewed by: alc Sponsored by: The FreeBSD

svn commit: r282714 - head/sys/arm/conf

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 09:23:49 2015 New Revision: 282714 URL: https://svnweb.freebsd.org/changeset/base/282714 Log: First pass clenup over the Marvell db-88f6xxx kernel configs. Modified: head/sys/arm/conf/DB-88F6XXX head/sys/arm/conf/DOCKSTAR head/sys/arm/conf/DREAMPLUG-1001

svn commit: r282704 - head/sys/net80211

2015-05-10 Thread Adrian Chadd
Author: adrian Date: Sun May 10 06:57:53 2015 New Revision: 282704 URL: https://svnweb.freebsd.org/changeset/base/282704 Log: Attempt to address Bug #176201 - don't advertise what the AP announced to us. Instead, advertise what we can do based on what the AP says and what we're capped at by

svn commit: r282705 - head/sys/net80211

2015-05-10 Thread Adrian Chadd
Author: adrian Date: Sun May 10 06:59:34 2015 New Revision: 282705 URL: https://svnweb.freebsd.org/changeset/base/282705 Log: Turn ieee80211_start_scan_locked() into a swscan module private method. It turns out that ieee80211_start_scan_locked() is only ever called by the swscan code and

svn commit: r282707 - head/sys/arm/allwinner

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 08:48:00 2015 New Revision: 282707 URL: https://svnweb.freebsd.org/changeset/base/282707 Log: Clean up the style to use optionsspacetab. Modified: head/sys/arm/allwinner/std.a10 Modified: head/sys/arm/allwinner/std.a10

svn commit: r282709 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 09:02:15 2015 New Revision: 282709 URL: https://svnweb.freebsd.org/changeset/base/282709 Log: Some style(9) fixes Modified: head/usr.sbin/pw/pwupd.c Modified: head/usr.sbin/pw/pwupd.c

svn commit: r282711 - head/sys/amd64/amd64

2015-05-10 Thread Konstantin Belousov
Author: kib Date: Sun May 10 09:09:07 2015 New Revision: 282711 URL: https://svnweb.freebsd.org/changeset/base/282711 Log: Initialize pcids array for the proc0 pmap. Sponsored by: The FreeBSD Foundation MFC after:3 weeks Modified: head/sys/amd64/amd64/pmap.c Modified:

svn commit: r282713 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 09:23:03 2015 New Revision: 282713 URL: https://svnweb.freebsd.org/changeset/base/282713 Log: The pwdb function is only used once to check the database rename it pwdb_check and simplify it accordingly Modified: head/usr.sbin/pw/pwupd.c Modified:

svn commit: r282708 - in head/sys: amd64/linux32 compat/freebsd32 compat/svr4 i386/ibcs2 i386/linux kern sys

2015-05-10 Thread Konstantin Belousov
Author: kib Date: Sun May 10 09:00:40 2015 New Revision: 282708 URL: https://svnweb.freebsd.org/changeset/base/282708 Log: On exec, single-threading must be enforced before arguments space is allocated from exec_map. If many threads try to perform execve(2) in parallel, the exec map is

svn commit: r282712 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 09:11:12 2015 New Revision: 282712 URL: https://svnweb.freebsd.org/changeset/base/282712 Log: if the check of the pw db fails return the failed value Modified: head/usr.sbin/pw/pwupd.c Modified: head/usr.sbin/pw/pwupd.c

svn commit: r282716 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 09:33:15 2015 New Revision: 282716 URL: https://svnweb.freebsd.org/changeset/base/282716 Log: Remove useless call to extendarray Modified: head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/pw/pw_conf.c

svn commit: r282715 - in head/sys: arm/allwinner/a20 arm/conf conf

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 09:33:03 2015 New Revision: 282715 URL: https://svnweb.freebsd.org/changeset/base/282715 Log: Add the gic to files.arm under device gic and use it with the CUBIEBOARD2 config. This is common across a few SoCs so should be a common option. Modified:

svn commit: r282718 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 10:02:09 2015 New Revision: 282718 URL: https://svnweb.freebsd.org/changeset/base/282718 Log: Use strndup(3) instead of malloc(3) + memcpy(3) Check the return of strndup Modified: head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/pw/pw_conf.c

svn commit: r282719 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 10:15:36 2015 New Revision: 282719 URL: https://svnweb.freebsd.org/changeset/base/282719 Log: The initial logic for allocating the new string was wrong, the conversion to strndup(3) duplicated the same mistake, actually strdup(3) is good enough to allocate the

svn commit: r282710 - head/sys/amd64/amd64

2015-05-10 Thread Konstantin Belousov
Author: kib Date: Sun May 10 09:05:57 2015 New Revision: 282710 URL: https://svnweb.freebsd.org/changeset/base/282710 Log: Tweak assert to also print the thread address. Sponsored by: The FreeBSD Foundation MFC after:3 weeks Modified: head/sys/amd64/amd64/pmap.c Modified:

svn commit: r282717 - in head/sys/arm: conf qemu

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 09:37:54 2015 New Revision: 282717 URL: https://svnweb.freebsd.org/changeset/base/282717 Log: Use the new gic option. While here remove extra whitespace from the ned of a few lines. Modified: head/sys/arm/conf/VIRT head/sys/arm/qemu/files.qemu Modified:

svn commit: r282720 - head/usr.sbin/pw

2015-05-10 Thread Baptiste Daroussin
Author: bapt Date: Sun May 10 11:18:01 2015 New Revision: 282720 URL: https://svnweb.freebsd.org/changeset/base/282720 Log: Use calloc(3) instead of malloc(3) + memset(3) While here check the return of calloc(3) Modified: head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/pw/pw_conf.c

Re: svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Thomas Quinot
* Ian Lepore, 2015-05-10 : That gets past the bootstrapping problem, now it dies like this: Ack, I have a fix for this one as well, now rebuilding world to test it... Thomas. ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r282485 - head/lib/libc/gen

2015-05-10 Thread John-Mark Gurney
Benjamin Kaduk wrote this message on Tue, May 05, 2015 at 11:43 -0400: --- head/lib/libc/gen/directory.3 Tue May 5 14:19:22 2015 (r282484) +++ head/lib/libc/gen/directory.3 Tue May 5 14:52:33 2015 (r282485) @@ -267,4 +267,27 @@ The invalidation of .Fn telldir tokens

svn commit: r282730 - head/sys/dev/vt

2015-05-10 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 10 17:11:04 2015 New Revision: 282730 URL: https://svnweb.freebsd.org/changeset/base/282730 Log: Ensure the result from signed subtraction under modulus does not become negative. Submitted by: Oliver Pinter oliver.pin...@hardenedbsd.org MFC after:

svn commit: r282728 - head/sys/boot/efi/loader/arch/i386

2015-05-10 Thread Ian Lepore
Author: ian Date: Sun May 10 13:30:21 2015 New Revision: 282728 URL: https://svnweb.freebsd.org/changeset/base/282728 Log: Don't check the return value from self_reloc(), it can't fail and doesn't return a value. Despite what I said in my prior commit, it turns out this one platform

Re: svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Thomas Quinot
* Ian Lepore, 2015-05-10 : This appears to break bootstrapping, at least when cross-building ARM on a 10-stable build host. The build runs for about 15 seconds before hitting... Ack, looking into it. Does it also fail if building with -j1? Thomas.

svn commit: r282729 - head/lib/libc/net

2015-05-10 Thread Jilles Tjoelker
Author: jilles Date: Sun May 10 14:50:50 2015 New Revision: 282729 URL: https://svnweb.freebsd.org/changeset/base/282729 Log: recv(),send(): Directly call interposing entry instead of going through PLT. recv() and send()'s calls to recvfrom() and sendto() are much like waitpid()'s call

Re: svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Thomas Quinot
* Ian Lepore, 2015-05-10 : This appears to break bootstrapping, at least when cross-building ARM on a 10-stable build host. The build runs for about 15 seconds before hitting... --- _bootstrap-tools-usr.bin/xinstall --- xinstall.o: In function `install':

Re: svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Ian Lepore
On Sun, 2015-05-10 at 13:21 +, Thomas Quinot wrote: Author: thomas Date: Sun May 10 13:21:36 2015 New Revision: 282726 URL: https://svnweb.freebsd.org/changeset/base/282726 Log: Ensure libmd symbols do not clash with libcrypto Add a prefix to all symbols in libmd to avoid

Re: svn commit: r282726 - head/lib/libmd

2015-05-10 Thread Ian Lepore
On Sun, 2015-05-10 at 16:26 +0200, Thomas Quinot wrote: * Ian Lepore, 2015-05-10 : This appears to break bootstrapping, at least when cross-building ARM on a 10-stable build host. The build runs for about 15 seconds before hitting... --- _bootstrap-tools-usr.bin/xinstall ---

svn commit: r282731 - head/sys/boot/arm/uboot

2015-05-10 Thread Ian Lepore
Author: ian Date: Sun May 10 19:14:28 2015 New Revision: 282731 URL: https://svnweb.freebsd.org/changeset/base/282731 Log: Create a relocatable instance of ubldr for ARM. The original ubldr, static-linked to run at a fixed position, is still installed to maintain compatibility with

Re: svn commit: r282672 - head/etc/rc.d

2015-05-10 Thread John Baldwin
On May 8, 2015, at 19:36, Xin LI delp...@freebsd.org wrote: Author: delphij Date: Fri May 8 23:36:31 2015 New Revision: 282672 URL: https://svnweb.freebsd.org/changeset/base/282672 Log: Always convert uuid to lower case. MFC after:2 weeks Modified: head/etc/rc.d/hostid