svn commit: r317786 - head/sys/amd64/pci

2017-05-03 Thread Sepherosa Ziehau
Author: sephe Date: Thu May 4 05:28:46 2017 New Revision: 317786 URL: https://svnweb.freebsd.org/changeset/base/317786 Log: pcicfg: Fix direct calls of pci_cfg{read,write} on systems w/o PCI host bridge. Reported by: dexuan@ Reviewed by: jhb@ MFC after:1 week Sponsored by: Mic

svn commit: r317785 - head/sys/boot/i386/zfsboot

2017-05-03 Thread Toomas Soome
Author: tsoome Date: Thu May 4 05:26:37 2017 New Revision: 317785 URL: https://svnweb.freebsd.org/changeset/base/317785 Log: zfsboot: drvsize() may be unusable on some systems From user report, the errors are seen: error 1 error 1 gptzfsboot: error 1 lba 4294967288 gptzfsboot: erro

svn commit: r317784 - head/sys/kern

2017-05-03 Thread Mateusz Guzik
Author: mjg Date: Thu May 4 03:11:59 2017 New Revision: 317784 URL: https://svnweb.freebsd.org/changeset/base/317784 Log: cache: stop holding the ncneg_hot lock across purging Only non-hot entries are purged so the lock is not needed in the first place. This saves one lock/unlock pair.

svn commit: r317783 - head/contrib/hyperv/tools

2017-05-03 Thread Sepherosa Ziehau
Author: sephe Date: Thu May 4 01:46:04 2017 New Revision: 317783 URL: https://svnweb.freebsd.org/changeset/base/317783 Log: hyperv/kvp: Fix pool direcrory and file permission PR: 209385 MFC after:2 weeks Sponsored by: Microsoft Modified: head/contrib/hyperv/tools/hv_kv

svn commit: r317782 - in head: contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/test_utils lib/libarchive/tests

2017-05-03 Thread Martin Matuska
Author: mm Date: Thu May 4 00:04:17 2017 New Revision: 317782 URL: https://svnweb.freebsd.org/changeset/base/317782 Log: MFV r317781: Sync libarchive with vendor Vendor changes (FreeBSD-related): PR 897: add test for ZIP archives with invalid EOCD headers PR 901: fix invalid rena

svn commit: r317781 - in vendor/libarchive/dist: . cpio cpio/test libarchive libarchive/test test_utils

2017-05-03 Thread Martin Matuska
Author: mm Date: Wed May 3 23:55:12 2017 New Revision: 317781 URL: https://svnweb.freebsd.org/changeset/base/317781 Log: Update vendor/libarchive to git c253f0aae9ac86a617b4f814137e07757df72391 Vendor changes (FreeBSD-related): PR 897: test for ZIP archives with invalid EOCD headers

svn commit: r317780 - stable/11/sys/compat/linuxkpi/common/src

2017-05-03 Thread Mark Johnston
Author: markj Date: Wed May 3 23:41:09 2017 New Revision: 317780 URL: https://svnweb.freebsd.org/changeset/base/317780 Log: MFC r317148: Drop Giant before sleeping in linux_wait_for_{timeout_,}common(). Modified: stable/11/sys/compat/linuxkpi/common/src/linux_compat.c Directory Properties:

Re: svn commit: r317779 - head/sys/fs/ext2fs

2017-05-03 Thread Ngie Cooper
On Wed, May 3, 2017 at 3:35 PM, Pedro F. Giffuni wrote: > Author: pfg > Date: Wed May 3 22:35:41 2017 > New Revision: 317779 > URL: https://svnweb.freebsd.org/changeset/base/317779 > > Log: > ext2fs: add read-write support for Extended Attributes. > > Extended attributes and their particular

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Warner Losh
On Wed, May 3, 2017 at 4:50 PM, Andrey V. Elsukov wrote: > On 03.05.2017 22:22, Alan Somers wrote: >> The problem with the original code is that module load errors would be >> caught too late, and as a result the error printed would be less >> useful. For example, if you forgot to put "kld_list=i

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Andrey V. Elsukov
On 03.05.2017 22:22, Alan Somers wrote: > The problem with the original code is that module load errors would be > caught too late, and as a result the error printed would be less > useful. For example, if you forgot to put "kld_list=if_igb" in > /etc/rc.conf and run "ifconfig igb0", it would prin

svn commit: r317779 - head/sys/fs/ext2fs

2017-05-03 Thread Pedro F. Giffuni
Author: pfg Date: Wed May 3 22:35:41 2017 New Revision: 317779 URL: https://svnweb.freebsd.org/changeset/base/317779 Log: ext2fs: add read-write support for Extended Attributes. Extended attributes and their particular implementation in linux are different from FreeBSD so in this case we

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

2017-05-03 Thread Gleb Smirnoff
Author: glebius Date: Wed May 3 21:44:04 2017 New Revision: 31 URL: https://svnweb.freebsd.org/changeset/base/31 Log: Improve documentation of fbuf device. Submitted by: novel Reviewed by: grehan, bcr Differential Revision:https://reviews.freebsd.org/D10014 Modified:

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Bruce Evans
On Wed, 3 May 2017, Alan Somers wrote: On Wed, May 3, 2017 at 2:51 PM, Bruce Evans wrote: On Wed, 3 May 2017, Eric van Gyzen wrote: On 05/03/2017 14:38, Alan Somers wrote: On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: On Wed, Ma

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Alan Somers
On Wed, May 3, 2017 at 2:51 PM, Bruce Evans wrote: > On Wed, 3 May 2017, Eric van Gyzen wrote: > >> On 05/03/2017 14:38, Alan Somers wrote: >>> >>> On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: > > On Wed, May 3, 2017 at 1

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

2017-05-03 Thread John Baldwin
On Wednesday, May 03, 2017 06:41:08 PM Conrad Meyer wrote: > Author: cem > Date: Wed May 3 18:41:08 2017 > New Revision: 317756 > URL: https://svnweb.freebsd.org/changeset/base/317756 > > Log: > Extend cpuset_get/setaffinity() APIs > > Add IRQ placement-only and ithread-only API variants.

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread John Baldwin
On Wednesday, May 03, 2017 01:03:19 PM Ian Lepore wrote: > On Wed, 2017-05-03 at 14:07 -0400, Ryan Stone wrote: > > On Wed, May 3, 2017 at 1:39 PM, Ryan Stone wrote: > > > > > > > > > > > > > > On Wed, May 3, 2017 at 1:21 PM, Alan Somers wrote: > > > > > > > > > > > Author: asomers > > > >

svn commit: r317776 - head/sbin/camcontrol

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 21:04:32 2017 New Revision: 317776 URL: https://svnweb.freebsd.org/changeset/base/317776 Log: Bump the camcontrol(8) man page date. MFC after:3 days X-MFC-with: r317774 Sponsored by: Spectra Logic Modified: head/sbin/camcontrol/camcontrol.8 Modifie

svn commit: r317775 - in head: share/man/man4 sys/cam/scsi

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 20:59:47 2017 New Revision: 317775 URL: https://svnweb.freebsd.org/changeset/base/317775 Log: Fix error recovery behavior in the pass(4) driver. After FreeBSD SVN revision 236814, the pass(4) driver changed from only doing error recovery when the CAM_PASS_ERR_

svn commit: r317774 - head/sbin/camcontrol

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 20:57:52 2017 New Revision: 317774 URL: https://svnweb.freebsd.org/changeset/base/317774 Log: Add the ability to rescan or reset devices specified by peripheral name and unit number in camcontrol(8). Previously camcontrol(8) only supported rescanning or resett

svn commit: r317773 - head/sys/netpfil/pf

2017-05-03 Thread Kristof Provost
Author: kp Date: Wed May 3 20:56:54 2017 New Revision: 317773 URL: https://svnweb.freebsd.org/changeset/base/317773 Log: pf: Fix panic on unload vnet_pf_uninit() is called through vnet_deregister_sysuninit() and linker_file_unload() when the pf module is unloaded. This is executed afte

svn commit: r317772 - head/share/misc

2017-05-03 Thread Vladimir Kondratyev
Author: wulf Date: Wed May 3 20:56:34 2017 New Revision: 317772 URL: https://svnweb.freebsd.org/changeset/base/317772 Log: Add myself (wulf) as a src committer with gonzo and bapt as my mentors. Approved by: gonzo (mentor) Modified: head/share/misc/committers-src.dot Modified: head/sh

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Bruce Evans
On Wed, 3 May 2017, Eric van Gyzen wrote: On 05/03/2017 14:38, Alan Somers wrote: On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: On May 3, 2017, at 10:21, Alan Somers wrote: Auth

svn commit: r317771 - head/usr.sbin/pkg

2017-05-03 Thread Poul-Henning Kamp
Author: phk Date: Wed May 3 20:41:26 2017 New Revision: 317771 URL: https://svnweb.freebsd.org/changeset/base/317771 Log: Flush stdout before yes/no confirmations, to force question through pipes/tee(1)/whatever Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c =

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Warner Losh
On Wed, May 3, 2017 at 1:38 PM, Alan Somers wrote: > On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: >> On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: >>> On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: > On May 3, 2017, at 10:21, Alan Somers wrote: > > Author: asom

svn commit: r317770 - vendor/lldb/lldb-trunk-r302069

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:59 2017 New Revision: 317770 URL: https://svnweb.freebsd.org/changeset/base/317770 Log: Tag lldb trunk r302069. Added: vendor/lldb/lldb-trunk-r302069/ - copied from r317769, vendor/lldb/dist/ ___ svn-src-all@f

svn commit: r317769 - in vendor/lldb/dist: packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers packages/Python/lldbsuite/test/functionalities/register/intel_xtended_regi...

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:55 2017 New Revision: 317769 URL: https://svnweb.freebsd.org/changeset/base/317769 Log: Vendor import of lldb trunk r302069: https://llvm.org/svn/llvm-project/lldb/trunk@302069 Added: vendor/lldb/dist/packages/Python/lldbsuite/test/lang/objc/conflicting-d

svn commit: r317762 - in vendor/clang/dist: docs include/clang/Basic include/clang/Sema include/clang/StaticAnalyzer/Core/BugReporter lib/AST lib/Basic lib/CodeGen lib/Driver lib/Parse lib/Sema lib...

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:23 2017 New Revision: 317762 URL: https://svnweb.freebsd.org/changeset/base/317762 Log: Vendor import of clang trunk r302069: https://llvm.org/svn/llvm-project/cfe/trunk@302069 Added: vendor/clang/dist/test/CodeGen/PR32874.c (contents, props changed) Del

svn commit: r317767 - in vendor/lld/dist: COFF ELF test/ELF test/ELF/Inputs

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:46 2017 New Revision: 317767 URL: https://svnweb.freebsd.org/changeset/base/317767 Log: Vendor import of lld trunk r302069: https://llvm.org/svn/llvm-project/lld/trunk@302069 Added: vendor/lld/dist/test/ELF/Inputs/weak-and-strong-undef.s (contents, props

svn commit: r317760 - in vendor/llvm/dist: . docs include/llvm/ADT include/llvm/CodeGen include/llvm/DebugInfo/CodeView include/llvm/DebugInfo/DWARF include/llvm/DebugInfo/PDB/Native include/llvm/I...

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:11 2017 New Revision: 317760 URL: https://svnweb.freebsd.org/changeset/base/317760 Log: Vendor import of llvm trunk r302069: https://llvm.org/svn/llvm-project/llvm/trunk@302069 Added: vendor/llvm/dist/include/llvm/DebugInfo/CodeView/StringTable.h (conten

svn commit: r317764 - in vendor/compiler-rt/dist: include/sanitizer lib/lsan lib/sanitizer_common lib/tsan/rtl test/asan/TestCases test/asan/TestCases/Darwin test/asan/TestCases/Posix test/asan/Tes...

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:31 2017 New Revision: 317764 URL: https://svnweb.freebsd.org/changeset/base/317764 Log: Vendor import of compiler-rt trunk r302069: https://llvm.org/svn/llvm-project/compiler-rt/trunk@302069 Added: vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Li

svn commit: r317768 - vendor/lld/lld-trunk-r302069

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:51 2017 New Revision: 317768 URL: https://svnweb.freebsd.org/changeset/base/317768 Log: Tag lld trunk r302069. Added: vendor/lld/lld-trunk-r302069/ - copied from r317767, vendor/lld/dist/ ___ svn-src-all@freeb

svn commit: r317763 - vendor/clang/clang-trunk-r302069

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:28 2017 New Revision: 317763 URL: https://svnweb.freebsd.org/changeset/base/317763 Log: Tag clang trunk r302069. Added: vendor/clang/clang-trunk-r302069/ - copied from r317762, vendor/clang/dist/ ___ svn-src-a

svn commit: r317766 - vendor/libc++/libc++-trunk-r302069

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:43 2017 New Revision: 317766 URL: https://svnweb.freebsd.org/changeset/base/317766 Log: Tag libc++ trunk r302069. Added: vendor/libc++/libc++-trunk-r302069/ - copied from r317765, vendor/libc++/dist/ ___ svn-s

svn commit: r317765 - vendor/compiler-rt/compiler-rt-trunk-r302069

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:39 2017 New Revision: 317765 URL: https://svnweb.freebsd.org/changeset/base/317765 Log: Tag compiler-rt trunk r302069. Added: vendor/compiler-rt/compiler-rt-trunk-r302069/ - copied from r317764, vendor/compiler-rt/dist/ _

svn commit: r317761 - vendor/llvm/llvm-trunk-r302069

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 20:26:18 2017 New Revision: 317761 URL: https://svnweb.freebsd.org/changeset/base/317761 Log: Tag llvm trunk r302069. Added: vendor/llvm/llvm-trunk-r302069/ - copied from r317760, vendor/llvm/dist/ ___ svn-src-all@f

svn commit: r317759 - head/sbin/camcontrol

2017-05-03 Thread Alan Somers
Author: asomers Date: Wed May 3 19:56:55 2017 New Revision: 317759 URL: https://svnweb.freebsd.org/changeset/base/317759 Log: Fix memory leaks in camcontrol Reported by: Coverity CID: 1331674, 1331675 Reviewed by: ken MFC after:3 weeks Sponsored by: Spectra Logic Cor

svn commit: r317758 - head/sbin/ifconfig

2017-05-03 Thread Alan Somers
Author: asomers Date: Wed May 3 19:53:01 2017 New Revision: 317758 URL: https://svnweb.freebsd.org/changeset/base/317758 Log: Unbreak ifconfig for mlx4en(4) after r317755 ifconfig doesn't correctly infer mlx interfaces' module names, so it will attempt to load the mlx(4) module even when

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Eric van Gyzen
On 05/03/2017 14:38, Alan Somers wrote: > On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: >> On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: >>> On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: > On May 3, 2017, at 10:21, Alan Somers wrote: > > Author: asomers > Da

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Alan Somers
On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: > On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: >> On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: >>> On May 3, 2017, at 10:21, Alan Somers wrote: Author: asomers Date: Wed May 3 17:21:01 2017 New Revision: 3

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Warner Losh
On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: > On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: >> >>> On May 3, 2017, at 10:21, Alan Somers wrote: >>> >>> Author: asomers >>> Date: Wed May 3 17:21:01 2017 >>> New Revision: 317755 >>> URL: https://svnweb.freebsd.org/changeset/base/3177

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Bruce Evans
On Wed, 3 May 2017, Ngie Cooper wrote: On May 3, 2017, at 10:21, Alan Somers wrote: Author: asomers Date: Wed May 3 17:21:01 2017 New Revision: 317755 URL: https://svnweb.freebsd.org/changeset/base/317755 Log: Various Coverity fixes in ifconfig(8) ... * Mark usage() as _Noreturn (13058

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Alan Somers
On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: > >> On May 3, 2017, at 10:21, Alan Somers wrote: >> >> Author: asomers >> Date: Wed May 3 17:21:01 2017 >> New Revision: 317755 >> URL: https://svnweb.freebsd.org/changeset/base/317755 >> >> Log: >> Various Coverity fixes in ifconfig(8) > > .

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Alan Somers
On Wed, May 3, 2017 at 1:03 PM, Ian Lepore wrote: > On Wed, 2017-05-03 at 14:07 -0400, Ryan Stone wrote: >> On Wed, May 3, 2017 at 1:39 PM, Ryan Stone wrote: >> >> > >> > >> > >> > On Wed, May 3, 2017 at 1:21 PM, Alan Somers wrote: >> > >> > > >> > > Author: asomers >> > > Date: Wed May 3 17:21

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Ian Lepore
On Wed, 2017-05-03 at 14:07 -0400, Ryan Stone wrote: > On Wed, May 3, 2017 at 1:39 PM, Ryan Stone wrote: > > > > > > > > > On Wed, May 3, 2017 at 1:21 PM, Alan Somers wrote: > > > > > > > > Author: asomers > > > Date: Wed May  3 17:21:01 2017 > > > New Revision: 317755 > > > URL: https://sv

svn commit: r317757 - head/lib/libc/sys

2017-05-03 Thread Conrad Meyer
Author: cem Date: Wed May 3 18:46:33 2017 New Revision: 317757 URL: https://svnweb.freebsd.org/changeset/base/317757 Log: cpuset.2: Document new API options A follow-up to r317756. Adrian will chase up the userspace cpuset(1) additions. Reported by: kib@ Sponsored by: Dell EMC I

svn commit: r317756 - in head/sys: kern sys

2017-05-03 Thread Conrad Meyer
Author: cem Date: Wed May 3 18:41:08 2017 New Revision: 317756 URL: https://svnweb.freebsd.org/changeset/base/317756 Log: Extend cpuset_get/setaffinity() APIs Add IRQ placement-only and ithread-only API variants. intr_event_bind has been extended with sibling methods, as it has many more

Re: svn commit: r317709 - head/usr.bin/csplit

2017-05-03 Thread Pedro Giffuni
On 05/03/17 09:56, Pedro Giffuni wrote: ... Grepping for fputs in /usr/src shows too many instances to check (mostly without any error handling). The simplest filter 'if (fputs' found the dependency on the old FreeBSD behaviour in csplit and 2 other places: contrib/mdocml/main.c:if

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Ngie Cooper
> On May 3, 2017, at 10:21, Alan Somers wrote: > > Author: asomers > Date: Wed May 3 17:21:01 2017 > New Revision: 317755 > URL: https://svnweb.freebsd.org/changeset/base/317755 > > Log: > Various Coverity fixes in ifconfig(8) ... > * Mark usage() as _Noreturn (1305806, 1305750) ... > -s

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Ryan Stone
On Wed, May 3, 2017 at 1:39 PM, Ryan Stone wrote: > > > On Wed, May 3, 2017 at 1:21 PM, Alan Somers wrote: > >> Author: asomers >> Date: Wed May 3 17:21:01 2017 >> New Revision: 317755 >> URL: https://svnweb.freebsd.org/changeset/base/317755 >> >> Log: >> Various Coverity fixes in ifconfig(8)

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Ryan Stone
On Wed, May 3, 2017 at 1:21 PM, Alan Somers wrote: > Author: asomers > Date: Wed May 3 17:21:01 2017 > New Revision: 317755 > URL: https://svnweb.freebsd.org/changeset/base/317755 > > Log: > Various Coverity fixes in ifconfig(8) > > * Exit early if kldload(2) fails (1011259). This is the onl

svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Alan Somers
Author: asomers Date: Wed May 3 17:21:01 2017 New Revision: 317755 URL: https://svnweb.freebsd.org/changeset/base/317755 Log: Various Coverity fixes in ifconfig(8) * Exit early if kldload(2) fails (1011259). This is the only change that affects ifconfig's behavior. * Close memory and

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-05-03 Thread Eric Joyner
This fixes the amd64 LINT build error, but not the others. I'm looking at fixing the others now. On Tue, May 2, 2017 at 3:58 PM Eric Joyner wrote: > I fixed the netmap build for amd64 at least with r317711. I'm running a > tinderbox build on it now, though, so I'll see if that fixes it. > > On F

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

2017-05-03 Thread John Baldwin
Author: jhb Date: Wed May 3 16:55:02 2017 New Revision: 317754 URL: https://svnweb.freebsd.org/changeset/base/317754 Log: Replace 'riscv' with the RISC-V targets 'riscv64' and 'riscv64sf'. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7

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

2017-05-03 Thread Conrad Meyer
Author: cem Date: Wed May 3 16:34:22 2017 New Revision: 317753 URL: https://svnweb.freebsd.org/changeset/base/317753 Log: glob: Fix an overlong line Trivial style(9) fix, no functional change. There are also some 81 characters lines below, but I don't see a good way to shorten them.

svn commit: r317752 - head/sys/dev/uart

2017-05-03 Thread Alexander Motin
Author: mav Date: Wed May 3 16:34:03 2017 New Revision: 317752 URL: https://svnweb.freebsd.org/changeset/base/317752 Log: Fix typo in r317659. MFC after:2 weeks Modified: head/sys/dev/uart/uart_dev_lpc.c Modified: head/sys/dev/uart/uart_dev_lpc.c ===

svn commit: r317751 - head/contrib/llvm/lib/Target/ARM

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 16:12:43 2017 New Revision: 317751 URL: https://svnweb.freebsd.org/changeset/base/317751 Log: Pull in r301983 from upstream llvm trunk (by Tim Northover): ARM: avoid handing a deleted node back to TableGen during ISel. When we replaced the multiplicand

svn commit: r317750 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 16:03:33 2017 New Revision: 317750 URL: https://svnweb.freebsd.org/changeset/base/317750 Log: Add support for sctp_generic_sendmsg() and sctp_generic_recvmsg(). Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c ===

svn commit: r317749 - in head/lib/libc: gen tests/gen

2017-05-03 Thread Conrad Meyer
Author: cem Date: Wed May 3 15:55:29 2017 New Revision: 317749 URL: https://svnweb.freebsd.org/changeset/base/317749 Log: libc glob: Avoid pathological exponential behavior Adapt glob's match() routine to use a greedy algorithm that avoids exponential runtime in byzantine inputs. Wh

Re: svn commit: r317708 - head/share/man/man7

2017-05-03 Thread Justin Hibbits
On Wed, May 3, 2017 at 1:29 AM, Bruce Evans wrote: > On Tue, 2 May 2017, Justin Hibbits wrote: > >> Log: >> Add powerpcspe to arch(7) >> >> Reviewed by: emaste >> ... >> Modified: head/share/man/man7/arch.7 >> >> == >>

Re: svn commit: r317709 - head/usr.bin/csplit

2017-05-03 Thread Pedro Giffuni
On 3/5/2017 01:55, Bruce Evans wrote: On Tue, 2 May 2017, Jilles Tjoelker wrote: Log: csplit: Fix check of fputs() return value, making csplit work again. As of r295638, fputs() returns the number of bytes written (if not more than INT_MAX). This broke csplit completely, since csplit ass

svn commit: r317748 - head/lib/libsysdecode

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 15:20:40 2017 New Revision: 317748 URL: https://svnweb.freebsd.org/changeset/base/317748 Log: Add support for socket option names related to the IPPROTO_IPV6 level. Modified: head/lib/libsysdecode/flags.c head/lib/libsysdecode/mktables Modified: head/lib/lib

svn commit: r317747 - head/lib/libsysdecode

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 15:03:00 2017 New Revision: 317747 URL: https://svnweb.freebsd.org/changeset/base/317747 Log: Add support for socket option names related to the IPPROTO_SCTP level. Modified: head/lib/libsysdecode/flags.c head/lib/libsysdecode/mktables Modified: head/lib/lib

svn commit: r317746 - in head/usr.sbin/makefs: . ffs

2017-05-03 Thread Ed Maste
Author: emaste Date: Wed May 3 14:57:04 2017 New Revision: 317746 URL: https://svnweb.freebsd.org/changeset/base/317746 Log: makefs: clean up warnings - make functions and variables static where appropriate - use const char * where appropriate - remove unused variables Sponsored b

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

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 14:53:27 2017 New Revision: 317745 URL: https://svnweb.freebsd.org/changeset/base/317745 Log: Don't bother retrying errors for encrypted drives that are locked. sys/cam/scsi/scsi_all.c: In the asc_table, if we get a 0x20,0x02 error ("Access denied -

svn commit: r317744 - in head/usr.sbin/makefs: . ffs

2017-05-03 Thread Ed Maste
Author: emaste Date: Wed May 3 14:21:18 2017 New Revision: 317744 URL: https://svnweb.freebsd.org/changeset/base/317744 Log: makefs: make buf generic it has nothing to do with ffs and will eventually be moved. gc sectorsize. NetBSD versions: ffs.c 1.58 ffs/buf.c 1.14

svn commit: r317743 - head/usr.sbin/bsdinstall/partedit

2017-05-03 Thread Marcelo Araujo
Author: araujo Date: Wed May 3 14:03:46 2017 New Revision: 317743 URL: https://svnweb.freebsd.org/changeset/base/317743 Log: Use nitems() from sys/param.h. Reviewed by: ngie MFC after:2 weeks. Differential Revision:https://reviews.freebsd.org/D9942 Modified: head/usr.sb

svn commit: r317742 - head/usr.sbin/fdread

2017-05-03 Thread Marcelo Araujo
Author: araujo Date: Wed May 3 13:57:31 2017 New Revision: 317742 URL: https://svnweb.freebsd.org/changeset/base/317742 Log: Free the memory allocated to trackbuf before exiting, it might fix a potential memory leak. Submitted by: t...@juniper.net MFC after:2 weeks. Differential

svn commit: r317741 - head/usr.bin/grep

2017-05-03 Thread Ed Maste
Author: emaste Date: Wed May 3 13:47:02 2017 New Revision: 317741 URL: https://svnweb.freebsd.org/changeset/base/317741 Log: bsdgrep: correct uninitialized variable introduced in r317703 CID: 1374747 Submitted by: Kyle Evans Modified: head/usr.bin/grep/util.c Modified: head

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

2017-05-03 Thread Kenneth D. Merry
Author: ken Date: Wed May 3 13:17:01 2017 New Revision: 317740 URL: https://svnweb.freebsd.org/changeset/base/317740 Log: Correct loop mode CRN resets to adhere to FCP-4 section 4.10 Prior to this change, the CRN (Command Reference Number) is reset on any firmware LIP, LOOP DOWN, or LOOP

Re: svn commit: r317681 - head/share/man/man7

2017-05-03 Thread Konstantin Belousov
On Wed, May 03, 2017 at 08:57:10PM +1000, Bruce Evans wrote: > On Wed, 3 May 2017, Konstantin Belousov wrote: > > > On Wed, May 03, 2017 at 04:19:08PM +1000, Bruce Evans wrote: > >> On Tue, 2 May 2017, Konstantin Belousov wrote: > >>> +.Pp > >>> +.Sy time_t > >>> +is always signed, it is 64-bits e

svn commit: r317739 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 12:26:16 2017 New Revision: 317739 URL: https://svnweb.freebsd.org/changeset/base/317739 Log: Add support for sendmsg() and recvmsg(). Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c =

svn commit: r317738 - head/sys/arm64/arm64

2017-05-03 Thread Andrew Turner
Author: andrew Date: Wed May 3 12:24:31 2017 New Revision: 317738 URL: https://svnweb.freebsd.org/changeset/base/317738 Log: Print all virtual addresses in the show vtop ddb command. The results may be different with PAN enabled. MFC after:1 week Sponsored by: DARPA, AFRL Modified

svn commit: r317737 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 12:23:58 2017 New Revision: 317737 URL: https://svnweb.freebsd.org/changeset/base/317737 Log: Decode the fourth argument of sendto and recvfrom call. Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscall.h

svn commit: r317736 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 12:18:09 2017 New Revision: 317736 URL: https://svnweb.freebsd.org/changeset/base/317736 Log: Add support for [gs]etsockopt(). Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscall.h ===

Re: svn commit: r317681 - head/share/man/man7

2017-05-03 Thread Bruce Evans
On Wed, 3 May 2017, Konstantin Belousov wrote: On Wed, May 03, 2017 at 04:19:08PM +1000, Bruce Evans wrote: On Tue, 2 May 2017, Konstantin Belousov wrote: +.Pp +.Sy time_t +is always signed, it is 64-bits everywere except on i386 and 32-bit powerpc. Change "is always" to "On all supported ar

Re: svn commit: r317681 - head/share/man/man7

2017-05-03 Thread Konstantin Belousov
On Wed, May 03, 2017 at 04:19:08PM +1000, Bruce Evans wrote: > On Tue, 2 May 2017, Konstantin Belousov wrote: > OK. > > Including corrections by ngie: > > > diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7 > > index 1ce397a303e..ad1abccc2e5 100644 > > --- a/share/man/man7/arch.7 > > +++

svn commit: r317735 - stable/10/lib/libc/gen

2017-05-03 Thread Konstantin Belousov
Author: kib Date: Wed May 3 09:54:37 2017 New Revision: 317735 URL: https://svnweb.freebsd.org/changeset/base/317735 Log: MFC r317436: getpagesize(3) cannot fail. Modified: stable/10/lib/libc/gen/getpagesize.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/li

svn commit: r317734 - stable/11/lib/libc/gen

2017-05-03 Thread Konstantin Belousov
Author: kib Date: Wed May 3 09:52:11 2017 New Revision: 317734 URL: https://svnweb.freebsd.org/changeset/base/317734 Log: MFC r317436: getpagesize(3) cannot fail. Modified: stable/11/lib/libc/gen/getpagesize.c Directory Properties: stable/11/ (props changed) Modified: stable/11/lib/li

svn commit: r317733 - stable/11/sys/netipsec

2017-05-03 Thread Andrey V. Elsukov
Author: ae Date: Wed May 3 09:25:26 2017 New Revision: 317733 URL: https://svnweb.freebsd.org/changeset/base/317733 Log: MFC r317431: Fix SP refcount leak. PCB SP cache acquires extra reference, when SP is stored in the cache. Release this reference when PCB is destroyed in ipsec

svn commit: r317732 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 09:23:13 2017 New Revision: 317732 URL: https://svnweb.freebsd.org/changeset/base/317732 Log: Decode the third argument of socket(). Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscall.h =

svn commit: r317731 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 09:20:36 2017 New Revision: 317731 URL: https://svnweb.freebsd.org/changeset/base/317731 Log: Add Socklent for handling args of type socklen_t. Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscall.h ==

svn commit: r317730 - head/usr.bin/truss

2017-05-03 Thread Michael Tuexen
Author: tuexen Date: Wed May 3 09:09:34 2017 New Revision: 317730 URL: https://svnweb.freebsd.org/changeset/base/317730 Log: Add support for listen() call. Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c ===

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

2017-05-03 Thread Nick Hibma
Author: n_hibma Date: Wed May 3 08:10:03 2017 New Revision: 317729 URL: https://svnweb.freebsd.org/changeset/base/317729 Log: Silence sysctl in startup scripts. This makes 'stop' behave consistently with 'start' in the script. Also use $SYSCTL instead of sysctl for consistency within tha

svn commit: r317728 - head/tools/tools/net80211/scripts

2017-05-03 Thread Adrian Chadd
Author: adrian Date: Wed May 3 07:53:15 2017 New Revision: 317728 URL: https://svnweb.freebsd.org/changeset/base/317728 Log: [net80211] add another hard-learnt lesson about DWDS setup wlanwds monitors the physical interface for DWDS requests from VAPs, but the clone is created against th