svn commit: r326843 - stable/10/sbin/fsck_msdosfs

2017-12-13 Thread Xin LI
Author: delphij Date: Thu Dec 14 07:55:11 2017 New Revision: 326843 URL: https://svnweb.freebsd.org/changeset/base/326843 Log: MFC r326391: Prevent OOB access on corrupted msdos directories. Submitted by: Veo Zhang Modified: stable/10/sbin/fsck_msdosfs/dir.c Directory Properties: stab

svn commit: r326842 - stable/11/sbin/fsck_msdosfs

2017-12-13 Thread Xin LI
Author: delphij Date: Thu Dec 14 07:52:38 2017 New Revision: 326842 URL: https://svnweb.freebsd.org/changeset/base/326842 Log: MFC r326391: Prevent OOB access on corrupted msdos directories. Submitted by: Veo Zhang Modified: stable/11/sbin/fsck_msdosfs/dir.c Directory Properties: stab

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

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 06:45:04 2017 New Revision: 326841 URL: https://svnweb.freebsd.org/changeset/base/326841 Log: Add basic bwn(4) support for the (BCMA-based) BCM43224 and BCM43225. - Add the BCM4322X D11 core revision and missing BCM43224 PCI device ID to our device table

svn commit: r326840 - head/sys/dev/dpaa

2017-12-13 Thread Justin Hibbits
Author: jhibbits Date: Thu Dec 14 04:41:07 2017 New Revision: 326840 URL: https://svnweb.freebsd.org/changeset/base/326840 Log: Allow bman-portals and qman-portals to attach to simple-bus Official Linux dts's put the individual portals under a simple-bus, rather than under a '*-portals' g

svn commit: r326839 - head/sys/dev/bhnd/bhndb

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 03:41:12 2017 New Revision: 326839 URL: https://svnweb.freebsd.org/changeset/base/326839 Log: bhndb(4): Fix two register window overcommit bugs introduced in r326297: - The window target must always be updated when stealing a register window. - Fix missing

svn commit: r326838 - head/sys/dev/bhnd/cores/chipc

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 03:12:05 2017 New Revision: 326838 URL: https://svnweb.freebsd.org/changeset/base/326838 Log: bhnd_chipc(4): Correct typo in flag macros that broke clearing of GPIO pin flags. Approved by: adrian (mentor, implicit) Sponsored by: The FreeBSD Foundation

svn commit: r326837 - in head/sys/dev/bhnd: . tools

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 03:03:08 2017 New Revision: 326837 URL: https://svnweb.freebsd.org/changeset/base/326837 Log: bhnd(4): Add missing enclosing parentheses to the bhnd bus space macros to avoid precedence bugs. Approved by: adrian (mentor, implicit) Sponsored by: The Free

svn commit: r326836 - in head: share/man/man9 sys/dev/bhnd sys/dev/bhnd/bhndb sys/mips/broadcom

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 01:58:05 2017 New Revision: 326836 URL: https://svnweb.freebsd.org/changeset/base/326836 Log: bhnd(4): Include board_devid in the bhnd_board_info structure, and populate the expected default board_vendor value on MIPS SoCs. This is required by bwn(4) to di

svn commit: r326835 - in head/sys/cam: ata nvme scsi

2017-12-13 Thread Alexander Motin
Author: mav Date: Wed Dec 13 21:17:00 2017 New Revision: 326835 URL: https://svnweb.freebsd.org/changeset/base/326835 Log: Reduce size of several on-stack string buffers. Submitted by: Dmitry Luhtionov MFC after:2 weeks Modified: head/sys/cam/ata/ata_da.c head/sys/cam/ata/ata_pm

svn commit: r326834 - head/sbin/dhclient

2017-12-13 Thread Alan Somers
Author: asomers Date: Wed Dec 13 20:48:20 2017 New Revision: 326834 URL: https://svnweb.freebsd.org/changeset/base/326834 Log: dhclient(8): Don't shift through the sign bit of a signed int PR: 208007 Submitted by: Michael McConville MFC after:3 weeks Modified: head/sbi

svn commit: r326833 - in stable: 10 11

2017-12-13 Thread Cy Schubert
Author: cy Date: Wed Dec 13 20:15:23 2017 New Revision: 326833 URL: https://svnweb.freebsd.org/changeset/base/326833 Log: MFC r324248: hen building multiple kernels using KERNCONF, non-existent KERNCONF files will produce an error and buildkernel will fail. Previously missing KERNCONF f

svn commit: r326833 - in stable: 10 11

2017-12-13 Thread Cy Schubert
Author: cy Date: Wed Dec 13 20:15:23 2017 New Revision: 326833 URL: https://svnweb.freebsd.org/changeset/base/326833 Log: MFC r324248: hen building multiple kernels using KERNCONF, non-existent KERNCONF files will produce an error and buildkernel will fail. Previously missing KERNCONF f

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Eugene Grosbein
14.12.2017 1:24, Alexey Dokuchaev wrote: >>> I'm a plain workstation user with X11+browser+torrent+quake2+you-name-it >>> apps, PAE-less, ZFS-less, and I don't want to get troubles due to r326758. >> >> Add kern.kstack_size=2 to /boot/loader.conf of your workstation now >> and you will notice no d

svn commit: r326832 - head/tools/tools/netmap

2017-12-13 Thread Conrad Meyer
Author: cem Date: Wed Dec 13 19:36:29 2017 New Revision: 326832 URL: https://svnweb.freebsd.org/changeset/base/326832 Log: netmap pkt-gen tool: Fix memset(3) argument order Submitted by: Michael McConville Sponsored by: Dell EMC Isilon Modified: head/tools/tools/netmap/pkt-gen.c Modi

svn commit: r326831 - head/contrib/llvm/tools/lld/ELF

2017-12-13 Thread Dimitry Andric
Author: dim Date: Wed Dec 13 19:03:48 2017 New Revision: 326831 URL: https://svnweb.freebsd.org/changeset/base/326831 Log: Pull in r315334 from upstream lld trunk (by Rafael Espindola): Don't create a dummy __tls_get_addr. We just don't need one with the current setup. We on

Re: svn commit: r326619 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-12-13 Thread Peter Jeremy
On 2017-Dec-06 10:01:02 +, Baptiste Daroussin wrote: >Author: bapt >Date: Wed Dec 6 10:01:02 2017 >New Revision: 326619 >URL: https://svnweb.freebsd.org/changeset/base/326619 > >Log: > MFC r325851: > > remove the poor emulation of the IllumOS needfree global variable to prevent > the ARC

svn commit: r326830 - in stable: 10/lib/msun/man 11/lib/msun/man

2017-12-13 Thread Dimitry Andric
Author: dim Date: Wed Dec 13 18:38:02 2017 New Revision: 326830 URL: https://svnweb.freebsd.org/changeset/base/326830 Log: MFC r326748: Document the existence and precision of the remaining long double functions for which an imprecise stub implementation was added in r255294, namely pow

svn commit: r326830 - in stable: 10/lib/msun/man 11/lib/msun/man

2017-12-13 Thread Dimitry Andric
Author: dim Date: Wed Dec 13 18:38:02 2017 New Revision: 326830 URL: https://svnweb.freebsd.org/changeset/base/326830 Log: MFC r326748: Document the existence and precision of the remaining long double functions for which an imprecise stub implementation was added in r255294, namely pow

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Pedro Giffuni
On 13/12/2017 13:25, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] On 12/13/17 11:58, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] Author: pfg Date: Wed Dec 13 16:30:39 2017 New Revision: 326828 URL: https://svnweb.freebsd.org/changeset/base/32

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > > > On 12/13/17 11:58, Rodney W. Grimes wrote: > > [ Charset UTF-8 unsupported, converting... ] > >> Author: pfg > >> Date: Wed Dec 13 16:30:39 2017 > >> New Revision: 326828 > >> URL: https://svnweb.freebsd.org/changeset/base/326828 > >> > >> Log: >

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Alexey Dokuchaev
On Thu, Dec 14, 2017 at 01:16:27AM +0700, Eugene Grosbein wrote: > 14.12.2017 1:08, Alexey Dokuchaev пишет: > > On Thu, Dec 14, 2017 at 12:48:17AM +0700, Eugene Grosbein wrote: > >> ... > >> I don't understand why you want to backout that. It changed nothing for > >> amd64. An i386 is still vulner

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Eugene Grosbein
14.12.2017 1:08, Alexey Dokuchaev пишет: > On Thu, Dec 14, 2017 at 12:48:17AM +0700, Eugene Grosbein wrote: >> ... >> I don't understand why you want to backout that. It changed nothing for >> amd64. An i386 is still vulnerable to double faults just because of a >> network packet processing path c

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Alexey Dokuchaev
On Thu, Dec 14, 2017 at 12:48:17AM +0700, Eugene Grosbein wrote: > ... > I don't understand why you want to backout that. It changed nothing for > amd64. An i386 is still vulnerable to double faults just because of a > network packet processing path can overflow kstack for the GENERIC kernel. The

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Eugene Grosbein
13.12.2017 20:38, Rodney W. Grimes wrote: > That I can not answer, but I can say I have just found the problem > is NOT limited to i386, we can rather quickly blow up an amd64 system > running a dozen or so VM's. > > My bhyve host tossed a stack of these out last night: > vm_thread_new: kstack al

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Pedro Giffuni
On 12/13/17 11:58, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] Author: pfg Date: Wed Dec 13 16:30:39 2017 New Revision: 326828 URL: https://svnweb.freebsd.org/changeset/base/326828 Log: SPDX: some uses of the RSA-MD license. And beerware only noting this incase y

svn commit: r326829 - head/sys/netinet

2017-12-13 Thread Michael Tuexen
Author: tuexen Date: Wed Dec 13 17:11:57 2017 New Revision: 326829 URL: https://svnweb.freebsd.org/changeset/base/326829 Log: Cleaup, no functional change. Modified: head/sys/netinet/sctp_input.c head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_input.c ===

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: pfg > Date: Wed Dec 13 16:30:39 2017 > New Revision: 326828 > URL: https://svnweb.freebsd.org/changeset/base/326828 > > Log: > SPDX: some uses of the RSA-MD license. And beerware only noting this incase you did not mean to commit this. >

svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 13 16:30:39 2017 New Revision: 326828 URL: https://svnweb.freebsd.org/changeset/base/326828 Log: SPDX: some uses of the RSA-MD license. Modified: head/lib/libmd/md4.h head/lib/libmd/md4c.c head/lib/libmd/md5c.c head/lib/libmd/mdXhl.c head/lib/libmd/shadriver.

svn commit: r326827 - stable/11/lib/libcam/tests

2017-12-13 Thread Alan Somers
Author: asomers Date: Wed Dec 13 16:22:02 2017 New Revision: 326827 URL: https://svnweb.freebsd.org/changeset/base/326827 Log: MFC r326101: Add a test case for cam_get_device with sa(4) devices sa(4) has some unique behavior that is special-cased in cam_get_device. The existing tests

svn commit: r326826 - stable/11/sys/cam

2017-12-13 Thread Alan Somers
Author: asomers Date: Wed Dec 13 16:20:55 2017 New Revision: 326826 URL: https://svnweb.freebsd.org/changeset/base/326826 Log: MFC r326100: Always null-terminate CAM periph_name and dev_name Reported by: Coverity CID: 1010039, 1010040, 1010041, 1010043 Reviewed by: ken,

svn commit: r326825 - in stable/11/sys/cam: ata scsi

2017-12-13 Thread Alan Somers
Author: asomers Date: Wed Dec 13 16:17:37 2017 New Revision: 326825 URL: https://svnweb.freebsd.org/changeset/base/326825 Log: MFC r326040: Quirk Seagate ST8000AS0003-2HH Like its predecessor ST8000AS0002, this is a drive-managed SMR drive, but doesn't declare that in its ATA identif

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

2017-12-13 Thread Fedor Uporov
Should be fixed in r326824. On Wed, Dec 13, 2017 at 1:58 PM, Fedor Uporov wrote: > Hi, Andrew. > > Thanks for report, I know about the issue. > Just, need to get back home to my laptop to fix it. > Need 2-4 hours. > > On Wed, Dec 13, 2017 at 1:46 PM, Andrew Turner > wrote: > >> >> > On 12 Dec 2

svn commit: r326824 - head/sys/kern

2017-12-13 Thread Fedor Uporov
Author: fsu Date: Wed Dec 13 16:14:38 2017 New Revision: 326824 URL: https://svnweb.freebsd.org/changeset/base/326824 Log: Fix kernel build if MAC is not defined. Reported by:Ravi Pokala, Andrew Turner Approved by:pfg (mentor) MFC after: 1 week Modified: head/sys/kern/vf

svn commit: r326823 - in head: include lib/libc/net sys/dev/usb/net sys/dev/usb/wlan sys/sys usr.sbin/ppp usr.sbin/rarpd usr.sbin/watch

2017-12-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 13 16:13:17 2017 New Revision: 326823 URL: https://svnweb.freebsd.org/changeset/base/326823 Log: SPDX: mostly fixes to previous changes. Introduce the recently approved BSD-1-Clause and replace 0BSD which never did fit well our use cases. Modified: head/includ

svn commit: r326822 - head/usr.bin/diff

2017-12-13 Thread Baptiste Daroussin
Author: bapt Date: Wed Dec 13 16:09:00 2017 New Revision: 326822 URL: https://svnweb.freebsd.org/changeset/base/326822 Log: Replace homemade equivalent of tolower(3) by towlower(3) This will help in the futur making diff -i works with multibyte Modified: head/usr.bin/diff/diffreg.c Modi

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

2017-12-13 Thread Mark Johnston
Author: markj Date: Wed Dec 13 15:20:11 2017 New Revision: 326821 URL: https://svnweb.freebsd.org/changeset/base/326821 Log: MFC r326629: Use unique wait messages in the page daemon control loop. Modified: stable/11/sys/vm/vm_pageout.c Directory Properties: stable/11/ (props changed) M

svn commit: r326820 - head/sbin/growfs

2017-12-13 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Dec 13 14:08:33 2017 New Revision: 326820 URL: https://svnweb.freebsd.org/changeset/base/326820 Log: Tone down the description for the growfs "-y" flag. MFC after:2 weeks Modified: head/sbin/growfs/growfs.8 Modified: head/sbin/growfs/growfs.8

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Rodney W. Grimes
> > On Tue, Dec 12, 2017 at 12:39:38PM -0800, Rodney W. Grimes wrote: > > > > New Revision: 326809 > > > > URL: https://svnweb.freebsd.org/changeset/base/326809 > > > > > > > > Log: > > > > 1k objects on the stack are a bad idea. While it's likely safe in this > > > > context, it's also safe t

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Rodney W. Grimes
> On Tue, Dec 12, 2017 at 12:39:38PM -0800, Rodney W. Grimes wrote: > > > New Revision: 326809 > > > URL: https://svnweb.freebsd.org/changeset/base/326809 > > > > > > Log: > > > 1k objects on the stack are a bad idea. While it's likely safe in this > > > context, it's also safe to allocate the

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

2017-12-13 Thread Fedor Uporov
Hi, Andrew. Thanks for report, I know about the issue. Just, need to get back home to my laptop to fix it. Need 2-4 hours. On Wed, Dec 13, 2017 at 1:46 PM, Andrew Turner wrote: > > > On 12 Dec 2017, at 20:15, Fedor Uporov wrote: > > > > Author: fsu > > Date: Tue Dec 12 20:15:57 2017 > > New Re

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

2017-12-13 Thread Andrew Turner
> On 12 Dec 2017, at 20:15, Fedor Uporov wrote: > > Author: fsu > Date: Tue Dec 12 20:15:57 2017 > New Revision: 326808 > URL: https://svnweb.freebsd.org/changeset/base/326808 > > Log: > Move buffer size checks outside of the vnode locks. > > Reviewed by:kib, cem, pfg (mentor) > Approve

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-13 Thread Eugene Grosbein
13.12.2017 3:43, Rodney W. Grimes wrote: > Or are you thinking we have something that is so deep even if it > only uses 32 bytes of stack we are going to run ourselfs out of > kstack under some work loads? I hope not. No, I'm not. ___ svn-src-all@free