svn commit: r299590 - head/sys/dev/bxe

2016-05-12 Thread Scott Long
Author: scottl Date: Fri May 13 05:57:21 2016 New Revision: 299590 URL: https://svnweb.freebsd.org/changeset/base/299590 Log: Don't jam the softc in the device_probe routine. The softc isn't owned by the driver here, so it shouldn't be accessed, let alone written to. Remove the nearby

svn commit: r299589 - head/usr.bin/catman

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 05:49:02 2016 New Revision: 299589 URL: https://svnweb.freebsd.org/changeset/base/299589 Log: Instead of ignoring the EEXIST from link(), unconditionally unlink the terget before calling link(). This should prevent links to an old copy of the file from

svn commit: r299587 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/stdlib/jemalloc

2016-05-12 Thread Jason Evans
Author: jasone Date: Fri May 13 04:03:20 2016 New Revision: 299587 URL: https://svnweb.freebsd.org/changeset/base/299587 Log: Update jemalloc to 4.2.0. Added: head/contrib/jemalloc/include/jemalloc/internal/ph.h (contents, props changed)

svn commit: r299586 - head/usr.sbin/i2c

2016-05-12 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 13 02:58:11 2016 New Revision: 299586 URL: https://svnweb.freebsd.org/changeset/base/299586 Log: i2c(8): uninitialized variable (UNINIT). If i2c_opt.width is somehow zero, the bufsize will be left uninitialized and make cause trouble later on. CID:

Re: svn commit: r299585 - head/libexec/ftpd

2016-05-12 Thread Don Lewis
On 13 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Fri May 13 01:52:41 2016 > New Revision: 299585 > URL: https://svnweb.freebsd.org/changeset/base/299585 > > Log: > Declare line[] in the outermost scope of retrieve() instead of > declaring it in an inner scope and

svn commit: r299585 - head/libexec/ftpd

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 01:52:41 2016 New Revision: 299585 URL: https://svnweb.freebsd.org/changeset/base/299585 Log: Declare line[] in the outermost scope of retrieve() instead of declaring it in an inner scope and then using it via a pointer in the outer scope. Reported by:

Re: svn commit: r299584 - head/usr.sbin/binmiscctl

2016-05-12 Thread Bruce Evans
On Fri, 13 May 2016, Don Lewis wrote: Log: Mark usage() as __dead2 so that Coverity doesn't think that execution continues after the call and uses a negative array subscript. Reported by: Coverity CID: 1305629 This was just a bug in Coverity. Now it is also a style bug.

svn commit: r299584 - head/usr.sbin/binmiscctl

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 01:14:38 2016 New Revision: 299584 URL: https://svnweb.freebsd.org/changeset/base/299584 Log: Mark usage() as __dead2 so that Coverity doesn't think that execution continues after the call and uses a negative array subscript. Reported by: Coverity

svn commit: r299583 - head/usr.sbin/ypldap

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 00:58:05 2016 New Revision: 299583 URL: https://svnweb.freebsd.org/changeset/base/299583 Log: Avoid indexing an array with a negative value. Reported by: Coverity CID: 971121 Modified: head/usr.sbin/ypldap/ber.c Modified:

svn commit: r299582 - head/usr.bin/rpcinfo

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 00:50:53 2016 New Revision: 299582 URL: https://svnweb.freebsd.org/changeset/base/299582 Log: Simplify some overly complex code so that both humans and Coverity have a better chance of understanding it. Reported by: Coverity CID: 1009684,

svn commit: r299581 - head/lib/libutil

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 00:26:14 2016 New Revision: 299581 URL: https://svnweb.freebsd.org/changeset/base/299581 Log: Use strlcpy() instead of strncpy() to ensure that qf->fsname is NUL terminated. Don't bother checking for truncation since the subsequent stat() call should

svn commit: r299580 - head/usr.sbin/timed/timed

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 00:17:57 2016 New Revision: 299580 URL: https://svnweb.freebsd.org/changeset/base/299580 Log: Use strlcpy() instead of strncpy() to ensure that ret->name is NUL terminated. The source and destination buffers are the same size and the source *should* be NUL

svn commit: r299579 - head/usr.sbin/edquota

2016-05-12 Thread Don Lewis
Author: truckman Date: Fri May 13 00:02:03 2016 New Revision: 299579 URL: https://svnweb.freebsd.org/changeset/base/299579 Log: Use strlcpy() instead of strncpy() to ensure that qup->fsname is NUL terminated. Don't bother checking for truncation since the subsequent quota_read() should

Re: svn commit: r299575 - head/sys/net80211

2016-05-12 Thread Adrian Chadd
Wait a sec, I thought the DEBUG_REFCNT stuff worked? -a On 12 May 2016 at 15:17, Andriy Voskoboinyk wrote: > Author: avos > Date: Thu May 12 22:17:00 2016 > New Revision: 299575 > URL: https://svnweb.freebsd.org/changeset/base/299575 > > Log: > net80211: drop some unused

svn commit: r299578 - head/usr.bin/catman

2016-05-12 Thread Don Lewis
Author: truckman Date: Thu May 12 23:37:58 2016 New Revision: 299578 URL: https://svnweb.freebsd.org/changeset/base/299578 Log: If fchdir() fails, call err() instead of warn(). Modified: head/usr.bin/catman/catman.c Modified: head/usr.bin/catman/catman.c

svn commit: r299577 - head/usr.bin/catman

2016-05-12 Thread Don Lewis
Author: truckman Date: Thu May 12 23:14:31 2016 New Revision: 299577 URL: https://svnweb.freebsd.org/changeset/base/299577 Log: Avoid Coverity NUL termination warning about strncpy() by using memcpy() instead. It's probably a bit more optimal in this case anyway. [1] The program logic

Re: svn commit: r299529 - in head: contrib/libarchive contrib/libarchive/cat contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/liba

2016-05-12 Thread Martin Matuska
Should be fixed with r299576 On 13.05.2016 00:24, Antoine Brodin wrote: > On Thu, May 12, 2016 at 12:16 PM, Martin Matuska wrote: >> Author: mm >> Date: Thu May 12 10:16:16 2016 >> New Revision: 299529 >> URL: https://svnweb.freebsd.org/changeset/base/299529 >> >> Log: >> MFV

svn commit: r299576 - head/contrib/libarchive/cpio

2016-05-12 Thread Martin Matuska
Author: mm Date: Thu May 12 22:51:04 2016 New Revision: 299576 URL: https://svnweb.freebsd.org/changeset/base/299576 Log: Fix broken cpio behavior. Suggested upstream as PR #704. MFC: 1 month (together with libarchive 3.2.0) Modified: head/contrib/libarchive/cpio/bsdcpio.1

Re: svn commit: r299456 - in head: include lib/libc/stdio

2016-05-12 Thread Conrad Meyer
On Thu, May 12, 2016 at 12:49 PM, Antoine Brodin wrote: > On Wed, May 11, 2016 at 4:38 PM, Conrad E. Meyer wrote: >> Author: cem >> Date: Wed May 11 14:38:27 2016 >> New Revision: 299456 >> URL: https://svnweb.freebsd.org/changeset/base/299456 >> >> Log: >>

Re: svn commit: r299529 - in head: contrib/libarchive contrib/libarchive/cat contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/liba

2016-05-12 Thread Antoine Brodin
On Thu, May 12, 2016 at 12:16 PM, Martin Matuska wrote: > Author: mm > Date: Thu May 12 10:16:16 2016 > New Revision: 299529 > URL: https://svnweb.freebsd.org/changeset/base/299529 > > Log: > MFV r299425: > > Update libarchive to 3.2.0 > > New features: > - new bsdcat

svn commit: r299575 - head/sys/net80211

2016-05-12 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 12 22:17:00 2016 New Revision: 299575 URL: https://svnweb.freebsd.org/changeset/base/299575 Log: net80211: drop some unused variables / local macros Most of them left after some commits (r178354, r191544, r287197 etc.); some were never used. Found by:

svn commit: r299574 - head/include

2016-05-12 Thread Conrad E. Meyer
Author: cem Date: Thu May 12 22:13:12 2016 New Revision: 299574 URL: https://svnweb.freebsd.org/changeset/base/299574 Log: stdio.h: Fix function-type typedef style and use _types.h __ssize_t I'm still not sure why only Pypy runs into the error with the function typedefs. Fix it anyway.

svn commit: r299573 - head/usr.sbin/ypbind

2016-05-12 Thread Don Lewis
Author: truckman Date: Thu May 12 21:35:40 2016 New Revision: 299573 URL: https://svnweb.freebsd.org/changeset/base/299573 Log: Use strlcpy() instead of strncpy() when copying to dom_domain to ensure that the latter is NUL terminated since it is passed as an argument to *printf(). Warn

Re: svn commit: r299563 - head/sys/dev/gpio

2016-05-12 Thread Oleksandr Tymoshenko
Ian Lepore (i...@freebsd.org) wrote: > On Thu, 2016-05-12 at 20:12 +, Oleksandr Tymoshenko wrote: > > Author: gonzo > > Date: Thu May 12 20:12:45 2016 > > New Revision: 299563 > > URL: https://svnweb.freebsd.org/changeset/base/299563 > > > > Log: > > Add gpiobus_release_pin function to

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

2016-05-12 Thread Conrad E. Meyer
Author: cem Date: Thu May 12 21:30:22 2016 New Revision: 299572 URL: https://svnweb.freebsd.org/changeset/base/299572 Log: libc: Actually export fopencookie(3) A follow-up to r299456. Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/stdio/Symbol.map Modified:

svn commit: r299571 - in head: include sys/sys

2016-05-12 Thread Conrad E. Meyer
Author: cem Date: Thu May 12 21:18:17 2016 New Revision: 299571 URL: https://svnweb.freebsd.org/changeset/base/299571 Log: Pollute more places with off64_t and add __off64_t Despite the private namespace, several broken ports depend on the __off64_t name for the type. Export it exactly

Re: svn commit: r299563 - head/sys/dev/gpio

2016-05-12 Thread Luiz Otavio O Souza
On Thu, May 12, 2016 at 5:40 PM, Ian Lepore wrote: > On Thu, 2016-05-12 at 20:12 +, Oleksandr Tymoshenko wrote: >> Author: gonzo >> Date: Thu May 12 20:12:45 2016 >> New Revision: 299563 >> URL: https://svnweb.freebsd.org/changeset/base/299563 >> >> Log: >> Add gpiobus_release_pin function

svn commit: r299568 - in head/sys/modules/gpio: . gpiokeys

2016-05-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 12 20:20:54 2016 New Revision: 299568 URL: https://svnweb.freebsd.org/changeset/base/299568 Log: Add loadable module for gpiokeys Added: head/sys/modules/gpio/gpiokeys/ head/sys/modules/gpio/gpiokeys/Makefile (contents, props changed) Modified:

Re: svn commit: r299563 - head/sys/dev/gpio

2016-05-12 Thread Ian Lepore
On Thu, 2016-05-12 at 20:12 +, Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Thu May 12 20:12:45 2016 > New Revision: 299563 > URL: https://svnweb.freebsd.org/changeset/base/299563 > > Log: > Add gpiobus_release_pin function to release mapped pin > > Add gpiobus_release_pin as a

svn commit: r299566 - head/sys/dev/gpio

2016-05-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 12 20:15:23 2016 New Revision: 299566 URL: https://svnweb.freebsd.org/changeset/base/299566 Log: Fix detach routine for gpiokeys - Release pin only when all per=key callouts are stopped - Unregister keyboard when detaching device node Modified:

svn commit: r299564 - head/sys/dev/gpio

2016-05-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 12 20:13:16 2016 New Revision: 299564 URL: https://svnweb.freebsd.org/changeset/base/299564 Log: Properly release mapped pin in gpio_pin_release Modified: head/sys/dev/gpio/ofw_gpiobus.c Modified: head/sys/dev/gpio/ofw_gpiobus.c

svn commit: r299563 - head/sys/dev/gpio

2016-05-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 12 20:12:45 2016 New Revision: 299563 URL: https://svnweb.freebsd.org/changeset/base/299563 Log: Add gpiobus_release_pin function to release mapped pin Add gpiobus_release_pin as a counterpart for gpiobus_map_pin. Without it it's impossible to properly release

svn commit: r299562 - head/share/misc

2016-05-12 Thread Nick Hibma
Author: n_hibma Date: Thu May 12 20:04:09 2016 New Revision: 299562 URL: https://svnweb.freebsd.org/changeset/base/299562 Log: Add myself to the list of src committers. I've never been added it seems. Modified: head/share/misc/committers-src.dot Modified:

Re: svn commit: r299456 - in head: include lib/libc/stdio

2016-05-12 Thread Antoine Brodin
On Wed, May 11, 2016 at 4:38 PM, Conrad E. Meyer wrote: > Author: cem > Date: Wed May 11 14:38:27 2016 > New Revision: 299456 > URL: https://svnweb.freebsd.org/changeset/base/299456 > > Log: > libc: Add fopencookie(3) wrapper around funopen(3) > > Reviewed by: jhb, oshogbo

svn commit: r299559 - head/sys/net

2016-05-12 Thread Nick Hibma
Author: n_hibma Date: Thu May 12 19:42:13 2016 New Revision: 299559 URL: https://svnweb.freebsd.org/changeset/base/299559 Log: Allow silencing of 'promiscuous mode enabled/disabled' messages. PR: 166255 Submitted by: eugen.grosbein.net Obtained from:eugen.grosbein.net

svn commit: r299557 - head/release/doc/en_US.ISO8859-1/relnotes

2016-05-12 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Thu May 12 19:32:40 2016 New Revision: 299557 URL: https://svnweb.freebsd.org/changeset/base/299557 Log: Document r296633, OpenSSH updated to 7.2p2. Approved by: gjb@ (implicit with re@ hat on) Modified:

Re: svn commit: r299544 - head/sys/dev/an

2016-05-12 Thread John Baldwin
On Thursday, May 12, 2016 05:47:30 PM Scott Long wrote: > Author: scottl > Date: Thu May 12 17:47:30 2016 > New Revision: 299544 > URL: https://svnweb.freebsd.org/changeset/base/299544 > > Log: > Move mutex initialization from PCI probe to PCI attach. Drivers are not > allowed to create any

svn commit: r299556 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:22:34 2016 New Revision: 299556 URL: https://svnweb.freebsd.org/changeset/base/299556 Log: ixl: Re-add a change to TC0 setup made in D5203. Differential Revision: https://reviews.freebsd.org/D6211 Reviewed by:sbruno, kmacy, jeffrey.e.pie...@intel.com

svn commit: r299554 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:21:52 2016 New Revision: 299554 URL: https://svnweb.freebsd.org/changeset/base/299554 Log: ixl: Update to 1.4.24-k. Changes by author: Eric Joyner ixl: Fix compile error when IXL_DEBUG is defined. Eric Joyner ixl: Fix taskqueues

svn commit: r299555 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:22:12 2016 New Revision: 299555 URL: https://svnweb.freebsd.org/changeset/base/299555 Log: ixl: Update to 1.4.27-k. Changes: Kevin Scott i40e-shared: Save off VSI resource count when updating VSI Anjali Singhai Jain i40e-shared: Expose

svn commit: r299552 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:21:17 2016 New Revision: 299552 URL: https://svnweb.freebsd.org/changeset/base/299552 Log: ixl: Update to 1.4.17-k. Changes: Kiran Patil i40e-shared: APIs to Add/remove port mirroring rules Shannon Nelsoni40e-shared: add VEB stat control and

svn commit: r299551 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:20:59 2016 New Revision: 299551 URL: https://svnweb.freebsd.org/changeset/base/299551 Log: ixl: Update to 1.4.13-k. Changes: Shannon Nelsoni40e-shared: set shared bit for multicast filters Piotr Raczynski i40e-shared:

svn commit: r299553 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:21:34 2016 New Revision: 299553 URL: https://svnweb.freebsd.org/changeset/base/299553 Log: ixl: Update to 1.4.20-k. Changes by author: Eric Joyner ixl: Add more error messages/checks to ixl_vsi_assign_msix(). Eric Joyner ixl/ixlv: Clarify a

svn commit: r299548 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:20:18 2016 New Revision: 299548 URL: https://svnweb.freebsd.org/changeset/base/299548 Log: ixl: Update to 1.4.9-k. Changes by author: Kamil Krawczyki40e-shared: use explicit cast from u16 to u8 Anjali Singhai Jain i40e-shared: Add a

svn commit: r299549 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:20:36 2016 New Revision: 299549 URL: https://svnweb.freebsd.org/changeset/base/299549 Log: ixl: Update to 1.4.12-k. Changes by author: Eric Joyner ixl: Remove substitution of EACCES for EPERM when perrno is set on an nvmupdate command return.

svn commit: r299547 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:19:53 2016 New Revision: 299547 URL: https://svnweb.freebsd.org/changeset/base/299547 Log: ixl: Update to 1.4.7-k. Changes by author: Helin Zhang i40e_shared: Fix compilation error - pointer-arith Paul M Stillwell Jr i40e-shared: Replace

svn commit: r299545 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:18:55 2016 New Revision: 299545 URL: https://svnweb.freebsd.org/changeset/base/299545 Log: ixl: Update to 1.4.5-k. This first update will revert some upstream changes; forthcoming updates will reinstate them. Changes, by author: Anjali Singhai

svn commit: r299546 - head/sys/dev/ixl

2016-05-12 Thread Eric Joyner
Author: erj Date: Thu May 12 18:19:31 2016 New Revision: 299546 URL: https://svnweb.freebsd.org/changeset/base/299546 Log: ixl: Update to 1.4.6-k. Changes by author: Greg Rose ixl: Add MAC+VLAN filter for LAA MAC assignment Carolyn Wyborny i40e_shared: fix

svn commit: r299544 - head/sys/dev/an

2016-05-12 Thread Scott Long
Author: scottl Date: Thu May 12 17:47:30 2016 New Revision: 299544 URL: https://svnweb.freebsd.org/changeset/base/299544 Log: Move mutex initialization from PCI probe to PCI attach. Drivers are not allowed to create any persistent state in their probe routine because it's not guaranteed

svn commit: r299543 - head/sys/netinet

2016-05-12 Thread Michael Tuexen
Author: tuexen Date: Thu May 12 16:34:59 2016 New Revision: 299543 URL: https://svnweb.freebsd.org/changeset/base/299543 Log: Retire net.inet.sctp.strict_sacks and net.inet.sctp.strict_data_order sysctl's, since they where only there to interop with non-conformant implementations. This

svn commit: r299542 - head/sys/dev/xen/netfront

2016-05-12 Thread Roger Pau Monné
Author: royger Date: Thu May 12 16:18:02 2016 New Revision: 299542 URL: https://svnweb.freebsd.org/changeset/base/299542 Log: xen-netfront: fix feature detection Current netfront code relies on xs_scanf returning a value < 0 on error, which is not right, xs_scanf returns a positive value

svn commit: r299541 - head/sys/dev/siba

2016-05-12 Thread Adrian Chadd
Author: adrian Date: Thu May 12 16:14:16 2016 New Revision: 299541 URL: https://svnweb.freebsd.org/changeset/base/299541 Log: [siba] add more MCS tx power offset decoding. This is required by the bwn(4) N-PHY support. Obtained from:Linux ssb (definitions) Modified:

svn commit: r299540 - in head/contrib/libarchive: . libarchive

2016-05-12 Thread Martin Matuska
Author: mm Date: Thu May 12 16:07:25 2016 New Revision: 299540 URL: https://svnweb.freebsd.org/changeset/base/299540 Log: MFV 299539: Record mergeinfo in contrib/libarchive for patches accepted upstream. Modified: Directory Properties: head/contrib/libarchive/ (props changed)

svn commit: r299538 - head/sys/dev/siba

2016-05-12 Thread Adrian Chadd
Author: adrian Date: Thu May 12 16:01:33 2016 New Revision: 299538 URL: https://svnweb.freebsd.org/changeset/base/299538 Log: [siba] add TX power index entry parsing. This is required by the bwn(4) N-PHY support. Obtained from:Linux ssb (definitions) Modified:

svn commit: r299537 - head/sys/netinet

2016-05-12 Thread Michael Tuexen
Author: tuexen Date: Thu May 12 15:48:08 2016 New Revision: 299537 URL: https://svnweb.freebsd.org/changeset/base/299537 Log: Enable SACK Immediately per default. This has been tested for a long time and implements covered by RFC 7053. MFC after: 1 week Modified:

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

2016-05-12 Thread Andrew Turner
Author: andrew Date: Thu May 12 15:24:36 2016 New Revision: 299535 URL: https://svnweb.freebsd.org/changeset/base/299535 Log: Rename the internal BUC_DMA_* flags to BF_* so they won't conflict with the flags in sys/bus_dma.h. Obtained from:ABT Systems Ltd Sponsored by: The

svn commit: r299534 - head/sys/dev/siba

2016-05-12 Thread Adrian Chadd
Author: adrian Date: Thu May 12 15:18:36 2016 New Revision: 299534 URL: https://svnweb.freebsd.org/changeset/base/299534 Log: [siba] add extra methods for chipcommon access and PLL configuration. This is needed by the PHY-N bwn(4) support. Obtained from:Linux b43 (definitions)

svn commit: r299533 - head/sys/netinet

2016-05-12 Thread Michael Tuexen
Author: tuexen Date: Thu May 12 14:41:53 2016 New Revision: 299533 URL: https://svnweb.freebsd.org/changeset/base/299533 Log: Use a format string in snprintf() for consistency. This was reported by Radek Malcic when using the userland stack in combination with MinGW. MFC after: 1

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

2016-05-12 Thread Andrew Turner
Author: andrew Date: Thu May 12 12:13:28 2016 New Revision: 299532 URL: https://svnweb.freebsd.org/changeset/base/299532 Log: Restrict the memory barriers in bus_dmamap_sync to just the operations where it's needed. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD

svn commit: r299530 - in head/sys: compat/linuxkpi/common/include/asm compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2016-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 12 11:38:28 2016 New Revision: 299530 URL: https://svnweb.freebsd.org/changeset/base/299530 Log: Fix handling of IOCTLs in the LinuxKPI. Linux requires that all IOCTL data resides in userspace. FreeBSD always moves the main IOCTL structure into a kernel

Re: svn commit: r299514 - head/sys/fs/nfsserver

2016-05-12 Thread Rick Macklem
Oh, and I'll MFC it in 2 weeks unless there is an objection, rick - Original Message - > Author: cem > Date: Thu May 12 05:03:12 2016 > New Revision: 299514 > URL: https://svnweb.freebsd.org/changeset/base/299514 > > Log: > nfsd: Fix use-after-free in NFS4 lock test service > >

Re: svn commit: r299514 - head/sys/fs/nfsserver

2016-05-12 Thread Rick Macklem
Thanks for spotting/fixing this, rick - Original Message - > Author: cem > Date: Thu May 12 05:03:12 2016 > New Revision: 299514 > URL: https://svnweb.freebsd.org/changeset/base/299514 > > Log: > nfsd: Fix use-after-free in NFS4 lock test service > > Trivial use-after-free where

svn commit: r299529 - in head: contrib/libarchive contrib/libarchive/cat contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libar...

2016-05-12 Thread Martin Matuska
Author: mm Date: Thu May 12 10:16:16 2016 New Revision: 299529 URL: https://svnweb.freebsd.org/changeset/base/299529 Log: MFV r299425: Update libarchive to 3.2.0 New features: - new bsdcat command-line utility - LZ4 compression (in src only via external utility from ports) -

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

2016-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 12 09:11:18 2016 New Revision: 299527 URL: https://svnweb.freebsd.org/changeset/base/299527 Log: Remove redundant "task_struct_set()". This is done by the "linux_kthread_fn()". MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r299526 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 12 09:06:54 2016 New Revision: 299526 URL: https://svnweb.freebsd.org/changeset/base/299526 Log: Create a dummy "task_struct" on the stack which is returned by "current" inside all LinuxKPI file operation callbacks. The "current" is frequently used for various

svn commit: r299525 - head/usr.bin/msgs

2016-05-12 Thread Don Lewis
Author: truckman Date: Thu May 12 08:55:57 2016 New Revision: 299525 URL: https://svnweb.freebsd.org/changeset/base/299525 Log: Use strlcpy() instead of strncpy() when copying date and subj to ensure that these are properly NUL terminated since they are passed to printf(). Reported by:

svn commit: r299524 - head/usr.bin/mklocale

2016-05-12 Thread Don Lewis
Author: truckman Date: Thu May 12 08:41:22 2016 New Revision: 299524 URL: https://svnweb.freebsd.org/changeset/base/299524 Log: Use strlcpy() instead of strncpy() when copying the encoding value to ensure that the destination is NUL terminated. Length truncation of one more character

svn commit: r299523 - head/sys/kern

2016-05-12 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 12 07:38:10 2016 New Revision: 299523 URL: https://svnweb.freebsd.org/changeset/base/299523 Log: Stop hiding errors that result in failure to mount /dev. Otherwise, missing /dev directory makes one end up with a completely deaf (init without stdout/stderr)

svn commit: r299520 - head/lib/libfetch

2016-05-12 Thread Don Lewis
Author: truckman Date: Thu May 12 06:39:13 2016 New Revision: 299520 URL: https://svnweb.freebsd.org/changeset/base/299520 Log: Use strlcpy() instead of strncpy() to copy the string returned by setlocale() so that static analyzers know that the string is NUL terminated. This was causing a

svn commit: r299518 - head/sys/dev/sfxge/common

2016-05-12 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 12 06:20:26 2016 New Revision: 299518 URL: https://svnweb.freebsd.org/changeset/base/299518 Log: sfxge(4): update multicast filter insertion algorithm When the multicast filters we're allowed to insert are controlled by the hypervisor, it may be that we can

svn commit: r299519 - head/sys/sys

2016-05-12 Thread Konstantin Belousov
Author: kib Date: Thu May 12 06:20:26 2016 New Revision: 299519 URL: https://svnweb.freebsd.org/changeset/base/299519 Log: Typo in comment. Modified: head/sys/sys/turnstile.h Modified: head/sys/sys/turnstile.h ==

svn commit: r299517 - head/sys/dev/sfxge/common

2016-05-12 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 12 06:19:06 2016 New Revision: 299517 URL: https://svnweb.freebsd.org/changeset/base/299517 Log: sfxge(4): cleanup: constify common code method tables Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week