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

svn commit: r357608 - vendor/xz/dist/src/xz

2020-02-05 Thread Xin LI
Author: delphij Date: Thu Feb 6 07:45:07 2020 New Revision: 357608 URL: https://svnweb.freebsd.org/changeset/base/357608 Log: Apply a reduced version of upstream 353970510895f6a80adfe60cf71b70a95adfa8bc which implements memory limit in xz(1) when running in 32-bit mode. The change is

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

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

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

svn commit: r357605 - in stable: 11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 11/sys/fs/pseudofs 12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 12/sys/fs/pseudofs

2020-02-05 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 21:30:31 2020 New Revision: 357605 URL: https://svnweb.freebsd.org/changeset/base/357605 Log: MFC r357410-r357411: Avoid duplicating VEXEC checks in VOP_CACHEDLOOKUP r357410: pseudofs: don't do VEXEC check in VOP_CACHEDLOOKUP VOP_CACHEDLOOKUP should

svn commit: r357605 - in stable: 11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 11/sys/fs/pseudofs 12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 12/sys/fs/pseudofs

2020-02-05 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 21:30:31 2020 New Revision: 357605 URL: https://svnweb.freebsd.org/changeset/base/357605 Log: MFC r357410-r357411: Avoid duplicating VEXEC checks in VOP_CACHEDLOOKUP r357410: pseudofs: don't do VEXEC check in VOP_CACHEDLOOKUP VOP_CACHEDLOOKUP should

svn commit: r357604 - stable/11/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:16:51 2020 New Revision: 357604 URL: https://svnweb.freebsd.org/changeset/base/357604 Log: MFCr356928: When MK_CASPER=no is set remove files which are not needed to run system. PR: 242971 Modified:

svn commit: r357603 - stable/11/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:15:55 2020 New Revision: 357603 URL: https://svnweb.freebsd.org/changeset/base/357603 Log: MFCr356926: Even when the MK_CASPER is set to "no" we still want to install man pages and the headers. If the user decides to install the system without Casper

svn commit: r357602 - stable/11/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:14:27 2020 New Revision: 357602 URL: https://svnweb.freebsd.org/changeset/base/357602 Log: MFCr356925: Those files are already removed in ObsoleteFiles.\ There is no need to remove them twice. PR: 242971 Modified:

svn commit: r357601 - stable/12/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:11:40 2020 New Revision: 357601 URL: https://svnweb.freebsd.org/changeset/base/357601 Log: MFCr356928: When MK_CASPER=no is set remove files which are not needed to run system. PR: 242971 Modified:

svn commit: r357600 - stable/12/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:10:42 2020 New Revision: 357600 URL: https://svnweb.freebsd.org/changeset/base/357600 Log: MFCr356926: Even when the MK_CASPER is set to "no" we still want to install man pages and the headers. If the user decides to install the system without Casper

svn commit: r357599 - stable/12/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:05:52 2020 New Revision: 357599 URL: https://svnweb.freebsd.org/changeset/base/357599 Log: MFCr356925: Those files are already removed in ObsoleteFiles. There is no need to remove them twice. PR: 242971 Modified:

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:

svn commit: r357597 - in stable: 11/usr.sbin/wpa/wpa_supplicant 12/usr.sbin/wpa/wpa_supplicant

2020-02-05 Thread Cy Schubert
Author: cy Date: Wed Feb 5 20:55:59 2020 New Revision: 357597 URL: https://svnweb.freebsd.org/changeset/base/357597 Log: MFC r356949: Fix build when WITHOUT_WPA_SUPPLICANT_EAPOL option used. The build failure was discoved by Michael Dexter's recent Build Options Survey run, at

svn commit: r357597 - in stable: 11/usr.sbin/wpa/wpa_supplicant 12/usr.sbin/wpa/wpa_supplicant

2020-02-05 Thread Cy Schubert
Author: cy Date: Wed Feb 5 20:55:59 2020 New Revision: 357597 URL: https://svnweb.freebsd.org/changeset/base/357597 Log: MFC r356949: Fix build when WITHOUT_WPA_SUPPLICANT_EAPOL option used. The build failure was discoved by Michael Dexter's recent Build Options Survey run, at

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

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

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

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

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

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 >>

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-all@freebsd.org mailing list

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

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: 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

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

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.

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:

svn commit: r357583 - vendor/NetBSD/tests/dist/lib/libc/c063

2020-02-05 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 18:35:18 2020 New Revision: 357583 URL: https://svnweb.freebsd.org/changeset/base/357583 Log: netbsd-tests: import recently upstreamed O_SEARCH test fixes Modified: vendor/NetBSD/tests/dist/lib/libc/c063/t_o_search.c Modified:

svn commit: r357582 - stable/10/lib/libfetch

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 18:26:50 2020 New Revision: 357582 URL: https://svnweb.freebsd.org/changeset/base/357582 Log: MFC r357212: libfetch: fix urldecode buffer overrun Reported by: Duncan Overbruck Security: CVE-2020-7450 Modified: stable/10/lib/libfetch/fetch.c

svn commit: r357581 - in stable/12/contrib/blacklist: bin diff lib

2020-02-05 Thread Ed Maste
Author: emaste Date: Wed Feb 5 18:24:28 2020 New Revision: 357581 URL: https://svnweb.freebsd.org/changeset/base/357581 Log: MFC r354399: blacklist: update to NetBSD snapshot on 20191106 Sponsored by: The FreeBSD Foundation Modified: stable/12/contrib/blacklist/bin/blacklistctl.c

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

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

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: >

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

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

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: 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

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

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:

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

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

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,

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

svn commit: r357568 - stable/12/sbin/fsck_msdosfs

2020-02-05 Thread Xin LI
Author: delphij Date: Wed Feb 5 08:55:19 2020 New Revision: 357568 URL: https://svnweb.freebsd.org/changeset/base/357568 Log: MFC r356249-r356250, r356313, r356434, r356657, r357421 r356249-r356250, r356313: Reduce memory footprint of fsck_msdosfs. This utility was initially