svn commit: r331989 - head/sys/dev/extres/regulator

2018-04-03 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 4 06:44:24 2018 New Revision: 331989 URL: https://svnweb.freebsd.org/changeset/base/331989 Log: regulator: Disable unused regulator bootloaders such as u-boot might enable regulators, or simply regulators could be enabled by default by the PMIC, even if we don'

svn commit: r331988 - in stable/11/sys/arm: arm include

2018-04-03 Thread Michal Meloun
Author: mmel Date: Wed Apr 4 06:11:05 2018 New Revision: 331988 URL: https://svnweb.freebsd.org/changeset/base/331988 Log: MFC r328467: Implement mitigation for Spectre version 2 attacks on ARMv7. Modified: stable/11/sys/arm/arm/cpuinfo.c stable/11/sys/arm/arm/genassym.c stable/11

svn commit: r331987 - in releng: 10.3/sys/compat/svr4 10.3/sys/dev/drm 10.3/sys/dev/hpt27xx 10.3/sys/dev/hptnr 10.3/sys/dev/hptrr 10.3/sys/i386/ibcs2 10.4/sys/compat/svr4 10.4/sys/dev/drm 10.4/sys/...

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:43:03 2018 New Revision: 331987 URL: https://svnweb.freebsd.org/changeset/base/331987 Log: Fix multiple small kernel memory disclosures. [EN-18:04.mem] Reported by: Ilja van Sprundel Approved by: so Security: CVE-2018-6919 Security: FreeBSD

svn commit: r331986 - in releng: 10.3/contrib/tzdata 10.4/contrib/tzdata 11.1/contrib/tzdata

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:40:48 2018 New Revision: 331986 URL: https://svnweb.freebsd.org/changeset/base/331986 Log: Update timezone database information. [EN-18:03.tzdata] Submitted by: philip Approved by: so Security: FreeBSD-EN-18:03.tzdata Added: releng/10.3/contrib

svn commit: r331985 - in releng: 10.3/sys/netipsec 10.4/sys/netipsec 11.1/sys/netipsec

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:37:52 2018 New Revision: 331985 URL: https://svnweb.freebsd.org/changeset/base/331985 Log: Fix ipsec crash or denial of service. [SA-18:05.ipsec] Reported by: Maxime Villard Approved by: so Security: CVE-2018-6918 Security: FreeBSD-SA-18:05

svn commit: r331984 - in releng: 10.3 10.3/sys/conf 10.3/sys/dev/vt 10.4 10.4/sys/conf 10.4/sys/dev/vt 11.1 11.1/sys/conf 11.1/sys/dev/vt

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:33:56 2018 New Revision: 331984 URL: https://svnweb.freebsd.org/changeset/base/331984 Log: Fix vt console memory disclosure. [SA-18:04.vt] Bump newvers.sh and UPDATING for today's patches. Submitted by: emaste Reported by: Dr Silvio Cesare of InfoS

svn commit: r331983 - stable/10/sys/dev/vt

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:26:33 2018 New Revision: 331983 URL: https://svnweb.freebsd.org/changeset/base/331983 Log: MFC r331981: Limit glyph count in vtfont_load to avoid integer overflow. Invalid font data passed to PIO_VFONT can result in an integer overflow in glyphsize.

svn commit: r331982 - stable/11/sys/dev/vt

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:24:59 2018 New Revision: 331982 URL: https://svnweb.freebsd.org/changeset/base/331982 Log: MFC r331981: Limit glyph count in vtfont_load to avoid integer overflow. Invalid font data passed to PIO_VFONT can result in an integer overflow in glyphsize.

svn commit: r331981 - head/sys/dev/vt

2018-04-03 Thread Gordon Tetlow
Author: gordon Date: Wed Apr 4 05:21:46 2018 New Revision: 331981 URL: https://svnweb.freebsd.org/changeset/base/331981 Log: Limit glyph count in vtfont_load to avoid integer overflow. Invalid font data passed to PIO_VFONT can result in an integer overflow in glyphsize. Characters may t

svn commit: r331979 - vendor-crypto/heimdal/7.5.0

2018-04-03 Thread Hiroki Sato
Author: hrs Date: Wed Apr 4 04:23:24 2018 New Revision: 331979 URL: https://svnweb.freebsd.org/changeset/base/331979 Log: Tag Heimdal 7.5.0. Added: vendor-crypto/heimdal/7.5.0/ - copied from r331978, vendor-crypto/heimdal/dist/ ___ svn-src-all

svn commit: r331980 - svnadmin/conf

2018-04-03 Thread Hiroki Sato
Author: hrs Date: Wed Apr 4 04:26:21 2018 New Revision: 331980 URL: https://svnweb.freebsd.org/changeset/base/331980 Log: Remove myself because import of Heimdal 7.5.0 completed. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ==

svn commit: r331977 - svnadmin/conf

2018-04-03 Thread Hiroki Sato
Author: hrs Date: Wed Apr 4 04:20:39 2018 New Revision: 331977 URL: https://svnweb.freebsd.org/changeset/base/331977 Log: Add myself temporarily to import Heimdal 7.5.0. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ===

svn commit: r331976 - head/sys/modules/cam

2018-04-03 Thread Warner Losh
Author: imp Date: Wed Apr 4 02:37:05 2018 New Revision: 331976 URL: https://svnweb.freebsd.org/changeset/base/331976 Log: Add nvme_da back. Now that it can co-exist in the kernel with nvd, add it back to the cam module. Sponsored by: Netflix Modified: head/sys/modules/cam/Makefil

svn commit: r331975 - head/sys/sys

2018-04-03 Thread Warner Losh
Author: imp Date: Wed Apr 4 02:35:48 2018 New Revision: 331975 URL: https://svnweb.freebsd.org/changeset/base/331975 Log: Fix minor whitespace nits Modified: head/sys/sys/module.h Modified: head/sys/sys/module.h ==

svn commit: r331974 - stable/11/sys/dev/extres/clk

2018-04-03 Thread Michal Meloun
Author: mmel Date: Wed Apr 4 02:31:14 2018 New Revision: 331974 URL: https://svnweb.freebsd.org/changeset/base/331974 Log: MFC r330074: Define meaning of remaining clock rounding flags combinations. Modified: stable/11/sys/dev/extres/clk/clk.h Directory Properties: stable/11/ (pro

svn commit: r331973 - stable/11/libexec/rtld-elf/aarch64

2018-04-03 Thread Michal Meloun
Author: mmel Date: Wed Apr 4 02:30:00 2018 New Revision: 331973 URL: https://svnweb.freebsd.org/changeset/base/331973 Log: MFC r330073: Make rtld_bind_start() debugger friendly. Save link register and annotate call frame structure so debugger can unwind call frame created by rtl

svn commit: r331972 - stable/11/sys/arm64/arm64

2018-04-03 Thread Michal Meloun
Author: mmel Date: Wed Apr 4 02:22:56 2018 New Revision: 331972 URL: https://svnweb.freebsd.org/changeset/base/331972 Log: MFC r327827: Initialize CONTEXTIDR register on secondary cores by zero, not with undefined value from X1 register. Modified: stable/11/sys/arm64/arm64/locore

svn commit: r331971 - stable/11/sys/arm/include

2018-04-03 Thread Michal Meloun
Author: mmel Date: Wed Apr 4 02:17:26 2018 New Revision: 331971 URL: https://svnweb.freebsd.org/changeset/base/331971 Log: MFC r309531,r309553,r309604: r309531: Implement fake pmap_mapdev_attr() for ARMv6. This function is referenced, but never called from DRM2 code. Also, r

svn commit: r331970 - head/sys/powerpc/booke

2018-04-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Apr 4 02:13:27 2018 New Revision: 331970 URL: https://svnweb.freebsd.org/changeset/base/331970 Log: Correct the ilog2() for calculating memory sizes. TLB1 can handle ranges up to 4GB (through e5500, larger in e6500), but ilog2() took a unsigned int, which maxes

svn commit: r331969 - head/include

2018-04-03 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 4 02:00:10 2018 New Revision: 331969 URL: https://svnweb.freebsd.org/changeset/base/331969 Log: pthread.h: drop nullability attributes. These have been found to be practically useless. We were actually following the Android bionic library and had some interest i

svn commit: r331968 - in stable/11/sys/arm: arm include

2018-04-03 Thread Michal Meloun
Author: mmel Date: Wed Apr 4 01:56:46 2018 New Revision: 331968 URL: https://svnweb.freebsd.org/changeset/base/331968 Log: MFC r319896,r320054: r319896: Implement tunable CPU quirks. These quirks are intended for optimizing CPU performance, not for applying errata workaroun

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

2018-04-03 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Apr 4 01:13:28 2018 New Revision: 331967 URL: https://svnweb.freebsd.org/changeset/base/331967 Log: Fix arm64 buildkernel target with "nooptions KDB" Make kdb_trap in breakpoint exception handler conditional. If "options KDB" is not present just panic with message

Re: svn commit: r331961 - in head/sys: arm/mv dts/arm

2018-04-03 Thread Marcin Wojtas
Hi Manu, 2018-04-04 0:28 GMT+02:00 Emmanuel Vadot : > On 2018-04-04 00:21, Marcin Wojtas wrote: >> >> Author: mw >> Date: Tue Apr 3 22:21:12 2018 >> New Revision: 331961 >> URL: https://svnweb.freebsd.org/changeset/base/331961 >> >> Log: >> Make Marvell AmadaXP timer driver more generic >> >>

svn commit: r331966 - in head/sys: arm/mv dev/ahci

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 23:49:35 2018 New Revision: 331966 URL: https://svnweb.freebsd.org/changeset/base/331966 Log: Fix kernel modules names for Marvell armv7 Two modules with the same name cannot be loaded, so Marvell specific drivers cannot have the same name as the generic driver

svn commit: r331965 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 23:29:34 2018 New Revision: 331965 URL: https://svnweb.freebsd.org/changeset/base/331965 Log: Split out delay code in Marvell timer driver for PLATFORM The PLATFORM code will perform the software loop in the early boot, so extract the actual delay code to handl

svn commit: r331964 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 23:27:07 2018 New Revision: 331964 URL: https://svnweb.freebsd.org/changeset/base/331964 Log: Add missing flag check in Marvell PCIE driver Flag was introduced in r331953, but eventually not used. Obtained from: Semihalf Sponsored by: Stormshield Modified

svn commit: r331963 - in head/share: examples/etc mk

2018-04-03 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 3 23:11:08 2018 New Revision: 331963 URL: https://svnweb.freebsd.org/changeset/base/331963 Log: Catch up with Clang 6.0. MFC after:3 days Modified: head/share/examples/etc/make.conf head/share/mk/bsd.cpu.mk Modified: head/share/examples/etc/make.conf ==

Re: svn commit: r331961 - in head/sys: arm/mv dts/arm

2018-04-03 Thread Emmanuel Vadot
On 2018-04-04 00:21, Marcin Wojtas wrote: Author: mw Date: Tue Apr 3 22:21:12 2018 New Revision: 331961 URL: https://svnweb.freebsd.org/changeset/base/331961 Log: Make Marvell AmadaXP timer driver more generic Store pointers to SoC specific functions in mv_timer_config structure and dete

svn commit: r331961 - in head/sys: arm/mv dts/arm

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 22:21:12 2018 New Revision: 331961 URL: https://svnweb.freebsd.org/changeset/base/331961 Log: Make Marvell AmadaXP timer driver more generic Store pointers to SoC specific functions in mv_timer_config structure and determine proper config in runtime based on co

svn commit: r331960 - in head/sys/arm/mv: . armada

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 22:15:53 2018 New Revision: 331960 URL: https://svnweb.freebsd.org/changeset/base/331960 Log: Make Marvell Armada watchdog driver more generic Store platform dependent functions and constants in mv_wdt_config structure and select proper configuration on runtime

svn commit: r331959 - head/sys/opencrypto

2018-04-03 Thread Conrad Meyer
Author: cem Date: Tue Apr 3 22:11:39 2018 New Revision: 331959 URL: https://svnweb.freebsd.org/changeset/base/331959 Log: cryptosoft: Remove a dead store Introduced in r331639 by removing an instance of undefined behavior. While we're here, the variable scope can be entirely moved ins

svn commit: r331958 - in head/sys/arm/mv: . armada38x armadaxp

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 22:10:50 2018 New Revision: 331958 URL: https://svnweb.freebsd.org/changeset/base/331958 Log: Make get_tclk and get_cpu_freq generic for Marvell armv7 SoCs In GENERIC kernel choosing proper get_tclk and get_cpu_freq implementation must be done in runtime. Kern

svn commit: r331957 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:54:36 2018 New Revision: 331957 URL: https://svnweb.freebsd.org/changeset/base/331957 Log: Make mv_common.c generic for Marvell Armada38X and ArmadaXP Preparation for adding Armada38X and ArmadaXP SoC to GENERIC config. Supported platform are listed in soc_f

svn commit: r331956 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:46:28 2018 New Revision: 331956 URL: https://svnweb.freebsd.org/changeset/base/331956 Log: Make validation in Marvell mv_common.c generic Validate only drivers used by given platform. Pointers to validation function are added to soc_node_spec structure.

svn commit: r331955 - head/share/man/man8

2018-04-03 Thread Jilles Tjoelker
Author: jilles Date: Tue Apr 3 21:44:43 2018 New Revision: 331955 URL: https://svnweb.freebsd.org/changeset/base/331955 Log: rc.subr.8: Improve documentation of ${name}_limits and ${name}_login_class Submitted by: 0mp Differential Revision:https://reviews.freebsd.org/D14928 Modi

svn commit: r331954 - in head/sys/arm/mv: . armada38x armadaxp

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:38:11 2018 New Revision: 331954 URL: https://svnweb.freebsd.org/changeset/base/331954 Log: Split get_sar_value function for Marvell ArmadaXP and Armada38X get_sar_value is implemented only for ArmadaXP and Armada38X. Splitting it for two different functions

svn commit: r331953 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:25:15 2018 New Revision: 331953 URL: https://svnweb.freebsd.org/changeset/base/331953 Log: Make Marvell mv_pci.c driver generic PCI ports differ between Marvell SoCs, but have the same compatible in FDT. Identification is made based on parent compatible duri

svn commit: r331952 - stable/11/sys/cddl/dev/fbt/arm

2018-04-03 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Apr 3 21:22:43 2018 New Revision: 331952 URL: https://svnweb.freebsd.org/changeset/base/331952 Log: MFC r312378 by andrew: Use the kernel stack in the ARM FBT DTrace provider. This is used to find the fifth argument to functions being traced, however there was an

svn commit: r331951 - in head/sys/arm: conf include mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:17:19 2018 New Revision: 331951 URL: https://svnweb.freebsd.org/changeset/base/331951 Log: Enable ArmadaXP using INTRNG interrupt controller Defining INTRNG remove some necessary registers and declarations of pic_init_secondary, pic_ipi_send, pic_ipi_read an

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

2018-04-03 Thread Alexander Motin
Author: mav Date: Tue Apr 3 21:16:41 2018 New Revision: 331950 URL: https://svnweb.freebsd.org/changeset/base/331950 Log: 9434 Speculative prefetch is blocked by device removal code. Device removal code does not set spa_indirect_vdevs_loaded for pools that never experienced device remova

svn commit: r331949 - in head/usr.bin: . etdump

2018-04-03 Thread Benno Rice
Author: benno Date: Tue Apr 3 21:08:10 2018 New Revision: 331949 URL: https://svnweb.freebsd.org/changeset/base/331949 Log: Add the etdump utility for dumping El Torito boot catalog information. This can be used to check existing images but will be used in the future to find EFI ESP imag

Re: svn commit: r331943 - head/include

2018-04-03 Thread Cy Schubert
In message <20180403204057.gm1...@kib.kiev.ua>, Konstantin Belousov writes: > On Tue, Apr 03, 2018 at 08:14:37PM +, Cy Schubert wrote: > > Author: cy > > Date: Tue Apr 3 20:14:37 2018 > > New Revision: 331943 > > URL: https://svnweb.freebsd.org/changeset/base/331943 > > > > Log: > > Includ

svn commit: r331948 - head/include

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 20:59:46 2018 New Revision: 331948 URL: https://svnweb.freebsd.org/changeset/base/331948 Log: Remove redundant check. Reported by: kib@ MFC after:2 weeks X-MFC with: r331936 Differential Revision:https://reviews.freebsd.org/D12785 Modified:

Re: svn commit: r331945 - head/lib/libc/stdio

2018-04-03 Thread Cy Schubert
In message <20180403205431.go1...@kib.kiev.ua>, Konstantin Belousov writes: > On Tue, Apr 03, 2018 at 08:38:25PM +, Cy Schubert wrote: > > Author: cy > > Date: Tue Apr 3 20:38:25 2018 > > New Revision: 331945 > > URL: https://svnweb.freebsd.org/changeset/base/331945 > > > > Log: > > Correc

Re: svn commit: r331945 - head/lib/libc/stdio

2018-04-03 Thread Konstantin Belousov
On Tue, Apr 03, 2018 at 08:38:25PM +, Cy Schubert wrote: > Author: cy > Date: Tue Apr 3 20:38:25 2018 > New Revision: 331945 > URL: https://svnweb.freebsd.org/changeset/base/331945 > > Log: > Correct the version number for gets_s(3). > > Reported by:kib@ > MFC after: 2 weeks

svn commit: r331947 - head/lib/libc/stdio

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 20:53:53 2018 New Revision: 331947 URL: https://svnweb.freebsd.org/changeset/base/331947 Log: The correct symbol version for FreeBSD 12 is 1.5. Reported by: kib@ MFC after:2 weeks X-MFC with: r331936 Differential Revision:https://reviews.free

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Cy Schubert
In message <20180403204240.gn1...@kib.kiev.ua>, Konstantin Belousov writes: > On Tue, Apr 03, 2018 at 01:24:42PM -0700, Cy Schubert wrote: > > In message <20180403202010.gk1...@kib.kiev.ua>, Konstantin Belousov > > writes: > > > On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > > > >

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Konstantin Belousov
On Tue, Apr 03, 2018 at 01:24:42PM -0700, Cy Schubert wrote: > In message <20180403202010.gk1...@kib.kiev.ua>, Konstantin Belousov > writes: > > On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > > > Modified: head/lib/libc/stdio/Symbol.map > > > ===

Re: svn commit: r331943 - head/include

2018-04-03 Thread Konstantin Belousov
On Tue, Apr 03, 2018 at 08:14:37PM +, Cy Schubert wrote: > Author: cy > Date: Tue Apr 3 20:14:37 2018 > New Revision: 331943 > URL: https://svnweb.freebsd.org/changeset/base/331943 > > Log: > Include update to stdio.h missed in r331936. > > In my attempt to limit the commit in r331936

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Cy Schubert
In message <20180403202010.gk1...@kib.kiev.ua>, Konstantin Belousov writes: > On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > > Modified: head/lib/libc/stdio/Symbol.map > > === > === > > --- head/lib/libc/stdio/

svn commit: r331945 - head/lib/libc/stdio

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 20:38:25 2018 New Revision: 331945 URL: https://svnweb.freebsd.org/changeset/base/331945 Log: Correct the version number for gets_s(3). Reported by: kib@ MFC after:2 weeks X-MFC with: r331936 Differential Revision:https://reviews.freebsd.org/

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Cy Schubert
In message <20180403202233.gl1...@kib.kiev.ua>, Konstantin Belousov writes: > On Tue, Apr 03, 2018 at 11:20:10PM +0300, Konstantin Belousov wrote: > > On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > > > Modified: head/lib/libc/stdio/Symbol.map > > > =

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Cy Schubert
In message <20180403202010.gk1...@kib.kiev.ua>, Konstantin Belousov writes: > On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > > Modified: head/lib/libc/stdio/Symbol.map > > === > === > > --- head/lib/libc/stdio/

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Konstantin Belousov
On Tue, Apr 03, 2018 at 11:20:10PM +0300, Konstantin Belousov wrote: > On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > > Modified: head/lib/libc/stdio/Symbol.map > > == > > --- head/lib/libc/stdio/Symbol.map

Re: svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Konstantin Belousov
On Tue, Apr 03, 2018 at 06:52:39PM +, Cy Schubert wrote: > Modified: head/lib/libc/stdio/Symbol.map > == > --- head/lib/libc/stdio/Symbol.mapTue Apr 3 18:43:00 2018 > (r331935) > +++ head/lib/libc/stdio/Sym

svn commit: r331943 - head/include

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 20:14:37 2018 New Revision: 331943 URL: https://svnweb.freebsd.org/changeset/base/331943 Log: Include update to stdio.h missed in r331936. In my attempt to limit the commit in r331936 to only the gets_s() commit and not include unrelated patches in my tree, thi

svn commit: r331942 - head/lib/libc/stdio

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 19:51:23 2018 New Revision: 331942 URL: https://svnweb.freebsd.org/changeset/base/331942 Log: Add gets_s(3) to the man page title (noticed by ed@). While I'm at it correct the update date in the man page. Reported by: ed@ MFC after:2 weeks X-MFC wit

svn commit: r331941 - vendor-crypto/krb5/1.16

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 19:39:06 2018 New Revision: 331941 URL: https://svnweb.freebsd.org/changeset/base/331941 Log: Tag MIT krb5-1.16. Added: vendor-crypto/krb5/1.16/ - copied from r331940, vendor-crypto/krb5/dist/ ___ svn-src-all@freebsd

svn commit: r331940 - svnadmin/conf

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 19:36:48 2018 New Revision: 331940 URL: https://svnweb.freebsd.org/changeset/base/331940 Log: Import of MIT krb5-1.16 is now complete. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ===

svn commit: r331938 - svnadmin/conf

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 19:35:11 2018 New Revision: 331938 URL: https://svnweb.freebsd.org/changeset/base/331938 Log: Add myself for MIT krb5-1.16 import into vendor-crypto branch. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf =

svn commit: r331936 - in head/lib/libc: stdio tests/stdio

2018-04-03 Thread Cy Schubert
Author: cy Date: Tue Apr 3 18:52:38 2018 New Revision: 331936 URL: https://svnweb.freebsd.org/changeset/base/331936 Log: Add new gets_s(3) stdio function. This implements the gets_s(3) function as documented at http://en.cppreference.com/w/c/io/gets. It facilitates the optional removal

svn commit: r331935 - head/usr.bin/vtfontcvt

2018-04-03 Thread Ed Maste
Author: emaste Date: Tue Apr 3 18:43:00 2018 New Revision: 331935 URL: https://svnweb.freebsd.org/changeset/base/331935 Log: vtfontcvt: allow .bdf characters less than full height Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified: head/usr.bin/v

svn commit: r331934 - head/sys/compat/linuxkpi/common/src

2018-04-03 Thread Mark Johnston
Author: markj Date: Tue Apr 3 18:41:27 2018 New Revision: 331934 URL: https://svnweb.freebsd.org/changeset/base/331934 Log: Wrap long lines. MFC after:3 days Modified: head/sys/compat/linuxkpi/common/src/linux_schedule.c Modified: head/sys/compat/linuxkpi/common/src/linux_schedule.

svn commit: r331931 - in head/sys: amd64/amd64 i386/i386 x86/x86

2018-04-03 Thread Andriy Gapon
Author: avg Date: Tue Apr 3 17:16:06 2018 New Revision: 331931 URL: https://svnweb.freebsd.org/changeset/base/331931 Log: fix i386 build with CPU_ELAN (LINT for instance) after r331878 x86/cpu_machdep.c now needs to include elan_mmcr.h when CPU_ELAN is set. While here, also remove the no

Re: svn commit: r331546 - head/etc/rc.d

2018-04-03 Thread Kristof Provost
On 3 Apr 2018, at 18:06, Gleb Smirnoff wrote: On Tue, Apr 03, 2018 at 08:49:09AM +0200, Kristof Provost wrote: K> On 3 Apr 2018, at 0:04, Gleb Smirnoff wrote: K> > I just want to note that this is a huge change of behaviour K> > of pf(4) for a user. Over a decade everybody has been used K> > to t

Re: svn commit: r331546 - head/etc/rc.d

2018-04-03 Thread Gleb Smirnoff
On Tue, Apr 03, 2018 at 09:06:46AM -0700, Gleb Smirnoff wrote: T> Hmm, may be I am wrong, but back when I was actively working with pf, T> the "reload" command would break the ssh connection I am using, so T> I have taught myself to use "resync". Just checked on r328916, and it doesn't happen. -

Re: svn commit: r331546 - head/etc/rc.d

2018-04-03 Thread Gleb Smirnoff
On Tue, Apr 03, 2018 at 08:49:09AM +0200, Kristof Provost wrote: K> On 3 Apr 2018, at 0:04, Gleb Smirnoff wrote: K> > I just want to note that this is a huge change of behaviour K> > of pf(4) for a user. Over a decade everybody has been used K> > to the difference between "reload" and "resync". K>

svn commit: r331930 - stable/11/sys/netinet/cc

2018-04-03 Thread Ed Maste
Author: emaste Date: Tue Apr 3 15:14:30 2018 New Revision: 331930 URL: https://svnweb.freebsd.org/changeset/base/331930 Log: MFC r321587: cc_cubic: restore braces around if-condition block r307901 was reverted in r321480, restoring an incorrect block delimitation bug present in the origi

Re: svn commit: r331927 - stable/11/stand/i386/zfsboot

2018-04-03 Thread Eugene Grosbein
On 03.04.2018 21:05, Eugene Grosbein wrote: > Author: eugen > Date: Tue Apr 3 14:05:40 2018 > New Revision: 331927 > URL: https://svnweb.freebsd.org/changeset/base/331927 > > Log: > MFC r331630: Fix instructions in the zfsboot manual page. > > zfsloader(8) fails to probe a slice containing

svn commit: r331928 - stable/10/sys/boot/i386/zfsboot

2018-04-03 Thread Eugene Grosbein
Author: eugen Date: Tue Apr 3 14:09:34 2018 New Revision: 331928 URL: https://svnweb.freebsd.org/changeset/base/331928 Log: MFC r331630: Fix instructions in the zfsboot manual page. zfsloader(8) fails to probe a slice containing ZFS pool if its second sector contains traces of BSD label

svn commit: r331927 - stable/11/stand/i386/zfsboot

2018-04-03 Thread Eugene Grosbein
Author: eugen Date: Tue Apr 3 14:05:40 2018 New Revision: 331927 URL: https://svnweb.freebsd.org/changeset/base/331927 Log: MFC r331630: Fix instructions in the zfsboot manual page. zfsloader(8) fails to probe a slice containing ZFS pool if its second sector contains traces of BSD label

svn commit: r331926 - head/sys/netinet

2018-04-03 Thread Jonathan T. Looney
Author: jtl Date: Tue Apr 3 13:54:38 2018 New Revision: 331926 URL: https://svnweb.freebsd.org/changeset/base/331926 Log: r330675 introduced an extra window check in the LRO code to ensure it captured and reported the highest window advertisement with the same SEQ/ACK. However, the window

svn commit: r331925 - head/sys/dev/fdt

2018-04-03 Thread Andrew Turner
Author: andrew Date: Tue Apr 3 13:30:40 2018 New Revision: 331925 URL: https://svnweb.freebsd.org/changeset/base/331925 Log: Remove fdt_is_enabled, fdt_reg_to_rl, and fdt_get_unit. These are not used by anything in the tree. Sponsored by: DARPA, AFRL Modified: head/sys/dev/fdt/fdt_com

svn commit: r331924 - in head/sys: arm/freescale/vybrid arm/mv arm/nvidia arm/nvidia/tegra124 dev/fdt

2018-04-03 Thread Andrew Turner
Author: andrew Date: Tue Apr 3 11:01:50 2018 New Revision: 331924 URL: https://svnweb.freebsd.org/changeset/base/331924 Log: Switch users of fdt_is_enabled to use ofw_bus_node_status_okay. These are equivalent, so to prepare to remove the former move users to call the latter. Sponsored

Re: svn commit: r331838 - in stable/11: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contrib/compiler-rt/

2018-04-03 Thread Rodney W. Grimes
> On Mon, 2018-04-02 at 19:02 -0700, Rodney W. Grimes wrote: > > > > > > So, the takeaway is, this change stays, and stable/11 users that build > > > their own ports are on their own? > > > > > > Whatever happened to POLA? > > I have no idea, but I fully agree that changing compilers 30 days befo

Re: svn commit: r331838 - in stable/11: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contrib/compiler-rt/

2018-04-03 Thread Mark Linimon
On Tue, Apr 03, 2018 at 04:32:11AM +, Warner Losh wrote: > All depends on which ports are broken... would be nice to have a list... It's only a matter of a few hours' work. mcl ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailm

Re: svn commit: r331838 - in stable/11: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contrib/compiler-rt/

2018-04-03 Thread Warner Losh
On Mon, Apr 2, 2018, 10:22 PM Ian Lepore wrote: > On Mon, 2018-04-02 at 19:02 -0700, Rodney W. Grimes wrote: > > > > > > So, the takeaway is, this change stays, and stable/11 users that build > > > their own ports are on their own? > > > > > > Whatever happened to POLA? > > I have no idea, but I

Re: svn commit: r331838 - in stable/11: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contrib/compiler-rt/

2018-04-03 Thread Ian Lepore
On Mon, 2018-04-02 at 19:02 -0700, Rodney W. Grimes wrote: > > > > So, the takeaway is, this change stays, and stable/11 users that build > > their own ports are on their own? > > > > Whatever happened to POLA? > I have no idea, but I fully agree that changing compilers 30 days before > a code sl

svn commit: r331923 - stable/11/sys/dev/mlx5

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:46:28 2018 New Revision: 331923 URL: https://svnweb.freebsd.org/changeset/base/331923 Log: MFC r330655: Remove duplicate prototypes. This is a direct commit (mergeinfo was added by r331796). Sponsored by: Mellanox Technologies Modified: stable/

svn commit: r331922 - in stable/11/sys: compat/freebsd32 dev/pci kern

2018-04-03 Thread Konstantin Belousov
Author: kib Date: Tue Apr 3 09:40:52 2018 New Revision: 331922 URL: https://svnweb.freebsd.org/changeset/base/331922 Log: MFC r331640: Fix several leaks of kernel stack data through paddings. Modified: stable/11/sys/compat/freebsd32/freebsd32_misc.c stable/11/sys/dev/pci/pci_user.c sta

svn commit: r331921 - stable/11/sys/vm

2018-04-03 Thread Konstantin Belousov
Author: kib Date: Tue Apr 3 09:38:53 2018 New Revision: 331921 URL: https://svnweb.freebsd.org/changeset/base/331921 Log: MFC r331557: Allow to specify for vm_fault_quick_hold_pages() that nofault mode should be honored. Modified: stable/11/sys/vm/vm.h stable/11/sys/vm/vm_fault.c Direc

svn commit: r331920 - stable/11/sys/dev/mlx5

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:34:16 2018 New Revision: 331920 URL: https://svnweb.freebsd.org/changeset/base/331920 Log: MFC r331827: Remove unused structure field in mlx5core. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/driver.h Directory Properties:

svn commit: r331919 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:33:23 2018 New Revision: 331919 URL: https://svnweb.freebsd.org/changeset/base/331919 Log: MFC r331826: Bump mlx5core driver version. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_core.h Directory Properties:

svn commit: r331918 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:31:30 2018 New Revision: 331918 URL: https://svnweb.freebsd.org/changeset/base/331918 Log: MFC r331825: Fix for use after free in mlx5core. Make sure the command completion handler is not called when the device is in internal error state. This can ea

svn commit: r331917 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:30:40 2018 New Revision: 331917 URL: https://svnweb.freebsd.org/changeset/base/331917 Log: MFC r331824: Make sure Giant is locked when allocating bus resources in mlx5core. During health care IRQ resources will be reallocated. Newbus requires that Gi

svn commit: r331916 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:29:26 2018 New Revision: 331916 URL: https://svnweb.freebsd.org/changeset/base/331916 Log: MFC r331823: Collect firmware dump when mlx5core is in device error state. Firmware dump collecting should be triggered in case firmware syndrome with request

svn commit: r331915 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:28:11 2018 New Revision: 331915 URL: https://svnweb.freebsd.org/changeset/base/331915 Log: MFC r331822: Reorganize health recovery in mlx5core. - Move the semaphore locking and unlocking to the same function. - Flags are no longer needed if the reset

svn commit: r331914 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:27:05 2018 New Revision: 331914 URL: https://svnweb.freebsd.org/changeset/base/331914 Log: MFC r331821: Prepare for FW dump in error state in mlx5core. - Move firmware dump prep and cleanup to init_one() and remove_one() so that the init and cleanup

svn commit: r331913 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:25:52 2018 New Revision: 331913 URL: https://svnweb.freebsd.org/changeset/base/331913 Log: MFC r331820: Properly check if crspace is supported in mlx5core. The old code checked for MLX5_CR_SPACE_DOMAIN which is irrelevant here. However, if dev->vsec_

svn commit: r331912 - stable/11/sys/dev/mlx5/mlx5_core

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:24:30 2018 New Revision: 331912 URL: https://svnweb.freebsd.org/changeset/base/331912 Log: MFC r331819: Add missing newline character in print in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5

svn commit: r331911 - stable/11/sys/dev/mlx5

2018-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 3 09:22:36 2018 New Revision: 331911 URL: https://svnweb.freebsd.org/changeset/base/331911 Log: MFC r331531: Remove redundant prototype to fix compilation with GCC. Reported by: jeff@ Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx

Re: svn commit: r327056 - in head/sys: kern sys x86/acpica x86/x86

2018-04-03 Thread Andriy Gapon
On 02/04/2018 18:28, Bruce Evans wrote: > On Mon, 2 Apr 2018, Andriy Gapon wrote: > >> On 21/12/2017 11:17, Bruce Evans wrote: >>> Author: bde >>> Date: Thu Dec 21 09:17:48 2017 >>> New Revision: 327056 >>> URL: https://svnweb.freebsd.org/changeset/base/327056 >>> >>> Log: >>>   Use resume_cpus()

svn commit: r331910 - in stable/10/sys: amd64/amd64 i386/i386 kern sys x86/acpica

2018-04-03 Thread Andriy Gapon
Author: avg Date: Tue Apr 3 07:52:06 2018 New Revision: 331910 URL: https://svnweb.freebsd.org/changeset/base/331910 Log: MFC r327056: Use resume_cpus() instead of restart_cpus() to resume from ACPI suspension. The merge needed fixing because common x86 code changed by the original comm

svn commit: r331909 - in stable/11/sys: kern sys x86/acpica x86/x86

2018-04-03 Thread Andriy Gapon
Author: avg Date: Tue Apr 3 07:31:22 2018 New Revision: 331909 URL: https://svnweb.freebsd.org/changeset/base/331909 Log: MFC r327056: Use resume_cpus() instead of restart_cpus() to resume from ACPI suspension. Modified: stable/11/sys/kern/subr_smp.c stable/11/sys/sys/smp.h stable/11/sy