svn commit: r244532 - head/sys/vm

2012-12-21 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 21 10:09:45 2012 New Revision: 244532 URL: http://svnweb.freebsd.org/changeset/base/244532 Log: Comment fix: there is no ub_ptr, instead explain meaning of uz_count field verbally. Modified: head/sys/vm/uma_int.h Modified: head/sys/vm/uma_int.h

Broken error handling with AF_* and socket(2) [was Re: svn commit: r243965 - in head/sys: kern sys]

2012-12-21 Thread Garrett Cooper
On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Fri Dec 7 02:22:48 2012 New Revision: 243965 URL: http://svnweb.freebsd.org/changeset/base/243965 Log: - according to POSIX, make socket(2) return EAFNOSUPPORT rather than EPROTONOSUPPORT if the

Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version

2012-12-21 Thread Fabian Keil
Eitan Adler ead...@freebsd.org wrote: On 28 November 2012 21:34, Stanislav Sedov s...@freebsd.org wrote: I don't really see how this message being in pkg_ tools helps to prevent a possible foot-shooting at all. It reminds people that using the pkg_* tools once a conversion is done is

Re: Broken error handling with AF_* and socket(2) [was Re: svn commit: r243965 - in head/sys: kern sys]

2012-12-21 Thread Garrett Cooper
(Don't know why I hit reply instead of reply-all, but oh well... I had one more reply anyhow) On Fri, Dec 21, 2012 at 4:28 AM, Garrett Cooper yaneg...@gmail.com wrote: On Fri, Dec 21, 2012 at 4:11 AM, Garrett Cooper yaneg...@gmail.com wrote: On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo

Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version

2012-12-21 Thread Baptiste Daroussin
On Fri, Dec 21, 2012 at 01:23:03PM +0100, Fabian Keil wrote: Eitan Adler ead...@freebsd.org wrote: On 28 November 2012 21:34, Stanislav Sedov s...@freebsd.org wrote: I don't really see how this message being in pkg_ tools helps to prevent a possible foot-shooting at all. It

svn commit: r244534 - in head/sys: kern ufs/ffs

2012-12-21 Thread Attilio Rao
Author: attilio Date: Fri Dec 21 13:14:12 2012 New Revision: 244534 URL: http://svnweb.freebsd.org/changeset/base/244534 Log: Fixup r218424: uio_yield() was scaling directly to userland priority. When kern_yield() was introduced with the possibility to specify a new priority, the behaviour

Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version

2012-12-21 Thread Eitan Adler
On 21 December 2012 07:23, Fabian Keil freebsd-lis...@fabiankeil.de wrote: Eitan Adler ead...@freebsd.org wrote: On 28 November 2012 21:34, Stanislav Sedov s...@freebsd.org wrote: I don't really see how this message being in pkg_ tools helps to prevent a possible foot-shooting at all.

svn commit: r244535 - head/sys/dev/usb

2012-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 21 14:17:39 2012 New Revision: 244535 URL: http://svnweb.freebsd.org/changeset/base/244535 Log: Regression issue: Use a boundary of zero, hence a PAGE_SIZE boundary is implied by all memory allocations. Background: Busdma has problems to allocate more

svn commit: r244537 - in head: lib/libstand/amd64 sys/boot/userboot/libstand sys/boot/userboot/libstand/amd64

2012-12-21 Thread Rui Paulo
Author: rpaulo Date: Fri Dec 21 15:15:35 2012 New Revision: 244537 URL: http://svnweb.freebsd.org/changeset/base/244537 Log: Move the 64-bit _setjmp to lib/libstand. Added: head/lib/libstand/amd64/ - copied from r244525, head/sys/boot/userboot/libstand/amd64/ Deleted:

Re: Broken error handling with AF_* and socket(2) [was Re: svn commit: r243965 - in head/sys: kern sys]

2012-12-21 Thread Kevin Lo
On 2012/12/21 20:11, Garrett Cooper wrote: On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Fri Dec 7 02:22:48 2012 New Revision: 243965 URL: http://svnweb.freebsd.org/changeset/base/243965 Log: - according to POSIX, make socket(2) return EAFNOSUPPORT

svn commit: r244538 - in head: bin/date lib/libnetgraph sbin/hastd sbin/ifconfig usr.sbin/mountd usr.sbin/mtest usr.sbin/rpcbind usr.sbin/ypserv

2012-12-21 Thread Kevin Lo
Author: kevlo Date: Fri Dec 21 15:54:13 2012 New Revision: 244538 URL: http://svnweb.freebsd.org/changeset/base/244538 Log: Fix socket calls on error post-r243965. Submitted by: Garrett Cooper Modified: head/bin/date/netdate.c head/lib/libnetgraph/sock.c head/sbin/hastd/parse.y

svn commit: r244541 - in vendor/NetBSD/mtree: . dist

2012-12-21 Thread Brooks Davis
Author: brooks Date: Fri Dec 21 16:54:00 2012 New Revision: 244541 URL: http://svnweb.freebsd.org/changeset/base/244541 Log: Vendor import of NetBSD's mtree at 2012-12-21 Added: vendor/NetBSD/mtree/ vendor/NetBSD/mtree/dist/ vendor/NetBSD/mtree/dist/Makefile (contents, props changed)

svn commit: r244542 - vendor/NetBSD/mtree/20122112

2012-12-21 Thread Brooks Davis
Author: brooks Date: Fri Dec 21 16:54:33 2012 New Revision: 244542 URL: http://svnweb.freebsd.org/changeset/base/244542 Log: Tag 2012-12-21 import of NetBSD's mtree Added: vendor/NetBSD/mtree/20122112/ - copied from r244541, vendor/NetBSD/mtree/dist/

svn commit: r244543 - in vendor/NetBSD/mknod: . dist

2012-12-21 Thread Brooks Davis
Author: brooks Date: Fri Dec 21 17:08:01 2012 New Revision: 244543 URL: http://svnweb.freebsd.org/changeset/base/244543 Log: Vendor import of pack_dev.* from NetBSD's mknod at 2012-12-21 Added: vendor/NetBSD/mknod/ vendor/NetBSD/mknod/dist/ vendor/NetBSD/mknod/dist/pack_dev.c

svn commit: r244544 - vendor/NetBSD/mknod/20122112

2012-12-21 Thread Brooks Davis
Author: brooks Date: Fri Dec 21 17:08:17 2012 New Revision: 244544 URL: http://svnweb.freebsd.org/changeset/base/244544 Log: Tag 2012-12-21 import of NetBSD's mknod Added: vendor/NetBSD/mknod/20122112/ - copied from r244543, vendor/NetBSD/mknod/dist/

Re: svn commit: r244198 - in head: etc/rc.d sbin/sysctl

2012-12-21 Thread Pawel Jakub Dawidek
On Wed, Dec 19, 2012 at 06:59:17PM -0500, Mark Johnston wrote: On Wed, Dec 19, 2012 at 05:21:40PM -0600, Brooks Davis wrote: On Wed, Dec 19, 2012 at 05:58:54PM -0500, Mark Johnston wrote: On Wed, Dec 19, 2012 at 02:02:09PM -0800, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

svn commit: r244547 - in stable/9/sys: dev/fdc geom geom/bde geom/cache geom/label geom/mountver geom/multipath geom/nop geom/sched vm

2012-12-21 Thread Jaakko Heinonen
Author: jh Date: Fri Dec 21 18:25:05 2012 New Revision: 244547 URL: http://svnweb.freebsd.org/changeset/base/244547 Log: MFC r24: - Don't pass geom and provider names as format strings. - Add __printflike() attributes. - Remove an extra argument for the g_new_geomf() call in

svn commit: r244548 - in head/usr.sbin/bsdconfig: console mouse networking/share share startup startup/share usermgmt/share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 18:58:19 2012 New Revision: 244548 URL: http://svnweb.freebsd.org/changeset/base/244548 Log: Add much-needed dialog(1) --inputbox function for simplifying the process of requesting input from the user. Modified: head/usr.sbin/bsdconfig/console/saver

svn commit: r244549 - head/sys/dev/nvme

2012-12-21 Thread Jim Harris
Author: jimharris Date: Fri Dec 21 19:13:48 2012 New Revision: 244549 URL: http://svnweb.freebsd.org/changeset/base/244549 Log: Put kthreads under curproc so they are attached to nvmecontrol rather than pid 0. Sponsored by: Intel Modified: head/sys/dev/nvme/nvme_test.c Modified:

svn commit: r244550 - in head/usr.sbin/bsdconfig: . examples share startup/share usermgmt usermgmt/share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 19:26:17 2012 New Revision: 244550 URL: http://svnweb.freebsd.org/changeset/base/244550 Log: Improve the debugging abilities and clean up debug messages. In most cases, all one has to do is set the environment variable DEBUGGING to get the debug messages to

svn commit: r244551 - head/sys/dev/cxgbe

2012-12-21 Thread Navdeep Parhar
Author: np Date: Fri Dec 21 19:28:17 2012 New Revision: 244551 URL: http://svnweb.freebsd.org/changeset/base/244551 Log: cxgbe(4): must hold a write-lock on the table while allocating an L2 entry for switching. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_l2t.c Modified:

Re: svn commit: r244549 - head/sys/dev/nvme

2012-12-21 Thread John Baldwin
On Friday, December 21, 2012 2:13:48 pm Jim Harris wrote: Author: jimharris Date: Fri Dec 21 19:13:48 2012 New Revision: 244549 URL: http://svnweb.freebsd.org/changeset/base/244549 Log: Put kthreads under curproc so they are attached to nvmecontrol rather than pid 0. Sponsored

svn commit: r244553 - head/usr.sbin/pkg

2012-12-21 Thread Matthew Seaman
Author: matthew (ports committer) Date: Fri Dec 21 20:01:13 2012 New Revision: 244553 URL: http://svnweb.freebsd.org/changeset/base/244553 Log: In preparation for making 'pkg -n' the one true method of determining whether a system has been configured to use pkgng, cause /usr/sbin/pkg

svn commit: r244554 - in head/usr.sbin/bsdconfig: networking/share share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 20:11:41 2012 New Revision: 244554 URL: http://svnweb.freebsd.org/changeset/base/244554 Log: Use f_show_help() where printf(1) syntax is desired. Modified: head/usr.sbin/bsdconfig/networking/share/device.subr

Re: svn commit: r244553 - head/usr.sbin/pkg

2012-12-21 Thread Devin Teske
Sweet! This will simplify things on the bsdconfig side for the pkgng module I'm writing. -- Devin On Dec 21, 2012, at 12:01 PM, Matthew Seaman wrote: Author: matthew (ports committer) Date: Fri Dec 21 20:01:13 2012 New Revision: 244553 URL: http://svnweb.freebsd.org/changeset/base/244553

svn commit: r244555 - in head/usr.sbin/bsdconfig: networking/share share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 20:29:28 2012 New Revision: 244555 URL: http://svnweb.freebsd.org/changeset/base/244555 Log: New f_show_info() function for dialog(1) --infobox using printf(1) syntax. Modified: head/usr.sbin/bsdconfig/networking/share/device.subr

svn commit: r244556 - head/usr.sbin/bsdconfig/usermgmt

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 20:36:12 2012 New Revision: 244556 URL: http://svnweb.freebsd.org/changeset/base/244556 Log: Remove erroneous use of local (not in a function). Modified: head/usr.sbin/bsdconfig/usermgmt/userinput Modified: head/usr.sbin/bsdconfig/usermgmt/userinput

svn commit: r244557 - in head/lib: . libnetbsd libnetbsd/sys

2012-12-21 Thread Brooks Davis
Author: brooks Date: Fri Dec 21 20:37:38 2012 New Revision: 244557 URL: http://svnweb.freebsd.org/changeset/base/244557 Log: Add libnetbsd, a thin compatibility layer intended to allow a limited set of NetBSD software to compile as part of the FreeBSD build with little or no modifiction.

svn commit: r244558 - head/usr.sbin/bsdconfig/share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 20:46:58 2012 New Revision: 244558 URL: http://svnweb.freebsd.org/changeset/base/244558 Log: Change axiom for initialization. Including script can disable (default) automatic initialization by setting appropriate variable to particular value. Modified:

svn commit: r244559 - in vendor/xz/dist: . po src/common src/liblzma/api/lzma src/liblzma/simple src/xz

2012-12-21 Thread Martin Matuska
Author: mm Date: Fri Dec 21 20:47:57 2012 New Revision: 244559 URL: http://svnweb.freebsd.org/changeset/base/244559 Log: Update vendor/xz from v5.0 branch to 5.0.4 Git commit: 20778053a07eb90c159c1377ca8dc05a90fd530b Modified: vendor/xz/dist/AUTHORS vendor/xz/dist/ChangeLog

svn commit: r244560 - vendor/xz/5.0.4

2012-12-21 Thread Martin Matuska
Author: mm Date: Fri Dec 21 20:48:54 2012 New Revision: 244560 URL: http://svnweb.freebsd.org/changeset/base/244560 Log: Tag vendor/xz as version 5.0.4 Added: vendor/xz/5.0.4/ - copied from r244559, vendor/xz/dist/ ___ svn-src-all@freebsd.org

svn commit: r244562 - in head: contrib/mknod contrib/mtree usr.sbin usr.sbin/nmtree

2012-12-21 Thread Brooks Davis
Author: brooks Date: Fri Dec 21 21:00:00 2012 New Revision: 244562 URL: http://svnweb.freebsd.org/changeset/base/244562 Log: Add NetBSD's mtree to the tree and install it as nmtree as the first step towards replacing our mtree. Sponsored by: DARPA, AFRL Thanks to:cristos@NetBSD for

svn commit: r244563 - head/usr.sbin/bsdconfig/networking/share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 21:03:34 2012 New Revision: 244563 URL: http://svnweb.freebsd.org/changeset/base/244563 Log: Remove unused include. Modified: head/usr.sbin/bsdconfig/networking/share/ipaddr.subr Modified: head/usr.sbin/bsdconfig/networking/share/ipaddr.subr

svn commit: r244565 - head/usr.sbin/bsdconfig/networking/share

2012-12-21 Thread Devin Teske
Author: dteske Date: Fri Dec 21 21:33:47 2012 New Revision: 244565 URL: http://svnweb.freebsd.org/changeset/base/244565 Log: Split dialog(1)-based validators for hostname/netmask into two, providing transparent validators that can be used free of dialog(1) where needed. Syntax/return of

svn commit: r244566 - stable/9/sys/kern

2012-12-21 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 21 21:40:51 2012 New Revision: 244566 URL: http://svnweb.freebsd.org/changeset/base/244566 Log: MFC r244404: prison_racct_detach can be called for not fully initialized jail, so make it check that the jail has racct before doing anything PR:

svn commit: r244567 - head/sys/dev/sound/usb

2012-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 21 21:41:23 2012 New Revision: 244567 URL: http://svnweb.freebsd.org/changeset/base/244567 Log: Reduce stack usage in the USB audio driver by moving some large stack elements to the USB audio softc structure. This fixes a double CPU fault when attaching USB

Re: svn commit: r244549 - head/sys/dev/nvme

2012-12-21 Thread Jim Harris
On Fri, Dec 21, 2012 at 12:24 PM, John Baldwin j...@freebsd.org wrote: On Friday, December 21, 2012 2:13:48 pm Jim Harris wrote: Author: jimharris Date: Fri Dec 21 19:13:48 2012 New Revision: 244549 URL: http://svnweb.freebsd.org/changeset/base/244549 Log: Put kthreads under

svn commit: r244568 - head/lib/libc/gen

2012-12-21 Thread Xin LI
Author: delphij Date: Fri Dec 21 22:20:59 2012 New Revision: 244568 URL: http://svnweb.freebsd.org/changeset/base/244568 Log: - Reduce buffer size from LINE_MAX to PATH_MAX, there is no point to store path longer than this. - Fix an unreached case of check against sizeof buf, which in

svn commit: r244569 - stable/9/sys/netpfil/ipfw

2012-12-21 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Dec 21 22:48:12 2012 New Revision: 244569 URL: http://svnweb.freebsd.org/changeset/base/244569 Log: Merge r241908, r242632 Remove unnecessary chain read lock in ipfw nat 'global' code. Document case when ipfw chain lock must be held while calling ipfw_nat().

svn commit: r244571 - stable/9/sys/netpfil/ipfw

2012-12-21 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Dec 21 23:47:22 2012 New Revision: 244571 URL: http://svnweb.freebsd.org/changeset/base/244571 Log: Merge r238978(approved by luigi), r242631, r242834, r243707 replace inet_ntoa_r with the more standard inet_ntop(). As discussed on -current, inet_ntoa_r() is

svn commit: r244573 - stable/9/usr.sbin/sysinstall

2012-12-21 Thread Devin Teske
Author: dteske Date: Sat Dec 22 00:23:57 2012 New Revision: 244573 URL: http://svnweb.freebsd.org/changeset/base/244573 Log: Fix typo. (fixing them as I find them) Modified: stable/9/usr.sbin/sysinstall/ftp.c Modified: stable/9/usr.sbin/sysinstall/ftp.c

svn commit: r244574 - head/sys/arm/arm

2012-12-21 Thread Olivier Houchard
Author: cognet Date: Sat Dec 22 01:03:23 2012 New Revision: 244574 URL: http://svnweb.freebsd.org/changeset/base/244574 Log: The VM_MEMATTR_ constants are enumerated, not a bitset. Compare accordingly. Submitted by: Ian Lepore free...@damnhippie.dyndns.org Modified:

svn commit: r244575 - head/sys/arm/arm

2012-12-21 Thread Olivier Houchard
Author: cognet Date: Sat Dec 22 01:04:29 2012 New Revision: 244575 URL: http://svnweb.freebsd.org/changeset/base/244575 Log: The manpage states that bus_dmamap_create(9) returns ENOMEM if it can't allocate a map or mapping resources. That seems to imply that any memory allocations it does

svn commit: r244576 - head/sys/net80211

2012-12-21 Thread Adrian Chadd
Author: adrian Date: Sat Dec 22 01:16:28 2012 New Revision: 244576 URL: http://svnweb.freebsd.org/changeset/base/244576 Log: Remove a use of if_start() - instead, use if_transmit() to dispatch the frame. Modified: head/sys/net80211/ieee80211_hostap.c Modified:

svn commit: r244577 - head/sys/net80211

2012-12-21 Thread Adrian Chadd
Author: adrian Date: Sat Dec 22 01:17:49 2012 New Revision: 244577 URL: http://svnweb.freebsd.org/changeset/base/244577 Log: if_start() is being used here as a way of kick-starting the new queue processing. For if_transmit() style hardware drivers (which none publicly exist yet, for

Re: svn commit: r244562 - in head: contrib/mknod contrib/mtree usr.sbin usr.sbin/nmtree

2012-12-21 Thread Andrew Turner
On Fri, 21 Dec 2012 21:00:01 + (UTC) Brooks Davis bro...@freebsd.org wrote: Added: head/usr.sbin/nmtree/Makefile == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++

svn commit: r244578 - head/usr.bin/indent

2012-12-21 Thread Andrew Turner
Author: andrew Date: Sat Dec 22 04:11:59 2012 New Revision: 244578 URL: http://svnweb.freebsd.org/changeset/base/244578 Log: Make struct fstate aligned to the same as an int as its pointer is cast to an int pointer in args.c. This fixes an issue with ARM where the struct will be byte

svn commit: r244579 - head/usr.sbin/nmtree

2012-12-21 Thread Andrew Turner
Author: andrew Date: Sat Dec 22 04:53:35 2012 New Revision: 244579 URL: http://svnweb.freebsd.org/changeset/base/244579 Log: Add the missing '$' from the LIBNETBSD variable Modified: head/usr.sbin/nmtree/Makefile Modified: head/usr.sbin/nmtree/Makefile

svn commit: r244580 - head/sys/dev/cxgbe

2012-12-21 Thread Navdeep Parhar
Author: np Date: Sat Dec 22 07:47:07 2012 New Revision: 244580 URL: http://svnweb.freebsd.org/changeset/base/244580 Log: cxgbe(4): Add support for the T440-LP-CR card. This is the 4x10G low profile card with a QSFP+ transceiver. MFC after:3 days Modified: