svn commit: r329297 - head/sys/x86/xen

2018-02-14 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 15 07:23:41 2018 New Revision: 329297 URL: https://svnweb.freebsd.org/changeset/base/329297 Log: xen: fix smp boot after r328157 mce_stack was left unset leading to early crashes Modified: head/sys/x86/xen/pv.c Modified: head/sys/x86/xen/pv.c ==

Re: svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Warner Losh
On Wed, Feb 14, 2018 at 8:51 PM, Eitan Adler wrote: > On 14 February 2018 at 19:48, Warner Losh wrote: > > > > > > On Wed, Feb 14, 2018 at 8:39 PM, Warner Losh wrote: > >> > >> > >> > >> On Feb 14, 2018 8:23 PM, "Eitan Adler" wrote: > >> > >> Author: eadler > >> Date: Thu Feb 15 03:22:53 2018

Re: svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Eitan Adler
On 14 February 2018 at 19:48, Warner Losh wrote: > > > On Wed, Feb 14, 2018 at 8:39 PM, Warner Losh wrote: >> >> >> >> On Feb 14, 2018 8:23 PM, "Eitan Adler" wrote: >> >> Author: eadler >> Date: Thu Feb 15 03:22:53 2018 >> New Revision: 329296 >> URL: https://svnweb.freebsd.org/changeset/base/32

Re: svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Warner Losh
On Wed, Feb 14, 2018 at 8:39 PM, Warner Losh wrote: > > > On Feb 14, 2018 8:23 PM, "Eitan Adler" wrote: > > Author: eadler > Date: Thu Feb 15 03:22:53 2018 > New Revision: 329296 > URL: https://svnweb.freebsd.org/changeset/base/329296 > > Log: > devd: don't pass &fds in useless parameters to s

Re: svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Warner Losh
On Feb 14, 2018 8:23 PM, "Eitan Adler" wrote: Author: eadler Date: Thu Feb 15 03:22:53 2018 New Revision: 329296 URL: https://svnweb.freebsd.org/changeset/base/329296 Log: devd: don't pass &fds in useless parameters to select(2) select(2) should be declared as restrict. In addition the only

svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Eitan Adler
Author: eadler Date: Thu Feb 15 03:22:53 2018 New Revision: 329296 URL: https://svnweb.freebsd.org/changeset/base/329296 Log: devd: don't pass &fds in useless parameters to select(2) select(2) should be declared as restrict. In addition the only fd in the fdset is open O_RDONLY, and it's

svn commit: r329295 - head/sys/dev/mxge

2018-02-14 Thread Ravi Pokala
Author: rpokala Date: Thu Feb 15 03:22:04 2018 New Revision: 329295 URL: https://svnweb.freebsd.org/changeset/base/329295 Log: mxge(4) should pass unhandled ioctls to ether_ioctl() Panasas discovered that ioctl(SIOCGLAGGPORT) returns ENOTTY for mxge(4) when the NIC is not a member of a la

svn commit: r329284 - in head: cddl/usr.sbin/zfsd lib/libdevdctl

2018-02-14 Thread Alan Somers
Author: asomers Date: Wed Feb 14 23:52:39 2018 New Revision: 329284 URL: https://svnweb.freebsd.org/changeset/base/329284 Log: zfsd: Allow zfsd to work on any type of GEOM provider cddl/usr.sbin/zfsd/zfsd_event.cc Remove the check for da and ada devices. This way zfsd can work on m

svn commit: r329283 - in stable/11: share/man/man4 sys/dev/vt/colors

2018-02-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 14 23:51:44 2018 New Revision: 329283 URL: https://svnweb.freebsd.org/changeset/base/329283 Log: MFC r327444, r327449, r327454 r327444: vt(4): add support for configurable console palette Introduce new set of loader tunables kern.vt.color.N.rgb, where N is

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

2018-02-14 Thread Conrad Meyer
Author: cem Date: Wed Feb 14 23:47:04 2018 New Revision: 329282 URL: https://svnweb.freebsd.org/changeset/base/329282 Log: pmap_qenter.9: Document API NX mapping A follow-up to r329281. Sponsored by: Dell EMC Isilon Modified: head/share/man/man9/pmap_qenter.9 Modified: head/share/m

svn commit: r329281 - in head/sys: amd64/amd64 i386/i386

2018-02-14 Thread Conrad Meyer
Author: cem Date: Wed Feb 14 23:35:47 2018 New Revision: 329281 URL: https://svnweb.freebsd.org/changeset/base/329281 Log: x86 pmap: Make memory mapped via pmap_qenter() non-executable The idea is, the pmap_qenter() API is now defined to not produce executable mappings. If you need execu

svn commit: r329280 - stable/11/sys/arm/arm

2018-02-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 14 21:39:10 2018 New Revision: 329280 URL: https://svnweb.freebsd.org/changeset/base/329280 Log: MFC r320387: [arm] Use correct index value when checking range validity Reviewed by: andrew Differential Revision:https://reviews.freebsd.org/D9145 M

svn commit: r329279 - in head: share/man/man4 sys/netgraph

2018-02-14 Thread Eugene Grosbein
Author: eugen Date: Wed Feb 14 21:17:44 2018 New Revision: 329279 URL: https://svnweb.freebsd.org/changeset/base/329279 Log: ng_pppoe(8): add support for user-supplied Host-Uniq tag. A few ISP filter PADI requests based on such tag, to force the use of their own routers. The custom Host

svn commit: r329278 - in stable/11/sys: dev/spibus modules modules/spigen

2018-02-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 14 21:14:28 2018 New Revision: 329278 URL: https://svnweb.freebsd.org/changeset/base/329278 Log: MFC r314933-r314934 r314933: [spigen] make spigen device ready to be compiled as a module - Add flag to indicate that device is opened by userland - Replace

svn commit: r329277 - head/etc/mtree

2018-02-14 Thread Alan Somers
Author: asomers Date: Wed Feb 14 21:02:38 2018 New Revision: 329277 URL: https://svnweb.freebsd.org/changeset/base/329277 Log: Add mtree entry for 329275 MFC after:3 weeks X-MFC-With: 329275 Sponsored by: Spectra Logic Corp Modified: head/etc/mtree/BSD.tests.dist Modified: hea

svn commit: r329276 - head/sys/kern

2018-02-14 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 14 20:37:33 2018 New Revision: 329276 URL: https://svnweb.freebsd.org/changeset/base/329276 Log: rwlock: diff-reduction of runlock compared to sx sunlock Modified: head/sys/kern/kern_rwlock.c Modified: head/sys/kern/kern_rwlock.c

svn commit: r329275 - in head: sys/geom/part tests/sys/geom/class tests/sys/geom/class/part

2018-02-14 Thread Alan Somers
Author: asomers Date: Wed Feb 14 20:26:09 2018 New Revision: 329275 URL: https://svnweb.freebsd.org/changeset/base/329275 Log: gpart: append partition name to the underlying provider's physical path If the underlying provider's physical path is null, then the gpart device's physical path

svn commit: r329274 - head/stand/lua

2018-02-14 Thread Kyle Evans
Author: kevans Date: Wed Feb 14 20:18:23 2018 New Revision: 329274 URL: https://svnweb.freebsd.org/changeset/base/329274 Log: stand/lua: Exit sub-menus on backspace Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua ===

svn commit: r329273 - in head: sys/geom/eli tests/sys/geom/class/eli

2018-02-14 Thread Alan Somers
Author: asomers Date: Wed Feb 14 20:15:32 2018 New Revision: 329273 URL: https://svnweb.freebsd.org/changeset/base/329273 Log: geli: append "/eli" to the underlying provider's physical path If the underlying provider's physical path is null, then the geli device's physical path will be, t

svn commit: r329272 - stable/11/sys/dev/spibus

2018-02-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 14 20:01:39 2018 New Revision: 329272 URL: https://svnweb.freebsd.org/changeset/base/329272 Log: MFC r308895 by manu: Enable the use of spigen on FDT platform Modified: stable/11/sys/dev/spibus/spigen.c Directory Properties: stable/11/ (props changed) Mod

svn commit: r329271 - in head: contrib/netbsd-tests/lib/libc/sys sys/kern

2018-02-14 Thread Bryan Drewery
Author: bdrewery Date: Wed Feb 14 18:43:50 2018 New Revision: 329271 URL: https://svnweb.freebsd.org/changeset/base/329271 Log: nanosleep(2): Fix bogus incrementing of rmtp by tc_tick_sbt on [EINTR]. sbt is the time in the future that the tsleep_sbt() is expected to be completed at. sbt

svn commit: r329270 - head/tools/boot

2018-02-14 Thread Warner Losh
Author: imp Date: Wed Feb 14 18:21:54 2018 New Revision: 329270 URL: https://svnweb.freebsd.org/changeset/base/329270 Log: Simple script to image a small test area from a built tree. Build with 'cd stand; make MK_FORTH=no MK_LOADER_LUA=yes' then run this script. You can then test with lua-te

svn commit: r329269 - head/stand/i386/boot2

2018-02-14 Thread Benno Rice
Author: benno Date: Wed Feb 14 18:07:27 2018 New Revision: 329269 URL: https://svnweb.freebsd.org/changeset/base/329269 Log: Reformat to come significantly closer to style(9). Reviewed by: imp, jhibbits Differential Revision:https://reviews.freebsd.org/D14366 Modified:

svn commit: r329268 - in head/stand/efi: include libefi loader

2018-02-14 Thread Emmanuel Vadot
Author: manu Date: Wed Feb 14 18:05:37 2018 New Revision: 329268 URL: https://svnweb.freebsd.org/changeset/base/329268 Log: efi: Only scan the BLKIO MEDIA once Scan only the BLOCK IO MEDIA once instead of each time for each type of device (fd, cd and hdd). Leave the mechanism to free an

svn commit: r329266 - head/tools/boot

2018-02-14 Thread Warner Losh
Author: imp Date: Wed Feb 14 17:51:51 2018 New Revision: 329266 URL: https://svnweb.freebsd.org/changeset/base/329266 Log: A quick test script that we can run to use userboot's test mode to excersize the load loader. Assumes that we already have a suitable root area that you pass in with the

svn commit: r329265 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-14 Thread Alan Somers
Author: asomers Date: Wed Feb 14 15:49:31 2018 New Revision: 329265 URL: https://svnweb.freebsd.org/changeset/base/329265 Log: Implement .vop_pathconf and .vop_getacl for the .zfs ctldir zfsctl_common_pathconf will report all the same variables that regular ZFS volumes report. zfsctl_comm

svn commit: r329264 - head/stand/libsa

2018-02-14 Thread Kyle Evans
Author: kevans Date: Wed Feb 14 15:40:13 2018 New Revision: 329264 URL: https://svnweb.freebsd.org/changeset/base/329264 Log: libsa: Fix IP recv timeout readip() doesn't, at the moment, properly indicate to callers that it has timed out. One can tell that it's timed out if errno == EAGAIN

svn commit: r329263 - stable/11/sys/arm/arm

2018-02-14 Thread Svatopluk Kraus
Author: skra Date: Wed Feb 14 15:14:20 2018 New Revision: 329263 URL: https://svnweb.freebsd.org/changeset/base/329263 Log: MFC r325321: Take into account race conditions in case of accessed or modified bit emulation in fast path of data/prefetch abort common routine. Process these

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

2018-02-14 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 14 15:12:09 2018 New Revision: 329262 URL: https://svnweb.freebsd.org/changeset/base/329262 Log: Fix a panic introduced in r329225 Some GEOM partition tables may be destroyed with incomplete partition entries. Guard against this with NULL checks. Repor

Re: svn commit: r329249 - in stable/11: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety cddl/contrib/opensolaris/lib/libdtrace/common cddl/usr.sbin/dtrace/tests/common/safety cddl/usr.sbin/

2018-02-14 Thread Mark Johnston
On Wed, Feb 14, 2018 at 07:19:14AM +0100, Antoine Brodin wrote: > On Tue, Feb 13, 2018 at 11:43 PM, Mark Johnston wrote: > > Author: markj > > Date: Tue Feb 13 22:43:07 2018 > > New Revision: 329249 > > URL: https://svnweb.freebsd.org/changeset/base/329249 > > > > Log: > > MFC r327888, r327972,

svn commit: r329261 - stable/11/cddl/contrib/opensolaris/lib/libdtrace/common

2018-02-14 Thread Mark Johnston
Author: markj Date: Wed Feb 14 14:29:11 2018 New Revision: 329261 URL: https://svnweb.freebsd.org/changeset/base/329261 Log: Add DT_VERS_1_13 to libdtrace to unbreak the build. This is a direct commit to stable/11. PR: 225889 Modified: stable/11/cddl/contrib/opensolaris/lib/libdtr

svn commit: r329260 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 14 09:53:23 2018 New Revision: 329260 URL: https://svnweb.freebsd.org/changeset/base/329260 Log: MFC r328971: Fix implementation of ktime_add_ns() and ktime_sub_ns() in the LinuxKPI to actually return the computed result instead of the input value. This is

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

2018-02-14 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 vulne