svn commit: r315229 - head/sys/dev/isp

2017-03-13 Thread Alexander Motin
Author: mav Date: Tue Mar 14 06:57:55 2017 New Revision: 315229 URL: https://svnweb.freebsd.org/changeset/base/315229 Log: Remove remnant of r315163. MFC after:13 days Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c =

svn commit: r315228 - head/tools/build/mk

2017-03-13 Thread Ngie Cooper
Author: ngie Date: Tue Mar 14 06:52:54 2017 New Revision: 315228 URL: https://svnweb.freebsd.org/changeset/base/315228 Log: Redirect standard error from find /rescue to /dev/null This mutes noise from find when /rescue doesn't exist. MFC after:1 week Sponsored by: Dell EMC Isilon

svn commit: r315227 - in stable/10: lib/libc/gen sys/libkern

2017-03-13 Thread Xin LI
Author: delphij Date: Tue Mar 14 06:12:51 2017 New Revision: 315227 URL: https://svnweb.freebsd.org/changeset/base/315227 Log: MFC r315225: Discard first 3072 bytes of RC4 keystream, this is a bandaid that allows us to work on switching to a more modern PRNG. Submitted by: Steven Cha

svn commit: r315226 - in stable/11: lib/libc/gen sys/libkern

2017-03-13 Thread Xin LI
Author: delphij Date: Tue Mar 14 06:10:40 2017 New Revision: 315226 URL: https://svnweb.freebsd.org/changeset/base/315226 Log: MFC r315225: Discard first 3072 bytes of RC4 keystream, this is a bandaid that allows us to work on switching to a more modern PRNG. Submitted by: Steven Cha

svn commit: r315225 - in head: lib/libc/gen sys/libkern

2017-03-13 Thread Xin LI
Author: delphij Date: Tue Mar 14 06:00:44 2017 New Revision: 315225 URL: https://svnweb.freebsd.org/changeset/base/315225 Log: Discard first 3072 bytes of RC4 keystream, this is a bandaid that allows us to work on switching to a more modern PRNG. Submitted by: Steven Chamberlain Approv

svn commit: r315224 - stable/11/usr.bin/localedef

2017-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Tue Mar 14 02:13:59 2017 New Revision: 315224 URL: https://svnweb.freebsd.org/changeset/base/315224 Log: MFC r314974, r315006: localedef(1): Fix small coverity issues. - Operands don't affect result (CONSTANT_EXPRESSION_RESULT) - Buffer not null terminated (BUFFER_SIZE

svn commit: r315223 - in head: . sbin/ipf

2017-03-13 Thread Cy Schubert
== --- head/ObsoleteFiles.inc Tue Mar 14 02:06:12 2017(r315222) +++ head/ObsoleteFiles.inc Tue Mar 14 02:10:37 2017(r315223) @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20170313: sbin/ipftest and ipresend temporarily disconnected. +OLD_FILES+=sbin/ipftest

svn commit: r315221 - in stable/11/sys: amd64/amd64 boot/common boot/efi/libefi boot/fdt boot/ficl boot/kshim boot/ofw/libofw boot/sparc64/loader boot/userboot/userboot boot/zfs dev/agp dev/an dev/...

2017-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Tue Mar 14 02:06:03 2017 New Revision: 315221 URL: https://svnweb.freebsd.org/changeset/base/315221 Log: MFC r313982, r314068: sys: Replace zero with NULL for pointers. Found with: devel/coccinelle Modified: stable/11/sys/amd64/amd64/db_disasm.c stable/11/sys/amd6

svn commit: r315222 - head/sbin/ipf

2017-03-13 Thread Cy Schubert
Author: cy Date: Tue Mar 14 02:06:12 2017 New Revision: 315222 URL: https://svnweb.freebsd.org/changeset/base/315222 Log: Revert r315218 so that it may be committed together with r315219. Modified: head/sbin/ipf/Makefile Modified: head/sbin/ipf/Makefile ==

svn commit: r315220 - head

2017-03-13 Thread Cy Schubert
== --- head/ObsoleteFiles.inc Tue Mar 14 01:15:14 2017(r315219) +++ head/ObsoleteFiles.inc Tue Mar 14 02:04:44 2017(r315220) @@ -38,9 +38,6 @@ # xargs -n1 | sort | uniq -d; # done -# 20170313: sbin/ipftest and ipresend

svn commit: r315219 - head

2017-03-13 Thread Cy Schubert
+38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20170313: sbin/ipftest and ipresend temporarily disconnected (r315218). +OLD_FILES+=sbin/ipftest +OLD_FILES+=sbin/ipresend # 20170311: Remove WITHOUT_MANDOCDB option OLD_FILES+=usr/share/man/man1/makewhatis.1.gz # 20170311: remove GNU diff

svn commit: r315218 - head/sbin/ipf

2017-03-13 Thread Cy Schubert
Author: cy Date: Tue Mar 14 01:00:09 2017 New Revision: 315218 URL: https://svnweb.freebsd.org/changeset/base/315218 Log: Disconnect ipftest and ipresend from the build until it can be verified that they still work. These utilities have become out of sync with the code in the kernel and need

Re: svn commit: r315163 - head/sys/dev/isp

2017-03-13 Thread Ravi Pokala
Hi Alexander, This appears to break powerpc and sparc64 kernels: _.powerpc.GENERIC:cc1: warnings being treated as errors _.powerpc.GENERIC-/usr/home/rpokala/freebsd/clean/base/head/sys/dev/isp/isp_freebsd.c:55: warning: 'isp_intr_enable' declared 'static' but never defined -- _.

Re: svn commit: r315155 - in head/sys: kern sys

2017-03-13 Thread Ravi Pokala
Hi Konstantin, This appears to break mips kernels: _.mips.ADM5120:cc1: warnings being treated as errors _.mips.ADM5120-/usr/home/rpokala/freebsd/clean/base/head/sys/kern/kern_event.c:892: warning: 'kev_iovlen' defined but not used _.mips.ALCHEMY:cc1: warnings being treated as errors

svn commit: r315217 - in head/sys: dev/bnxt dev/e1000 net

2017-03-13 Thread Sean Bruno
Author: sbruno Date: Mon Mar 13 22:53:06 2017 New Revision: 315217 URL: https://svnweb.freebsd.org/changeset/base/315217 Log: IFLIB updates - unconditionally enable BUS_DMA on non-x86 architectures - speed up rxd zeroing via customized function - support out of order updates to rxd's - a

svn commit: r315216 - stable/11/share/man/man7

2017-03-13 Thread Jeremie Le Hen
Author: jlh Date: Mon Mar 13 22:45:51 2017 New Revision: 315216 URL: https://svnweb.freebsd.org/changeset/base/315216 Log: MFC r314995: Add a very natural, binary version of the ASCII table. Reviewed by: bcr, eadler Obtained from:https://garbagecollected.org/2017/01/31/four-column-

Re: svn commit: r315214 - head/usr.sbin/mpsutil

2017-03-13 Thread Pedro Giffuni
On 3/13/2017 3:55 PM, Ngie Cooper wrote: On Mon, Mar 13, 2017 at 1:49 PM, Pedro F. Giffuni wrote: Author: pfg Date: Mon Mar 13 20:49:31 2017 New Revision: 315214 URL: https://svnweb.freebsd.org/changeset/base/315214 Log: mpsutil(8): let calloc(3) do the multiplying. Should this change an

Re: svn commit: r315214 - head/usr.sbin/mpsutil

2017-03-13 Thread Ngie Cooper
On Mon, Mar 13, 2017 at 1:49 PM, Pedro F. Giffuni wrote: > Author: pfg > Date: Mon Mar 13 20:49:31 2017 > New Revision: 315214 > URL: https://svnweb.freebsd.org/changeset/base/315214 > > Log: > mpsutil(8): let calloc(3) do the multiplying. Should this change and the next one (ypbind) be MFCed?

svn commit: r315215 - head/usr.sbin/ypbind

2017-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 13 20:51:00 2017 New Revision: 315215 URL: https://svnweb.freebsd.org/changeset/base/315215 Log: ypbind(8): let calloc(3) do the multiplying. Modified: head/usr.sbin/ypbind/yp_ping.c Modified: head/usr.sbin/ypbind/yp_ping.c ==

svn commit: r315214 - head/usr.sbin/mpsutil

2017-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 13 20:49:31 2017 New Revision: 315214 URL: https://svnweb.freebsd.org/changeset/base/315214 Log: mpsutil(8): let calloc(3) do the multiplying. Modified: head/usr.sbin/mpsutil/mps_cmd.c Modified: head/usr.sbin/mpsutil/mps_cmd.c ===

svn commit: r315213 - head/usr.sbin/nscd

2017-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 13 20:34:53 2017 New Revision: 315213 URL: https://svnweb.freebsd.org/changeset/base/315213 Log: nscd(8): let calloc(3) do the multiplying. MFC after:1 week Modified: head/usr.sbin/nscd/cachelib.c head/usr.sbin/nscd/config.c head/usr.sbin/nscd/hashtable.

svn commit: r315212 - head/usr.bin/mkimg

2017-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 13 20:14:07 2017 New Revision: 315212 URL: https://svnweb.freebsd.org/changeset/base/315212 Log: mkimg(1): let calloc(3) do the multiplication. Reviewed by: marcel MFC after:1 week Modified: head/usr.bin/mkimg/qcow.c Modified: head/usr.bin/mkimg/qcow.c =

svn commit: r315211 - head/share/man/man7

2017-03-13 Thread Bryan Drewery
Author: bdrewery Date: Mon Mar 13 19:54:20 2017 New Revision: 315211 URL: https://svnweb.freebsd.org/changeset/base/315211 Log: hier(7): Fix entry location for /usr/share/vt. MFC after:2 weeks Modified: head/share/man/man7/hier.7 Modified: head/share/man/man7/hier.7

svn commit: r315210 - stable/11/sbin/kldstat

2017-03-13 Thread Mark Johnston
Author: markj Date: Mon Mar 13 19:12:18 2017 New Revision: 315210 URL: https://svnweb.freebsd.org/changeset/base/315210 Log: MFC r315018: Typo. Modified: stable/11/sbin/kldstat/kldstat.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/kldstat/kldstat.c ===

svn commit: r315209 - head/sys/vm

2017-03-13 Thread Mark Johnston
Author: markj Date: Mon Mar 13 18:45:25 2017 New Revision: 315209 URL: https://svnweb.freebsd.org/changeset/base/315209 Log: Update a comment to reflect reality. MFC after:1 week Modified: head/sys/vm/uma.h Modified: head/sys/vm/uma.h

svn commit: r315208 - head/sys/cddl/dev/dtrace

2017-03-13 Thread Mark Johnston
Author: markj Date: Mon Mar 13 18:43:00 2017 New Revision: 315208 URL: https://svnweb.freebsd.org/changeset/base/315208 Log: Fix a backwards comparison in the code to dump a DTrace debug buffer. PR: 217739 MFC after:1 week Modified: head/sys/cddl/dev/dtrace/dtrace_debug.c

svn commit: r315207 - head/sys/netinet/libalias

2017-03-13 Thread Conrad Meyer
Author: cem Date: Mon Mar 13 18:05:31 2017 New Revision: 315207 URL: https://svnweb.freebsd.org/changeset/base/315207 Log: alias_proxy.c: Fix accidental error quashing This was introduced on accident in r165243, when return sites were unified to add a lock around LibAliasProxyRule().

svn commit: r315206 - head/contrib/bsnmp/snmpd

2017-03-13 Thread Ngie Cooper
Author: ngie Date: Mon Mar 13 18:01:01 2017 New Revision: 315206 URL: https://svnweb.freebsd.org/changeset/base/315206 Log: bsnmpd: fix segfault when trans_insert_port(..) is called with multiple out of order addresses Move `port->transport` initialization before the TAILQ_FOREACH(..) loo

svn commit: r315205 - head/sys/dev/isci/scil

2017-03-13 Thread Conrad Meyer
Author: cem Date: Mon Mar 13 17:58:08 2017 New Revision: 315205 URL: https://svnweb.freebsd.org/changeset/base/315205 Log: scif_sas_controller: Fix inverted logic range check PR: 217742 Submitted by: Svyatoslav Sponsored by: Viva64 (PVS-Studio) Modified: head/sys/dev/isci/

svn commit: r315204 - head/sys/netpfil/ipfw/nat64

2017-03-13 Thread Conrad Meyer
Author: cem Date: Mon Mar 13 17:53:46 2017 New Revision: 315204 URL: https://svnweb.freebsd.org/changeset/base/315204 Log: nat64lsn: Use memset() with structure, not pointer, size PR: 217738 Submitted by: Svyatoslav Sponsored by: Viva64 (PVS-Studio) Modified: head/sys/netp

svn commit: r315203 - head/sbin/dhclient

2017-03-13 Thread Ngie Cooper
Author: ngie Date: Mon Mar 13 17:45:00 2017 New Revision: 315203 URL: https://svnweb.freebsd.org/changeset/base/315203 Log: sbin/dhclient: fix `vendor` storage leak in parse_option_decl(..) This ensures the storage isn't leaked when non-NULL and the function returns early, prior to the `f

svn commit: r315202 - head/lib/libcam

2017-03-13 Thread Ngie Cooper
Author: ngie Date: Mon Mar 13 17:35:55 2017 New Revision: 315202 URL: https://svnweb.freebsd.org/changeset/base/315202 Log: lib/libcam/cam_cdbparse.3: fix manpage warnings - Add comma before and after 'e.g.'; remove surrounding parentheses that were unnecessary after this change [1].

svn commit: r315201 - head/sys/dev/cxgbe

2017-03-13 Thread Navdeep Parhar
Author: np Date: Mon Mar 13 17:16:29 2017 New Revision: 315201 URL: https://svnweb.freebsd.org/changeset/base/315201 Log: cxgbe(4): Fix an always-true assertion (reported by PVS-Studio). sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3) PR: 217746

svn commit: r315200 - head/sbin/dhclient/tests

2017-03-13 Thread Ngie Cooper
Author: ngie Date: Mon Mar 13 17:15:45 2017 New Revision: 315200 URL: https://svnweb.freebsd.org/changeset/base/315200 Log: Fix -Wunused-but-set-warning with `ret` While here, resolve Coverity warnings by demonstrating that vfprintf's return value is being explicitly ignored. MFC aft

svn commit: r315199 - head/sbin/dhclient

2017-03-13 Thread Ngie Cooper
Author: ngie Date: Mon Mar 13 17:05:49 2017 New Revision: 315199 URL: https://svnweb.freebsd.org/changeset/base/315199 Log: sbin/dhclient: fix a memory leak in parse_client_lease_statement(..) The memory stored by `lease` would have previously been leaked if an unterminated lease declarat

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-13 Thread Adrian Chadd
size. think 32/64mb RAM, 8mb flash storage. -adrian On 13 March 2017 at 08:40, Baptiste Daroussin wrote: > On Mon, Mar 13, 2017 at 09:55:52AM +0100, Michal Meloun wrote: >> >> >> On 11.03.2017 6:01, Baptiste Daroussin wrote: >> > Author: bapt >> > Date: Sat Mar 11 05:01:29 2017 >> > New Revisi

svn commit: r315198 - head/sys/net80211

2017-03-13 Thread Adrian Chadd
Author: adrian Date: Mon Mar 13 16:44:06 2017 New Revision: 315198 URL: https://svnweb.freebsd.org/changeset/base/315198 Log: [net80211] begin fleshing out per-VAP WME configurations. As part of (eventual) p2p/tdls/multi-STA support, a lot of global configuration parameters (WME, ERP (sl

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-13 Thread Baptiste Daroussin
On Mon, Mar 13, 2017 at 09:55:52AM +0100, Michal Meloun wrote: > > > On 11.03.2017 6:01, Baptiste Daroussin wrote: > > Author: bapt > > Date: Sat Mar 11 05:01:29 2017 > > New Revision: 315051 > > URL: https://svnweb.freebsd.org/changeset/base/315051 > > > > Log: > > Import diff from OpenBSD an

svn commit: r315197 - head/usr.bin/diff

2017-03-13 Thread Baptiste Daroussin
Author: bapt Date: Mon Mar 13 15:34:21 2017 New Revision: 315197 URL: https://svnweb.freebsd.org/changeset/base/315197 Log: Do not die if cap_rights_limit reports ENOSYS Reported by: mmel Modified: head/usr.bin/diff/diffreg.c Modified: head/usr.bin/diff/diffreg.c ==

Re: svn commit: r315112 - in head: sbin/geom/class/label sys/geom/part

2017-03-13 Thread Marcelo Araujo
Thank you! Seems we are good now. Br, On Mar 13, 2017 11:05 PM, "Ngie Cooper" wrote: > > On Mar 13, 2017, at 06:59, Marcelo Araujo wrote: > > Hi, > > Commit r315196 shall fix it! Let me know if it is fixed or not, or > otherwise I need to revert those bits from sys/geom till I figure out a > b

Re: svn commit: r315112 - in head: sbin/geom/class/label sys/geom/part

2017-03-13 Thread Ngie Cooper
> On Mar 13, 2017, at 06:59, Marcelo Araujo wrote: > > Hi, > > Commit r315196 shall fix it! Let me know if it is fixed or not, or otherwise > I need to revert those bits from sys/geom till I figure out a better solution. > > And taking the opportunity, ngie@ how I can run only that geli(8) te

Re: svn commit: r315112 - in head: sbin/geom/class/label sys/geom/part

2017-03-13 Thread Ngie Cooper
> On Mar 13, 2017, at 06:25, Marcelo Araujo wrote: > > Yes, I saw it too. > I'm back to my hotel in Japan, and I will commit it soon. > > Thank you all for the hands up. https://img.clipartfest.com/6aa6e076f5af13d0dd77062e11c691fc_now-hands-in-air-roller-coaster-fun-clipart_400-408.jpeg Thank

Re: svn commit: r315112 - in head: sbin/geom/class/label sys/geom/part

2017-03-13 Thread Marcelo Araujo
Hi, Commit r315196 shall fix it! Let me know if it is fixed or not, or otherwise I need to revert those bits from sys/geom till I figure out a better solution. And taking the opportunity, ngie@ how I can run only that geli(8) test manually? Best, 2017-03-13 17:48 GMT+08:00 Andrey V. Elsukov :

svn commit: r315196 - head/sys/geom/part

2017-03-13 Thread Marcelo Araujo
Author: araujo Date: Mon Mar 13 13:56:01 2017 New Revision: 315196 URL: https://svnweb.freebsd.org/changeset/base/315196 Log: After r315112 I broke the tests with eli, instead to pass 0, I should pass M_NOWAIT to g_media_changed() that will call g_post_event() with this flag. Reported by:

Re: svn commit: r315112 - in head: sbin/geom/class/label sys/geom/part

2017-03-13 Thread Marcelo Araujo
Yes, I saw it too. I'm back to my hotel in Japan, and I will commit it soon. Thank you all for the hands up. Best, On Mar 13, 2017 6:50 PM, "Andrey V. Elsukov" wrote: > On 13.03.2017 04:54, Ngie Cooper (yaneurabeya) wrote: > > Hi Marcel, This change broke GENERIC when running the eli tests wi

svn commit: r315195 - head/sys/geom

2017-03-13 Thread Scott Long
Author: scottl Date: Mon Mar 13 11:09:17 2017 New Revision: 315195 URL: https://svnweb.freebsd.org/changeset/base/315195 Log: Report disk flags via the sysctl tree Modified: head/sys/geom/geom_disk.c Modified: head/sys/geom/geom_disk.c

svn commit: r315194 - stable/11/sys/kern

2017-03-13 Thread Konstantin Belousov
Author: kib Date: Mon Mar 13 10:49:36 2017 New Revision: 315194 URL: https://svnweb.freebsd.org/changeset/base/315194 Log: Switch from the usage of vm_map_find()/vm_map_insert() to vm_map_fixed(). MFC r314487: Use vm_map_insert() instead of vm_map_find() in elf_map_insert(). MFC r314

svn commit: r315193 - stable/11/sys/kern

2017-03-13 Thread Konstantin Belousov
Author: kib Date: Mon Mar 13 10:41:47 2017 New Revision: 315193 URL: https://svnweb.freebsd.org/changeset/base/315193 Log: MFC r314486: When deallocating the vm object in elf_map_insert() due to vm_map_insert() failure, drop the vnode lock around the call to vm_object_deallocate(). Modifi

Re: svn commit: r315112 - in head: sbin/geom/class/label sys/geom/part

2017-03-13 Thread Andrey V. Elsukov
On 13.03.2017 04:54, Ngie Cooper (yaneurabeya) wrote: > Hi Marcel, This change broke GENERIC when running the eli tests with > a KASSERT: > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/2104/console > .Please fix or revert and fix later. Thanks, -Ngie > It seems g_media_changed() should be c

svn commit: r315192 - head/sys/net

2017-03-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 13 09:04:10 2017 New Revision: 315192 URL: https://svnweb.freebsd.org/changeset/base/315192 Log: Ignore ifnet renaming in the bpf ifnet departure handler. PR: 213015 MFC after:1 week Modified: head/sys/net/bpf.c Modified: head/sys/net/bpf.c =

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-13 Thread Michal Meloun
On 11.03.2017 6:01, Baptiste Daroussin wrote: > Author: bapt > Date: Sat Mar 11 05:01:29 2017 > New Revision: 315051 > URL: https://svnweb.freebsd.org/changeset/base/315051 > > Log: > Import diff from OpenBSD and remove GNU diff > > Some of the modifications from the previous summer of co

svn commit: r315191 - stable/11/sys/netpfil/ipfw

2017-03-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 13 08:04:25 2017 New Revision: 315191 URL: https://svnweb.freebsd.org/changeset/base/315191 Log: MFC r314715: Reject invalid object types that can not be used with specific opcodes. When we doing reference counting of named objects in the new rule, for exi

svn commit: r315190 - in head: sys/dev/pci usr.sbin/pciconf

2017-03-13 Thread Scott Long
Author: scottl Date: Mon Mar 13 07:45:15 2017 New Revision: 315190 URL: https://svnweb.freebsd.org/changeset/base/315190 Log: Add constants and descriptions for some new PCI class definitions Modified: head/sys/dev/pci/pcireg.h head/usr.sbin/pciconf/pciconf.c Modified: head/sys/dev/pci/pci