svn commit: r285622 - in head/sys: compat/cloudabi kern sys

2015-07-16 Thread Ed Schouten
Author: ed Date: Thu Jul 16 07:05:42 2015 New Revision: 285622 URL: https://svnweb.freebsd.org/changeset/base/285622 Log: Implement CloudABI's exec() call. Summary: In a runtime that is purely based on capability-based security, there is a strong emphasis on how programs start their exe

svn commit: r285623 - head/sys/dev/e1000

2015-07-16 Thread Kevin Lo
Author: kevlo Date: Thu Jul 16 08:03:23 2015 New Revision: 285623 URL: https://svnweb.freebsd.org/changeset/base/285623 Log: Fix typo in register definition. Submitted by: James Hung Reviewed by: sbruno Modified: head/sys/dev/e1000/e1000_regs.h Modified: head/sys/dev/e1000/e1000_regs

svn commit: r285626 - in head/sys/arm64: arm64 include

2015-07-16 Thread Zbigniew Bodek
Author: zbb Date: Thu Jul 16 10:22:57 2015 New Revision: 285626 URL: https://svnweb.freebsd.org/changeset/base/285626 Log: Set-up proper TCR values for memory related to Translation Table Walking This commit adds proper cache and shareability attributes to the TCR register. Set memory a

svn commit: r285627 - in head/sys: arm/arm arm/at91 arm/cavium/cns11xx arm/samsung/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa arm64/arm64 ddb i386/i386 powerpc/boo...

2015-07-16 Thread Zbigniew Bodek
Author: zbb Date: Thu Jul 16 10:46:52 2015 New Revision: 285627 URL: https://svnweb.freebsd.org/changeset/base/285627 Log: Fix KSTACK_PAGES issue when the default value was changed in KERNCONF If KSTACK_PAGES was changed to anything alse than the default, the value from param.h was taken

svn commit: r285628 - head/sys/dev/ichwd

2015-07-16 Thread Christian Brueffer
Author: brueffer Date: Thu Jul 16 11:14:59 2015 New Revision: 285628 URL: https://svnweb.freebsd.org/changeset/base/285628 Log: Actually recognize all Intel Lynx Point devices we have device IDs for. PR: 195851 Submitted by: ftig...@wolfpond.org MFC after:1 week Modified:

svn commit: r285629 - head/sys/x86/x86

2015-07-16 Thread Konstantin Belousov
Author: kib Date: Thu Jul 16 12:16:42 2015 New Revision: 285629 URL: https://svnweb.freebsd.org/changeset/base/285629 Log: Fix warnings about unused functions for UP build. Sponsored by: The FreeBSD Foundation Modified: head/sys/x86/x86/local_apic.c Modified: head/sys/x86/x86/local_apic

svn commit: r285630 - head/usr.bin/sockstat

2015-07-16 Thread Dag-Erling Smørgrav
Author: des Date: Thu Jul 16 13:09:21 2015 New Revision: 285630 URL: https://svnweb.freebsd.org/changeset/base/285630 Log: Add a -s option which adds a column listing the connection state if applicable (currently only for TCP). PR: 201585 MFC after:3 weeks Modified: hea

svn commit: r285631 - head/sys/arm/include

2015-07-16 Thread Andrew Turner
Author: andrew Date: Thu Jul 16 13:33:03 2015 New Revision: 285631 URL: https://svnweb.freebsd.org/changeset/base/285631 Log: Split out the arm and armv6 parts of atomic.h to new files. While here use __ARM_ARCH to determine which revision of the architecture is applicable. Sponsored by:

svn commit: r285632 - in head/sys: cddl/contrib/opensolaris/uts/common/fs kern sys

2015-07-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 16 13:57:05 2015 New Revision: 285632 URL: https://svnweb.freebsd.org/changeset/base/285632 Log: vfs: implement v_holdcnt/v_usecount manipulation using atomic ops Transitions 0->1 and 1->0 (which decide e.g. on putting the vnode on the free list) of either counte

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-16 Thread Ian Lepore
On Thu, 2015-07-16 at 06:39 +0100, Mark Murray wrote: > > On 15 Jul 2015, at 23:43, Adrian Chadd wrote: > > > >> - Add harvesting of slab allocator events. This needs to be checked for > >>weighing down the allocator code. > > > > Hi, > > > > Is this really doing it upon every one of those

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

2015-07-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 16 14:30:11 2015 New Revision: 285633 URL: https://svnweb.freebsd.org/changeset/base/285633 Log: Get rid of lim_update_thread and cred_update_thread. Their primary use was in thread_cow_update to free up old resources. Freeing had to be done with proc lock held a

svn commit: r285636 - head/sys/kern

2015-07-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 16 15:26:37 2015 New Revision: 285636 URL: https://svnweb.freebsd.org/changeset/base/285636 Log: fd: partially deduplicate fdescfree and fdescfree_remapped This also moves vrele of cdir/rdir/jdir vnodes earlier, which should not matter. Modified: head/sys/kern

svn commit: r285637 - head/share/man/man9

2015-07-16 Thread Ed Schouten
Author: ed Date: Thu Jul 16 15:43:55 2015 New Revision: 285637 URL: https://svnweb.freebsd.org/changeset/base/285637 Log: Fix a small typo: "the the". Spotted by: wblock Modified: head/share/man/man9/random.9 Modified: head/share/man/man9/random.9 =

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

2015-07-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 16 16:08:40 2015 New Revision: 285638 URL: https://svnweb.freebsd.org/changeset/base/285638 Log: Optimise the DWC OTG host mode driver's transmit path: 1) Use the TX FIFO empty interrupts to poll the transmit FIFO usage, instead of using own software counter

svn commit: r285639 - head/sys/dev/e1000

2015-07-16 Thread Sean Bruno
Author: sbruno Date: Thu Jul 16 16:32:57 2015 New Revision: 285639 URL: https://svnweb.freebsd.org/changeset/base/285639 Log: Add an adapter CORE lock in the DDB hook em_dump_queue to avoid WITNESS panic in em_init_locked() while debugging. MFC after:2 weeks Sponsored by: Limelight

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Bryan Drewery
On 7/14/15 11:53 AM, Mark Murray wrote: > Author: markm > Date: Tue Jul 14 18:53:24 2015 > New Revision: 285550 > URL: https://svnweb.freebsd.org/changeset/base/285550 > > Log: > Widen the host field so that a full IPv6 address will be seen. Relnotes: yes! MFC: Please -- Regards, Bryan Dre

Re: svn commit: r285639 - head/sys/dev/e1000

2015-07-16 Thread Bruce Evans
On Thu, 16 Jul 2015, Sean Bruno wrote: Log: Add an adapter CORE lock in the DDB hook em_dump_queue to avoid WITNESS panic in em_init_locked() while debugging. It is a bug to lock anything from within ddb. Witness or something should panic when such a lock is attempted. Modified: head/sys/

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

2015-07-16 Thread Glen Barber
Author: gjb Date: Thu Jul 16 17:48:37 2015 New Revision: 285640 URL: https://svnweb.freebsd.org/changeset/base/285640 Log: Document r285550, w(1) now displays the full IPv6 address of a remote connected host. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859

Re: svn commit: r285627 - in head/sys: arm/arm arm/at91 arm/cavium/cns11xx arm/samsung/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa arm64/arm64 ddb i386/i386 powerpc/bo

2015-07-16 Thread Benjamin Kaduk
On Thu, Jul 16, 2015 at 6:46 AM, Zbigniew Bodek wrote: > Author: zbb > Date: Thu Jul 16 10:46:52 2015 > New Revision: 285627 > URL: https://svnweb.freebsd.org/changeset/base/285627 > > Log: > Fix KSTACK_PAGES issue when the default value was changed in KERNCONF > > If KSTACK_PAGES was changed

svn commit: r285641 - in head/sys: amd64/cloudabi64 compat/cloudabi conf contrib/cloudabi sys

2015-07-16 Thread Ed Schouten
Author: ed Date: Thu Jul 16 18:24:06 2015 New Revision: 285641 URL: https://svnweb.freebsd.org/changeset/base/285641 Log: Add a sysentvec for CloudABI on x86-64. Summary: For CloudABI we need to put two things on the stack of new processes: the argument data (a binary blob; not strings)

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-16 Thread Mark R V Murray
> On 16 Jul 2015, at 15:08, Ian Lepore wrote: > > On Thu, 2015-07-16 at 06:39 +0100, Mark Murray wrote: >>> On 15 Jul 2015, at 23:43, Adrian Chadd wrote: >>> - Add harvesting of slab allocator events. This needs to be checked for weighing down the allocator code. >>> >>> Hi, >>>

svn commit: r285642 - head/crypto/openssh

2015-07-16 Thread Eric van Gyzen
Author: vangyzen Date: Thu Jul 16 18:44:18 2015 New Revision: 285642 URL: https://svnweb.freebsd.org/changeset/base/285642 Log: ssh: canonicize the host name before looking it up in the host file Re-apply r99054 by des in 2002. This was accidentally dropped by the update to OpenSSH 6.5p1

svn commit: r285643 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386

2015-07-16 Thread Konstantin Belousov
Author: kib Date: Thu Jul 16 19:40:18 2015 New Revision: 285643 URL: https://svnweb.freebsd.org/changeset/base/285643 Log: When checking for the valid value of the frame pointer, verify that it belongs to the kernel stack address range for the thread. Right now, code checks that new frame i

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Ed Schouten
Hi Mark, 2015-07-14 20:53 GMT+02:00 Mark Murray : > Log: > Widen the host field so that a full IPv6 address will be seen. > > Modified: > head/usr.bin/w/w.c > > Modified: head/usr.bin/w/w.c > == > --- head/usr.bin/w/w.

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Mark R V Murray
> On 16 Jul 2015, at 20:46, Ed Schouten wrote: > > Hi Mark, Hi! > 2015-07-14 20:53 GMT+02:00 Mark Murray : >> Log: >> Widen the host field so that a full IPv6 address will be seen. >> > > Quick question: does this column width adjust itself automatically? > The "WHAT" column of w(1) is alre

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Mark R V Murray
> On 16 Jul 2015, at 18:35, Bryan Drewery wrote: > > On 7/14/15 11:53 AM, Mark Murray wrote: >> Author: markm >> Date: Tue Jul 14 18:53:24 2015 >> New Revision: 285550 >> URL: https://svnweb.freebsd.org/changeset/base/285550 >> >> Log: >> Widen the host field so that a full IPv6 address will b

Re: svn commit: r285550 - head/usr.bin/w

2015-07-16 Thread Bryan Drewery
On 7/16/15 12:55 PM, Mark R V Murray wrote: > >> On 16 Jul 2015, at 18:35, Bryan Drewery wrote: >> >> On 7/14/15 11:53 AM, Mark Murray wrote: >>> Author: markm >>> Date: Tue Jul 14 18:53:24 2015 >>> New Revision: 285550 >>> URL: https://svnweb.freebsd.org/changeset/base/285550 >>> >>> Log: >>> W

svn commit: r285644 - head/contrib/sqlite3

2015-07-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 16 22:07:13 2015 New Revision: 285644 URL: https://svnweb.freebsd.org/changeset/base/285644 Log: sqlite: clean a couple of invocations of memcpy(3) Found almost accidentally by our native gcc when enhanced with FORTIFY_SOURCE. Submitted by: Oliver Pinter S

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-16 Thread Baptiste Daroussin
On Thu, Jul 16, 2015 at 10:07:14PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Thu Jul 16 22:07:13 2015 > New Revision: 285644 > URL: https://svnweb.freebsd.org/changeset/base/285644 > > Log: > sqlite: clean a couple of invocations of memcpy(3) > > Found almost accidentally by our

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-16 Thread Ian Lepore
On Thu, 2015-07-16 at 22:07 +, Pedro F. Giffuni wrote: > Author: pfg > Date: Thu Jul 16 22:07:13 2015 > New Revision: 285644 > URL: https://svnweb.freebsd.org/changeset/base/285644 > > Log: > sqlite: clean a couple of invocations of memcpy(3) > > Found almost accidentally by our native

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-16 Thread Pedro Giffuni
On 07/16/15 17:16, Baptiste Daroussin wrote: On Thu, Jul 16, 2015 at 10:07:14PM +, Pedro F. Giffuni wrote: Author: pfg Date: Thu Jul 16 22:07:13 2015 New Revision: 285644 URL: https://svnweb.freebsd.org/changeset/base/285644 Log: sqlite: clean a couple of invocations of memcpy(3)

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-16 Thread K. Macy
I discovered this when I MFC'd and my kernel wouldn't link because of unresolved symbols. I thought I had put the issue aside when I added RANDOM_DUMMY to my kernel config. However, I just hit this: while (!random_alg_context.ra_seeded()) { if (nonblock) {

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-16 Thread Pedro Giffuni
On 07/16/15 17:22, Ian Lepore wrote: On Thu, 2015-07-16 at 22:07 +, Pedro F. Giffuni wrote: Author: pfg Date: Thu Jul 16 22:07:13 2015 New Revision: 285644 URL: https://svnweb.freebsd.org/changeset/base/285644 Log: sqlite: clean a couple of invocations of memcpy(3) Found almost

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-16 Thread K. Macy
On Thu, Jul 16, 2015 at 3:28 PM, K. Macy wrote: > I discovered this when I MFC'd and my kernel wouldn't link because of > unresolved symbols. I thought I had put the issue aside when I added > RANDOM_DUMMY to my kernel config. > > However, I just hit this: > > while (!random_alg_context.ra

svn commit: r285645 - head/bin/dd

2015-07-16 Thread David E. O'Brien
Author: obrien Date: Thu Jul 16 23:38:12 2015 New Revision: 285645 URL: https://svnweb.freebsd.org/changeset/base/285645 Log: Mention the dd-like recoverdisk(1) to help folks find this great BSD command. Modified: head/bin/dd/dd.1 Modified: head/bin/dd/dd.1 ==

Re: svn commit: r285627 - in head/sys: arm/arm arm/at91 arm/cavium/cns11xx arm/samsung/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa arm64/arm64 ddb i386/i386 powerpc/bo

2015-07-16 Thread Warner Losh
> On Jul 16, 2015, at 12:02 PM, Benjamin Kaduk wrote: > > On Thu, Jul 16, 2015 at 6:46 AM, Zbigniew Bodek wrote: > Author: zbb > Date: Thu Jul 16 10:46:52 2015 > New Revision: 285627 > URL: https://svnweb.freebsd.org/changeset/base/285627 > > Log: > Fix KSTACK_PAGES issue when the default va

svn commit: r285647 - head/sbin/geom/class/multipath

2015-07-16 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Fri Jul 17 06:34:46 2015 New Revision: 285647 URL: https://svnweb.freebsd.org/changeset/base/285647 Log: Describe how to load gmultipath at boot time. Differential Revision:D3112 Reviewed by: allanjude, bapt Sponsored by: g

svn commit: r285648 - in head/sys/dev/cxgbe: . common

2015-07-16 Thread Navdeep Parhar
Author: np Date: Fri Jul 17 06:46:18 2015 New Revision: 285648 URL: https://svnweb.freebsd.org/changeset/base/285648 Log: cxgbe(4): Ask the firmware for the start of the RSS slice for a port and save it for later. This enables direct manipulation of the indirection tables (although the stoc

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-16 Thread Adrian Chadd
hi, So I'll have to update the AP images that I build, as now I have to add that sysctl to things. It also means everyone has to update their /etc after updating or they'll end up with this particular mode not being disabled. i think we need to get this better documented so people aren't bitten

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-16 Thread Mark R V Murray
> On 17 Jul 2015, at 07:47, Adrian Chadd wrote: > > hi, > > So I'll have to update the AP images that I build, as now I have to > add that sysctl to things. Well, measure the effect. It may not be as bad as it may seem! :-) > It also means everyone has to update their /etc after updating or >