Re: svn commit: r272673 - in head: include lib/libc/string sys/conf sys/libkern sys/sys

2014-10-07 Thread Dag-Erling Smørgrav
Xin LI writes: > Log: > Add explicit_bzero(3) and its kernel counterpart. I would much prefer that we add memset_s(3) from C11, which predates explicit_bzero(3) by either three or five years (depending on whether you count from the publication date or the proposal date). In the longer term, we

svn commit: r272683 - in head/sys/ofed: drivers/net/mlx4 include/linux/mlx4

2014-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 7 10:04:25 2014 New Revision: 272683 URL: https://svnweb.freebsd.org/changeset/base/272683 Log: Fix compile warning when compiling with GCC. MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/net/mlx4/mlx4.h head/s

svn commit: r272695 - head/sys/net

2014-10-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 7 13:31:04 2014 New Revision: 272695 URL: https://svnweb.freebsd.org/changeset/base/272695 Log: Our packet filters use mbuf's rcvif pointer to determine incoming interface. Change mbuf's rcvif to enc0 and restore it after pfil processing. PR: 110959 S

Re: svn commit: r272695 - head/sys/net

2014-10-07 Thread Marko Zec
On Tue, 7 Oct 2014 13:31:05 + "Andrey V. Elsukov" wrote: > Author: ae > Date: Tue Oct 7 13:31:04 2014 > New Revision: 272695 > URL: https://svnweb.freebsd.org/changeset/base/272695 > > Log: > Our packet filters use mbuf's rcvif pointer to determine incoming > interface. Change mbuf's rcvi

svn commit: r272701 - head/sys/cddl/compat/opensolaris/sys

2014-10-07 Thread Andriy Gapon
Author: avg Date: Tue Oct 7 14:15:50 2014 New Revision: 272701 URL: https://svnweb.freebsd.org/changeset/base/272701 Log: make userland __assfail from opensolaris compat honor 'aok' variable This should allow zdb -A option to actually make difference. MFC after:2 weeks Modified:

Re: svn commit: r272695 - head/sys/net

2014-10-07 Thread Andrey V. Elsukov
On 07.10.2014 18:04, Marko Zec wrote: > On Tue, 7 Oct 2014 13:31:05 + > "Andrey V. Elsukov" wrote: > >> Author: ae >> Date: Tue Oct 7 13:31:04 2014 >> New Revision: 272695 >> URL: https://svnweb.freebsd.org/changeset/base/272695 >> >> Log: >> Our packet filters use mbuf's rcvif pointer to

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

2014-10-07 Thread Andriy Gapon
Author: avg Date: Tue Oct 7 14:30:24 2014 New Revision: 272702 URL: https://svnweb.freebsd.org/changeset/base/272702 Log: reduce L2ARC_WRITE_SIZE on FreeBSD FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS data lists (currently both are 16) while illumos has

Re: svn commit: r272695 - head/sys/net

2014-10-07 Thread Marko Zec
On Tue, 7 Oct 2014 18:17:18 +0400 "Andrey V. Elsukov" wrote: > On 07.10.2014 18:04, Marko Zec wrote: > > On Tue, 7 Oct 2014 13:31:05 + > > "Andrey V. Elsukov" wrote: > > > >> Author: ae > >> Date: Tue Oct 7 13:31:04 2014 > >> New Revision: 272695 > >> URL: https://svnweb.freebsd.org/change

svn commit: r272706 - head/sys/netinet6

2014-10-07 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 7 16:01:17 2014 New Revision: 272706 URL: https://svnweb.freebsd.org/changeset/base/272706 Log: Fix a bug introduced in https://svnweb.freebsd.org/base?view=revision&revision=272347 MFC after: 3 days Modified: head/sys/netinet6/udp6_usrreq.c Modified: hea

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

2014-10-07 Thread Andriy Gapon
Author: avg Date: Tue Oct 7 16:06:10 2014 New Revision: 272707 URL: https://svnweb.freebsd.org/changeset/base/272707 Log: revert r272702: wrong (earlier) change was committed Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/

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

2014-10-07 Thread Andriy Gapon
Author: avg Date: Tue Oct 7 16:08:21 2014 New Revision: 272708 URL: https://svnweb.freebsd.org/changeset/base/272708 Log: l2arc_write_buffers: reduce headroom value FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS data lists (currently both are 16) while ill

Re: svn commit: r272596 - head/sys/fs/devfs

2014-10-07 Thread John Baldwin
On Monday, October 06, 2014 8:52:37 pm Mateusz Guzik wrote: > On Mon, Oct 06, 2014 at 11:37:32AM -0400, John Baldwin wrote: > > On Monday, October 06, 2014 06:20:36 AM Mateusz Guzik wrote: > > > Author: mjg > > > Date: Mon Oct 6 06:20:35 2014 > > > New Revision: 272596 > > > URL: https://svnweb.fr

Re: svn commit: r272281 - head/lib/libpam/modules/pam_login_access

2014-10-07 Thread Dag-Erling Smørgrav
Dimitry Andric writes: > And why is 'user' not a char * to begin with? :) man 3 pam_get_item + C rules about casting pointers. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: svn commit: r272281 - head/lib/libpam/modules/pam_login_access

2014-10-07 Thread Dag-Erling Smørgrav
Bruce Evans writes: > Other bugs in PAM_VERBOSE_ERROR()'s function [...] PAM_VERBOSE_ERROR should die. The only reason I didn't kill it way back when was to avoid extensive modifications to existing modules. DES -- Dag-Erling Smørgrav - d...@des.no _

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

2014-10-07 Thread Neel Natu
Author: neel Date: Tue Oct 7 17:08:53 2014 New Revision: 272710 URL: https://svnweb.freebsd.org/changeset/base/272710 Log: Implement the FLUSH operation in the virtio-block emulation. This gets rid of the following error message during FreeBSD guest bootup: "vtbd0: hard error cmd=flush f

svn commit: r272712 - in head/sys: arm/altera/socfpga arm/conf arm/samsung/exynos boot/fdt/dts/arm dev/mmc dev/mmc/host

2014-10-07 Thread Ruslan Bukin
Author: br Date: Tue Oct 7 17:39:30 2014 New Revision: 272712 URL: https://svnweb.freebsd.org/changeset/base/272712 Log: Add driver for Synopsys DesignWare Mobile Storage Host Controller. Sponsored by: DARPA, AFRL Added: head/sys/dev/mmc/host/ head/sys/dev/mmc/host/dwmmc.c (contents

svn commit: r272713 - head/sys/dev/hwpmc

2014-10-07 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 7 18:00:34 2014 New Revision: 272713 URL: https://svnweb.freebsd.org/changeset/base/272713 Log: Since introducing the extra mapping in r250103 for architectural performance events we have actually counted 'Branch Instruction Retired' when people asked for 'Unhalted

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

2014-10-07 Thread Aleksandr Rybalko
Author: ray Date: Tue Oct 7 18:47:53 2014 New Revision: 272715 URL: https://svnweb.freebsd.org/changeset/base/272715 Log: Allow vt(4) to disable terminal bell with `sysctl kern.vt.bell_enable=0`, similar as syscons(4) do. Submitted by: Tiwei Bie MFC after:2 weeks Sponsored by: T

svn commit: r272716 - in head/sys/dev/usb: . net

2014-10-07 Thread Gavin Atkinson
Author: gavin Date: Tue Oct 7 19:07:50 2014 New Revision: 272716 URL: https://svnweb.freebsd.org/changeset/base/272716 Log: Support the Vodafone R215 LET USB dongle, which is apparently a rebadged E5372 with different product IDs. Interestingly, the standard E5372 IDs (12d1:1506) are cur

svn commit: r272717 - head/usr.sbin/autofs

2014-10-07 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 7 19:08:02 2014 New Revision: 272717 URL: https://svnweb.freebsd.org/changeset/base/272717 Log: Remove call to access(2) which didn't serve any purpose, and make it more tolerant to errors. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified

svn commit: r272718 - head/sys/kern

2014-10-07 Thread Jung-uk Kim
Author: jkim Date: Tue Oct 7 20:13:47 2014 New Revision: 272718 URL: https://svnweb.freebsd.org/changeset/base/272718 Log: Make kern.nswbuf tunable from loader. MFC after:1 week Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

Re: svn commit: r272649 - head/contrib/byacc

2014-10-07 Thread Craig Rodrigues
On Mon, Oct 6, 2014 at 7:49 AM, Baptiste Daroussin wrote: > > Why a direct commit instead of a proper import of 20141005 version? it > would > have imho been better, simpler and easier to maintain. > Because according to Thomas Dickey, he did not fix all the memory related problems in snapshot 2

svn commit: r272719 - in head/sys/dev/cxgbe: common tom

2014-10-07 Thread Navdeep Parhar
Author: np Date: Tue Oct 7 21:26:22 2014 New Revision: 272719 URL: https://svnweb.freebsd.org/changeset/base/272719 Log: cxgbe/tom: don't leak resources tied to an active open request that cannot be sent to the chip because a prerequisite L2 resolution failed. Submitted by: Hariprasad

svn commit: r272720 - head/sys/netinet

2014-10-07 Thread Sean Bruno
Author: sbruno Date: Tue Oct 7 21:50:28 2014 New Revision: 272720 URL: https://svnweb.freebsd.org/changeset/base/272720 Log: Implement PLPMTUD blackhole detection (RFC 4821), inspired by code from xnu sources. If we encounter a network where ICMP is blocked the Needs Frag indicator may not

Re: svn commit: r272649 - head/contrib/byacc

2014-10-07 Thread Baptiste Daroussin
On Tue, Oct 07, 2014 at 02:02:34PM -0700, Craig Rodrigues wrote: > On Mon, Oct 6, 2014 at 7:49 AM, Baptiste Daroussin wrote: > > > > > Why a direct commit instead of a proper import of 20141005 version? it > > would > > have imho been better, simpler and easier to maintain. > > > > Because accor

Re: svn commit: r272384 - head/usr.bin/mkimg

2014-10-07 Thread Dmitry Morozovsky
On Fri, 3 Oct 2014, Ed Maste wrote: > On 2 October 2014 10:43, Ed Maste wrote: > > > > I've been using brooks' NO_ROOT support along with makefs / mkimg to > > build and test changes by creating an image to boot in QEMU. This > > change provides a noticeable improvement in the cycle time. > > I

svn commit: r272721 - in head/sys/dev: alc ale

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 01:03:32 2014 New Revision: 272721 URL: https://svnweb.freebsd.org/changeset/base/272721 Log: Fix a long standing bug in MAC statistics register access. One additional register was erroneously added in the MAC register set such that 7 TX statistics counters

svn commit: r272728 - head/usr.bin/w

2014-10-07 Thread Eitan Adler
Author: eadler Date: Wed Oct 8 05:04:31 2014 New Revision: 272728 URL: https://svnweb.freebsd.org/changeset/base/272728 Log: don't reinvent the wheel: rely on basename(3) Reviewed by: nwhitehorn Modified: head/usr.bin/w/w.c Modified: head/usr.bin/w/w.c

svn commit: r272729 - head/sys/dev/pci

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:34:39 2014 New Revision: 272729 URL: https://svnweb.freebsd.org/changeset/base/272729 Log: Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4). QAC AR816x/E2200 controller has a silicon bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit of command r

svn commit: r272730 - head/sys/dev/alc

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:47:01 2014 New Revision: 272730 URL: https://svnweb.freebsd.org/changeset/base/272730 Log: Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers. These controllers seem to have the same feature of AR813x/AR815x and improved RSS support(4 TX q

svn commit: r272731 - head/share/man/man4

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:49:10 2014 New Revision: 272731 URL: https://svnweb.freebsd.org/changeset/base/272731 Log: Document newly added controller AR816x/AR817x. Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4 ==

svn commit: r272732 - head/sys/dev/pci

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:53:04 2014 New Revision: 272732 URL: https://svnweb.freebsd.org/changeset/base/272732 Log: Oops, fix typo made in r272729. Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c ===