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 =

Web Design Proposal!!!

2012-12-21 Thread Vinay
Hello, I am Vinay, Business Development Consultant. I was on your website. I have analyzed your website. Would you be interested in a possible redesign of the site or additional features that might benefit the overall usability and user experience which usually leads to better sales of your

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 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 address fami

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 wrote: > On Fri, Dec 21, 2012 at 4:11 AM, Garrett Cooper wrote: >> On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo wrote: >>> Author: kevlo >>> Date: Fri Dec 7

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 c

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 th

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: head/sys/boot/use

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 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 EP

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 hea

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-

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 head/us

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: head/

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 ap

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: head/

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. > > S

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 recogni

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 head/usr.sbin/bsdconfig/networking/share/hostname.

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/2445

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 head/usr.sbin/bsdconfig/shar

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. It

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: head/u

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 t

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 aud

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 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 curpro

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 t

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 Modified: head/sys/arm/arm/pmap-v6.c head/sys/arm/arm/pma

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 m

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: head/sys/net80211/ieee80211_h

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 wireles

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 wrote: > Added: head/usr.sbin/nmtree/Makefile > == > --- /dev/null 00:00:00 1970 (empty, because file is > newly added) +++ head/usr.sbin/nmtree/MakefileFri D

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 aligned

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: head/sys/dev/cxgbe/t4_mai