svn commit: r257498 - in head/sys: kern sys

2013-11-01 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 1 10:01:57 2013 New Revision: 257498 URL: http://svnweb.freebsd.org/changeset/base/257498 Log: prison_check_ip4() can take const arguments. Modified: head/sys/kern/kern_jail.c head/sys/sys/jail.h Modified: head/sys/kern/kern_jail.c ===

svn commit: r257499 - head/sys/netinet

2013-11-01 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 1 10:18:41 2013 New Revision: 257499 URL: http://svnweb.freebsd.org/changeset/base/257499 Log: Cleanup in_ifscrub(), which is just an entry to in_scrubprefix(). Modified: head/sys/netinet/if_ether.c head/sys/netinet/in.c head/sys/netinet/in_var.h head/sys/

svn commit: r257500 - head/sys/netinet

2013-11-01 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 1 10:29:10 2013 New Revision: 257500 URL: http://svnweb.freebsd.org/changeset/base/257500 Log: in_ifadown() can be void. Modified: head/sys/netinet/in_rmx.c head/sys/netinet/in_var.h Modified: head/sys/netinet/in_rmx.c

svn commit: r257501 - head/sys/kern

2013-11-01 Thread Alexander Motin
Author: mav Date: Fri Nov 1 10:32:33 2013 New Revision: 257501 URL: http://svnweb.freebsd.org/changeset/base/257501 Log: Make getenv_*() functions and respectively TUNABLE_*_FETCH() macros not allocate memory and so not require sleepable environment. getenv() has already used on-stack temp

svn commit: r257502 - head/usr.bin/limits

2013-11-01 Thread Sergey Kandaurov
Author: pluknet Date: Fri Nov 1 10:42:32 2013 New Revision: 257502 URL: http://svnweb.freebsd.org/changeset/base/257502 Log: Remove the dependency on procfs. Reviewed by: kib MFC after:1 week X-MFC with: r257430 Modified: head/usr.bin/limits/limits.1 Modified: head/usr.bin/l

svn commit: r257504 - head/bin/sh

2013-11-01 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 1 11:28:56 2013 New Revision: 257504 URL: http://svnweb.freebsd.org/changeset/base/257504 Log: sh: Reorder union node to reduce its size on 64-bit platforms. Modified: head/bin/sh/nodetypes Modified: head/bin/sh/nodetypes

Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

2013-11-01 Thread Bryan Drewery
On 11/1/2013 1:18 AM, Luigi Rizzo wrote: > On Thu, Oct 31, 2013 at 09:09:24PM -0500, Brooks Davis wrote: >> On Thu, Oct 31, 2013 at 06:02:25PM -0700, Luigi Rizzo wrote: >>> as per the subject, after this commit building head on stable/9 >>> fails with the error below: >>> >>> ===> lib/libpam/module

svn commit: r257505 - head/usr.sbin/pkg

2013-11-01 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Fri Nov 1 12:37:36 2013 New Revision: 257505 URL: http://svnweb.freebsd.org/changeset/base/257505 Log: Add -f support to 'pkg bootstrap' and 'pkg add' to force installation of pkg(8) even if already installed. This is useful if you somehow messup

svn commit: r257506 - in head: bin/sh usr.bin/limits

2013-11-01 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 1 13:57:30 2013 New Revision: 257506 URL: http://svnweb.freebsd.org/changeset/base/257506 Log: sh(1),limits(1): Document kqueues (-k) rlimit. Modified: head/bin/sh/sh.1 head/usr.bin/limits/limits.1 Modified: head/bin/sh/sh.1 ===

Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

2013-11-01 Thread Luigi Rizzo
On Fri, Nov 01, 2013 at 07:15:08AM -0500, Bryan Drewery wrote: > On 11/1/2013 1:18 AM, Luigi Rizzo wrote: ... > > ok so what happens is the following (trying to build HEAD on 9.2, both > > amd64) > > > > - WITHOUT_CLANG and related options: > > "make toolchain"fails with the error on

svn commit: r257511 - head/sys/x86/iommu

2013-11-01 Thread Konstantin Belousov
Author: kib Date: Fri Nov 1 17:16:44 2013 New Revision: 257511 URL: http://svnweb.freebsd.org/changeset/base/257511 Log: Return BUS_PROBE_NOWILDCARD from the DMAR probe method. Confirmed by: nwhitehorn MFC after:1 month Modified: head/sys/x86/iommu/intel_drv.c Modified: head/sys/

svn commit: r257512 - in head/sys: conf x86/iommu

2013-11-01 Thread Konstantin Belousov
Author: kib Date: Fri Nov 1 17:38:52 2013 New Revision: 257512 URL: http://svnweb.freebsd.org/changeset/base/257512 Log: Add support for queued invalidation. Right now, the semaphore write is scheduled after each batch, which is not optimal and must be tuned. Discussed with: a

svn commit: r257514 - head/release/picobsd/build

2013-11-01 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 1 18:29:27 2013 New Revision: 257514 URL: http://svnweb.freebsd.org/changeset/base/257514 Log: small cleanup for building picobsd-head without CLANG. Note that svn 257268 gnu/usr.bin/binutils/ld/Makefile seems to break the "toolchain" target when building HEAD

svn commit: r257515 - in head/sys/dev/xen: netback netfront

2013-11-01 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 1 18:42:03 2013 New Revision: 257515 URL: http://svnweb.freebsd.org/changeset/base/257515 Log: Somehow fix LINT-NOIP. Modified: head/sys/dev/xen/netback/netback.c head/sys/dev/xen/netback/netback_unit_tests.c head/sys/dev/xen/netfront/netfront.c Modified: h

svn commit: r257516 - head/share/misc

2013-11-01 Thread Sergey Kandaurov
Author: pluknet Date: Fri Nov 1 18:55:56 2013 New Revision: 257516 URL: http://svnweb.freebsd.org/changeset/base/257516 Log: OpenBSD 5.4 added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree ===

svn commit: r257518 - in head/sys: arm/ti boot/fdt/dts

2013-11-01 Thread Ian Lepore
Author: ian Date: Fri Nov 1 19:22:06 2013 New Revision: 257518 URL: http://svnweb.freebsd.org/changeset/base/257518 Log: TI sdhci driver improvements, mostly related to fdt data... Use the published compatible strings (our own invention, "ti,mmchs" is still accepted as well, for now).

svn commit: r257519 - head/sys/arm/ti

2013-11-01 Thread Ian Lepore
Author: ian Date: Fri Nov 1 19:29:59 2013 New Revision: 257519 URL: http://svnweb.freebsd.org/changeset/base/257519 Log: The ability to do 8-bit implies 4-bit capability too. Rearrange the cases and add a fallthrough comment to make that happen. Modified: head/sys/arm/ti/ti_sdhci.c Modif

Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

2013-11-01 Thread Brooks Davis
On Fri, Nov 01, 2013 at 07:18:42AM +0100, Luigi Rizzo wrote: > On Thu, Oct 31, 2013 at 09:09:24PM -0500, Brooks Davis wrote: > > On Thu, Oct 31, 2013 at 06:02:25PM -0700, Luigi Rizzo wrote: > > > as per the subject, after this commit building head on stable/9 > > > fails with the error below: > > >

svn commit: r257525 - in head/sys: dev/random net sys

2013-11-01 Thread Adrian Chadd
Author: adrian Date: Fri Nov 1 20:53:49 2013 New Revision: 257525 URL: http://svnweb.freebsd.org/changeset/base/257525 Log: Convert the random entropy harvesting code to use a const void * pointer rather than just void *. Then, as part of this, convert a couple of mbuf m->m_data accesses

svn commit: r257529 - in head: share/man/man4 sys/conf sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

2013-11-01 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 1 21:21:14 2013 New Revision: 257529 URL: http://svnweb.freebsd.org/changeset/base/257529 Log: update to the latest netmap snapshot. This includes the following: - use separate memory regions for VALE ports - locking fixes - some simplifications in the NIC-sp

Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

2013-11-01 Thread Luigi Rizzo
On Fri, Nov 01, 2013 at 03:48:48PM -0500, Brooks Davis wrote: > On Fri, Nov 01, 2013 at 07:18:42AM +0100, Luigi Rizzo wrote: ... > > ok so what happens is the following (trying to build HEAD on 9.2, both > > amd64) > > > > - WITHOUT_CLANG and related options: > > "make toolchain"fails

svn commit: r257530 - head/gnu/usr.bin/binutils/ld

2013-11-01 Thread Brooks Davis
Author: brooks Date: Fri Nov 1 22:03:20 2013 New Revision: 257530 URL: http://svnweb.freebsd.org/changeset/base/257530 Log: Reimplement r257525 such that it work with the historic FreeBSD make implementation. This fixes the toolchain and kernel-toolchain targets when building from older Fr

svn commit: r257531 - head/sbin/nvmecontrol

2013-11-01 Thread Jim Harris
Author: jimharris Date: Fri Nov 1 22:05:29 2013 New Revision: 257531 URL: http://svnweb.freebsd.org/changeset/base/257531 Log: Do not exit with error status after printing data for perftest. Sponsored by: Intel Reported by: Joe Golio MFC after:3 days Modified: head/sbin/nvmeco

Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

2013-11-01 Thread Brooks Davis
On Fri, Nov 01, 2013 at 10:32:54PM +0100, Luigi Rizzo wrote: > On Fri, Nov 01, 2013 at 03:48:48PM -0500, Brooks Davis wrote: > > On Fri, Nov 01, 2013 at 07:18:42AM +0100, Luigi Rizzo wrote: > ... > > > ok so what happens is the following (trying to build HEAD on 9.2, both > > > amd64) > > > > > >

svn commit: r257532 - head/tools/tools/ath/athstats

2013-11-01 Thread Adrian Chadd
Author: adrian Date: Fri Nov 1 22:38:58 2013 New Revision: 257532 URL: http://svnweb.freebsd.org/changeset/base/257532 Log: Fix this build for clang. Modified: head/tools/tools/ath/athstats/Makefile Modified: head/tools/tools/ath/athstats/Makefile ===

svn commit: r257534 - head/sys/dev/nvme

2013-11-01 Thread Jim Harris
Author: jimharris Date: Fri Nov 1 23:30:54 2013 New Revision: 257534 URL: http://svnweb.freebsd.org/changeset/base/257534 Log: Create a unique unit number for each controller and namespace cdev. Sponsored by: Intel MFC after:3 days Modified: head/sys/dev/nvme/nvme_ctrlr.c head/s

svn commit: r257535 - head/sys/netgraph

2013-11-01 Thread Adrian Chadd
Author: adrian Date: Sat Nov 2 00:11:38 2013 New Revision: 257535 URL: http://svnweb.freebsd.org/changeset/base/257535 Log: Teach the netgraph code to use a const char * pointer too. Pointy hat to: adrian Modified: head/sys/netgraph/ng_iface.c Modified: head/sys/netgraph/ng_iface.c ===

svn commit: r257537 - head/sys/dev/netmap

2013-11-01 Thread Luigi Rizzo
Author: luigi Date: Sat Nov 2 00:54:47 2013 New Revision: 257537 URL: http://svnweb.freebsd.org/changeset/base/257537 Log: add missing file from previous netmap update... Added: head/sys/dev/netmap/netmap_mem2.h (contents, props changed) Added: head/sys/dev/netmap/netmap_mem2.h ==

svn commit: r257539 - head/sys/geom/eli

2013-11-01 Thread Xin LI
Author: delphij Date: Sat Nov 2 01:16:10 2013 New Revision: 257539 URL: http://svnweb.freebsd.org/changeset/base/257539 Log: When zero'ing out a buffer, make sure we are using right size. Without this change, in the worst but unlikely case scenario, certain administrative operations, inc

Re: svn commit: r257535 - head/sys/netgraph

2013-11-01 Thread Bruce Evans
On Sat, 2 Nov 2013, Adrian Chadd wrote: Log: Teach the netgraph code to use a const char * pointer too. This actually fixes a much larger bug that was apparently accidentally exposed by new const poisoning and new smaller type bugs. Pointy hat to: adrian Outpointed by the previous bug.

Re: svn commit: r257535 - head/sys/netgraph

2013-11-01 Thread Adrian Chadd
Hm! A good question! On 1 November 2013 22:22, Bruce Evans wrote: >> if (harvest.point_to_point) >> - random_harvest(&(m->m_data), 12, 2, RANDOM_NET_NG); > > > '&(m->m_data)' is not just a pair of style bugs. It gives address of > the pointer (somewhere in the mbuf header)

Re: svn commit: r256850 - in head: bin/sh etc lib/libc/sys lib/libutil usr.bin/limits usr.bin/procstat

2013-11-01 Thread Stefan Neudorf
Konstantin Belousov writes: > On Wed, Oct 30, 2013 at 10:20:52PM +0100, Jilles Tjoelker wrote: > >> On Wed, Oct 30, 2013 at 02:01:57PM +0100, Stefan Neudorf wrote: >> > Konstantin Belousov writes: >> > > Modified: head/usr.bin/limits/limits.c >> > > ==