svn commit: r319490 - in head: . lib/libc/sys

2017-06-01 Thread John Baldwin
c Fri Jun 2 03:25:59 2017(r319489) +++ head/ObsoleteFiles.inc Fri Jun 2 03:53:34 2017(r319490) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20170601: remove stale manpage +OLD_FILES+=usr/share/man/man2/cap_rights_get.2.gz # 20170601: old libifconfig

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

2017-06-01 Thread John Baldwin
Author: jhb Date: Fri Jun 2 03:25:59 2017 New Revision: 319489 URL: https://svnweb.freebsd.org/changeset/base/319489 Log: Add -H as an alias for --speed-large-file to match GNU diff. This is undocumented to match GNU diff where -H is also undocumented. Some existing software (such as kom

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

2017-06-01 Thread Marcelo Araujo
Author: araujo Date: Fri Jun 2 02:37:17 2017 New Revision: 319488 URL: https://svnweb.freebsd.org/changeset/base/319488 Log: Bump manpage date. Modified: head/usr.sbin/bhyve/bhyve.8 Modified: head/usr.sbin/bhyve/bhyve.8 ===

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

2017-06-01 Thread Marcelo Araujo
Author: araujo Date: Fri Jun 2 02:35:16 2017 New Revision: 319487 URL: https://svnweb.freebsd.org/changeset/base/319487 Log: Add VNC Authentication support based on RFC6143 section 7.2.2. Submitted by: Fabian Freyer Reworked by: myself Reviewed by: grehan, rgrimes and jilles MFC a

Re: svn commit: r318750 - in head/contrib: binutils/bfd binutils/ld binutils/ld/emulparams gcc gcc/config/s390

2017-06-01 Thread Pedro Giffuni
Hi; On 06/01/17 19:51, Bryan Drewery wrote: ... Building /usr/obj/root/svn/base/gnu/usr.bin/binutils/libbfd/targmatch.h Skipping meta for .depend: no commands Skipping meta for afterdepend: .PHONY Skipping meta for depend: .PHONY Skipping meta for objwarn: .PHONY Skipping meta for beforebuild:

svn commit: r319485 - head

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 2 00:57:59 2017 New Revision: 319485 URL: https://svnweb.freebsd.org/changeset/base/319485 Log: native-xtools: Connect lld. This will ensure that aarch64 gets a working native /usr/bin/ld rather than requiring the aarch64-binutils hack in Poudriere, or emul

Re: svn commit: r318750 - in head/contrib: binutils/bfd binutils/ld binutils/ld/emulparams gcc gcc/config/s390

2017-06-01 Thread Bryan Drewery
On 6/1/2017 5:18 PM, Bryan Drewery wrote: > On 5/23/2017 12:00 PM, O. Hartmann wrote: >> Am Tue, 23 May 2017 12:52:35 -0500 >> Pedro Giffuni schrieb: >> >>> On 23/05/2017 12:12, O. Hartmann wrote: Am Tue, 23 May 2017 16:38:10 + (UTC) "Pedro F. Giffuni" schrieb: > Author:

Re: svn commit: r318750 - in head/contrib: binutils/bfd binutils/ld binutils/ld/emulparams gcc gcc/config/s390

2017-06-01 Thread Bryan Drewery
On 5/23/2017 12:00 PM, O. Hartmann wrote: > Am Tue, 23 May 2017 12:52:35 -0500 > Pedro Giffuni schrieb: > >> On 23/05/2017 12:12, O. Hartmann wrote: >>> Am Tue, 23 May 2017 16:38:10 + (UTC) >>> "Pedro F. Giffuni" schrieb: >>> Author: pfg Date: Tue May 23 16:38:10 2017 New Re

svn commit: r319481 - head/share/mk

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 1 23:04:44 2017 New Revision: 319481 URL: https://svnweb.freebsd.org/changeset/base/319481 Log: META_MODE: Move ignoring of /usr/local/etc/libmap.d to proper place. This was added in r318194 but local.meta.sys.mk is only used for DIRDEPS_BUILD. Modified:

svn commit: r319477 - in head: etc/rc.d usr.sbin/crashinfo

2017-06-01 Thread Eric van Gyzen
Author: vangyzen Date: Thu Jun 1 21:23:04 2017 New Revision: 319477 URL: https://svnweb.freebsd.org/changeset/base/319477 Log: crashinfo: add "batch" mode and use it during boot In batch mode, most messages go into the core.txt.N file instead of stdout. Reviewed by: jhb MFC after:

svn commit: r319476 - in head/sys/dev/rtwn: rtl8192c rtl8812a

2017-06-01 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jun 1 21:20:44 2017 New Revision: 319476 URL: https://svnweb.freebsd.org/changeset/base/319476 Log: rtwn: drop obsolete (since r319460) code. Tested with RTL8188EU, STA mode. Modified: head/sys/dev/rtwn/rtl8192c/r92c_tx.c head/sys/dev/rtwn/rtl8812a/r12a_tx.c Mo

svn commit: r319475 - head/tools/tools/crypto

2017-06-01 Thread John Baldwin
Author: jhb Date: Thu Jun 1 21:07:32 2017 New Revision: 319475 URL: https://svnweb.freebsd.org/changeset/base/319475 Log: Fix some new errors and a warning in cryptotest. - Use a new 'char *key' to allocate storage for keys and assign the pointer to the session2_op 'const char *' membe

svn commit: r319474 - head/share/man/man9

2017-06-01 Thread Eric van Gyzen
Author: vangyzen Date: Thu Jun 1 21:07:25 2017 New Revision: 319474 URL: https://svnweb.freebsd.org/changeset/base/319474 Log: getenv(9): rename to "kern_getenv", etc. Update the documentation to catch up with r273174, which renamed getenv -> kern_getenv setenv -> kern_sete

svn commit: r319473 - head/lib/clang

2017-06-01 Thread Dimitry Andric
Author: dim Date: Thu Jun 1 21:05:56 2017 New Revision: 319473 URL: https://svnweb.freebsd.org/changeset/base/319473 Log: For arm targets, place ABI at the end of the target triple For some reason, we have been inserting the ABI specification into the middle of the target triple, when bu

svn commit: r319460 - head/sys/net80211

2017-06-01 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jun 1 20:46:43 2017 New Revision: 319460 URL: https://svnweb.freebsd.org/changeset/base/319460 Log: net80211: initialize i_seq for A-MPDU frames. Fragment number field (part of i_seq) is used for AAD calculation; as a result, without this patch every driver without

svn commit: r319459 - head

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 1 20:29:48 2017 New Revision: 319459 URL: https://svnweb.freebsd.org/changeset/base/319459 Log: Revert r319457. META_MODE users actually do not need to do anything special assuming they have COMPAT_FREEBSD11 enabled. The host tools in WORLDTMP will conti

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Ngie Cooper (yaneurabeya)
> On Jun 1, 2017, at 13:06, Alexey Dokuchaev wrote: > > On Thu, Jun 01, 2017 at 11:27:18AM -0700, Ngie Cooper (yaneurabeya) wrote: >> ... >> I vote for not checking in the SHAs. If something fails (as someone else >> mentioned on the lists), it's really hard to debug why it failed. > > Like I'v

svn commit: r319458 - head

2017-06-01 Thread Dimitry Andric
== --- head/ObsoleteFiles.inc Thu Jun 1 20:03:20 2017(r319457) +++ head/ObsoleteFiles.inc Thu Jun 1 20:11:26 2017(r319458) @@ -38,6 +38,11 @@ # xargs -n1 | sort | uniq -d; # done +# 20170601: old libifconfig and libifc +OLD_FILES+=usr/lib/libifc.a

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Alexey Dokuchaev
On Thu, Jun 01, 2017 at 11:27:18AM -0700, Ngie Cooper (yaneurabeya) wrote: > ... > I vote for not checking in the SHAs. If something fails (as someone else > mentioned on the lists), it's really hard to debug why it failed. Like I've said, it's not "really" hard. Check out previous version and ge

svn commit: r319457 - head

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 1 20:03:20 2017 New Revision: 319457 URL: https://svnweb.freebsd.org/changeset/base/319457 Log: META_MODE users should build with -DNO_META_IGNORE_HOST once after ino64 upgrade. See r301467 for more details. Modified: head/UPDATING Modified: head/UPDATIN

svn commit: r319456 - head/tests/sys/opencrypto

2017-06-01 Thread Ngie Cooper
Author: ngie Date: Thu Jun 1 19:58:40 2017 New Revision: 319456 URL: https://svnweb.freebsd.org/changeset/base/319456 Log: tests/sys/opencrypto/runtests: apply minor polish to test script - Refactor kld loading/unloading logic: -- Use a loop instead of an unrolled one. -- Check for the

svn commit: r319455 - head/tests/sys/opencrypto

2017-06-01 Thread Ngie Cooper
Author: ngie Date: Thu Jun 1 19:46:48 2017 New Revision: 319455 URL: https://svnweb.freebsd.org/changeset/base/319455 Log: Fix up `TEST_METADATA` - `TEST_METADATA.foo` should be `TEST_METADATA.run_tests`: this will unbreak trying to run the tests on a system without python installed in

svn commit: r319454 - head/tests/sys/opencrypto

2017-06-01 Thread John Baldwin
Author: jhb Date: Thu Jun 1 19:27:38 2017 New Revision: 319454 URL: https://svnweb.freebsd.org/changeset/base/319454 Log: Honor the requested crid when running a test. Otherwise, the kernel is free to choose an aribtrary crypto device rather than the requested device subverting tests tha

svn commit: r319453 - head/contrib/telnet/telnetd

2017-06-01 Thread Stephen J. Kiernan
Author: stevek Date: Thu Jun 1 19:21:30 2017 New Revision: 319453 URL: https://svnweb.freebsd.org/changeset/base/319453 Log: Fix memory leak in edithost The problem is that when the parameter 'pat' is null, the function locally allocates a NULL string but never frees it. Instead of

svn commit: r319450 - head/sys/vm

2017-06-01 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 1 18:36:52 2017 New Revision: 319450 URL: https://svnweb.freebsd.org/changeset/base/319450 Log: As old prophecy says, some day UMA_DEBUG printfs shall be made CTRs. Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c ==

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Ngie Cooper (yaneurabeya)
> On Jun 1, 2017, at 10:16, Alexey Dokuchaev wrote: > > On Thu, Jun 01, 2017 at 09:58:38AM -0700, Simon J. Gerraty wrote: >> One option would be to store a sha256 hash of the result. >> If the image generated by the test hashes to the correct value - you >> pass. > > That should be preferred.

svn commit: r319448 - head/sys/vm

2017-06-01 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 1 18:26:57 2017 New Revision: 319448 URL: https://svnweb.freebsd.org/changeset/base/319448 Log: Simplify boot pages management in UMA. It is simply a contigous virtual memory pointer and number of pages. There is no need to build a linked list here. Just in

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Alexey Dokuchaev
On Thu, Jun 01, 2017 at 09:58:38AM -0700, Simon J. Gerraty wrote: > One option would be to store a sha256 hash of the result. > If the image generated by the test hashes to the correct value - you > pass. That should be preferred. Storing binary blobs in VCS is bad practice. > Of course if the t

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Simon J. Gerraty
Ngie Cooper (yaneurabeya) wrote: > > These should not be stored uuencoded. It serves no purpose other > > than bloating the repo and causing spammy commit mails like this one > > where we got a huge tail of garbage output. The tests appear to contain generated filesystem images. eg. img-1x1-512-

svn commit: r319444 - in head/sys/compat/linuxkpi/common: include/linux src

2017-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 1 16:49:48 2017 New Revision: 319444 URL: https://svnweb.freebsd.org/changeset/base/319444 Log: Make sure the selrecord() function is only called from within system polling contexts in the LinuxKPI. After the kqueue() support was added to the LinuxKPI in r3

svn commit: r319443 - head/lib/libutil

2017-06-01 Thread Stephen J. Kiernan
Author: stevek Date: Thu Jun 1 16:44:39 2017 New Revision: 319443 URL: https://svnweb.freebsd.org/changeset/base/319443 Log: When sysctlbyname fails, free buf before returning. Submitted by: Thomas Rix Reviewed by: jhb Approved by: sjg (mentor) MFC after:1 week Differential

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Brooks Davis
On Thu, Jun 01, 2017 at 08:11:45AM -0700, Marcel Moolenaar wrote: > > > On May 31, 2017, at 11:06 PM, Ngie Cooper (yaneurabeya) > > wrote: > > > > > >> On May 31, 2017, at 10:03 PM, Brooks Davis wrote: > >> > >> On Wed, May 31, 2017 at 08:01:12AM +, Ngie Cooper wrote: > >>> Author: ngie

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Ngie Cooper
> On Jun 1, 2017, at 08:35, Marcel Moolenaar wrote: > > >> On Jun 1, 2017, at 8:32 AM, Alan Somers wrote: ... >> If the files are binary, then why not store them as binary files? > > A 100MB image, committed as binary file is 100MB of data. The hexdump -C > equivalent is often only a few hu

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Marcel Moolenaar
> On Jun 1, 2017, at 8:32 AM, Alan Somers wrote: > > On Thu, Jun 1, 2017 at 9:11 AM, Marcel Moolenaar wrote: >> >> On May 31, 2017, at 11:06 PM, Ngie Cooper (yaneurabeya) >> wrote: >> >> >> On May 31, 2017, at 10:03 PM, Brooks Davis wrote: >> >> On Wed, May 31, 2017 at 08:01:12AM +, N

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Alan Somers
On Thu, Jun 1, 2017 at 9:11 AM, Marcel Moolenaar wrote: > > On May 31, 2017, at 11:06 PM, Ngie Cooper (yaneurabeya) > wrote: > > > On May 31, 2017, at 10:03 PM, Brooks Davis wrote: > > On Wed, May 31, 2017 at 08:01:12AM +, Ngie Cooper wrote: > > Author: ngie > Date: Wed May 31 08:01:12 2017

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Marcel Moolenaar
> On May 31, 2017, at 11:06 PM, Ngie Cooper (yaneurabeya) > wrote: > > >> On May 31, 2017, at 10:03 PM, Brooks Davis wrote: >> >> On Wed, May 31, 2017 at 08:01:12AM +, Ngie Cooper wrote: >>> Author: ngie >>> Date: Wed May 31 08:01:12 2017 >>> New Revision: 319295 >>> URL: https://svnweb.

svn commit: r319433 - in head/sys/netinet: . tcp_stacks

2017-06-01 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 1 15:11:18 2017 New Revision: 319433 URL: https://svnweb.freebsd.org/changeset/base/319433 Log: Improve comments to describe what the code does. Reported by: jtl Sponsored by: Netflix, Inc. Modified: head/sys/netinet/tcp_input.c head/sys

svn commit: r319432 - head/usr.bin/rctl

2017-06-01 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 1 15:03:43 2017 New Revision: 319432 URL: https://svnweb.freebsd.org/changeset/base/319432 Log: Use proper capitalization with .Dd. Submitted by: oshogbo MFC after:2 weeks Modified: head/usr.bin/rctl/rctl.8 Modified: head/usr.bin/rctl/rctl.8 ==

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Pedro Giffuni
On 06/01/17 01:06, Ngie Cooper (yaneurabeya) wrote: On May 31, 2017, at 10:03 PM, Brooks Davis wrote: On Wed, May 31, 2017 at 08:01:12AM +, Ngie Cooper wrote: Author: ngie Date: Wed May 31 08:01:12 2017 New Revision: 319295 URL: https://svnweb.freebsd.org/changeset/base/319295 Log: Up

svn commit: r319414 - head/sys/dev/mlx4/mlx4_en

2017-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 1 10:44:48 2017 New Revision: 319414 URL: https://svnweb.freebsd.org/changeset/base/319414 Log: Allow communication between functions on the same host when using the mlx4en(4) driver in SRIOV mode. Place a copy of the destination MAC address in the send WQE

svn commit: r319413 - head/sys/dev/mlx4/mlx4_en

2017-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 1 10:39:00 2017 New Revision: 319413 URL: https://svnweb.freebsd.org/changeset/base/319413 Log: Free hardware queue resource after port is stopped in the mlx4en(4) driver. Else if the port is up the resource might still be busy and the MTT free will fail.

svn commit: r319412 - head/sys/netipsec

2017-06-01 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 1 10:04:12 2017 New Revision: 319412 URL: https://svnweb.freebsd.org/changeset/base/319412 Log: Build kdebug_secreplay() function only when IPSEC_DEBUG is defined. This should fix the build on sparc. Reported by: emaste X-MFC with: r319118 Modified: he

svn commit: r319406 - head/sbin/ipfw

2017-06-01 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 1 09:14:49 2017 New Revision: 319406 URL: https://svnweb.freebsd.org/changeset/base/319406 Log: ipfw.8: Note that the ipfw_nat kernel module must be loaded or that the IPFIREWALL_NAT options must be in the kernel config in order to use in-kernel nat. MFC afte

svn commit: r319410 - head/sys/compat/linuxkpi/common/src

2017-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 1 09:53:55 2017 New Revision: 319410 URL: https://svnweb.freebsd.org/changeset/base/319410 Log: Translate the ERESTARTSYS error code into ERESTART in the LinuxKPI ioctl(), read() and write() system call handlers. This error code is internal to the kernel and s

svn commit: r319409 - in head/sys/compat/linuxkpi/common: include/linux src

2017-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 1 09:34:51 2017 New Revision: 319409 URL: https://svnweb.freebsd.org/changeset/base/319409 Log: Add generic kqueue() and kevent() support to the LinuxKPI character devices. The implementation allows read and write filters to be created and piggybacks on the po

Re: svn commit: r316286 - in head: lib/libprocstat sys/kern sys/sys usr.bin/gcore usr.bin/procstat

2017-06-01 Thread Ngie Cooper (yaneurabeya)
> On Mar 30, 2017, at 11:21, Tycho Nightingale wrote: > > Author: tychon > Date: Thu Mar 30 18:21:36 2017 > New Revision: 316286 > URL: https://svnweb.freebsd.org/changeset/base/316286 > > Log: > Add support for capturing 'struct ptrace_lwpinfo' for signals > resulting in a process dumping co

svn commit: r319369 - in head: lib/libc/rpc lib/libc/xdr sys/rpc sys/xdr usr.sbin/rpcbind

2017-06-01 Thread Xin LI
Author: delphij Date: Thu Jun 1 06:12:25 2017 New Revision: 319369 URL: https://svnweb.freebsd.org/changeset/base/319369 Log: * limit size of buffers to RPC_MAXDATASIZE * don't leak memory * be more picky about bad parameters From: https://raw.githubusercontent.com/guidovranke

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Ngie Cooper (yaneurabeya)
> On May 31, 2017, at 10:03 PM, Brooks Davis wrote: > > On Wed, May 31, 2017 at 08:01:12AM +, Ngie Cooper wrote: >> Author: ngie >> Date: Wed May 31 08:01:12 2017 >> New Revision: 319295 >> URL: https://svnweb.freebsd.org/changeset/base/319295 >> >> Log: >> Update the usr.bin/mkimg golden