Re: svn commit: r244663 - stable/9

2012-12-28 Thread Adrian Chadd
On 25 December 2012 11:17, Robert Watson wrote: > While I would love to have a stable KBI, or even KPI, for VFS, past > experience suggests that we are not prepared to document one, let alone > enforce it, and that we frequently experience changes that disrupt both the > binary and programming in

Re: svn commit: r244663 - stable/9

2012-12-28 Thread Alfred Perlstein
On 12/28/12 8:16 PM, Peter Wemm wrote: On Tue, Dec 25, 2012 at 11:17 AM, Robert Watson wrote: On Tue, 25 Dec 2012, Konstantin Belousov wrote: On Mon, Dec 24, 2012 at 12:04:03PM -0800, Alfred Perlstein wrote: On 12/24/12 11:24 AM, Adrian Chadd wrote: ... why'd we break the KBI in a stable br

Re: svn commit: r244663 - stable/9

2012-12-28 Thread Peter Wemm
On Tue, Dec 25, 2012 at 11:17 AM, Robert Watson wrote: > On Tue, 25 Dec 2012, Konstantin Belousov wrote: > >> On Mon, Dec 24, 2012 at 12:04:03PM -0800, Alfred Perlstein wrote: >>> >>> On 12/24/12 11:24 AM, Adrian Chadd wrote: ... why'd we break the KBI in a stable branch? >>> I am n

svn commit: r244809 - stable/8/sys/kern

2012-12-28 Thread Konstantin Belousov
Author: kib Date: Sat Dec 29 02:36:08 2012 New Revision: 244809 URL: http://svnweb.freebsd.org/changeset/base/244809 Log: MFC r244237: Remove a special case for XEN. Modified: stable/8/sys/kern/kern_fork.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/kern/ (props

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

2012-12-28 Thread Konstantin Belousov
Author: kib Date: Sat Dec 29 02:13:31 2012 New Revision: 244806 URL: http://svnweb.freebsd.org/changeset/base/244806 Log: MFC r244237: Remove a special case for XEN. Modified: stable/9/sys/kern/kern_fork.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/kern/

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

2012-12-28 Thread Devin Teske
Author: dteske Date: Sat Dec 29 00:30:30 2012 New Revision: 244804 URL: http://svnweb.freebsd.org/changeset/base/244804 Log: Comments. Modified: head/usr.sbin/bsdconfig/share/dialog.subr Modified: head/usr.sbin/bsdconfig/share/dialog.subr =

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

2012-12-28 Thread Devin Teske
Author: dteske Date: Sat Dec 29 00:06:26 2012 New Revision: 244802 URL: http://svnweb.freebsd.org/changeset/base/244802 Log: Add missing enforcement of height restriction after minor adjustment. Modified: head/usr.sbin/bsdconfig/share/dialog.subr Modified: head/usr.sbin/bsdconfig/share/dialo

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

2012-12-28 Thread Devin Teske
Author: dteske Date: Sat Dec 29 00:01:24 2012 New Revision: 244801 URL: http://svnweb.freebsd.org/changeset/base/244801 Log: Add support for running without a controlling terminal (for example, when running as an rvalue to a pipe). Modified: head/usr.sbin/bsdconfig/share/dialog.subr Modifi

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

2012-12-28 Thread Devin Teske
Author: dteske Date: Fri Dec 28 23:49:17 2012 New Revision: 244799 URL: http://svnweb.freebsd.org/changeset/base/244799 Log: Allow debug output to be logged to a file (set $debugFile to target pathname) or both stdout and a file (precede $debugFile pathname with a plus-sign, `+'). Modified:

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

2012-12-28 Thread Devin Teske
Author: dteske Date: Fri Dec 28 23:40:13 2012 New Revision: 244798 URL: http://svnweb.freebsd.org/changeset/base/244798 Log: Whitespace. Modified: head/usr.sbin/bsdconfig/networking/share/ipaddr.subr Modified: head/usr.sbin/bsdconfig/networking/share/ipaddr.subr =

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

2012-12-28 Thread Devin Teske
Author: dteske Date: Fri Dec 28 23:27:17 2012 New Revision: 244797 URL: http://svnweb.freebsd.org/changeset/base/244797 Log: Fix incorrect function name. s/[[:<:]]dialog_clear/f_&/ Modified: head/usr.sbin/bsdconfig/networking/share/hostname.subr Modified: head/usr.sbin/bsdconfig/networking/s

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

2012-12-28 Thread Xin LI
Author: delphij Date: Fri Dec 28 23:21:54 2012 New Revision: 244796 URL: http://svnweb.freebsd.org/changeset/base/244796 Log: It's no longer necessary to explicitly specify isa bus. MFC after:2 weeks Modified: head/share/man/man4/wbwd.4 Modified: head/share/man/man4/wbwd.4 =

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

2012-12-28 Thread Konstantin Belousov
Author: kib Date: Fri Dec 28 23:08:30 2012 New Revision: 244795 URL: http://svnweb.freebsd.org/changeset/base/244795 Log: Make it possible to atomically resume writes on the mount and account the write start, by adding a variation of the vfs_write_resume(9) which accepts flags. Use the

svn commit: r244792 - head/contrib/gcc

2012-12-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 28 22:06:50 2012 New Revision: 244792 URL: http://svnweb.freebsd.org/changeset/base/244792 Log: gcc: avoid generating negative values to DW_AT_byte_size. The previous change was actually a NOP because size is unsigned and compilers are dumb. Submitted by: Ch

svn commit: r244791 - head/bin/ln

2012-12-28 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Fri Dec 28 22:06:33 2012 New Revision: 244791 URL: http://svnweb.freebsd.org/changeset/base/244791 Log: Fix wording nit. PR: 174787 Submitted by: Cody Rank MFC after:3 days Modified: head/bin/ln/ln.1 Modified: head/bin/ln/ln.1 ==

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

2012-12-28 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 28 21:59:47 2012 New Revision: 244790 URL: http://svnweb.freebsd.org/changeset/base/244790 Log: Fix typo in comment. Submitted by: Christoph Mallon Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ===

svn commit: r244787 - head/sys/dev/wbwd

2012-12-28 Thread Xin LI
Author: delphij Date: Fri Dec 28 21:35:47 2012 New Revision: 244787 URL: http://svnweb.freebsd.org/changeset/base/244787 Log: Add DEVICE_IDENTIFY method for wbwd(4), required on most of recent Supermicro motherboards. Tested on X8STi and X8DTH boards. Sponsored by: iXsystems, Inc.

svn commit: r244781 - head/sys/dev/wbwd

2012-12-28 Thread Xin LI
Author: delphij Date: Fri Dec 28 20:44:23 2012 New Revision: 244781 URL: http://svnweb.freebsd.org/changeset/base/244781 Log: Use DEVMETHOD_END. MFC after:2 weeks Modified: head/sys/dev/wbwd/wbwd.c Modified: head/sys/dev/wbwd/wbwd.c ==

svn commit: r244780 - head/lib/libutil

2012-12-28 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 28 20:44:10 2012 New Revision: 244780 URL: http://svnweb.freebsd.org/changeset/base/244780 Log: Simplify pointing dst after the end of all the gr_mem pointers in newgr Submitted by: pjd Reviewed by: db Modified: head/lib/libutil/gr_util.c Modified: head/lib

Re: svn commit: r244779 - head/lib/libutil

2012-12-28 Thread Garrett Cooper
On Fri, Dec 28, 2012 at 12:30 PM, Baptiste Daroussin wrote: > Author: bapt > Date: Fri Dec 28 20:30:04 2012 > New Revision: 244779 > URL: http://svnweb.freebsd.org/changeset/base/244779 > > Log: > errno = ENOMEM was supposed to be removed not return (NULL); > > Submitted by: gcooper Thanks! _

Re: svn commit: r244778 - head/lib/libutil

2012-12-28 Thread Baptiste Daroussin
On Fri, Dec 28, 2012 at 12:22:54PM -0800, Garrett Cooper wrote: > On Fri, Dec 28, 2012 at 12:21 PM, Baptiste Daroussin wrote: > > Author: bapt > > Date: Fri Dec 28 20:21:14 2012 > > New Revision: 244778 > > URL: http://svnweb.freebsd.org/changeset/base/244778 > > > > Log: > > malloc() sets errno

svn commit: r244779 - head/lib/libutil

2012-12-28 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 28 20:30:04 2012 New Revision: 244779 URL: http://svnweb.freebsd.org/changeset/base/244779 Log: errno = ENOMEM was supposed to be removed not return (NULL); Submitted by: gcooper Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_util.c ===

Re: svn commit: r244778 - head/lib/libutil

2012-12-28 Thread Garrett Cooper
On Fri, Dec 28, 2012 at 12:21 PM, Baptiste Daroussin wrote: > Author: bapt > Date: Fri Dec 28 20:21:14 2012 > New Revision: 244778 > URL: http://svnweb.freebsd.org/changeset/base/244778 > > Log: > malloc() sets errno to ENOMEM already. > > Submitted by: Christoph Mallon > > Modified: > head

svn commit: r244778 - head/lib/libutil

2012-12-28 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 28 20:21:14 2012 New Revision: 244778 URL: http://svnweb.freebsd.org/changeset/base/244778 Log: malloc() sets errno to ENOMEM already. Submitted by: Christoph Mallon Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_util.c ===

svn commit: r244777 - head/lib/libutil

2012-12-28 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 28 20:19:54 2012 New Revision: 244777 URL: http://svnweb.freebsd.org/changeset/base/244777 Log: Do not leave parts of the new group uninitialized in gr_dup(). Submitted by: Christoph Mallon Reported by: pjd Modified: head/lib/libutil/gr_util.c Modified: he

svn commit: r244776 - head/contrib/gcc

2012-12-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 28 19:02:28 2012 New Revision: 244776 URL: http://svnweb.freebsd.org/changeset/base/244776 Log: gcc: avoid generating negative values to DW_AT_byte_size. There is a bug in gcc (GCC/35998) where dwarf reports sizes of unsigned -1 (0x). On NetBSD this

svn commit: r244774 - head/sys/sys

2012-12-28 Thread Attilio Rao
Author: attilio Date: Fri Dec 28 17:41:36 2012 New Revision: 244774 URL: http://svnweb.freebsd.org/changeset/base/244774 Log: Improve bufring impl: - Remove unused br_prod_bufs member - Fixup r241037: buf_ring pads br_prod_* and br_cons_* members at 128 bytes, assuming a fixed cache line

Re: svn commit: r244732 - head/sys/sys

2012-12-28 Thread Gleb Smirnoff
On Fri, Dec 28, 2012 at 01:53:35PM +0100, Attilio Rao wrote: A> Did you also rewview the second patch I sent? I did. I just don't have anything to comment on it. I guess it is correct, and you should go forward with it. However, benchmarking of overall changes to the buf_ring is important. -- T

Re: svn commit: r244765 - in head/sys: kern tools

2012-12-28 Thread Bruce Evans
On Thu, 27 Dec 2012, Juli Mallett wrote: Seems like uintmax_t and %ju might be better? At least, truncating a syscall arg to a pointer seems like it could be misleading (e.g. on MIPS n32, even though it's an abomination.) Seems unlikely. At least the old KTR calls only support u_long args, t

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

2012-12-28 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 28 14:06:49 2012 New Revision: 244772 URL: http://svnweb.freebsd.org/changeset/base/244772 Log: MFC: r244226 The group list for a non-default export entry (a host/subnet one) was being copied from the wrong place. This patch fixes that. This could cause acces

Re: svn commit: r244732 - head/sys/sys

2012-12-28 Thread Attilio Rao
On Fri, Dec 28, 2012 at 9:20 AM, Gleb Smirnoff wrote: > On Thu, Dec 27, 2012 at 08:37:24AM -0800, Attilio Rao wrote: > A> > Speaking of which, as you are here, I just found out that r241037 > A> > breaks the alignment of the structure. > A> > Infact the padding member is not updated accordingly. >

svn commit: r244771 - stable/9/etc/mtree

2012-12-28 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 28 10:58:03 2012 New Revision: 244771 URL: http://svnweb.freebsd.org/changeset/base/244771 Log: MFC r244770: Fix location of /var/audit/dist and /var/audit/remote. Note that those who did installworld after r244398 should remove wrongly created /var/dist and /var/re

svn commit: r244770 - head/etc/mtree

2012-12-28 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 28 10:42:01 2012 New Revision: 244770 URL: http://svnweb.freebsd.org/changeset/base/244770 Log: Fix location of /var/audit/dist and /var/audit/remote. Note that those who did installworld after r243752 should remove wrongly created /var/dist and /var/remote. Re

svn commit: r244769 - head/sys/netpfil/pf

2012-12-28 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 28 09:19:49 2012 New Revision: 244769 URL: http://svnweb.freebsd.org/changeset/base/244769 Log: In netpfil/pf: - Add my copyright to files I've touched a lot this year. - Add dash in front of all copyright notices according to style(9). - Move $OpenBSD$

Re: svn commit: r244732 - head/sys/sys

2012-12-28 Thread Gleb Smirnoff
On Thu, Dec 27, 2012 at 08:37:24AM -0800, Attilio Rao wrote: A> > Speaking of which, as you are here, I just found out that r241037 A> > breaks the alignment of the structure. A> > Infact the padding member is not updated accordingly. A> > A> > We don't have a param to control L2 caches, but I thin

svn commit: r244768 - head/sys/dev/ath/ath_hal/ar5416

2012-12-28 Thread Adrian Chadd
Author: adrian Date: Fri Dec 28 08:00:31 2012 New Revision: 244768 URL: http://svnweb.freebsd.org/changeset/base/244768 Log: Add the AR9280 and later spectral scan register definitions. Obtained from:Linux ath9k, Qualcomm Atheros (datasheet) Modified: head/sys/dev/ath/ath_hal/ar5