svn commit: r357609 - in head/contrib/xz/src: common xz

2020-02-05 Thread Xin LI
Author: delphij Date: Thu Feb 6 07:47:28 2020 New Revision: 357609 URL: https://svnweb.freebsd.org/changeset/base/357609 Log: MFV r357608: Limit memory usage in xz(1) instead of in tuklib. Apply upstream 353970510895f6a80adfe60cf71b70a95adfa8bc to limit memory usage on 32-bit binary to 4

svn commit: r357607 - head/sys/powerpc/powerpc

2020-02-05 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 6 01:25:30 2020 New Revision: 357607 URL: https://svnweb.freebsd.org/changeset/base/357607 Log: powerpc: Fix altivec disabling in set_mcontext() We somewhat blindly copy the srr1 from the new context to the trap frame, but disable FPU and VSX unconditionall

Re: svn commit: r357553 - head/sys/dev/cxgbe

2020-02-05 Thread Navdeep Parhar
On 2/5/20 3:19 AM, Slawa Olhovchenkov wrote: > On Wed, Feb 05, 2020 at 12:13:15AM +, Navdeep Parhar wrote: > >> Author: np >> Date: Wed Feb 5 00:13:15 2020 >> New Revision: 357553 >> URL: https://svnweb.freebsd.org/changeset/base/357553 >> >> Log: >> cxgbe(4): Add a knob to allow netmap tx

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

2020-02-05 Thread Navdeep Parhar
Author: np Date: Wed Feb 5 22:29:01 2020 New Revision: 357606 URL: https://svnweb.freebsd.org/changeset/base/357606 Log: cxgbe(4): Add native netmap support to the main interface. This means that extra virtual interfaces (VIs) created with hw.cxgbe.num_vis are no longer required to use n

Re: svn commit: r357384 - head/sys/kern

2020-02-05 Thread Enji Cooper
On Sat, Feb 1, 2020 at 12:36 PM Mateusz Guzik wrote: > > Author: mjg > Date: Sat Feb 1 20:36:35 2020 > New Revision: 357384 > URL: https://svnweb.freebsd.org/changeset/base/357384 > > Log: > cache: remove vnode -> path lookup disablement > > It seems to be of little to no use even when debugg

svn commit: r357598 - head/sys/conf

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 20:57:45 2020 New Revision: 357598 URL: https://svnweb.freebsd.org/changeset/base/357598 Log: Define SMP for standalone module builds. Suggested and reviewed by:kevans Differential Revision:https://reviews.freebsd.org/D23519 Modified: head/sys

svn commit: r357596 - head/sys/dev/virtio/pci

2020-02-05 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Wed Feb 5 20:39:18 2020 New Revision: 357596 URL: https://svnweb.freebsd.org/changeset/base/357596 Log: [virtio] Fix r/w to PCI configuration area on big endian platforms In legacy VirtIO drivers, the header must be PCI endianness (little) and the device-specific re

svn commit: r357595 - head/sys/riscv/include

2020-02-05 Thread John Baldwin
Author: jhb Date: Wed Feb 5 20:34:22 2020 New Revision: 357595 URL: https://svnweb.freebsd.org/changeset/base/357595 Log: Fix EXCP_MASK to include all relevant bits from scause. While cause codes higher than 16 are reserved, the exception code field of the register is defined to be all b

svn commit: r357594 - head/sys/riscv/riscv

2020-02-05 Thread John Baldwin
Author: jhb Date: Wed Feb 5 20:32:37 2020 New Revision: 357594 URL: https://svnweb.freebsd.org/changeset/base/357594 Log: Use csr_read() to read sstatus instead of inline assembly. While here, remove a local variable to avoid the CSR read in non-debug kernels. Reviewed by: mhorne

svn commit: r357593 - head/sys/riscv/riscv

2020-02-05 Thread John Baldwin
Author: jhb Date: Wed Feb 5 20:11:08 2020 New Revision: 357593 URL: https://svnweb.freebsd.org/changeset/base/357593 Log: Remove stale workaround for the htif console. In practice this discarded all characters entered at the DDB prompt. Reviewed by: br MFC after:1 week Sponso

svn commit: r357592 - in head: lib/libc share/mk

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 20:08:01 2020 New Revision: 357592 URL: https://svnweb.freebsd.org/changeset/base/357592 Log: libssp_nonshared: use only on i386 and ppc libssp_nonshared.a defines one symbol, __stack_chk_fail_local. This is used only on i386 and powerpc; other archs emit

svn commit: r357591 - head/sys/riscv/include

2020-02-05 Thread John Baldwin
Author: jhb Date: Wed Feb 5 20:06:35 2020 New Revision: 357591 URL: https://svnweb.freebsd.org/changeset/base/357591 Log: Read the breakpoint instruction to determine its length in BKPT_SKIP. This fixes continuing from debug.kdb.enter=1 after enabling the use of compressed instructions s

svn commit: r357590 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2020-02-05 Thread Brandon Bergren
Author: bdragon Date: Wed Feb 5 19:39:48 2020 New Revision: 357590 URL: https://svnweb.freebsd.org/changeset/base/357590 Log: [PowerPC] [DTrace] Add ELFv2 support in libdtrace PPC64 ELFv2 acts like a "normal" platform in that it no longer needs function descriptors. So, ensure we are onl

Re: svn commit: r357566 - head

2020-02-05 Thread Mathieu
On 2/5/20 2:05 PM, Andrew Gierth wrote: "Kyle" == Kyle Evans writes: >> Unfortunately, the utility of this cool series of changes is mostly >> destroyed by the fact that PATH is the variable that could be most >> usefully set in login.conf for running daemons, specifically because >> it

Re: svn commit: r357586 - in head/sys/modules/dtrace: dtrace fasttrap

2020-02-05 Thread Kyle Evans
On Wed, Feb 5, 2020 at 1:08 PM Mark Johnston wrote: > > Author: markj > Date: Wed Feb 5 19:08:45 2020 > New Revision: 357586 > URL: https://svnweb.freebsd.org/changeset/base/357586 > > Log: > Stop compiling dtrace modules with -DSMP. > > I believe this is left over from when dtrace was being

svn commit: r357589 - head/sys/sparc64

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 19:18:04 2020 New Revision: 357589 URL: https://svnweb.freebsd.org/changeset/base/357589 Log: delete empty directories after r357455 Deleted: head/sys/sparc64/ ___ svn-src-head@freebsd.org mailing list https://lists.f

svn commit: r357588 - head/sys/mips/beri

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 19:15:36 2020 New Revision: 357588 URL: https://svnweb.freebsd.org/changeset/base/357588 Log: beri: correct kernel printf typo (From review D23453) Submitted by: Gordon Bergling Reviewed by: rwatson Modified: head/sys/mips/beri/beri_mp.c Modified

svn commit: r357587 - head/sys/net

2020-02-05 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 5 19:11:07 2020 New Revision: 357587 URL: https://svnweb.freebsd.org/changeset/base/357587 Log: ethernet: Add a couple more Ethertypes. Powerlink and Sercos III are used in automation. Both have been standardized and In the case of Ethernet Powerlink there is a

svn commit: r357585 - in head/sys: amd64/include arm/include arm64/include i386/include powerpc/include riscv/include

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 19:08:21 2020 New Revision: 357585 URL: https://svnweb.freebsd.org/changeset/base/357585 Log: Define MAXCPU consistently between the kernel and KLDs. This reverts r177661. The change is no longer very useful since out-of-tree KLDs will be built to target SM

svn commit: r357586 - in head/sys/modules/dtrace: dtrace fasttrap

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 19:08:45 2020 New Revision: 357586 URL: https://svnweb.freebsd.org/changeset/base/357586 Log: Stop compiling dtrace modules with -DSMP. I believe this is left over from when dtrace was being ported and developed out-of-tree. Now it just ensures that dtrace.

Re: svn commit: r357566 - head

2020-02-05 Thread Andrew Gierth
> "Kyle" == Kyle Evans writes: >> Unfortunately, the utility of this cool series of changes is mostly >> destroyed by the fact that PATH is the variable that could be most >> usefully set in login.conf for running daemons, specifically because >> it is set in 3 separate places now. Kyle

svn commit: r357584 - head/contrib/netbsd-tests

2020-02-05 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 18:38:07 2020 New Revision: 357584 URL: https://svnweb.freebsd.org/changeset/base/357584 Log: Record-only MFV of r357583: netbsd-tests: import upstreamed changes The changes in question originated in FreeBSD/head; no further action is required. Modified: D

Re: svn commit: r357566 - head

2020-02-05 Thread Kyle Evans
On Wed, Feb 5, 2020 at 11:21 AM Ian Lepore wrote: > > On Wed, 2020-02-05 at 04:43 +, Kyle Evans wrote: > > Author: kevans > > Date: Wed Feb 5 04:43:58 2020 > > New Revision: 357566 > > URL: https://svnweb.freebsd.org/changeset/base/357566 > > > > Log: > > Add RELNOTES entry for various daem

Re: svn commit: r357566 - head

2020-02-05 Thread Ian Lepore
On Wed, 2020-02-05 at 04:43 +, Kyle Evans wrote: > Author: kevans > Date: Wed Feb 5 04:43:58 2020 > New Revision: 357566 > URL: https://svnweb.freebsd.org/changeset/base/357566 > > Log: > Add RELNOTES entry for various daemons pulling in environment variables > > Modified: > head/RELNOTE

svn commit: r357580 - head/contrib/netbsd-tests/lib/libc/c063

2020-02-05 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 17:21:36 2020 New Revision: 357580 URL: https://svnweb.freebsd.org/changeset/base/357580 Log: O_SEARCH test: drop O_SEARCH|O_RDWR local diff In FreeBSD's O_SEARCH implementation, O_SEARCH in conjunction with O_RDWR or O_WRONLY is explicitly rejected. In thi

svn commit: r357579 - head/lib/libfetch

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 16:55:00 2020 New Revision: 357579 URL: https://svnweb.freebsd.org/changeset/base/357579 Log: libfetch: disallow invalid escape sequences Per RFC1738 escape is "% hex hex"; other sequences do not form a valid URL. Suggested by: Matthew Dillon Reviewed

svn commit: r357578 - in head/sys: amd64/linux32 arm/linux i386/linux

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 16:54:16 2020 New Revision: 357578 URL: https://svnweb.freebsd.org/changeset/base/357578 Log: regen linuxulator sysent after r357577 Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_sys

svn commit: r357577 - in head/sys: amd64/linux amd64/linux32 arm/linux arm64/linux compat/linux i386/linux

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 16:53:02 2020 New Revision: 357577 URL: https://svnweb.freebsd.org/changeset/base/357577 Log: linuxulator: implement sendfile Submitted by: Bora Özarslan Submitted by: Yang Wang <2...@outlook.jp> Reviewed by: markj Sponsored by: The FreeBSD Foundation

svn commit: r357576 - head/lib/libc/rpc

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 16:10:09 2020 New Revision: 357576 URL: https://svnweb.freebsd.org/changeset/base/357576 Log: Fix a use of an uninitialized pointer in xdr_rpcbs_rmtcalllist(). This appears to have been introduced in r173763. Also fix the confusing indentation that probably

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

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 16:09:44 2020 New Revision: 357575 URL: https://svnweb.freebsd.org/changeset/base/357575 Log: Improve validation of the sockaddr length in iruserok_sa(). Negative numbers are not valid sockaddr lengths. PR: 243747 Submitted by: Andrew Reiter

svn commit: r357574 - head/sys/kern

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 16:09:21 2020 New Revision: 357574 URL: https://svnweb.freebsd.org/changeset/base/357574 Log: Avoid releasing object PIP in vn_sendfile() if no pages were grabbed. sendfile(2) optionally takes a set of headers that get prepended to the file data. If the req

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

2020-02-05 Thread Mark Johnston
Author: markj Date: Wed Feb 5 16:09:02 2020 New Revision: 357573 URL: https://svnweb.freebsd.org/changeset/base/357573 Log: Fix map locking in the CLEAR_PKRU sysarch(2) handler. Reported and tested by: pho MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: hea

svn commit: r357572 - head/usr.bin/wc

2020-02-05 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 14:00:27 2020 New Revision: 357572 URL: https://svnweb.freebsd.org/changeset/base/357572 Log: wc(1): account for possibility of file == NULL file could reasonably be NULL here if we we're using stdin. Albeit less likely in normal usage, one could actually h

svn commit: r357571 - head/stand/libsa/zfs

2020-02-05 Thread Toomas Soome
Author: tsoome Date: Wed Feb 5 13:08:24 2020 New Revision: 357571 URL: https://svnweb.freebsd.org/changeset/base/357571 Log: followup on r357497: clean obsolete comment and use shift instead of multiplication Based on illumos review feedback: leftover comment, but also have consistent b

svn commit: r357570 - head/sys/kern

2020-02-05 Thread Leandro Lupori
Author: luporl Date: Wed Feb 5 11:34:10 2020 New Revision: 357570 URL: https://svnweb.freebsd.org/changeset/base/357570 Log: Add SYSCTL to get KERNBASE and relocated KERNBASE This change adds 2 new SYSCTLs, to retrieve the original and relocated KERNBASE values. This provides an easy, a

Re: svn commit: r357553 - head/sys/dev/cxgbe

2020-02-05 Thread Slawa Olhovchenkov
On Wed, Feb 05, 2020 at 12:13:15AM +, Navdeep Parhar wrote: > Author: np > Date: Wed Feb 5 00:13:15 2020 > New Revision: 357553 > URL: https://svnweb.freebsd.org/changeset/base/357553 > > Log: > cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by > the hardware. > >

svn commit: r357569 - head/stand/i386/zfsboot

2020-02-05 Thread Toomas Soome
Author: tsoome Date: Wed Feb 5 11:02:00 2020 New Revision: 357569 URL: https://svnweb.freebsd.org/changeset/base/357569 Log: zfsboot: vdev_read_pad2 does allocate buffer with wrong size vdev_read_pad2() does read VDEV_PAD_SIZE of data, and will copy size bytes of it, hence, we need buffe