Re: svn commit: r302092 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys mips/sys powerpc/sys powerpc64/sys riscv/sys sparc64/sys sys

2016-06-22 Thread Ivan Klymenko
On Wed, 22 Jun 2016 21:11:27 + (UTC) Brooks Davis wrote: > Author: brooks > Date: Wed Jun 22 21:11:27 2016 > New Revision: 302092 > URL: https://svnweb.freebsd.org/changeset/base/302092 > > Log: > Replace use of the pipe(2) system call with pipe2(2) with a zero > flags value. > > This

svn commit: r302117 - head/sys/netpfil/pf

2016-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 05:41:46 2016 New Revision: 302117 URL: https://svnweb.freebsd.org/changeset/base/302117 Log: Import a fix for and old security issue (CVE-2010-3830) in pf which was not relevant to FreeBSD as only root could open /dev/pf by default. With VIMAGE this is will longe

svn commit: r302110 - head/sys/dev/cxgbe

2016-06-22 Thread Navdeep Parhar
Author: np Date: Thu Jun 23 02:53:00 2016 New Revision: 302110 URL: https://svnweb.freebsd.org/changeset/base/302110 Log: cxgbe(4): Merge netmap support from the ncxgbe/ncxl interfaces to the vcxgbe/vcxl interfaces and retire the 'n' interfaces. The main cxgbe/cxl interfaces and tunables re

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

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:15:35 2016 New Revision: 302106 URL: https://svnweb.freebsd.org/changeset/base/302106 Log: revert error commit from previous commit. my bad! Approved by: re (implicit) Modified: head/sys/dev/bhnd/bhndb/bhndb.c Modified: head/sys/dev/bhnd/bhndb/bhndb.c

svn commit: r302105 - in head/sys/dev/bhnd: . bcma bhndb

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:14:33 2016 New Revision: 302105 URL: https://svnweb.freebsd.org/changeset/base/302105 Log: [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA This patch addes missing implementation of BHND_BUS_RESET_CORE function for BCMA. The rese

svn commit: r302104 - head/sys/dev/iwm

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:13:30 2016 New Revision: 302104 URL: https://svnweb.freebsd.org/changeset/base/302104 Log: [iwm] Use mbuf for large firmware commands, like OpenBSD does. We also need to consider the size of large firmware commands in iwm_alloc_tx_ring(), in the dma tag

svn commit: r302103 - head/sys/dev/iwm

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:11:52 2016 New Revision: 302103 URL: https://svnweb.freebsd.org/changeset/base/302103 Log: [iwm] Add and use iwm_phy_db_free(), to plug phy_db memory leak. (Together with other iwm(4) memory leak fixes) Memory leakage in M_DEVBUF is now at ca. 2KB for ea

svn commit: r302102 - head/sys/dev/iwm

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:00:13 2016 New Revision: 302102 URL: https://svnweb.freebsd.org/changeset/base/302102 Log: [iwm] Fix iwm_dma_contig_free(). dma->map is always NULL here. * When bus_dmamem_alloc is used, the bus_dmamap_t is usually set to NULL, so we were never actuall

svn commit: r302101 - head/sys/dev/iwm

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 00:56:54 2016 New Revision: 302101 URL: https://svnweb.freebsd.org/changeset/base/302101 Log: [iwm] Use vap->iv_myaddr instead of ic->ic_macaddr when vap != NULL. ic_macaddr is only used for the initial mac address provided by NVM. We should rather use vap-

svn commit: r302100 - head/sys/dev/ath

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 00:54:14 2016 New Revision: 302100 URL: https://svnweb.freebsd.org/changeset/base/302100 Log: [ath] fix comments! I keep asking myself "what do these fields mean" and so now I've clarified it for myself. Tested: * Reading the comments, going "a-ha

Re: svn commit: r302094 - in head/sys: compat/freebsd32 kern

2016-06-22 Thread Brooks Davis
On Wed, Jun 22, 2016 at 05:09:34PM -0700, John Baldwin wrote: > On Wednesday, June 22, 2016 09:15:59 PM Brooks Davis wrote: > > Author: brooks > > Date: Wed Jun 22 21:15:59 2016 > > New Revision: 302094 > > URL: https://svnweb.freebsd.org/changeset/base/302094 > > > > Log: > > Mark the pipe() sy

Re: svn commit: r302096 - head/sys/compat/svr4

2016-06-22 Thread Brooks Davis
On Thu, Jun 23, 2016 at 12:30:32AM +, Glen Barber wrote: > On Thu, Jun 23, 2016 at 12:29:03AM +, Brooks Davis wrote: > > Author: brooks > > Date: Thu Jun 23 00:29:03 2016 > > New Revision: 302096 > > URL: https://svnweb.freebsd.org/changeset/base/302096 > > > > Log: > > Declare a svr4 ve

svn commit: r302099 - head/sys/netinet

2016-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 00:34:03 2016 New Revision: 302099 URL: https://svnweb.freebsd.org/changeset/base/302099 Log: Check the V_tcbinfo.ipi_count to hit 0 before doing the full TCP cleanup. That way timers can finish cleanly and we do not gamble with a DELAY(). Reviewed by:

svn commit: r302098 - head/sys/netinet

2016-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 00:32:58 2016 New Revision: 302098 URL: https://svnweb.freebsd.org/changeset/base/302098 Log: No longer mark TCP TW zone NO_FREE. Timewait code does a proper cleanup after itself. Reviewed by: gnn Approved by: re (gjb) Obtained from:

Re: svn commit: r302096 - head/sys/compat/svr4

2016-06-22 Thread Glen Barber
On Thu, Jun 23, 2016 at 12:29:03AM +, Brooks Davis wrote: > Author: brooks > Date: Thu Jun 23 00:29:03 2016 > New Revision: 302096 > URL: https://svnweb.freebsd.org/changeset/base/302096 > > Log: > Declare a svr4 version of pipe() now that sys_pipe() is no more. > > Approved by:

svn commit: r302097 - head/sys/compat/svr4

2016-06-22 Thread Brooks Davis
Author: brooks Date: Thu Jun 23 00:30:09 2016 New Revision: 302097 URL: https://svnweb.freebsd.org/changeset/base/302097 Log: Regen post r302096 and implement svr4_pipe(). Approved by: re (implict, fixing build) Sponsored by: DARPA, AFRL Modified: head/sys/compat/svr4/svr4_filio.c h

svn commit: r302096 - head/sys/compat/svr4

2016-06-22 Thread Brooks Davis
Author: brooks Date: Thu Jun 23 00:29:03 2016 New Revision: 302096 URL: https://svnweb.freebsd.org/changeset/base/302096 Log: Declare a svr4 version of pipe() now that sys_pipe() is no more. Approved by: re (implicit, fixing build) Sponsored by: DARPA, AFRL Modified: head/sys/compat/s

Re: svn commit: r302094 - in head/sys: compat/freebsd32 kern

2016-06-22 Thread John Baldwin
On Wednesday, June 22, 2016 09:15:59 PM Brooks Davis wrote: > Author: brooks > Date: Wed Jun 22 21:15:59 2016 > New Revision: 302094 > URL: https://svnweb.freebsd.org/changeset/base/302094 > > Log: > Mark the pipe() system call as COMPAT10. > > As of r302092 libc uses pipe2() with a zero fl

Re: svn commit: r302094 - in head/sys: compat/freebsd32 kern

2016-06-22 Thread John Baldwin
On Wednesday, June 22, 2016 09:15:59 PM Brooks Davis wrote: > Author: brooks > Date: Wed Jun 22 21:15:59 2016 > New Revision: 302094 > URL: https://svnweb.freebsd.org/changeset/base/302094 > > Log: > Mark the pipe() system call as COMPAT10. > > As of r302092 libc uses pipe2() with a zero fl

svn commit: r302095 - in head/sys: compat/freebsd32 kern sys

2016-06-22 Thread Brooks Davis
Author: brooks Date: Wed Jun 22 21:18:19 2016 New Revision: 302095 URL: https://svnweb.freebsd.org/changeset/base/302095 Log: Generate syscall tables and update pipe() implementation after r302094. Mark the pipe() system call as COMPAT10. As of r302092 libc uses pipe2() with a zero fla

svn commit: r302094 - in head/sys: compat/freebsd32 kern

2016-06-22 Thread Brooks Davis
Author: brooks Date: Wed Jun 22 21:15:59 2016 New Revision: 302094 URL: https://svnweb.freebsd.org/changeset/base/302094 Log: Mark the pipe() system call as COMPAT10. As of r302092 libc uses pipe2() with a zero flags value instead of pipe(). Commit with regenerated files and implementa

svn commit: r302093 - head/sys/kern

2016-06-22 Thread Brooks Davis
Author: brooks Date: Wed Jun 22 21:12:53 2016 New Revision: 302093 URL: https://svnweb.freebsd.org/changeset/base/302093 Log: Add support for COMPAT10 keywords in syscalls.master. Approved by: re (gjb) Sponsored by: DARPA, AFRL Modified: head/sys/kern/makesyscalls.sh Modified: head/s

svn commit: r302092 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys mips/sys powerpc/sys powerpc64/sys riscv/sys sparc64/sys sys

2016-06-22 Thread Brooks Davis
Author: brooks Date: Wed Jun 22 21:11:27 2016 New Revision: 302092 URL: https://svnweb.freebsd.org/changeset/base/302092 Log: Replace use of the pipe(2) system call with pipe2(2) with a zero flags value. This eliminates the need for machine dependant assembly wrappers for pipe(2).

svn commit: r302091 - head/sys/geom/mirror

2016-06-22 Thread Mark Johnston
Author: markj Date: Wed Jun 22 21:00:28 2016 New Revision: 302091 URL: https://svnweb.freebsd.org/changeset/base/302091 Log: Do not complete pending gmirror BIOs when tearing down the provider. This will result in lock recursion and is more generally incorrect since the completion handler

svn commit: r302090 - head/share/mk

2016-06-22 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 22 20:31:49 2016 New Revision: 302090 URL: https://svnweb.freebsd.org/changeset/base/302090 Log: Add AFLAGS.IMPSRC and document A[C]FLAGS Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.README head/share/mk

svn commit: r302089 - in head/sys: sys vm

2016-06-22 Thread Konstantin Belousov
Author: kib Date: Wed Jun 22 20:15:37 2016 New Revision: 302089 URL: https://svnweb.freebsd.org/changeset/base/302089 Log: Fix a LOR between vnode locks and allproc_lock. There is an order between covered vnode lock and allproc_lock, which is established by calling mountcheckdirs() while

Play Volleyball for Free (PROMO: MFBHCF)

2016-06-22 Thread Verise Promocodes via svn-src-head
Congratulations! Invite your friends and play volleyball at your local club for free. The offer is valid for a limited time only. Please, see your coupon [MFBHCF] attached. With thanks and appreciation, Andy Bowers, Administrative Services Officer Verise Promocodes 177 Laurel Drive 82722 Por

svn commit: r302088 - head

2016-06-22 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 22 19:07:41 2016 New Revision: 302088 URL: https://svnweb.freebsd.org/changeset/base/302088 Log: WITH_META_MODE: Whitelist 'make kernel-toolchain' Approved by: re (blanket, META_MODE) Sponsored by: EMC / Isilon Storage Division Modified: head/Makefile M

Re: svn commit: r302081 - head/sys/netinet6

2016-06-22 Thread hiren panchasara
On 06/22/16 at 11:29P, Andrey V. Elsukov wrote: > Author: ae > Date: Wed Jun 22 11:29:21 2016 > New Revision: 302081 > URL: https://svnweb.freebsd.org/changeset/base/302081 > > Log: > Fix the NULL pointer dereference for unresolved link layer entries in > the netinet6 code. Copy link layer add

svn commit: r302087 - head/sys/geom

2016-06-22 Thread Kenneth D. Merry
Author: ken Date: Wed Jun 22 14:39:13 2016 New Revision: 302087 URL: https://svnweb.freebsd.org/changeset/base/302087 Log: Fix a bug that caused da(4) peripheral drivers to not fully go away after the underlying device went away. The problem was that callers who queue the GEOM resize prov

svn commit: r302086 - head/sys/net

2016-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 22 12:53:10 2016 New Revision: 302086 URL: https://svnweb.freebsd.org/changeset/base/302086 Log: Add more fields to if_debug.c for ddb(4) 'show ifnet'; resort some fields to match the order in the struct. Especially needed if_pf_kif to do pf(4) VNET debugging.

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

2016-06-22 Thread Andrew Turner
Author: andrew Date: Wed Jun 22 12:05:08 2016 New Revision: 302084 URL: https://svnweb.freebsd.org/changeset/base/302084 Log: Fix a race when the hardware has raised an exception with an unknown or uncategorised reason. We need to read the fault address register before enabling interrupts as

svn commit: r302083 - head/sys/net

2016-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 22 11:45:30 2016 New Revision: 302083 URL: https://svnweb.freebsd.org/changeset/base/302083 Log: After r302054 unloading an network interface driver on a kernel without VIMAGE support would dereference a NULL point unconditionally leading to a panic. Wrap the entire

svn commit: r302081 - head/sys/netinet6

2016-06-22 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 22 11:29:21 2016 New Revision: 302081 URL: https://svnweb.freebsd.org/changeset/base/302081 Log: Fix the NULL pointer dereference for unresolved link layer entries in the netinet6 code. Copy link layer address only when corresponding entry has LLE_VALID flag. PR

svn commit: r302080 - head/lib/libusb

2016-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 10:38:41 2016 New Revision: 302080 URL: https://svnweb.freebsd.org/changeset/base/302080 Log: Implement libusb_hotplug_register_callback() and libusb_hotplug_deregister_callback() for the LibUSB v1.0 API and update the libusb(3) manual page. Approved by

Re: svn commit: r302054 - in head/sys: contrib/ipfilter/netinet dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf

2016-06-22 Thread Bjoern A. Zeeb
On Tue, 21 Jun 2016, Navdeep Parhar wrote: This causes a panic when a NIC driver module is unloaded from a kernel without VIMAGE. if_vnet is NULL and if_detach_internal tries to dereference it. whoops; I'll try this patch in a few minutes but if it works for you let me know and I'll get it i

svn commit: r302076 - head/sys/dev/usb/controller

2016-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 09:03:55 2016 New Revision: 302076 URL: https://svnweb.freebsd.org/changeset/base/302076 Log: Update the definition for number of scratch pages to match the latest version of the XHCI specification. Make sure the code can handle the maximum number of allowed

svn commit: r302075 - in head: contrib/libarchive contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test c...

2016-06-22 Thread Martin Matuska
Author: mm Date: Wed Jun 22 07:49:59 2016 New Revision: 302075 URL: https://svnweb.freebsd.org/changeset/base/302075 Log: MFV r302003,r302037,r302038,r302056: Update libarchive to 3.2.1 (bugfix and security fix release) List of vendor fixes: - fix exploitable heap overflow vulnerabil