svn commit: r243019 - head/sbin/route

2012-11-14 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 14 08:05:21 2012 New Revision: 243019 URL: http://svnweb.freebsd.org/changeset/base/243019 Log: Remove remnants of classful addressing. These magic transformations of supplied arguments is not what a modern sysadmin expect. Modified: head/sbin/route/route.c Mo

Re: svn commit: r243019 - head/sbin/route

2012-11-14 Thread Andre Oppermann
On 14.11.2012 09:05, Gleb Smirnoff wrote: Author: glebius Date: Wed Nov 14 08:05:21 2012 New Revision: 243019 URL: http://svnweb.freebsd.org/changeset/base/243019 Log: Remove remnants of classful addressing. These magic transformations of supplied arguments is not what a modern sysadmin ex

Re: svn commit: r243019 - head/sbin/route

2012-11-14 Thread Gleb Smirnoff
On Wed, Nov 14, 2012 at 10:30:22AM +0100, Andre Oppermann wrote: A> On 14.11.2012 09:05, Gleb Smirnoff wrote: A> > Author: glebius A> > Date: Wed Nov 14 08:05:21 2012 A> > New Revision: 243019 A> > URL: http://svnweb.freebsd.org/changeset/base/243019 A> > A> > Log: A> >Remove remnants of classf

svn commit: r243021 - head/sys/kern

2012-11-14 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 14 10:32:12 2012 New Revision: 243021 URL: http://svnweb.freebsd.org/changeset/base/243021 Log: return ERANGE if the buffer is too small to contain the login as documented in the manpage Reviewed by: cognet, kib MFC after:1 month Modified: head/sys/ker

svn commit: r243022 - head/sys/kern

2012-11-14 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 14 10:33:12 2012 New Revision: 243022 URL: http://svnweb.freebsd.org/changeset/base/243022 Log: Style fix MFC after:1 day Modified: head/sys/kern/kern_prot.c Modified: head/sys/kern/kern_prot.c ==

svn commit: r243023 - head/sys/sys

2012-11-14 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 14 10:58:12 2012 New Revision: 243023 URL: http://svnweb.freebsd.org/changeset/base/243023 Log: Allow usernames up to 32 chars PR: kern/161091 [1], misc/133926 [2] Submitted by: Stephane Lapie [1], Chris Dillon [2] R

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

2012-11-14 Thread Olivier Houchard
Author: cognet Date: Wed Nov 14 10:59:42 2012 New Revision: 243024 URL: http://svnweb.freebsd.org/changeset/base/243024 Log: Use the arrmv7 version for flushID too, as it does something different for SMP. Submitted by: Giovanni Trematerra Modified: head/sys/arm/arm/cpufunc.c Modified:

svn commit: r243025 - head/sys/boot/i386/common

2012-11-14 Thread Andriy Gapon
Author: avg Date: Wed Nov 14 11:05:16 2012 New Revision: 243025 URL: http://svnweb.freebsd.org/changeset/base/243025 Log: boot: use packed attribute for edd_params* structures and their substructures The sole purpose of this change is to make sure that sizeof produces "canonical" sizes fo

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

2012-11-14 Thread Olivier Houchard
Author: cognet Date: Wed Nov 14 12:11:23 2012 New Revision: 243026 URL: http://svnweb.freebsd.org/changeset/base/243026 Log: Make it clear the L2 ops are filled for any cpu using a PL310 cache, not just the omap4. Spotted out by: Giovanni Trematerra Modified: head/sys/arm/arm/cp

svn commit: r243027 - head/bin/sh

2012-11-14 Thread Jilles Tjoelker
Author: jilles Date: Wed Nov 14 14:08:24 2012 New Revision: 243027 URL: http://svnweb.freebsd.org/changeset/base/243027 Log: sh: Remove an unused variable. Modified: head/bin/sh/input.c head/bin/sh/input.h Modified: head/bin/sh/input.c ==

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

2012-11-14 Thread Ed Schouten
2012/11/14 Baptiste Daroussin : > Allow usernames up to 32 chars Thanks! -- Ed Schouten ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd

Re: svn commit: r243019 - head/sbin/route

2012-11-14 Thread Ben Kaduk
On Wed, Nov 14, 2012 at 4:32 AM, Gleb Smirnoff wrote: > A> Can the IN_CLASS[A-C]_NET... definitions go away as well? > > They are defines that don't generate any code. > > Also, on this mailing list I've promised once not to remove them :) I'm glad you remember :) Andre, they are used (for bette

Re: svn commit: r243019 - head/sbin/route

2012-11-14 Thread Eitan Adler
On 14 November 2012 11:12, Ben Kaduk wrote: > On Wed, Nov 14, 2012 at 4:32 AM, Gleb Smirnoff wrote: >> A> Can the IN_CLASS[A-C]_NET... definitions go away as well? >> >> They are defines that don't generate any code. >> >> Also, on this mailing list I've promised once not to remove them :) > > I'

svn commit: r243028 - head/sys/netinet6

2012-11-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 14 17:14:03 2012 New Revision: 243028 URL: http://svnweb.freebsd.org/changeset/base/243028 Log: zoneid has unsigned type. MFC after:1 week Modified: head/sys/netinet6/scope6.c Modified: head/sys/netinet6/scope6.c =

svn commit: r243029 - head/sys/netinet6

2012-11-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 14 17:23:48 2012 New Revision: 243029 URL: http://svnweb.freebsd.org/changeset/base/243029 Log: SCOPE6_LOCK protects V_sid_default, no need to acquire it without any access to V_sid_default. Sponsored by: Yandex LLC MFC after:1 week Modified: head/sys/net

Re: svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-11-14 Thread David O'Brien
On Thu, Oct 25, 2012 at 11:18:06PM +, Simon J. Gerraty wrote: > Log: > Merge bmake-20121010 Hi Simon, I was kicking the tires on this and noticed bmake is dynamically linked. Can you change it to being statically linked? This issue most recently came up in freebsd-current. See thread pie

svn commit: r243030 - in head/sys/mips: include mips

2012-11-14 Thread Alan Cox
Author: alc Date: Wed Nov 14 17:33:00 2012 New Revision: 243030 URL: http://svnweb.freebsd.org/changeset/base/243030 Log: The function pmap_alloc_direct_page() unconditionally zeroes the returned page. Therefore, it is really inappropriate for use by the function uma_small_alloc(). The eff

svn commit: r243031 - head/sys/netinet6

2012-11-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 14 17:36:06 2012 New Revision: 243031 URL: http://svnweb.freebsd.org/changeset/base/243031 Log: if_afdata lock was converted from mutex to rwlock a long ago, so we can replace IF_AFDATA_LOCK() macro depending to the access type. Sponsored by: Yandex LLC MFC afte

svn commit: r243032 - head/include/xlocale

2012-11-14 Thread Dmitry Sivachenko
Author: demon (ports committer) Date: Wed Nov 14 17:44:37 2012 New Revision: 243032 URL: http://svnweb.freebsd.org/changeset/base/243032 Log: Use defined() to test macro definitions. Approved by: theraven Modified: head/include/xlocale/_ctype.h Modified: head/include/xlocale/_ctype.h =

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

2012-11-14 Thread Davide Italiano
Author: davide Date: Wed Nov 14 18:43:58 2012 New Revision: 243033 URL: http://svnweb.freebsd.org/changeset/base/243033 Log: Fix the lookup in the DOTDOT case in the same way as other filesystems do, i.e. inlining the vn_vget_ino() algorithm. Sponsored by: iXsystems inc. Modified: head

Re: svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-11-14 Thread Konstantin Belousov
On Wed, Nov 14, 2012 at 09:28:23AM -0800, David O'Brien wrote: > On Thu, Oct 25, 2012 at 11:18:06PM +, Simon J. Gerraty wrote: > > Log: > > Merge bmake-20121010 > > Hi Simon, > I was kicking the tires on this and noticed bmake is dynamically linked. > > Can you change it to being statically

svn commit: r243034 - head/crypto/heimdal/lib/sl

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:49:03 2012 New Revision: 243034 URL: http://svnweb.freebsd.org/changeset/base/243034 Log: In crypto/heimdal/lib/sl/slc-lex.l, don't define YY_NO_INPUT, since %option nounput is already specified. MFC after:3 days Modified: head/crypto/heimdal/lib/sl/

svn commit: r243035 - head/usr.bin/mkcsmapper

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:51:12 2012 New Revision: 243035 URL: http://svnweb.freebsd.org/changeset/base/243035 Log: For mkcsmapper, conditionalize gcc-specific compile flags. MFC after:3 days Modified: head/usr.bin/mkcsmapper/Makefile.inc Modified: head/usr.bin/mkcsmapper/Make

svn commit: r243036 - head/games/fortune/fortune

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:52:37 2012 New Revision: 243036 URL: http://svnweb.freebsd.org/changeset/base/243036 Log: In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it is *not* a boolean). MFC after:3 days Modified: head/games/fortune/fortune/fortune.c Modi

svn commit: r243037 - head/sys/dev/aic7xxx/aicasm

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:54:08 2012 New Revision: 243037 URL: http://svnweb.freebsd.org/changeset/base/243037 Log: Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: it compared an enum scope_type against a yacc-generated define, so the condition would always be false.

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

2012-11-14 Thread Davide Italiano
Author: davide Date: Wed Nov 14 19:10:50 2012 New Revision: 243038 URL: http://svnweb.freebsd.org/changeset/base/243038 Log: Get rid of some old debug code. It provides checks similar to the one offered by RedZone so there's no need to keep it. Sponsored by: iXsystems inc. Modified: he

Re: svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-11-14 Thread Chris Rees
On 14 Nov 2012 18:49, "Konstantin Belousov" wrote: > > On Wed, Nov 14, 2012 at 09:28:23AM -0800, David O'Brien wrote: > > On Thu, Oct 25, 2012 at 11:18:06PM +, Simon J. Gerraty wrote: > > > Log: > > > Merge bmake-20121010 > > > > Hi Simon, > > I was kicking the tires on this and noticed bmak

svn commit: r243039 - head/sys/fs/devfs

2012-11-14 Thread Konstantin Belousov
Author: kib Date: Wed Nov 14 19:50:21 2012 New Revision: 243039 URL: http://svnweb.freebsd.org/changeset/base/243039 Log: Remove M_USE_RESERVE from the devfs cdp allocator, which is one of two uses of M_USE_RESERVE in the kernel. This allocation is not special. Reviewed by: alc Tested

svn commit: r243040 - in head/sys: amd64/amd64 arm/arm ia64/ia64 mips/mips powerpc/aim sparc64/sparc64 vm

2012-11-14 Thread Konstantin Belousov
Author: kib Date: Wed Nov 14 20:01:40 2012 New Revision: 243040 URL: http://svnweb.freebsd.org/changeset/base/243040 Log: Flip the semantic of M_NOWAIT to only require the allocation to not sleep, and perform the page allocations with VM_ALLOC_SYSTEM class. Previously, the allocation was als

Re: svn commit: r243019 - head/sbin/route

2012-11-14 Thread Ben Kaduk
On Wed, Nov 14, 2012 at 11:27 AM, Eitan Adler wrote: > On 14 November 2012 11:12, Ben Kaduk wrote: >> Andre, they are used (for better or for worse) in a multi-site >> database synchronization protocol that currently works portably across >> operating systems. Removing them would change the sema

svn commit: r243046 - in head: sys/kern sys/sparc64/include sys/sys usr.bin/ktrdump

2012-11-14 Thread Jeff Roberson
Author: jeff Date: Thu Nov 15 00:51:57 2012 New Revision: 243046 URL: http://svnweb.freebsd.org/changeset/base/243046 Log: - Implement run-time expansion of the KTR buffer via sysctl. - Implement a function to ensure that all preempted threads have switched back out at least once. Use

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

2012-11-14 Thread Adrian Chadd
Author: adrian Date: Thu Nov 15 03:00:49 2012 New Revision: 243047 URL: http://svnweb.freebsd.org/changeset/base/243047 Log: Make sure the final descriptor in an aggregate has rate control information. This was broken by me when merging the 802.11n aggregate descriptor chain setup with th

svn commit: r243048 - head/games/fortune/datfiles

2012-11-14 Thread John-Mark Gurney
Author: jmg Date: Thu Nov 15 03:22:50 2012 New Revision: 243048 URL: http://svnweb.freebsd.org/changeset/base/243048 Log: fix a couple of spelling errors... Modified: head/games/fortune/datfiles/fortunes Modified: head/games/fortune/datfiles/fortunes =

svn commit: r243049 - head/bin/df

2012-11-14 Thread Greg Lehey
Author: grog Date: Thu Nov 15 03:39:21 2012 New Revision: 243049 URL: http://svnweb.freebsd.org/changeset/base/243049 Log: Add , (comma) option to print sizes grouped and separated by thousands using the non-monetary separator returned by localeconv(3), typically a comma or period. MFC

svn commit: r243050 - head/contrib/atf/doc

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:24:17 2012 New Revision: 243050 URL: http://svnweb.freebsd.org/changeset/base/243050 Log: Remove redundant text describing the cleanup routine. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=43 Submitted by: Garrett Cooper Modified:

svn commit: r243051 - head/contrib/atf/atf-sh

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:29:12 2012 New Revision: 243051 URL: http://svnweb.freebsd.org/changeset/base/243051 Log: Fix typos in description for exp{err,out}_mismatch_head. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=44 Submitted by: Garrett Cooper Modified

svn commit: r243052 - head/contrib/atf/atf-run

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:32:55 2012 New Revision: 243052 URL: http://svnweb.freebsd.org/changeset/base/243052 Log: Add support for DragonFly and FreeBSD. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=45 Submitted by: Garrett Cooper Modified: head/contrib/a

svn commit: r243053 - head/tools/build/mk

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:39:23 2012 New Revision: 243053 URL: http://svnweb.freebsd.org/changeset/base/243053 Log: Don't install atf.test.mk if MK_ATF == no. Submitted by: Garrett Cooper Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/Opt

svn commit: r243054 - head/contrib/atf/atf-c

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:42:30 2012 New Revision: 243054 URL: http://svnweb.freebsd.org/changeset/base/243054 Log: The *_STR* macros use strcmp() to check their arguments. Include string.h to have this definition available. Upstream commit: 1dc1884f778f88811583e6a54610a6d7e421ca63

svn commit: r243055 - head/contrib/atf

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:51:37 2012 New Revision: 243055 URL: http://svnweb.freebsd.org/changeset/base/243055 Log: Add ATF update instructions and file exclude list. Submitted by: Garrett Cooper Added: head/contrib/atf/FREEBSD-Xlist (contents, props changed) head/contrib/a

Re: svn commit: r243046 - in head: sys/kern sys/sparc64/include sys/sys usr.bin/ktrdump

2012-11-14 Thread Julian Elischer
On 11/14/12 4:51 PM, Jeff Roberson wrote: Author: jeff Date: Thu Nov 15 00:51:57 2012 New Revision: 243046 URL: http://svnweb.freebsd.org/changeset/base/243046 Log: - Implement run-time expansion of the KTR buffer via sysctl. on the fly? ooo! nice - Implement a function to en

svn commit: r243066 - head/sys/conf

2012-11-14 Thread Rui Paulo
Author: rpaulo Date: Thu Nov 15 06:58:18 2012 New Revision: 243066 URL: http://svnweb.freebsd.org/changeset/base/243066 Log: Enable back the clang warning in if_ath.c. Modified: head/sys/conf/files Modified: head/sys/conf/files

Re: svn commit: r242102 - in head: contrib/bmake usr.bin/bmake

2012-11-14 Thread Bruce Evans
On Wed, 14 Nov 2012, Chris Rees wrote: On 14 Nov 2012 18:49, "Konstantin Belousov" wrote: On Wed, Nov 14, 2012 at 09:28:23AM -0800, David O'Brien wrote: On Thu, Oct 25, 2012 at 11:18:06PM +, Simon J. Gerraty wrote: Log: Merge bmake-20121010 Hi Simon, I was kicking the tires on this