Re: svn commit: r287366 - head/sys/kern

2015-09-02 Thread Baptiste Daroussin
On Tue, Sep 01, 2015 at 02:05:30PM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Sep 1 14:05:29 2015 > New Revision: 287366 > URL: https://svnweb.freebsd.org/changeset/base/287366 > > Log: > Exit notification for EVFILT_PROC removes knote from the knlist. In > particular, this

svn commit: r287404 - head/lib/libc/net

2015-09-02 Thread Hiroki Sato
Author: hrs Date: Wed Sep 2 16:50:49 2015 New Revision: 287404 URL: https://svnweb.freebsd.org/changeset/base/287404 Log: - snprintf() returns at most size-1 of the chars printed into the buffer. (n == hostlen) also means the buffer length was too short. - Use sdl->sdl_data only

svn commit: r287400 - head

2015-09-02 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 2 15:42:14 2015 New Revision: 287400 URL: https://svnweb.freebsd.org/changeset/base/287400 Log: The ${BUILDKERNELS:[2..-1]} appears to produce a non zero result for a one word variable, which is quite unexpected from documentation. So, to avoid double

Re: svn commit: r287394 - head/etc

2015-09-02 Thread Warner Losh
On Wed, Sep 2, 2015 at 6:46 AM, Gleb Smirnoff wrote: > + set wifi-driver-regex > + > "(ath|bwi|bwn|ipw|iwi|iwn|malo|mwl|ral|rsu|rum|run|uath|upgt|\ > + ural|urtw|urtwn|wi|wpi|wtap|zyd)[0-9]+"; > This moves us in the wrong direction. We've been looking

svn commit: r287403 - head/sys/dev/ioat

2015-09-02 Thread Conrad E. Meyer
Author: cem Date: Wed Sep 2 16:48:03 2015 New Revision: 287403 URL: https://svnweb.freebsd.org/changeset/base/287403 Log: ioat: re-initialize interrupts after resetting hw on BDXDE Resetting some generations of the I/OAT hardware (just BDXDE for now) resets the corresponding MSI-X

svn commit: r287399 - head/sys/dev/iwn

2015-09-02 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 2 15:23:51 2015 New Revision: 287399 URL: https://svnweb.freebsd.org/changeset/base/287399 Log: Remove the software queue, which is a remnant of ifnet ifqueue. Reviewed by: adrian Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified:

svn commit: r287402 - head/sys/net

2015-09-02 Thread Hiroki Sato
Author: hrs Date: Wed Sep 2 16:30:45 2015 New Revision: 287402 URL: https://svnweb.freebsd.org/changeset/base/287402 Log: Fix a panic which was reproducible by an infinite loop of "ifconfig epair0 create && ifconfig epair0a destroy". This was caused by an uninitialized function pointer

svn commit: r287405 - head/sys/geom

2015-09-02 Thread Warner Losh
Author: imp Date: Wed Sep 2 17:29:30 2015 New Revision: 287405 URL: https://svnweb.freebsd.org/changeset/base/287405 Log: After the introduction of direct dispatch, the pacing code in g_down() broke in two ways. One, the pacing variable was accessed in multiple threads in an unsafe way.

Re: svn commit: r287403 - head/sys/dev/ioat

2015-09-02 Thread John Baldwin
On Wednesday, September 02, 2015 04:48:04 PM Conrad E. Meyer wrote: > Author: cem > Date: Wed Sep 2 16:48:03 2015 > New Revision: 287403 > URL: https://svnweb.freebsd.org/changeset/base/287403 > > Log: > ioat: re-initialize interrupts after resetting hw on BDXDE > > Resetting some

svn commit: r287410 - in releng/9.3: . contrib/bind9/lib/dns contrib/bind9/lib/dns/include/dst sys/conf

2015-09-02 Thread Xin LI
Wed Sep 2 20:06:46 2015(r287409) +++ releng/9.3/UPDATING Wed Sep 2 20:07:03 2015(r287410) @@ -11,6 +11,10 @@ handbook: Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before running portupgrade. +20150902: p25

svn commit: r287409 - in stable/9/contrib/bind9/lib/dns: . include/dst rdata/generic

2015-09-02 Thread Xin LI
Author: delphij Date: Wed Sep 2 20:06:46 2015 New Revision: 287409 URL: https://svnweb.freebsd.org/changeset/base/287409 Log: Fix remote denial of service vulnerability when parsing malformed key. Fix remote denial of service vulnerability caused by an incorrect boundary check in

svn commit: r287417 - head/usr.sbin/makefs

2015-09-02 Thread Xin LI
Author: delphij Date: Thu Sep 3 01:15:23 2015 New Revision: 287417 URL: https://svnweb.freebsd.org/changeset/base/287417 Log: Don't leak 'var'. Reported by: clang static analyzer Modified: head/usr.sbin/makefs/mtree.c Modified: head/usr.sbin/makefs/mtree.c

svn commit: r287418 - in head/sys/powerpc: include powerpc

2015-09-02 Thread Justin Hibbits
Author: jhibbits Date: Thu Sep 3 01:38:15 2015 New Revision: 287418 URL: https://svnweb.freebsd.org/changeset/base/287418 Log: pmap_mapdev_attr() also takes a vm_paddr_t. This was missed in r235936. With recent work for 36-bit paddr, this is now needed. Modified:

svn commit: r287419 - head/sys/boot/fdt/dts/arm

2015-09-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Sep 3 02:28:18 2015 New Revision: 287419 URL: https://svnweb.freebsd.org/changeset/base/287419 Log: Enable both i2c1 and i2c2. These devices are disabled in TI's DTS so they were disabled during DTS transition. Though there are no standard devices/drivers on them

svn commit: r287421 - head/usr.sbin/sysrc

2015-09-02 Thread Devin Teske
Author: dteske Date: Thu Sep 3 03:58:59 2015 New Revision: 287421 URL: https://svnweb.freebsd.org/changeset/base/287421 Log: Fix mandoc(1) "WARNING: end of line whitespace" MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc.8 Modified:

svn commit: r287420 - head/usr.sbin/sysrc

2015-09-02 Thread Devin Teske
Author: dteske Date: Thu Sep 3 03:29:44 2015 New Revision: 287420 URL: https://svnweb.freebsd.org/changeset/base/287420 Log: Remove non-functional examples. MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc.8 Modified: head/usr.sbin/sysrc/sysrc.8

svn commit: r287422 - head/sys/boot/efi/loader/arch/amd64

2015-09-02 Thread Marcel Moolenaar
Author: marcel Date: Thu Sep 3 04:35:17 2015 New Revision: 287422 URL: https://svnweb.freebsd.org/changeset/base/287422 Log: For UGA, the frame buffer address obtained by scanning the PCI BARs does not necessarily correspond to the upper-left most pixel. Scan the frame buffer for which

svn commit: r287408 - in head/bin/sh: . tests/parser

2015-09-02 Thread Jilles Tjoelker
Author: jilles Date: Wed Sep 2 19:49:55 2015 New Revision: 287408 URL: https://svnweb.freebsd.org/changeset/base/287408 Log: sh: Allow empty << EOF markers. Added: head/bin/sh/tests/parser/heredoc13.0 (contents, props changed) Modified: head/bin/sh/parser.c

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

2015-09-02 Thread Hiroki Sato
Author: hrs Date: Wed Sep 2 18:51:36 2015 New Revision: 287407 URL: https://svnweb.freebsd.org/changeset/base/287407 Log: Simplify kvm symbol resolution and error handling. The symbol table nl_symbols will eventually be organized into several modules depending on MK_* variables. Added:

svn commit: r287411 - svnadmin/conf

2015-09-02 Thread Glen Barber
Author: gjb Date: Wed Sep 2 21:03:20 2015 New Revision: 287411 URL: https://svnweb.freebsd.org/changeset/base/287411 Log: Turn releng/10.2 over to secteam. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: svnadmin/conf/approvers Modified:

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

2015-09-02 Thread Hiroki Sato
Author: hrs Date: Wed Sep 2 18:42:35 2015 New Revision: 287406 URL: https://svnweb.freebsd.org/changeset/base/287406 Log: Divide statistics in the number of packets with 1000 instead of 1024 in human-readable form. PR: 183598 Modified: head/usr.bin/netstat/if.c Modified:

Re: svn commit: r287403 - head/sys/dev/ioat

2015-09-02 Thread Conrad Meyer
On Wed, Sep 2, 2015 at 10:26 AM, John Baldwin wrote: > Alternatively you could use pci_restore_state() (before reset) and > pci_save_state() (after reset) to restore standard PCI config registers > (including MSI/MSI-X) after a reset. > > This might be more scalable if you want

Re: svn commit: r287403 - head/sys/dev/ioat

2015-09-02 Thread Conrad Meyer
https://reviews.freebsd.org/D3552 On Wed, Sep 2, 2015 at 12:15 PM, Conrad Meyer wrote: > On Wed, Sep 2, 2015 at 10:26 AM, John Baldwin wrote: >> Alternatively you could use pci_restore_state() (before reset) and >> pci_save_state() (after reset) to restore

svn commit: r287412 - stable/9/release/doc/share/xml

2015-09-02 Thread Glen Barber
Author: gjb Date: Wed Sep 2 21:13:06 2015 New Revision: 287412 URL: https://svnweb.freebsd.org/changeset/base/287412 Log: Document SA-15:23. Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/share/xml/security.xml Modified: stable/9/release/doc/share/xml/security.xml

svn commit: r287415 - head/sys/vm

2015-09-02 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 2 23:09:01 2015 New Revision: 287415 URL: https://svnweb.freebsd.org/changeset/base/287415 Log: Don't trash memory from UMA_ZONE_NOFREE zones. Objects obtained from such zones are supposed to retain type stability, which was violated by aforementioned trashing.

svn commit: r287416 - head/sys/kern

2015-09-02 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 2 23:14:39 2015 New Revision: 287416 URL: https://svnweb.freebsd.org/changeset/base/287416 Log: fd: remove UMA_ZONE_ZINIT argument from Files zone Originally it was added in order to prevent trashing of objects with INVARIANTS enabled. The same effect is now

Re: svn commit: r284598 - head/share/mk

2015-09-02 Thread Simon J. Gerraty
Bryan Drewery wrote: > My concern is that checked in 'local' files should not be changed by > FreeBSD. I should not have to fight conflicts of _my customizations_ > against _FreeBSD customizations (against bmake upstream)_. There is so > much logic in these local.* files,

svn commit: r287413 - head/usr.sbin/sysrc

2015-09-02 Thread Devin Teske
Author: dteske Date: Wed Sep 2 21:53:48 2015 New Revision: 287413 URL: https://svnweb.freebsd.org/changeset/base/287413 Log: Minor code cleanups (no functional changes). MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/sysrc/sysrc Modified:

svn commit: r287414 - head/sys/dev/ioat

2015-09-02 Thread Conrad E. Meyer
Author: cem Date: Wed Sep 2 22:48:41 2015 New Revision: 287414 URL: https://svnweb.freebsd.org/changeset/base/287414 Log: ioat(4): pci_save/restore_state to persist MSI-X registers over BDXDE reset Also for BWD devices, per jimharris@. Reviewed by: jhb Approved by: markj (mentor)

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 2 Sep 2015 16:20:34 +0300 Gleb Smirnoff wrote: > On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: > A> > > A> > Does that happen to you, or do you just suppose that this is > A> > going to happen looking at the code? > A> > > A> > -- > A> > Totus

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Motin
On 02.09.2015 16:36, Alexander Kabaev wrote: > On Wed, 2 Sep 2015 16:20:34 +0300 > Gleb Smirnoff wrote: > >> On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: >> A> > >> A> > Does that happen to you, or do you just suppose that this is >> A> > going to

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 2 Sep 2015 16:20:34 +0300 Gleb Smirnoff wrote: > On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: > A> > A> > Modified: head/Makefile.inc1 > A> > A> > > == > A> > A> > ---

svn commit: r287395 - head/sys/compat/linux

2015-09-02 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 2 14:04:13 2015 New Revision: 287395 URL: https://svnweb.freebsd.org/changeset/base/287395 Log: Fixes a panic triggered by threaded Linux applications when running with RACCT/RCTL enabled. Reviewed by: ngie@, ed@ Tested by:Larry Rosenman

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 02 Sep 2015 16:57:01 +0300 Alexander Motin wrote: > On 02.09.2015 16:36, Alexander Kabaev wrote: > > On Wed, 2 Sep 2015 16:20:34 +0300 > > Gleb Smirnoff wrote: > > > >> On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: > >> A> > >

svn commit: r287396 - in head: sbin/bsdlabel sbin/dumpfs sbin/fdisk sbin/ffsinfo sbin/mdconfig sbin/newfs sbin/newfs_msdos sbin/newfs_nandfs sbin/reboot share/man/man4 share/man/man7 share/man/man8...

2015-09-02 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 2 14:08:43 2015 New Revision: 287396 URL: https://svnweb.freebsd.org/changeset/base/287396 Log: It's 2015, and some people are still trying to use fdisk and then go asking what debug flags to set for GEOM to make it work. Advice them to use gpart(8) instead.

Re: svn commit: r287358 - head

2015-09-02 Thread Gleb Smirnoff
Alexander, On Tue, Sep 01, 2015 at 10:44:38PM -0400, Alexander Kabaev wrote: A> On Tue, 1 Sep 2015 11:59:12 + (UTC) A> > Log: A> > Not only build with buildworld, but also install with installworld A> > all alternative kernels. A> > A> > Sponsored by:Netflix A> > Sponsored by:

Re: svn commit: r287358 - head

2015-09-02 Thread Alexander Kabaev
On Wed, 2 Sep 2015 15:50:24 +0300 Gleb Smirnoff wrote: > Alexander, > > On Tue, Sep 01, 2015 at 10:44:38PM -0400, Alexander Kabaev wrote: > A> On Tue, 1 Sep 2015 11:59:12 + (UTC) > A> > Log: > A> > Not only build with buildworld, but also install with > A> >

Re: svn commit: r287358 - head

2015-09-02 Thread Gleb Smirnoff
On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote: A> > A> > Modified: head/Makefile.inc1 A> > A> > == A> > A> > --- head/Makefile.inc1Tue Sep 1 11:46:13 2015 A> > A> > (r287357) +++

svn commit: r287394 - head/etc

2015-09-02 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 2 12:46:42 2015 New Revision: 287394 URL: https://svnweb.freebsd.org/changeset/base/287394 Log: Fix dynamic attach/detach of 802.11 devices after r287197: o In pccard_ether add code to start children of a 802.11 device, that are configured in rc.conf. o

Re: svn commit: r287358 - head

2015-09-02 Thread Olivier Cochard-Labbé
On Wed, Sep 2, 2015 at 3:57 PM, Alexander Motin wrote: > > > Sorry if it is documented somewhere, but can this be disabled somehow? > On my development server installkernel for some reason already took more > time then buildkernel -DKERNFAST. Now I suppose it will take twice

svn commit: r287397 - head/sbin/mount_unionfs

2015-09-02 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 2 14:10:09 2015 New Revision: 287397 URL: https://svnweb.freebsd.org/changeset/base/287397 Log: Fix markup. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sbin/mount_unionfs/mount_unionfs.8 Modified:

Re: svn commit: r287394 - head/etc

2015-09-02 Thread Shawn Webb
Hey Gleb, On Wed, 2015-09-02 at 12:46 +, Gleb Smirnoff wrote: > Author: glebius > Date: Wed Sep 2 12:46:42 2015 > New Revision: 287394 > URL: https://svnweb.freebsd.org/changeset/base/287394 > > Log: > Fix dynamic attach/detach of 802.11 devices after r287197: > > o In pccard_ether

Re: svn commit: r287358 - head

2015-09-02 Thread Oliver Pinter
On 9/2/15, Olivier Cochard-Labbé wrote: > On Wed, Sep 2, 2015 at 3:57 PM, Alexander Motin wrote: > >> >> >> Sorry if it is documented somewhere, but can this be disabled somehow? >> On my development server installkernel for some reason already took more >>

svn commit: r287398 - head/etc

2015-09-02 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 2 14:38:16 2015 New Revision: 287398 URL: https://svnweb.freebsd.org/changeset/base/287398 Log: Add iwm(4), that was missing in r287394. Submitted by: Shawn Webb Modified: head/etc/devd.conf Modified: head/etc/devd.conf

Re: svn commit: r287396 - in head: sbin/bsdlabel sbin/dumpfs sbin/fdisk sbin/ffsinfo sbin/mdconfig sbin/newfs sbin/newfs_msdos sbin/newfs_nandfs sbin/reboot share/man/man4 share/man/man7 share/man/man

2015-09-02 Thread Gleb Smirnoff
On Wed, Sep 02, 2015 at 02:08:43PM +, Edward Tomasz Napierala wrote: E> Author: trasz E> Date: Wed Sep 2 14:08:43 2015 E> New Revision: 287396 E> URL: https://svnweb.freebsd.org/changeset/base/287396 E> E> Log: E> It's 2015, and some people are still trying to use fdisk and then E> go