svn commit: r285350 - head/sys/kern

2015-07-10 Thread Ed Schouten
Author: ed Date: Fri Jul 10 06:47:14 2015 New Revision: 285350 URL: https://svnweb.freebsd.org/changeset/base/285350 Log: Let listen() return EDESTADDRREQ when not bound. We currently return EINVAL when calling listen() on a UNIX socket that has not been bound to a pathname. If my

svn commit: r285352 - in head/lib/libc: aarch64 aarch64/gen tests/sys

2015-07-10 Thread Andrew Turner
Author: andrew Date: Fri Jul 10 08:36:22 2015 New Revision: 285352 URL: https://svnweb.freebsd.org/changeset/base/285352 Log: Add support for makecontext. This supports up to 8 arguments as this simplifies the code, these can be passed in registers. Obtained from:ABT Systems Ltd

svn commit: r285353 - head/sys/kern

2015-07-10 Thread Konstantin Belousov
Author: kib Date: Fri Jul 10 08:54:12 2015 New Revision: 285353 URL: https://svnweb.freebsd.org/changeset/base/285353 Log: Change the mb() use in the sched_ult tdq_notify() and sched_idletd() to more C11-ish atomic_thread_fence_seq_cst(). Note that on PowerPC, which currently uses lwsync

svn commit: r285354 - head/sys/i386/include

2015-07-10 Thread Konstantin Belousov
Author: kib Date: Fri Jul 10 09:15:06 2015 New Revision: 285354 URL: https://svnweb.freebsd.org/changeset/base/285354 Log: Duplicate the copyright from the i386/i386/machdep.c into i386/include/frame.h after a code was moved from machdep.c to frame.h in r284925. Use include guards

svn commit: r285355 - head/sys/i386/isa

2015-07-10 Thread Konstantin Belousov
Author: kib Date: Fri Jul 10 09:20:13 2015 New Revision: 285355 URL: https://svnweb.freebsd.org/changeset/base/285355 Log: Convert between abridged (from FXSAVE) and unabridged (from FSAVE) versions of the x87 tags. The conversion is naive, used abridged tag is converted to valid

svn commit: r285351 - head/sys/dev/virtio/network

2015-07-10 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 10 07:13:14 2015 New Revision: 285351 URL: https://svnweb.freebsd.org/changeset/base/285351 Log: add netmap dependency when compiled as a module Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c

Re: svn commit: r285356 - in head/sys: compat/cloudabi kern sys

2015-07-10 Thread Konstantin Belousov
On Fri, Jul 10, 2015 at 11:01:31AM +, Mateusz Guzik wrote: Author: mjg Date: Fri Jul 10 11:01:30 2015 New Revision: 285356 URL: https://svnweb.freebsd.org/changeset/base/285356 Log: fd: split kern_dup flags argument into actual flags and a mode Tidy up the code inside to

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

2015-07-10 Thread Mateusz Guzik
Author: mjg Date: Fri Jul 10 11:01:30 2015 New Revision: 285356 URL: https://svnweb.freebsd.org/changeset/base/285356 Log: fd: split kern_dup flags argument into actual flags and a mode Tidy up the code inside to switch on the mode. Modified: head/sys/compat/cloudabi/cloudabi_fd.c

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

2015-07-10 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 11 04:20:56 2015 New Revision: 285381 URL: https://svnweb.freebsd.org/changeset/base/285381 Log: some additional improvements to the documentation... Sponsored by: Netflix, Inc. Modified: head/share/man/man9/crypto.9 Modified: head/share/man/man9/crypto.9

Re: svn commit: r285336 - in head/sys: netipsec opencrypto

2015-07-10 Thread Matthew D. Fuller
On Thu, Jul 09, 2015 at 06:16:36PM + I heard the voice of George V. Neville-Neil, and lo! it spake thus: New Revision: 285336 URL: https://svnweb.freebsd.org/changeset/base/285336 Log: Add support for AES modes to IPSec. These modes work both in software only mode and with hardware

svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-10 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 11 03:12:34 2015 New Revision: 285366 URL: https://svnweb.freebsd.org/changeset/base/285366 Log: Complete the move that was started w/ r263218.. For some reason I didn't delete the files, so that means we need to bring the changes in r282726 to the correct files..

Re: svn commit: r285356 - in head/sys: compat/cloudabi kern sys

2015-07-10 Thread Mateusz Guzik
On Fri, Jul 10, 2015 at 02:10:50PM +0300, Konstantin Belousov wrote: On Fri, Jul 10, 2015 at 11:01:31AM +, Mateusz Guzik wrote: Author: mjg Date: Fri Jul 10 11:01:30 2015 New Revision: 285356 URL: https://svnweb.freebsd.org/changeset/base/285356 Log: fd: split kern_dup flags

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

2015-07-10 Thread Ed Schouten
Author: ed Date: Fri Jul 10 14:39:46 2015 New Revision: 285358 URL: https://svnweb.freebsd.org/changeset/base/285358 Log: Add missing const keyword to kern_sigaction()'s 'act' parameter. This structure is not modified by the function. Also add const to sigact_flag_test(), as it is called

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

2015-07-10 Thread Mateusz Guzik
Author: mjg Date: Fri Jul 10 13:54:03 2015 New Revision: 285357 URL: https://svnweb.freebsd.org/changeset/base/285357 Log: fd: further cleanup of kern_dup - make mode enum start from 0 so that the assertion covers all cases [1] - rename prefix _CLOEXEC flag with _FLAG - postpone fhold

svn commit: r285360 - head/sys/netpfil/ipfw/test

2015-07-10 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 10 18:10:40 2015 New Revision: 285360 URL: https://svnweb.freebsd.org/changeset/base/285360 Log: add code to compute fairness indexes; cleanups to remove compile warnings. Modified: head/sys/netpfil/ipfw/test/dn_test.h head/sys/netpfil/ipfw/test/main.c

Re: svn commit: r285349 - in head/sys: dev/cxgbe dev/e1000 dev/ixgbe dev/netmap dev/re net

2015-07-10 Thread Patrick Kelsey
Thanks for the update, Luigi! For the record, the exclusive open was Juli Mallett's idea for the solutions you mention - I was just the first +1. -Patrick On Fri, Jul 10, 2015 at 1:51 AM, Luigi Rizzo lu...@freebsd.org wrote: Author: luigi Date: Fri Jul 10 05:51:36 2015 New Revision: 285349

Re: svn commit: r285282 - head/sys/vm

2015-07-10 Thread Alan Cox
On 07/10/2015 13:49, hiren panchasara wrote: On 07/09/15 at 06:13P, Alan Cox wrote: On Jul 8, 2015, at 1:29 PM, hiren panchasara hi...@freebsd.org wrote: On 07/08/15 at 05:46P, Alan Cox wrote: Author: alc Date: Wed Jul 8 17:45:59 2015 New Revision: 285282 URL:

Re: svn commit: r285282 - head/sys/vm

2015-07-10 Thread hiren panchasara
On 07/09/15 at 06:13P, Alan Cox wrote: On Jul 8, 2015, at 1:29 PM, hiren panchasara hi...@freebsd.org wrote: On 07/08/15 at 05:46P, Alan Cox wrote: Author: alc Date: Wed Jul 8 17:45:59 2015 New Revision: 285282 URL: https://svnweb.freebsd.org/changeset/base/285282 Log: The

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

2015-07-10 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 10 16:05:24 2015 New Revision: 285359 URL: https://svnweb.freebsd.org/changeset/base/285359 Log: staticize functions only used in netmap.c (detected by jenkins run with gcc 4.9) Update documentation on the use of netmap_priv_d, rename the refcount and use

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

2015-07-10 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jul 10 19:27:19 2015 New Revision: 285363 URL: https://svnweb.freebsd.org/changeset/base/285363 Log: Spoil even can happen for some time now even on providers opened exclusively (on the media change event). Update GELI to handle that situation. PR: 201185

svn commit: r285362 - head/sys/netpfil/ipfw

2015-07-10 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 10 19:24:36 2015 New Revision: 285362 URL: https://svnweb.freebsd.org/changeset/base/285362 Log: assorted algorithmic fixes from Paolo Valente (one of my qfq coauthors): - use 1ULL to avoid shift truncations - recompute the sum of weight dynamically to provide

svn commit: r285361 - head/sys/netpfil/ipfw

2015-07-10 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 10 19:18:49 2015 New Revision: 285361 URL: https://svnweb.freebsd.org/changeset/base/285361 Log: one more warning suppression when compiling the test code in userspace. Modified: head/sys/netpfil/ipfw/dn_heap.c Modified: head/sys/netpfil/ipfw/dn_heap.c