svn commit: r292431 - stable/9/lib/libc/resolv

2015-12-17 Thread Garrett Cooper
Author: ngie Date: Fri Dec 18 07:00:42 2015 New Revision: 292431 URL: https://svnweb.freebsd.org/changeset/base/292431 Log: MFstable/10 r292430: MFC r292250: Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its defin

svn commit: r292430 - stable/10/lib/libc/resolv

2015-12-17 Thread Garrett Cooper
Author: ngie Date: Fri Dec 18 06:58:44 2015 New Revision: 292430 URL: https://svnweb.freebsd.org/changeset/base/292430 Log: MFC r292250: Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition Reviewed by: um

Re: svn commit: r292428 - head/sys/dev/nand

2015-12-17 Thread Warner Losh
On Thu, Dec 17, 2015 at 11:36 PM, NGie Cooper wrote: > > > On Dec 17, 2015, at 21:55, Warner Losh wrote: > > > > Author: imp > > Date: Fri Dec 18 05:55:24 2015 > > New Revision: 292428 > > URL: https://svnweb.freebsd.org/changeset/base/292428 > > > > Log: > > No need to test command values this

Re: svn commit: r292428 - head/sys/dev/nand

2015-12-17 Thread NGie Cooper
> On Dec 17, 2015, at 21:55, Warner Losh wrote: > > Author: imp > Date: Fri Dec 18 05:55:24 2015 > New Revision: 292428 > URL: https://svnweb.freebsd.org/changeset/base/292428 > > Log: > No need to test command values this way. There can be only one, even > though the encoding is bit-wise tod

Re: svn commit: r292410 - head/usr.sbin/boot0cfg

2015-12-17 Thread Marcelo Araujo
2015-12-18 13:53 GMT+08:00 Garrett Cooper : > > > On Dec 17, 2015, at 21:36, luke wrote: > > > >> On Fri, Dec 18, 2015 at 4:42 AM, John Baldwin wrote: > >> Author: jhb > >> Date: Thu Dec 17 20:42:05 2015 > >> New Revision: 292410 > >> URL: https://svnweb.freebsd.org/changeset/base/292410 > >> >

svn commit: r292429 - head/sys/sys

2015-12-17 Thread Warner Losh
Author: imp Date: Fri Dec 18 06:13:18 2015 New Revision: 292429 URL: https://svnweb.freebsd.org/changeset/base/292429 Log: Add a generic firmware dependent handle to pass from the loader to the kernel. This will be used for passing in things like the system table from EFI or other similar me

svn commit: r292428 - head/sys/dev/nand

2015-12-17 Thread Warner Losh
Author: imp Date: Fri Dec 18 05:55:24 2015 New Revision: 292428 URL: https://svnweb.freebsd.org/changeset/base/292428 Log: No need to test command values this way. There can be only one, even though the encoding is bit-wise today... Modified: head/sys/dev/nand/nand_cdev.c head/sys/dev/nan

Re: svn commit: r292410 - head/usr.sbin/boot0cfg

2015-12-17 Thread Garrett Cooper
> On Dec 17, 2015, at 21:36, luke wrote: > >> On Fri, Dec 18, 2015 at 4:42 AM, John Baldwin wrote: >> Author: jhb >> Date: Thu Dec 17 20:42:05 2015 >> New Revision: 292410 >> URL: https://svnweb.freebsd.org/changeset/base/292410 >> >> Log: >> Exit cleanly if malloc() fails to allocate a buff

svn commit: r292427 - head/libexec/rtld-elf

2015-12-17 Thread Warner Losh
Author: imp Date: Fri Dec 18 05:45:49 2015 New Revision: 292427 URL: https://svnweb.freebsd.org/changeset/base/292427 Log: Use variable names that aren't as prone to dyslexic confusion. Suggested by: jmallet@ Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c

svn commit: r292426 - in head/sys: arm/allwinner/a20 arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/arm arm/freescale/imx arm/include arm/qemu arm/rockchip arm/samsung/exynos arm/t...

2015-12-17 Thread Adrian Chadd
Author: adrian Date: Fri Dec 18 05:43:59 2015 New Revision: 292426 URL: https://svnweb.freebsd.org/changeset/base/292426 Log: [intrng] Migrate the intrng code from sys/arm/arm to sys/kern/subr_intr.c. The ci20 port (by kan@) is going to reuse almost all of the intrng code since the SoC in

svn commit: r292425 - in head/sys: geom/sched modules/geom/geom_sched modules/geom/geom_sched/gsched_delay

2015-12-17 Thread Warner Losh
Author: imp Date: Fri Dec 18 05:39:25 2015 New Revision: 292425 URL: https://svnweb.freebsd.org/changeset/base/292425 Log: Scheduling module to introduce a fixed delay into the I/O path. Added: head/sys/geom/sched/gs_delay.c (contents, props changed) head/sys/modules/geom/geom_sched/gsche

Re: svn commit: r292410 - head/usr.sbin/boot0cfg

2015-12-17 Thread luke
On Fri, Dec 18, 2015 at 4:42 AM, John Baldwin wrote: > Author: jhb > Date: Thu Dec 17 20:42:05 2015 > New Revision: 292410 > URL: https://svnweb.freebsd.org/changeset/base/292410 > > Log: > Exit cleanly if malloc() fails to allocate a buffer for a copy of the > current MBR. > > PR:

svn commit: r292424 - in head/sys: arm/ti dev/ofw

2015-12-17 Thread Warner Losh
Author: imp Date: Fri Dec 18 05:29:22 2015 New Revision: 292424 URL: https://svnweb.freebsd.org/changeset/base/292424 Log: Create a simplebus PNP info wrapper. Differential Review: https://reviews.freebsd.org/D4517 Modified: head/sys/arm/ti/aintc.c head/sys/dev/ofw/ofw_bus_subr.h Modi

svn commit: r292423 - stable/10/usr.sbin/crunch/crunchide

2015-12-17 Thread Ed Maste
Author: emaste Date: Fri Dec 18 03:06:39 2015 New Revision: 292423 URL: https://svnweb.freebsd.org/changeset/base/292423 Log: MFC r281674: crunchide: always include both 32- and 64-bit ELF support This avoids the need to build a target-specific crunchide for cross- builds. Sponsored

svn commit: r292422 - stable/10/usr.sbin/crunch/crunchide

2015-12-17 Thread Ed Maste
Author: emaste Date: Fri Dec 18 02:34:01 2015 New Revision: 292422 URL: https://svnweb.freebsd.org/changeset/base/292422 Log: MFC r281655: crunchide: remove unused a.out and non-functional ECOFF support Sponsored by: The FreeBSD Foundation Deleted: stable/10/usr.sbin/crunch/crunchide/exe

svn commit: r292421 - stable/10/usr.sbin/crunch/crunchide

2015-12-17 Thread Ed Maste
Author: emaste Date: Fri Dec 18 01:44:03 2015 New Revision: 292421 URL: https://svnweb.freebsd.org/changeset/base/292421 Log: Sync crunchide(1) arch support with HEAD MFC r276764, r281781, r282291, r292106 Add support to crunchide for handling AArch64 (arm64) ELF files. Remove local

svn commit: r292420 - head/sys/dev/mmc

2015-12-17 Thread Ian Lepore
Author: ian Date: Fri Dec 18 01:32:43 2015 New Revision: 292420 URL: https://svnweb.freebsd.org/changeset/base/292420 Log: Flag sysctl hw.mmc.debug as a tunable, since often you want to debug the bus probing during system startup. Modified: head/sys/dev/mmc/mmc.c Modified: head/sys/dev/mmc

svn commit: r292419 - head/sys/arm/freescale/imx

2015-12-17 Thread Ian Lepore
Author: ian Date: Fri Dec 18 01:25:30 2015 New Revision: 292419 URL: https://svnweb.freebsd.org/changeset/base/292419 Log: Fix the clock divisor calc for imx6 sdcard bus speed. I don't know what alternate universe I was inhabiting when I wrote it originally, but apparently the basic worki

svn commit: r292418 - in stable: 10/share/man/man9 9/share/man/man9

2015-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 18 01:03:34 2015 New Revision: 292418 URL: https://svnweb.freebsd.org/changeset/base/292418 Log: MFC 292038: Fix a copy and paste bug when this page was first written by copying from BUS_BIND_INTR.9. Modified: stable/9/share/man/man9/BUS_DESCRIBE_INTR.9 Directory

svn commit: r292418 - in stable: 10/share/man/man9 9/share/man/man9

2015-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 18 01:03:34 2015 New Revision: 292418 URL: https://svnweb.freebsd.org/changeset/base/292418 Log: MFC 292038: Fix a copy and paste bug when this page was first written by copying from BUS_BIND_INTR.9. Modified: stable/10/share/man/man9/BUS_DESCRIBE_INTR.9 Director

svn commit: r292417 - in stable: 10/share/man/man4 10/sys/kern 9/share/man/man4 9/sys/kern

2015-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 18 00:40:19 2015 New Revision: 292417 URL: https://svnweb.freebsd.org/changeset/base/292417 Log: MFC 290429: When dumping an rman in DDB, include the RID of each resource. Modified: stable/9/share/man/man4/ddb.4 stable/9/sys/kern/subr_rman.c Directory Properties:

svn commit: r292417 - in stable: 10/share/man/man4 10/sys/kern 9/share/man/man4 9/sys/kern

2015-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 18 00:40:19 2015 New Revision: 292417 URL: https://svnweb.freebsd.org/changeset/base/292417 Log: MFC 290429: When dumping an rman in DDB, include the RID of each resource. Modified: stable/10/share/man/man4/ddb.4 stable/10/sys/kern/subr_rman.c Directory Propertie

svn commit: r292416 - stable/10/sys/kern

2015-12-17 Thread Jamie Gritton
Author: jamie Date: Fri Dec 18 00:33:04 2015 New Revision: 292416 URL: https://svnweb.freebsd.org/changeset/base/292416 Log: MFC r292277: Fix jail name checking that disallowed anything that starts with '0'. The intention was to just limit leading zeroes on numeric names. That ch

svn commit: r292415 - stable/9/sys/kern

2015-12-17 Thread Jamie Gritton
Author: jamie Date: Fri Dec 18 00:33:03 2015 New Revision: 292415 URL: https://svnweb.freebsd.org/changeset/base/292415 Log: MFC r292277: Fix jail name checking that disallowed anything that starts with '0'. The intention was to just limit leading zeroes on numeric names. That ch

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Gleb Smirnoff
On Thu, Dec 17, 2015 at 11:26:52PM +, Steven Hartland wrote: S> You may have not read all the detail in the review so you might not have S> noticed that I S> identified that carp IPv6 NA was broken by r251584 which was committed 2 1/2 S> years ago. I'm guessing not may people use it for IPv6.

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Steven Hartland
On 17/12/2015 19:16, Gleb Smirnoff wrote: Steven, On Thu, Dec 17, 2015 at 02:29:02PM +, Steven Hartland wrote: S> I would definitely like to understand more about your concerns and learn S> from S> your knowledge in this area, so thanks for that offer, and while it does S> sound S> unforg

svn commit: r292413 - in head: share/man/man4 sys/dev/ioat

2015-12-17 Thread Conrad E. Meyer
Author: cem Date: Thu Dec 17 23:21:37 2015 New Revision: 292413 URL: https://svnweb.freebsd.org/changeset/base/292413 Log: ioat(4): Add an API to get HW revision Different revisions support different operations. Refer to Intel External Design Specifications to figure out what your hardwa

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Steven Hartland
On 17/12/2015 19:20, Gleb Smirnoff wrote: Steven, another feasible solution for the design described in the 156226 would be to run STP on the switches, and if_bridge(4) instead of if_lagg(4) on FreeBSD, also with STP enabled. Would work perfectly. Of course, if switches are dumb and cheap, a

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread John Baldwin
On Thursday, December 17, 2015 02:29:02 PM Steven Hartland wrote: > With regards MAINTAINERS, is there any sort of automation which could alert > on this (pre-commit) hook maybe as I'm sure that would be helpful as a > reminder. To this point (and this point only): I would encourage anyone who wit

svn commit: r292411 - head/sys/dev/if_ndis

2015-12-17 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 17 21:01:19 2015 New Revision: 292411 URL: https://svnweb.freebsd.org/changeset/base/292411 Log: Fix regression in if_ndis in r280347. Submitted by: avos Reported by: Ev Bogdanov Tested by:Ivan Kormachev MFC after:3 days Modified: head/sys/d

svn commit: r292410 - head/usr.sbin/boot0cfg

2015-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:42:05 2015 New Revision: 292410 URL: https://svnweb.freebsd.org/changeset/base/292410 Log: Exit cleanly if malloc() fails to allocate a buffer for a copy of the current MBR. PR: 205322 Submitted by: Alexander Kuleshov MFC after:1 week Mo

svn commit: r292409 - head/sys/dev/drm2/i915

2015-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:33:20 2015 New Revision: 292409 URL: https://svnweb.freebsd.org/changeset/base/292409 Log: t seems certain Intel GPUs use GPIO bitbanging over a child device instead of GMBUS access for I2C transfers. The GMBUS driver falls back to this mode when a transfer t

svn commit: r292408 - head/crypto/openssh

2015-12-17 Thread Dag-Erling Smørgrav
Author: des Date: Thu Dec 17 19:36:25 2015 New Revision: 292408 URL: https://svnweb.freebsd.org/changeset/base/292408 Log: Incorrect length in calloc() call, already fixed upstream. PR: 204769 Submitted by: David Binderman MFC after:1 week Modified: head/crypto/openssh

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Gleb Smirnoff
Steven, another feasible solution for the design described in the 156226 would be to run STP on the switches, and if_bridge(4) instead of if_lagg(4) on FreeBSD, also with STP enabled. Would work perfectly. Of course, if switches are dumb and cheap, and can't do STP, then a tiny bpf-writer is th

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Gleb Smirnoff
Steven, On Thu, Dec 17, 2015 at 02:29:02PM +, Steven Hartland wrote: S> I would definitely like to understand more about your concerns and learn S> from S> your knowledge in this area, so thanks for that offer, and while it does S> sound S> unforgiving I totally understand where you're com

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Gleb Smirnoff
Steven, On Thu, Dec 17, 2015 at 02:29:02PM +, Steven Hartland wrote: S> Hey Gleb, sorry I didn't wait for your review, but I did ask around on what S> the timeout for this would be and was informed 2 weeks and as it had been S> over a month, with quite a bit of feedback from others in the ar

svn commit: r292407 - in head/sys/riscv: . include

2015-12-17 Thread Ruslan Bukin
Author: br Date: Thu Dec 17 18:44:30 2015 New Revision: 292407 URL: https://svnweb.freebsd.org/changeset/base/292407 Log: Import RISC-V machine headers. This is a minimal set required to compile kernel and userland. Reviewed by: andrew, imp, kib Sponsored by: DARPA, AFRL Sponsored by

svn commit: r292406 - head/sys/vm

2015-12-17 Thread Conrad E. Meyer
Author: cem Date: Thu Dec 17 17:48:57 2015 New Revision: 292406 URL: https://svnweb.freebsd.org/changeset/base/292406 Log: vm_page_replace: add wrapper to KASSERT about old page It turns out the callers of vm_page_replace know exactly which page they are replacing and would like to assert

Re: svn commit: r292405 - in head/sys: arm64/include dev/ofw

2015-12-17 Thread Nathan Whitehorn
I don't really like the #ifdef here. If it contradicts ePAPR, switching on the behavior through a #define OFW_EPAPR is at best misleading. And, aside from the default value of 2, this *is* compliant with the ePAPR spec, as well as with CHRP and PAPR (which is where ePAPR got it from). Do we hav

svn commit: r292405 - in head/sys: arm64/include dev/ofw

2015-12-17 Thread Andrew Turner
Author: andrew Date: Thu Dec 17 17:00:04 2015 New Revision: 292405 URL: https://svnweb.freebsd.org/changeset/base/292405 Log: Support the variant of the interrupt-map property where the parent bus has the #address-cells property set. For this we need to read more data before the parent inter

svn commit: r292404 - stable/9/lib/libc/net

2015-12-17 Thread Hajimu UMEMOTO
Author: ume Date: Thu Dec 17 16:09:15 2015 New Revision: 292404 URL: https://svnweb.freebsd.org/changeset/base/292404 Log: MFC r292059: The calls to RES_SET_H_ERRNO() macro on error paths wind up dereferencing an uninitialized res. PR: 202142 Submitted by: Sean Boudreau

svn commit: r292403 - stable/10/lib/libc/net

2015-12-17 Thread Hajimu UMEMOTO
Author: ume Date: Thu Dec 17 16:08:28 2015 New Revision: 292403 URL: https://svnweb.freebsd.org/changeset/base/292403 Log: MFC r292059: The calls to RES_SET_H_ERRNO() macro on error paths wind up dereferencing an uninitialized res. PR: 202142 Submitted by: Sean Boudreau

svn commit: r292402 - in head/sys: net netinet netinet6

2015-12-17 Thread Steven Hartland
Author: smh Date: Thu Dec 17 14:41:30 2015 New Revision: 292402 URL: https://svnweb.freebsd.org/changeset/base/292402 Log: Revert r292275 & r292379 glebius has concerns about these changes so reverting those can be discussed and addressed. Sponsored by: Multiplay Modified: head/sy

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-17 Thread Steven Hartland
Hey Gleb, sorry I didn't wait for your review, but I did ask around on what the timeout for this would be and was informed 2 weeks and as it had been over a month, with quite a bit of feedback from others in the area, all of which had been addressed I thought that was reasonable. A simple reply

svn commit: r292399 - head/usr.bin/calendar/calendars

2015-12-17 Thread Christian Brueffer
Author: brueffer Date: Thu Dec 17 10:37:11 2015 New Revision: 292399 URL: https://svnweb.freebsd.org/changeset/base/292399 Log: RIP Juergen Lock (n...@freebsd.org), you and your contributions won't be forgotten. Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.b