Re: svn commit: r329148 - head/etc/devd

2018-02-13 Thread Hans Petter Selasky
On 02/12/18 20:13, Renato Botelho wrote: On 12/02/18 02:45, Warner Losh wrote: Author: imp Date: Mon Feb 12 04:45:26 2018 New Revision: 329148 URL: https://svnweb.freebsd.org/changeset/base/329148 Log: Switch to using devmatch to autoload drivers. Remove usb.conf as obsolete because

svn commit: r329198 - head/sys/dev/usb

2018-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 13 11:43:57 2018 New Revision: 329198 URL: https://svnweb.freebsd.org/changeset/base/329198 Log: Fix for incorrect PnP information used by devmatch(8). MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/usb/usbdi.h Modified:

svn commit: r329195 - in head/sys/dev/usb: . quirk

2018-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 13 08:13:20 2018 New Revision: 329195 URL: https://svnweb.freebsd.org/changeset/base/329195 Log: Add new USB quirk. PR: 225844 MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/usb/quirk/usb_quirk.c

svn commit: r329197 - head/sbin/ipfw

2018-02-13 Thread Nick Hibma
Author: n_hibma Date: Tue Feb 13 10:11:39 2018 New Revision: 329197 URL: https://svnweb.freebsd.org/changeset/base/329197 Log: DSCP values passed to setdscp need to be lowercase. See definition of f_ipdscp values. They are compared against using bcmp which is case sensitive. MFC

svn commit: r329194 - head/etc/devd

2018-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 13 08:10:17 2018 New Revision: 329194 URL: https://svnweb.freebsd.org/changeset/base/329194 Log: Add missing semicolon to not break devd during system startup. Modified: head/etc/devd/devmatch.conf Modified: head/etc/devd/devmatch.conf

svn commit: r329196 - head/usr.sbin/devmatch

2018-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 13 08:17:19 2018 New Revision: 329196 URL: https://svnweb.freebsd.org/changeset/base/329196 Log: Remove leftover empty directory. Deleted: head/usr.sbin/devmatch/ ___ svn-src-head@freebsd.org mailing list

svn commit: r329214 - in head/sys/x86: include x86

2018-02-13 Thread Konstantin Belousov
Author: kib Date: Tue Feb 13 15:30:31 2018 New Revision: 329214 URL: https://svnweb.freebsd.org/changeset/base/329214 Log: Fix build with gas. Do not use C constant suffixes. Bit values are small enough to not require typing, despite they are used for 64bit MSR writes. The added cast

svn commit: r329215 - head/sys/vm

2018-02-13 Thread Konstantin Belousov
Author: kib Date: Tue Feb 13 15:36:28 2018 New Revision: 329215 URL: https://svnweb.freebsd.org/changeset/base/329215 Log: Do not leak rv->psind in some specific situations. Suppose that we have an object with a mapped superpage, and that all pages in the superpages are held (by some

svn commit: r329210 - head/share/misc

2018-02-13 Thread Remko Lodder
Author: remko Date: Tue Feb 13 15:13:43 2018 New Revision: 329210 URL: https://svnweb.freebsd.org/changeset/base/329210 Log: Update the secteam/security officer list to match reality. Modified: head/share/misc/organization.dot Modified: head/share/misc/organization.dot

svn commit: r329216 - head/sys/compat/linuxkpi/common/include/linux

2018-02-13 Thread Konstantin Belousov
Author: kib Date: Tue Feb 13 15:44:35 2018 New Revision: 329216 URL: https://svnweb.freebsd.org/changeset/base/329216 Log: linuxkpi: Do not leak pages on put. When the owner of the wire reference releases the last reference, it might be that the page was already attempted to be freed

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

2018-02-13 Thread Brad Davis
Author: brd (doc,ports committer) Date: Tue Feb 13 16:07:39 2018 New Revision: 329218 URL: https://svnweb.freebsd.org/changeset/base/329218 Log: Fix resolv to run when it should and not when it should not.. Approved by: manu Reported by: manu Pointy hat to:brd Modified:

Re: svn commit: r329148 - head/etc/devd

2018-02-13 Thread Warner Losh
On Tue, Feb 13, 2018 at 2:04 AM, Hans Petter Selasky wrote: > On 02/12/18 20:13, Renato Botelho wrote: > >> On 12/02/18 02:45, Warner Losh wrote: >> >>> Author: imp >>> Date: Mon Feb 12 04:45:26 2018 >>> New Revision: 329148 >>> URL:

svn commit: r329220 - in head/sys/dev: mpr mps

2018-02-13 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Tue Feb 13 16:26:06 2018 New Revision: 329220 URL: https://svnweb.freebsd.org/changeset/base/329220 Log: Fix non-64-bit platform build by printing bus_addr_t values using %#jx Reviewed by: slm Differential Revision:

svn commit: r329219 - head

2018-02-13 Thread Roger Pau Monné
Author: royger Date: Tue Feb 13 16:25:43 2018 New Revision: 329219 URL: https://svnweb.freebsd.org/changeset/base/329219 Log: list myself in the MAINTAINERS file for Xen bits Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r329232 - head/sys/conf

2018-02-13 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 13 17:51:16 2018 New Revision: 329232 URL: https://svnweb.freebsd.org/changeset/base/329232 Log: ports modules: Don't leak AUTO_OBJ changes into the port builds. This came about when r328489 made ports modules builds no longer use the in-tree share/mk

svn commit: r329224 - head/sys/kern

2018-02-13 Thread Ian Lepore
Author: ian Date: Tue Feb 13 17:38:08 2018 New Revision: 329224 URL: https://svnweb.freebsd.org/changeset/base/329224 Log: Fix bad indentation. Whitespace only, no functional changes. Reported by: bde@ Modified: head/sys/kern/subr_rtc.c Modified: head/sys/kern/subr_rtc.c

svn commit: r329226 - head/etc/mtree

2018-02-13 Thread Warner Losh
Author: imp Date: Tue Feb 13 17:42:10 2018 New Revision: 329226 URL: https://svnweb.freebsd.org/changeset/base/329226 Log: Add /boot/lua. Modified: head/etc/mtree/BSD.root.dist Modified: head/etc/mtree/BSD.root.dist

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

2018-02-13 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 13 17:40:09 2018 New Revision: 329225 URL: https://svnweb.freebsd.org/changeset/base/329225 Log: Narrow a race, and fix a leak, in g_part_wither A race in g_part_wither() can lead to I/O being performed with a freed GEOM when the device disappears. Close

svn commit: r329228 - head/sys/gnu/dev/bwn/phy_n

2018-02-13 Thread Landon J. Fuller
Author: landonf Date: Tue Feb 13 17:43:54 2018 New Revision: 329228 URL: https://svnweb.freebsd.org/changeset/base/329228 Log: bwn(4): txpid2g/txpid5g[lh] are not defined after sromrev 7; the default indices into the TX power gain table should be used instead. This enables use of bwn(4)

svn commit: r329221 - head/bin/sh

2018-02-13 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 13 16:48:57 2018 New Revision: 329221 URL: https://svnweb.freebsd.org/changeset/base/329221 Log: Allow overriding VTABSIZE at compile-time. Reviewed by: jilles Differential Revision:https://reviews.freebsd.org/D14339 Modified: head/bin/sh/var.c

svn commit: r329222 - in head/sys: amd64/conf conf dev/mthca i386/conf modules modules/mthca ofed/include/uapi/rdma

2018-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 13 17:04:34 2018 New Revision: 329222 URL: https://svnweb.freebsd.org/changeset/base/329222 Log: Import the mthca kernel side infiniband driver from Linux 4.9 and fix compilation under FreeBSD. The mthca driver was temporarily removed as part of the Linux 4.9

svn commit: r329223 - head/contrib/llvm/tools/clang/lib/Sema

2018-02-13 Thread Dimitry Andric
Author: dim Date: Tue Feb 13 17:05:50 2018 New Revision: 329223 URL: https://svnweb.freebsd.org/changeset/base/329223 Log: Pull in r323998 from upstream clang trunk (by Richard Smith): PR36157: When injecting an implicit function declaration in C89, find the right DeclContext rather

svn commit: r329236 - head/contrib/netbsd-tests/kernel

2018-02-13 Thread Alan Somers
Author: asomers Date: Tue Feb 13 19:17:33 2018 New Revision: 329236 URL: https://svnweb.freebsd.org/changeset/base/329236 Log: Fix Coverity CIDs in the sys/kern/sysv_test tests CID 979810: strcpy => strlcpy CID 1193367: don't leak a file descriptor CID 1299856: Check the return value

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Ed Maste
On 13 February 2018 at 14:23, Ian Lepore wrote: > On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote: >> Author: emaste >> Date: Tue Feb 13 19:17:48 2018 >> New Revision: 329237 >> URL: https://svnweb.freebsd.org/changeset/base/329237 >> >> Log: >> libkern: use nul for

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Ian Lepore
On Tue, 2018-02-13 at 14:43 -0500, Ed Maste wrote: > On 13 February 2018 at 14:23, Ian Lepore wrote: > > > > On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote: > > > > > > Author: emaste > > > Date: Tue Feb 13 19:17:48 2018 > > > New Revision: 329237 > > > URL:

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

2018-02-13 Thread Ed Maste
Author: emaste Date: Tue Feb 13 19:19:26 2018 New Revision: 329239 URL: https://svnweb.freebsd.org/changeset/base/329239 Log: amd64/pmap: Move Foundation copyright to the 2-clause section Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/pmap.c Modified:

svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Ed Maste
Author: emaste Date: Tue Feb 13 19:17:48 2018 New Revision: 329237 URL: https://svnweb.freebsd.org/changeset/base/329237 Log: libkern: use nul for terminating char rather than 0 Akin to the change made in r188080 for lib/libc/string/. Reported by: bde Sponsored by: The FreeBSD

svn commit: r329240 - in head: sbin/dumpon sbin/savecore share/man/man5 sys/conf sys/kern sys/sys

2018-02-13 Thread Mark Johnston
Author: markj Date: Tue Feb 13 19:28:02 2018 New Revision: 329240 URL: https://svnweb.freebsd.org/changeset/base/329240 Log: Add support for zstd-compressed user and kernel core dumps. This works similarly to the existing gzip compression support, but zstd is typically faster and gives

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Eric van Gyzen
On 02/13/2018 13:43, Ed Maste wrote: > On 13 February 2018 at 14:23, Ian Lepore wrote: >> On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote: >>> Author: emaste >>> Date: Tue Feb 13 19:17:48 2018 >>> New Revision: 329237 >>> URL: https://svnweb.freebsd.org/changeset/base/329237

svn commit: r329241 - head/sys/dev/bwn

2018-02-13 Thread Landon J. Fuller
Author: landonf Date: Tue Feb 13 20:07:40 2018 New Revision: 329241 URL: https://svnweb.freebsd.org/changeset/base/329241 Log: bwn(4): Conditionalize "RX decryption attempted" message on a new BWN_DEBUG_HWCRYPTO debug flag. The MAC will attempt decryption (and set BWN_RX_MAC_DEC) even if

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Conrad Meyer
On Tue, Feb 13, 2018 at 11:52 AM, Eric van Gyzen wrote: > On 02/13/2018 13:43, Ed Maste wrote: >> On 13 February 2018 at 14:23, Ian Lepore wrote: >>> There are many ways to spell 0. Why are we using something other than >>> the simplest way? Is it a style

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Ravi Pokala
-Original Message- From: on behalf of Eric van Gyzen Date: 2018-02-13, Tuesday at 11:52 To: Ed Maste , Ian Lepore Cc: src-committers , ,

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Warner Losh
On Tue, Feb 13, 2018 at 1:40 PM, Ravi Pokala wrote: > -Original Message- > From: on behalf of Eric van Gyzen < > e...@vangyzen.net> > Date: 2018-02-13, Tuesday at 11:52 > To: Ed Maste , Ian Lepore

svn commit: r329238 - head/sys/contrib/zstd/lib/freebsd

2018-02-13 Thread Mark Johnston
Author: markj Date: Tue Feb 13 19:18:00 2018 New Revision: 329238 URL: https://svnweb.freebsd.org/changeset/base/329238 Log: Move zstd malloc()/free()/calloc() macros to stdlib.h. The definitions otherwise leak into anything that includes zstd.h, which is not desirable for native FreeBSD

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

2018-02-13 Thread Ed Maste
Author: emaste Date: Tue Feb 13 21:33:40 2018 New Revision: 329245 URL: https://svnweb.freebsd.org/changeset/base/329245 Log: Add DECLARE_MODULE_TIED mlink missed in r329244 Reported by: imp Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

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

2018-02-13 Thread Ed Maste
Author: emaste Date: Tue Feb 13 21:22:09 2018 New Revision: 329244 URL: https://svnweb.freebsd.org/changeset/base/329244 Log: Document DECLARE_MODULE_TIED It was introduced in r213716. Reviewed by: kib Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Ian Lepore
On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote: > Author: emaste > Date: Tue Feb 13 19:17:48 2018 > New Revision: 329237 > URL: https://svnweb.freebsd.org/changeset/base/329237 > > Log: >   libkern: use nul for terminating char rather than 0 >    >   Akin to the change made in r188080 for

svn commit: r329257 - head/sys/powerpc/pseries

2018-02-13 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 14 02:48:27 2018 New Revision: 329257 URL: https://svnweb.freebsd.org/changeset/base/329257 Log: powerpc64/pseries: Define new hcalls Summary: Define new hcalls as in 'Linux on Power Architecture Platform Reference' version 1.1 (24 March 2016) downloaded

svn commit: r329258 - head/sys/powerpc/pseries

2018-02-13 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 14 02:51:28 2018 New Revision: 329258 URL: https://svnweb.freebsd.org/changeset/base/329258 Log: PPC64: Get the timestap from the proper OF field Summary: After revision rS328534('PPC64: use hwref instead of cpuid'), FreeBSD on powerpc64 virtual machine

Re: svn commit: r329257 - head/sys/powerpc/pseries

2018-02-13 Thread Nathan Whitehorn
There is another set of these that Linux added recently that are used for Meltdown/Spectre workarounds. Might be worth importing while these are being updated... -Nathan On 02/13/18 18:48, Justin Hibbits wrote: Author: jhibbits Date: Wed Feb 14 02:48:27 2018 New Revision: 329257 URL:

svn commit: r329251 - head/sys/kgssapi

2018-02-13 Thread Conrad Meyer
Author: cem Date: Wed Feb 14 00:12:03 2018 New Revision: 329251 URL: https://svnweb.freebsd.org/changeset/base/329251 Log: kgssapi: Remove trivial deadcode CID: 1385956 Reported by: Coverity Sponsored by: Dell EMC Isilon Modified: head/sys/kgssapi/gss_impl.c Modified:

svn commit: r329252 - head/sys/vm

2018-02-13 Thread Konstantin Belousov
Author: kib Date: Wed Feb 14 00:25:18 2018 New Revision: 329252 URL: https://svnweb.freebsd.org/changeset/base/329252 Log: Do not call pmap_enter() with invalid protection mode. If the map entry elookup was performed due to the mapping changes, we need to ensure that there is still some

svn commit: r329256 - head/sys/vm

2018-02-13 Thread Konstantin Belousov
Author: kib Date: Wed Feb 14 00:34:02 2018 New Revision: 329256 URL: https://svnweb.freebsd.org/changeset/base/329256 Log: Cleanup unused page argument for vm_reserv_break(). Reviewed by: markj MFC after:1 week Differential revision:https://reviews.freebsd.org/D14364

svn commit: r329254 - head/sys/vm

2018-02-13 Thread Konstantin Belousov
Author: kib Date: Wed Feb 14 00:31:45 2018 New Revision: 329254 URL: https://svnweb.freebsd.org/changeset/base/329254 Log: Ensure memory consistency on COW. From the submitter description: The process is forked transitioning a map entry to COW Thread A writes to a page on the map

svn commit: r329259 - head/lib/msun/src

2018-02-13 Thread Eitan Adler
Author: eadler Date: Wed Feb 14 07:59:30 2018 New Revision: 329259 URL: https://svnweb.freebsd.org/changeset/base/329259 Log: msun: signed overflow in atan2 As a component of atan2(y, x), the case of x == 1.0 is farmed out to atan(y). The current implementation of this comparison is

Re: svn commit: r329237 - head/sys/libkern

2018-02-13 Thread Bruce Evans
On Tue, 13 Feb 2018, Ian Lepore wrote: On Tue, 2018-02-13 at 14:43 -0500, Ed Maste wrote: On 13 February 2018 at 14:23, Ian Lepore wrote: On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote: Author: emaste Date: Tue Feb 13 19:17:48 2018 New Revision: 329237 URL: