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

2014-04-29 Thread Eitan Adler
Author: eadler Date: Wed Apr 30 06:54:35 2014 New Revision: 265137 URL: http://svnweb.freebsd.org/changeset/base/265137 Log: Add missing comma Relnotes: yes (/dev/full) Modified: head/share/man/man4/full.4 Modified: head/share/man/man4/full.4

svn commit: r265136 - head/sys/dev/null

2014-04-29 Thread Eitan Adler
Author: eadler Date: Wed Apr 30 06:40:30 2014 New Revision: 265136 URL: http://svnweb.freebsd.org/changeset/base/265136 Log: null.c: uio is unused Mark another parameter as unused Reported by: rpaulo Modified: head/sys/dev/null/null.c Modified: head/sys/dev/null/null.c ===

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

2014-04-29 Thread Eitan Adler
Author: eadler Date: Wed Apr 30 06:34:53 2014 New Revision: 265135 URL: http://svnweb.freebsd.org/changeset/base/265135 Log: man pages: add missing comma Reported by: brueffer Modified: head/share/man/man4/null.4 head/share/man/man4/zero.4 Modified: head/share/man/man4/null.4 ===

svn commit: r265134 - head/sys/dev/null

2014-04-29 Thread Eitan Adler
Author: eadler Date: Wed Apr 30 06:30:37 2014 New Revision: 265134 URL: http://svnweb.freebsd.org/changeset/base/265134 Log: null.c: fix ordering Use a consistent ordering of full -> null -> zero (alphabetical) in null.c Reported by: mjg Modified: head/sys/dev/null/null.c Modified

svn commit: r265132 - in head: share/man/man4 sys/dev/null

2014-04-29 Thread Eitan Adler
Author: eadler Date: Wed Apr 30 06:20:48 2014 New Revision: 265132 URL: http://svnweb.freebsd.org/changeset/base/265132 Log: Add a /dev/full device. /dev/full is similar to /dev/zero except it always returns ENOSPC when you attempt to write to it. Reviewed by: jhibbits Discussed w

Re: svn commit: r262957 - in head/etc: etc.arm etc.ia64 etc.mips etc.powerpc etc.sparc64

2014-04-29 Thread Nathan Whitehorn
On 03/09/14 14:06, Marcel Moolenaar wrote: Author: marcel Date: Sun Mar 9 21:06:22 2014 New Revision: 262957 URL: http://svnweb.freebsd.org/changeset/base/262957 Log: Change the terminal type/class for enabled serial lines to 3wire. This allows us to change the uart(4) driver to not hardc

Re: svn commit: r264907 - in head/release: amd64 i386

2014-04-29 Thread Nathan Whitehorn
On 04/25/14 06:07, Glen Barber wrote: On Fri, Apr 25, 2014 at 02:00:13PM +0400, Dmitry Morozovsky wrote: seconded, till now the most bootable case for machines under my hands were happy with no-partition at all (fake MBR with 50k@s4, dd from UFS) I'm working on restoring the MBR, but need some

svn commit: r265121 - head/sys/netinet

2014-04-29 Thread Xin LI
Author: delphij Date: Wed Apr 30 04:02:57 2014 New Revision: 265121 URL: http://svnweb.freebsd.org/changeset/base/265121 Log: Fix TCP reassembly vulnerability. Patch done by:glebius Security: FreeBSD-SA-14:08.tcp Security: CVE-2014-3000 Modified: head/sys/netinet/tcp_

svn commit: r265119 - head/etc/defaults

2014-04-29 Thread Xin LI
Author: delphij Date: Wed Apr 30 04:02:32 2014 New Revision: 265119 URL: http://svnweb.freebsd.org/changeset/base/265119 Log: Fix devfs rules not applied by default for jails. Security: FreeBSD-SA-14:07.devfs Security: CVE-2014-3001 Modified: head/etc/defaults/rc.conf Modified

svn commit: r265120 - head/crypto/openssl/ssl

2014-04-29 Thread Xin LI
Author: delphij Date: Wed Apr 30 04:02:36 2014 New Revision: 265120 URL: http://svnweb.freebsd.org/changeset/base/265120 Log: Fix OpenSSL use-after-free vulnerability. Obtained from:OpenBSD Security: FreeBSD-SA-14:09.openssl Security: CVE-2010-5298 Modified: head/cryp

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

2014-04-29 Thread Adrian Chadd
Author: adrian Date: Wed Apr 30 02:44:07 2014 New Revision: 265117 URL: http://svnweb.freebsd.org/changeset/base/265117 Log: * Modify the beacon interval in debugging to be ni_intval, not 102400 * Be paranoid about avoiding divide-by-zero. Tested: * AR9380, STA mode Modified: head

svn commit: r265116 - head/sys/contrib/dev/ath/ath_hal/ar9300

2014-04-29 Thread Adrian Chadd
Author: adrian Date: Wed Apr 30 02:29:31 2014 New Revision: 265116 URL: http://svnweb.freebsd.org/changeset/base/265116 Log: Add ar9300_get_next_tbtt(). Tested: * AR9380, STA mode Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c Modified: head/sys/contrib/dev/ath/

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

2014-04-29 Thread Adrian Chadd
Author: adrian Date: Wed Apr 30 02:19:41 2014 New Revision: 265115 URL: http://svnweb.freebsd.org/changeset/base/265115 Log: Bring over some initial power save management support, reset path fixes and beacon programming / debugging into the ath(4) driver. The basic power save tracking:

svn commit: r265114 - in head: sys/amd64/vmm/intel usr.sbin/bhyve

2014-04-29 Thread Neel Natu
Author: neel Date: Wed Apr 30 02:08:27 2014 New Revision: 265114 URL: http://svnweb.freebsd.org/changeset/base/265114 Log: Ignore writes to microcode update MSR. This MSR is accessed by RHEL7 guest. Add KTR tracepoints to annotate wrmsr and rdmsr VM exits. Modified: head/sys/amd64/vmm/intel

svn commit: r265113 - head/sys/contrib/dev/ath/ath_hal/ar9300

2014-04-29 Thread Adrian Chadd
Author: adrian Date: Wed Apr 30 02:03:47 2014 New Revision: 265113 URL: http://svnweb.freebsd.org/changeset/base/265113 Log: Only track the power state variable if the power state is changed, not if the self-generated frame state is changed. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300

svn commit: r265112 - in head/sys/dev/ath/ath_hal: ar5210 ar5211 ar5212 ar5416

2014-04-29 Thread Adrian Chadd
Author: adrian Date: Wed Apr 30 02:03:13 2014 New Revision: 265112 URL: http://svnweb.freebsd.org/changeset/base/265112 Log: * Only update ah_powerMode if we're setting the chip sleep state. Some code will appear soon that is actually setting the chip powerstate separate from the self-ge

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

2014-04-29 Thread Ian Lepore
Author: ian Date: Tue Apr 29 23:29:28 2014 New Revision: 265111 URL: http://svnweb.freebsd.org/changeset/base/265111 Log: Make this declaration into a proper function prototype. Modified: head/sys/arm/include/cpufunc.h Modified: head/sys/arm/include/cpufunc.h

Re: svn commit: r264864 - head/sys/dev/usb/wlan

2014-04-29 Thread Rui Paulo
On Apr 23, 2014, at 20:16, Kevin Lo wrote: > Author: kevlo > Date: Thu Apr 24 03:16:47 2014 > New Revision: 264864 > URL: http://svnweb.freebsd.org/changeset/base/264864 > > Log: > Fix panic by adding mtx_assert() to urtwn_init_locked() and > urtwn_stop_locked(). This was not a panic, but a

svn commit: r265110 - head/sys/mips/mips

2014-04-29 Thread Marius Strobl
Author: marius Date: Tue Apr 29 20:57:25 2014 New Revision: 265110 URL: http://svnweb.freebsd.org/changeset/base/265110 Log: Update comment. Modified: head/sys/mips/mips/vm_machdep.c Modified: head/sys/mips/mips/vm_machdep.c ===

svn commit: r265108 - head/sys/kern

2014-04-29 Thread Marius Strobl
Author: marius Date: Tue Apr 29 20:51:57 2014 New Revision: 265108 URL: http://svnweb.freebsd.org/changeset/base/265108 Log: Given that as of r258002 the last external user is gone, make sched_lock static. Modified: head/sys/kern/sched_4bsd.c Modified: head/sys/kern/sched_4bsd.c ==

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

2014-04-29 Thread Ryan Stone
Author: rstone Date: Tue Apr 29 20:49:47 2014 New Revision: 265107 URL: http://svnweb.freebsd.org/changeset/base/265107 Log: Be consistent with the whitespace in the rest of these files. X-MFC-With: r264007 Modified: head/sys/dev/pci/pci_if.m head/sys/dev/pci/pcib_if.m Modified: head/

svn commit: r265104 - head/sys/net

2014-04-29 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 29 19:48:11 2014 New Revision: 265104 URL: http://svnweb.freebsd.org/changeset/base/265104 Log: Partially revert r265019 - allocating 512 bytes on stack can be too much for architectures like ARM. Always use rounded malloc instead. Discussed with: jm

svn commit: r265103 - head/sys/net

2014-04-29 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 29 19:14:42 2014 New Revision: 265103 URL: http://svnweb.freebsd.org/changeset/base/265103 Log: Move rt_setmetrics() from rtsock.c to route.c. All rtsock-initiated rte creation/modification are now performed in route.c holding radix tree write lock. This redu

svn commit: r265102 - head/sys/dev/drm2/i915

2014-04-29 Thread Konstantin Belousov
Author: kib Date: Tue Apr 29 19:02:34 2014 New Revision: 265102 URL: http://svnweb.freebsd.org/changeset/base/265102 Log: Fix two cases of recursive acquisitions of the vm object lock, only possible in rare failure situations. Sponsored by: The FreeBSD Foundation MFC after:1 week M

svn commit: r265100 - head/sys/vm

2014-04-29 Thread Konstantin Belousov
Author: kib Date: Tue Apr 29 18:42:37 2014 New Revision: 265100 URL: http://svnweb.freebsd.org/changeset/base/265100 Log: For the VM_PHYSSEG_DENSE case, checking the requested range to fall into the area backed by vm_page_array wrongly compared end with vm_page_array_size. It should be adju

svn commit: r265101 - in head: sys/amd64/include sys/amd64/vmm usr.sbin/bhyve

2014-04-29 Thread Neel Natu
Author: neel Date: Tue Apr 29 18:42:56 2014 New Revision: 265101 URL: http://svnweb.freebsd.org/changeset/base/265101 Log: Some Linux guests will implement a 'halt' by disabling the APIC and executing the 'HLT' instruction. This condition was detected by 'vm_handle_hlt()' and converted into

svn commit: r265099 - in head/sys/arm: conf xilinx

2014-04-29 Thread Ian Lepore
Author: ian Date: Tue Apr 29 17:48:57 2014 New Revision: 265099 URL: http://svnweb.freebsd.org/changeset/base/265099 Log: Add SMP support for Zedboard. Submitted by: Thomas Skibo Added: head/sys/arm/xilinx/zy7_mp.c (contents, props changed) Modified: head/sys/arm/conf/ZEDBOARD hea

svn commit: r265098 - head/sys/kern

2014-04-29 Thread Peter Grehan
Author: grehan Date: Tue Apr 29 17:22:29 2014 New Revision: 265098 URL: http://svnweb.freebsd.org/changeset/base/265098 Log: Bump WITNESS_PENDLIST by MAXCPU to account for the pmap pvlist locks which are scaled by MAXCPU. This allows an amd64 system to boot with MAXCPU set to 256, which

svn commit: r265097 - head

2014-04-29 Thread Brooks Davis
Author: brooks Date: Tue Apr 29 16:57:25 2014 New Revision: 265097 URL: http://svnweb.freebsd.org/changeset/base/265097 Log: Merge from CheriBSD: commit 1d1b908107255ffdff4d17f015d8f057d73cc6cb Author: Brooks Davis Date: Fri Mar 28 16:24:45 2014 + Add a long needed seatb

Re: svn commit: r259638 - head/usr.bin/netstat

2014-04-29 Thread Alexander V. Chernikov
On 29.04.2014 12:35, Olivier Cochard-Labbé wrote: On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov mailto:melif...@freebsd.org>> wrote: Author: melifaro Date: Fri Dec 20 00:17:26 2013 New Revision: 259638 URL: http://svnweb.freebsd.org/changeset/base/259638 Log:

svn commit: r265096 - head/usr.bin/netstat

2014-04-29 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 29 16:51:28 2014 New Revision: 265096 URL: http://svnweb.freebsd.org/changeset/base/265096 Log: Fix "netstat -gW" behavior broken in r259638. netstat has two options for printing multicast tables: sysctl (the default one for live systems) and kvm-based one (for

svn commit: r265095 - head/lib/libc/locale

2014-04-29 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 29 15:25:57 2014 New Revision: 265095 URL: http://svnweb.freebsd.org/changeset/base/265095 Log: citrus: Avoid invalid code points. From the OpenBSD log: The UTF-8 decoder should not accept byte sequences which decode to unicode code positions U+D800 to U+DFFF (

svn commit: r265094 - head/tests/sys/netinet

2014-04-29 Thread Alan Somers
Author: asomers Date: Tue Apr 29 15:12:23 2014 New Revision: 265094 URL: http://svnweb.freebsd.org/changeset/base/265094 Log: Add regression test for PR kern/189088. PR: kern/189088 MFC after:3 weeks Sponsored by: Spectra Logic Modified: head/tests/sys/netinet/fibs_test

svn commit: r265093 - head/share/mk

2014-04-29 Thread Warner Losh
Author: imp Date: Tue Apr 29 14:52:39 2014 New Revision: 265093 URL: http://svnweb.freebsd.org/changeset/base/265093 Log: NLS is used by the build system. Modified: head/share/mk/bsd.opts.mk Modified: head/share/mk/bsd.opts.mk =

svn commit: r265092 - in head: sys/netinet tests/sys/netinet

2014-04-29 Thread Alan Somers
Author: asomers Date: Tue Apr 29 14:46:45 2014 New Revision: 265092 URL: http://svnweb.freebsd.org/changeset/base/265092 Log: Fix a panic when removing an IP address from an interface, if the same address exists on another interface. The panic was introduced by change 264887, which changed

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

2014-04-29 Thread Alexander V. Chernikov
On 28.04.2014 12:59, Gleb Smirnoff wrote: On Sat, Apr 26, 2014 at 09:03:41PM +, Alexander V. Chernikov wrote: A> @@ -1425,6 +1431,95 @@ bad: A> #undef ifpaddr A> #undef flags A> A> +#define senderr(e) { error = e; goto bad; } ... A> + if (error != 0) A> + senderr(

svn commit: r265091 - head/sys/net

2014-04-29 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 29 12:52:36 2014 New Revision: 265091 URL: http://svnweb.freebsd.org/changeset/base/265091 Log: Do not use senderr() in rtrequest1_fib_change(). Suggested by: glebius MFC after:4 weeks Modified: head/sys/net/route.c Modified: head/sys/net/route.c ===

svn commit: r265090 - head/contrib/libstdc++/include/bits

2014-04-29 Thread Marius Strobl
Author: marius Date: Tue Apr 29 11:31:22 2014 New Revision: 265090 URL: http://svnweb.freebsd.org/changeset/base/265090 Log: Merge r133175 from upstream: 2008-03-13 Dennis Czeremin PR libstdc++/35566 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,

Re: svn commit: r259638 - head/usr.bin/netstat

2014-04-29 Thread Olivier Cochard-Labbé
On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov < melif...@freebsd.org> wrote: > Author: melifaro > Date: Fri Dec 20 00:17:26 2013 > New Revision: 259638 > URL: http://svnweb.freebsd.org/changeset/base/259638 > > Log: > Use more fine-grained kvm(3) symbol lookup: routing code retrieves o

svn commit: r265089 - head/sys/mips/beri

2014-04-29 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 29 07:48:07 2014 New Revision: 265089 URL: http://svnweb.freebsd.org/changeset/base/265089 Log: After r264897 restore the ability to add bootoptions from FDT for platforms which do not use loaders or kernels that want to hardcode options or for FDT passed in by loade

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

2014-04-29 Thread Christian Brueffer
Author: brueffer Date: Tue Apr 29 07:45:21 2014 New Revision: 265088 URL: http://svnweb.freebsd.org/changeset/base/265088 Log: Add standard SYNOPSIS wording, fix typos, contractions and new sentence -> new line. Modified: head/share/man/man4/proto.4 Modified: head/share/man/man4/proto.4 ===

svn commit: r265086 - head/usr.sbin/pmcstat

2014-04-29 Thread Scott Long
Author: scottl Date: Tue Apr 29 07:19:22 2014 New Revision: 265086 URL: http://svnweb.freebsd.org/changeset/base/265086 Log: Fix formatting of the -a option in usage() to be consistent. Obtained from:Netflix, Inc. MFC after:3 days Modified: head/usr.sbin/pmcstat/pmcstat.c

svn commit: r265085 - head/usr.sbin/pmcstat

2014-04-29 Thread Scott Long
Author: scottl Date: Tue Apr 29 07:17:33 2014 New Revision: 265085 URL: http://svnweb.freebsd.org/changeset/base/265085 Log: Document the -a option that was added in r262424. Obtained from:Netflix, Inc. MFC after:3 days Modified: head/usr.sbin/pmcstat/pmcstat.8 Modified: h