svn commit: r252369 - head/sys/net80211

2013-06-28 Thread Rui Paulo
Author: rpaulo Date: Sat Jun 29 06:36:42 2013 New Revision: 252369 URL: http://svnweb.freebsd.org/changeset/base/252369 Log: Don't panic the kernel if we run wpa_supplicant on a hostap VAP. Reviewed by: adrian Modified: head/sys/net80211/ieee80211_ioctl.c Modified: head/sys/net80211/ie

svn commit: r252368 - head/sys/kern

2013-06-28 Thread Peter Wemm
Author: peter Date: Sat Jun 29 05:05:57 2013 New Revision: 252368 URL: http://svnweb.freebsd.org/changeset/base/252368 Log: Revert accidental commit. Pointy hat to: peter Modified: head/sys/kern/vfs_init.c Modified: head/sys/kern/vfs_init.c ==

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

2013-06-28 Thread Garrett Cooper
On Jun 28, 2013, at 9:35 PM, Peter Wemm wrote: > Author: peter > Date: Sat Jun 29 04:35:04 2013 > New Revision: 252367 > URL: http://svnweb.freebsd.org/changeset/base/252367 > > Log: > Help out gcc. clang understands. > > sys_generic.c:1510: warning: 'precision' may be used uninitialized >

svn commit: r252367 - head/sys/kern

2013-06-28 Thread Peter Wemm
Author: peter Date: Sat Jun 29 04:35:04 2013 New Revision: 252367 URL: http://svnweb.freebsd.org/changeset/base/252367 Log: Help out gcc. clang understands. sys_generic.c:1510: warning: 'precision' may be used uninitialized *** [sys_generic.o] Error code 1 Modified: head/sys/kern/sys_

svn commit: r252364 - head/sys/fs/ext2fs

2013-06-28 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jun 29 01:35:28 2013 New Revision: 252364 URL: http://svnweb.freebsd.org/changeset/base/252364 Log: Bring some updates from ufs_lookup to ext2fs. r156418: Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended file systems. This could cause deadl

svn commit: r252363 - in head/usr.sbin/pkg_install: add create lib

2013-06-28 Thread David E. O'Brien
Author: obrien Date: Sat Jun 29 00:37:49 2013 New Revision: 252363 URL: http://svnweb.freebsd.org/changeset/base/252363 Log: sysconf(3) returns a long, not an int. Modified: head/usr.sbin/pkg_install/add/extract.c head/usr.sbin/pkg_install/create/pl.c head/usr.sbin/pkg_install/lib/exec.c

Re: svn commit: r252356 - in head: contrib/smbfs/mount_smbfs etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/examples/etc share/mk sys/conf sys/kern sy

2013-06-28 Thread Jilles Tjoelker
On Fri, Jun 28, 2013 at 09:00:08PM +, Davide Italiano wrote: > Author: davide > Date: Fri Jun 28 21:00:08 2013 > New Revision: 252356 > URL: http://svnweb.freebsd.org/changeset/base/252356 > Log: > - Trim an unused and bogus Makefile for mount_smbfs. > - Reconnect with some minor modificat

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

2013-06-28 Thread Aleksandr Rybalko
Author: ray Date: Fri Jun 28 22:47:33 2013 New Revision: 252362 URL: http://svnweb.freebsd.org/changeset/base/252362 Log: Bump max number of IRQs for Cortex-Ax family to cover Exynos5 requirement. Submitted by: Ruslan Bukin Modified: head/sys/arm/include/intr.h Modified: head/sys/arm/i

svn commit: r252361 - in head/sys/arm: arm include

2013-06-28 Thread Aleksandr Rybalko
Author: ray Date: Fri Jun 28 22:31:17 2013 New Revision: 252361 URL: http://svnweb.freebsd.org/changeset/base/252361 Log: Add identification for Cortex-A15 (R0) cores. Submitted by: Ruslan Bukin Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/identcpu.c head/sys/arm/include/ar

svn commit: r252360 - head/etc

2013-06-28 Thread Xin LI
Author: delphij Date: Fri Jun 28 22:25:37 2013 New Revision: 252360 URL: http://svnweb.freebsd.org/changeset/base/252360 Log: Don't attempt to do DHCP on certain interfaces, similar to what's done for ipv6_autoconfif() in r212577. MFC after:1 week Modified: head/etc/network.subr M

svn commit: r252359 - head/bin/sh

2013-06-28 Thread Jilles Tjoelker
Author: jilles Date: Fri Jun 28 21:47:08 2013 New Revision: 252359 URL: http://svnweb.freebsd.org/changeset/base/252359 Log: sh: Do not close(-1) if pipe() fails. Modified: head/bin/sh/eval.c Modified: head/bin/sh/eval.c ===

svn commit: r252358 - head/sys/vm

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 21:13:19 2013 New Revision: 252358 URL: http://svnweb.freebsd.org/changeset/base/252358 Log: Remove a spurious keg lock acquisition. Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c =

Re: svn commit: r252356 - in head: contrib/smbfs/mount_smbfs etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/examples/etc share/mk sys/conf sys/kern sy

2013-06-28 Thread Attilio Rao
On Fri, Jun 28, 2013 at 11:00 PM, Davide Italiano wrote: > Author: davide > Date: Fri Jun 28 21:00:08 2013 > New Revision: 252356 > URL: http://svnweb.freebsd.org/changeset/base/252356 > > Log: > - Trim an unused and bogus Makefile for mount_smbfs. > - Reconnect with some minor modifications,

svn commit: r252357 - head/sys/kern

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 21:04:15 2013 New Revision: 252357 URL: http://svnweb.freebsd.org/changeset/base/252357 Log: Correct the comment above _sleep() function which still mentions 'timo' instead of 'sbintime_t'. Reported by: kan Modified: head/sys/kern/kern_synch.c Modified

svn commit: r252356 - in head: contrib/smbfs/mount_smbfs etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/examples/etc share/mk sys/conf sys/kern sys...

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 21:00:08 2013 New Revision: 252356 URL: http://svnweb.freebsd.org/changeset/base/252356 Log: - Trim an unused and bogus Makefile for mount_smbfs. - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime uni

svn commit: r252355 - head/sys/fs/smbfs

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 20:32:48 2013 New Revision: 252355 URL: http://svnweb.freebsd.org/changeset/base/252355 Log: Properly use v_data field. This magically worked (even if wrong) until now because v_data is the first field of the structure, but it's not something we should rely on

svn commit: r252354 - head/sys/netsmb

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 20:21:13 2013 New Revision: 252354 URL: http://svnweb.freebsd.org/changeset/base/252354 Log: Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this piece of code. Reported by: attilio Modified: head/sys/netsmb/smb_conn.c Modified: head/sy

svn commit: r252353 - head/sys/fs/smbfs

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 20:14:30 2013 New Revision: 252353 URL: http://svnweb.freebsd.org/changeset/base/252353 Log: Garbage collect an useless check. smp should be never NULL. Modified: head/sys/fs/smbfs/smbfs_vfsops.c Modified: head/sys/fs/smbfs/smbfs_vfsops.c =

svn commit: r252352 - head/sys/fs/smbfs

2013-06-28 Thread Davide Italiano
Author: davide Date: Fri Jun 28 20:07:24 2013 New Revision: 252352 URL: http://svnweb.freebsd.org/changeset/base/252352 Log: Plug a couple of leakages in smbfs_lookup(). Modified: head/sys/fs/smbfs/smbfs_vnops.c Modified: head/sys/fs/smbfs/smbfs_vnops.c ==

svn commit: r252351 - head/sys/kern

2013-06-28 Thread Mateusz Guzik
Author: mjg Date: Fri Jun 28 18:32:46 2013 New Revision: 252351 URL: http://svnweb.freebsd.org/changeset/base/252351 Log: Remove duplicate NULL check in kern_proc_filedesc_out. No functional changes. MFC after:1 week Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/k

svn commit: r252349 - head/sys/kern

2013-06-28 Thread Mikolaj Golub
Author: trociny Date: Fri Jun 28 18:07:41 2013 New Revision: 252349 URL: http://svnweb.freebsd.org/changeset/base/252349 Log: Rework r252313: The filedesc lock may not be dropped unconditionally before exporting fd to sbuf: fd might go away during execution. While it is ok for DTYPE_VN

Re: svn commit: r252346 - head/share/man/man9

2013-06-28 Thread John Baldwin
On Friday, June 28, 2013 1:08:36 pm Benjamin Kaduk wrote: > > +.Ss Spin Mutexes > > +Spin mutexes are a variation of basic mutexes; the main difference between > > +the two is that spin mutexes never block. > > +Instead, they spin while waiting for the lock to be released. > > +Note that a thread t

svn commit: r252348 - head/usr.sbin/pkg_install/lib

2013-06-28 Thread David E. O'Brien
Author: obrien Date: Fri Jun 28 17:18:28 2013 New Revision: 252348 URL: http://svnweb.freebsd.org/changeset/base/252348 Log: sysconf(3) returns a long, not an int. Modified: head/usr.sbin/pkg_install/lib/exec.c Modified: head/usr.sbin/pkg_install/lib/exec.c ==

Re: svn commit: r252346 - head/share/man/man9

2013-06-28 Thread Benjamin Kaduk
On Fri, Jun 28, 2013 at 12:33 PM, John Baldwin wrote: > Author: jhb > Date: Fri Jun 28 16:33:45 2013 > New Revision: 252346 > URL: http://svnweb.freebsd.org/changeset/base/252346 > > Log: > Make a pass over this page to correct and clarify a few things as well as > some general word-smithing.

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

2013-06-28 Thread John Baldwin
Author: jhb Date: Fri Jun 28 16:33:45 2013 New Revision: 252346 URL: http://svnweb.freebsd.org/changeset/base/252346 Log: Make a pass over this page to correct and clarify a few things as well as some general word-smithing. - Don't claim that adaptive mutexes have a timeout (they don't). -

svn commit: r252345 - head/sbin/swapon

2013-06-28 Thread Hiroki Sato
Author: hrs Date: Fri Jun 28 16:24:14 2013 New Revision: 252345 URL: http://svnweb.freebsd.org/changeset/base/252345 Log: Fix build with gcc. Modified: head/sbin/swapon/swapon.c Modified: head/sbin/swapon/swapon.c ==

svn commit: r252342 - head/sys/kern

2013-06-28 Thread Ryan Stone
Author: rstone Date: Fri Jun 28 15:55:30 2013 New Revision: 252342 URL: http://svnweb.freebsd.org/changeset/base/252342 Log: Correct a bug that prevented deadlkres from (almost) ever firing. deadlkres was using a reversed test to check whether ticks had rolled over. This meant that deadlk

Re: svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-28 Thread Adrian Chadd
On 28 June 2013 03:36, Jeff Roberson wrote: >> Do we really need another allocator / resource manager just for this? >> > > No, however; I have a follow-up patch to replace kmem with this. And then > we will use it for NUMA allocations in the kernel. After that it is likely > that we could rep

Re: svn commit: r252101 - head/release

2013-06-28 Thread Glen Barber
On Thu, Jun 27, 2013 at 12:13:51PM -0700, Garrett Cooper wrote: > On Jun 22, 2013, at 3:51 PM, Glen Barber wrote: > > > On Sat, Jun 22, 2013 at 03:39:41PM -0700, Garrett Cooper wrote: > >> On Jun 22, 2013, at 3:12 PM, Glen Barber wrote: > >> > >>> Author: gjb > >>> Date: Sat Jun 22 22:12:24 2013

svn commit: r252341 - head/sys/dev/re

2013-06-28 Thread Sergey Kandaurov
Author: pluknet Date: Fri Jun 28 14:41:06 2013 New Revision: 252341 URL: http://svnweb.freebsd.org/changeset/base/252341 Log: Correct comment typos. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c ===

Re: svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-28 Thread Jeff Roberson
On Fri, 28 Jun 2013, Adrian Chadd wrote: Hi, Do we really need another allocator / resource manager just for this? No, however; I have a follow-up patch to replace kmem with this. And then we will use it for NUMA allocations in the kernel. After that it is likely that we could replace s

Re: svn commit: r251886 - in head: contrib/apr contrib/apr-util contrib/serf contrib/sqlite3 contrib/subversion share/mk usr.bin usr.bin/svn usr.bin/svn/lib usr.bin/svn/lib/libapr usr.bin/svn/lib/liba

2013-06-28 Thread Jan Beich
Peter Wemm writes: > Author: peter > Date: Tue Jun 18 02:53:45 2013 > New Revision: 251886 > URL: http://svnweb.freebsd.org/changeset/base/251886 > > Log: > Introduce svnlite so that we can check out our source code again. Can you teach apr about WITH_ICONV? $ svnsync sync file:///freebsd/b

svn commit: r252338 - head/crypto/openssh

2013-06-28 Thread Dag-Erling Smørgrav
Author: des Date: Fri Jun 28 09:41:59 2013 New Revision: 252338 URL: http://svnweb.freebsd.org/changeset/base/252338 Log: r251088 reverted the default value for UsePrivilegeSeparation from "sandbox" to "yes", but did not update the documentation to match. Modified: head/crypto/openssh/sshd_

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

2013-06-28 Thread Mikolaj Golub
On Fri, Jun 28, 2013 at 09:44:30AM +0300, Konstantin Belousov wrote: > On Fri, Jun 28, 2013 at 03:03:46AM +0200, Mateusz Guzik wrote: > > On Thu, Jun 27, 2013 at 07:14:04PM +, Mikolaj Golub wrote: > > > Author: trociny > > > Date: Thu Jun 27 19:14:03 2013 > > > New Revision: 252313 > > > URL: h

Re: svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-28 Thread Adrian Chadd
Hi, Do we really need another allocator / resource manager just for this? Adrian On 27 June 2013 20:51, Jeff Roberson wrote: > Author: jeff > Date: Fri Jun 28 03:51:20 2013 > New Revision: 252330 > URL: http://svnweb.freebsd.org/changeset/base/252330 > > Log: >- Add a general purpose res

Re: svn commit: r252209 - in head: share/man/man9 sys/kern sys/sys

2013-06-28 Thread Attilio Rao
On Thu, Jun 27, 2013 at 4:34 PM, John Baldwin wrote: > On Wednesday, June 26, 2013 3:26:38 am Andre Oppermann wrote: >> On 25.06.2013 20:44, John Baldwin wrote: >> > Author: jhb >> > Date: Tue Jun 25 18:44:15 2013 >> > New Revision: 252209 >> > URL: http://svnweb.freebsd.org/changeset/base/252209

svn commit: r252337 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-06-28 Thread Gavin Atkinson
Author: gavin Date: Fri Jun 28 07:51:12 2013 New Revision: 252337 URL: http://svnweb.freebsd.org/changeset/base/252337 Log: Don't try to re-insert an already present but invalid page. This could happen if a thread doing a page-in loses a ZFS range lock race to a thread writing to the same