svn commit: r282337 - head/sys/kern

2015-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 2 08:31:16 2015 New Revision: 282337 URL: https://svnweb.freebsd.org/changeset/base/282337 Log: Fix an off-by-one bug in string/array handling which lead to memory overwrite and follow-up assertion errors on at least ARM after r282257, with nvp_magic being

svn commit: r282338 - in head: etc/mtree usr.bin/soelim usr.bin/soelim/tests

2015-05-02 Thread Baptiste Daroussin
Author: bapt Date: Sat May 2 11:09:58 2015 New Revision: 282338 URL: https://svnweb.freebsd.org/changeset/base/282338 Log: Add regression tests for soelim(1) Added: head/usr.bin/soelim/tests/ head/usr.bin/soelim/tests/Makefile (contents, props changed) head/usr.bin/soelim/tests/basic

svn commit: r282339 - in head: etc/mtree usr.bin/col usr.bin/col/tests

2015-05-02 Thread Baptiste Daroussin
Author: bapt Date: Sat May 2 12:08:28 2015 New Revision: 282339 URL: https://svnweb.freebsd.org/changeset/base/282339 Log: Add regression test about reverse line feed to col(1) Added: head/usr.bin/col/tests/ head/usr.bin/col/tests/Makefile (contents, props changed)

svn commit: r282343 - stable/9/sys/fs/nfsserver

2015-05-02 Thread Rick Macklem
Author: rmacklem Date: Sat May 2 12:58:04 2015 New Revision: 282343 URL: https://svnweb.freebsd.org/changeset/base/282343 Log: MFC: r281962 Fix the NFS server's handling of a bogus NFSv2 ROOT RPC. The ROOT RPC is deprecated in the NFSv2 RFC, RFC-1094 and should never be used by a client.

svn commit: r282344 - head/usr.sbin/bhyve

2015-05-02 Thread Alexander Motin
Author: mav Date: Sat May 2 14:43:37 2015 New Revision: 282344 URL: https://svnweb.freebsd.org/changeset/base/282344 Log: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop(). MFC after:1 week Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r282345 - head/usr.sbin/bhyve

2015-05-02 Thread Alexander Motin
Author: mav Date: Sat May 2 16:11:29 2015 New Revision: 282345 URL: https://svnweb.freebsd.org/changeset/base/282345 Log: Initialize PxCMD on reset and make its read-only bits such. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r282340 - stable/10/sys/fs/nfsserver

2015-05-02 Thread Rick Macklem
Author: rmacklem Date: Sat May 2 12:18:28 2015 New Revision: 282340 URL: https://svnweb.freebsd.org/changeset/base/282340 Log: MFC: r281962 Fix the NFS server's handling of a bogus NFSv2 ROOT RPC. The ROOT RPC is deprecated in the NFSv2 RFC, RFC-1094 and should never be used by a client.

svn commit: r282341 - head/usr.bin/col/tests

2015-05-02 Thread Baptiste Daroussin
Author: bapt Date: Sat May 2 12:19:24 2015 New Revision: 282341 URL: https://svnweb.freebsd.org/changeset/base/282341 Log: Actually push the right tests Modified: head/usr.bin/col/tests/col.sh Modified: head/usr.bin/col/tests/col.sh

svn commit: r282342 - head/usr.bin/col

2015-05-02 Thread Baptiste Daroussin
Author: bapt Date: Sat May 2 12:22:24 2015 New Revision: 282342 URL: https://svnweb.freebsd.org/changeset/base/282342 Log: Capsicumize col(1) Modified: head/usr.bin/col/col.c Modified: head/usr.bin/col/col.c == ---

svn commit: r282346 - in head: lib/libcapsicum lib/libcasper lib/libnv lib/libnv/tests sbin/casperd sys/dev/pci sys/kern sys/sys usr.sbin/iovctl

2015-05-02 Thread Mariusz Zaborski
Author: oshogbo Date: Sat May 2 17:45:52 2015 New Revision: 282346 URL: https://svnweb.freebsd.org/changeset/base/282346 Log: Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno. Change the nvlist_recv() function to take additional argument that specifies flags expected on the

svn commit: r282347 - in head: lib/libnv sys/kern sys/sys

2015-05-02 Thread Mariusz Zaborski
Author: oshogbo Date: Sat May 2 18:03:47 2015 New Revision: 282347 URL: https://svnweb.freebsd.org/changeset/base/282347 Log: Introduce the NV_FLAG_NO_UNIQUE flag. When set, it allows to store multiple values using the same key in a nvlist. Approved by: pjd (mentor) Obtained from:

svn commit: r282351 - head/sys/amd64/vmm

2015-05-02 Thread Neel Natu
Author: neel Date: Sat May 2 19:07:49 2015 New Revision: 282351 URL: https://svnweb.freebsd.org/changeset/base/282351 Log: Don't advertise the Intel SMX capability to the guest. Reported by: Leon Dang (ld...@nahannisys.com) MFC after:1 week Modified: head/sys/amd64/vmm/x86.c

svn commit: r282348 - head/lib/libnv/tests

2015-05-02 Thread Mariusz Zaborski
Author: oshogbo Date: Sat May 2 18:07:47 2015 New Revision: 282348 URL: https://svnweb.freebsd.org/changeset/base/282348 Log: Add test case for unpack with diffrent flags. Approved by: pjd (mentor) Modified: head/lib/libnv/tests/nv_tests.cc Modified: head/lib/libnv/tests/nv_tests.cc

svn commit: r282350 - head/sys/kern

2015-05-02 Thread Mariusz Zaborski
Author: oshogbo Date: Sat May 2 18:12:34 2015 New Revision: 282350 URL: https://svnweb.freebsd.org/changeset/base/282350 Log: nv_malloc can fail in userland. Add check to prevent a NULL pointer dereference. Pointed out by: mjg Approved by: pjd (mentor) Modified:

svn commit: r282349 - head/sys/kern

2015-05-02 Thread Mariusz Zaborski
Author: oshogbo Date: Sat May 2 18:10:45 2015 New Revision: 282349 URL: https://svnweb.freebsd.org/changeset/base/282349 Log: Remove duplicated code using macro template for the nvlist_add_.* functions. Approved by: pjd (mentor) Modified: head/sys/kern/subr_nvlist.c Modified:

Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl

2015-05-02 Thread Gleb Smirnoff
On Fri, May 01, 2015 at 10:47:43AM -0400, John Baldwin wrote: J J While you are here, let me remind you about this plan: J J J J https://lists.freebsd.org/pipermail/svn-src-head/2014-October/063575.html J J J J We can prototype the API to userland now, write down a utility that uses

svn commit: r282352 - head/sys/arm/arm

2015-05-02 Thread Luiz Otavio O Souza
Author: loos Date: Sat May 2 20:14:43 2015 New Revision: 282352 URL: https://svnweb.freebsd.org/changeset/base/282352 Log: Remove an unused variable. Modified: head/sys/arm/arm/machdep.c Modified: head/sys/arm/arm/machdep.c

svn commit: r282353 - head/sys/vm

2015-05-02 Thread Gleb Smirnoff
Author: glebius Date: Sat May 2 20:27:37 2015 New Revision: 282353 URL: https://svnweb.freebsd.org/changeset/base/282353 Log: Instead of reading, validating and adjusting value of the vm.swap_async_max in the main swapper work cycle, do it in the sysctl handler. This removes extra mutex

svn commit: r282355 - head/sys/net

2015-05-02 Thread Gleb Smirnoff
Author: glebius Date: Sat May 2 20:37:40 2015 New Revision: 282355 URL: https://svnweb.freebsd.org/changeset/base/282355 Log: After r281643 an #ifdef IFT_FOO preprocessor directive returns false, since types became a enum C type. Some software uses such ifdefs to determine whether an

svn commit: r282354 - in head: sys/netinet6 usr.sbin/rtsold

2015-05-02 Thread Gleb Smirnoff
Author: glebius Date: Sat May 2 20:31:27 2015 New Revision: 282354 URL: https://svnweb.freebsd.org/changeset/base/282354 Log: Remove #ifdef IFT_FOO. Submitted by: Guy Yur guyyur gmail.com Modified: head/sys/netinet6/in6.c head/sys/netinet6/in6_ifattach.c head/sys/netinet6/nd6.c

svn commit: r282357 - head/sys/arm/broadcom/bcm2835

2015-05-02 Thread Luiz Otavio O Souza
Author: loos Date: Sat May 2 22:24:33 2015 New Revision: 282357 URL: https://svnweb.freebsd.org/changeset/base/282357 Log: Add the routines to query and setup the framebuffer state using the BCM2835_MBOX_CHAN_PROP channel. The old channel (BCM2835_MBOX_CHAN_FB) seems deprecated on recent

svn commit: r282359 - head/sys/arm/broadcom/bcm2835

2015-05-02 Thread Luiz Otavio O Souza
Author: loos Date: Sat May 2 22:48:56 2015 New Revision: 282359 URL: https://svnweb.freebsd.org/changeset/base/282359 Log: Fix the vt(4) framebuffer driver on RPi 2. Use the BCM2835_MBOX_CHAN_PROP mbox channel to setup the framebuffer, remove DMA code (its now done in bcm2835_mbox.c).

svn commit: r282358 - head/sys/arm/broadcom/bcm2835

2015-05-02 Thread Luiz Otavio O Souza
Author: loos Date: Sat May 2 22:40:41 2015 New Revision: 282358 URL: https://svnweb.freebsd.org/changeset/base/282358 Log: Fix the sc(4) framebuffer driver on RPi 2. Use the BCM2835_MBOX_CHAN_PROP mbox channel to setup the framebuffer, remove unused code and unnecessary includes.