svn commit: r233257 - head/usr.sbin/newsyslog

2012-03-20 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 21 06:51:45 2012 New Revision: 233257 URL: http://svn.freebsd.org/changeset/base/233257 Log: Don't run through time checks when entry is definitely oversized. This leads to newsyslog rotating on (size OR time) if both are specified. PR: 100018, 1604

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread Alexey Dokuchaev
On Tue, Mar 20, 2012 at 07:48:36PM -0500, Mark Linimon wrote: > Personally, I'd like to see us pick a "recommended way for new code", > whether it's one or two spaces, whatever. (8 spaces seems too much.) +1. I always hesitate between one or two spaces; but last time I recall I was using one. I

svn commit: r233256 - in head/sys: amd64/amd64 amd64/conf conf

2012-03-20 Thread Alan Cox
Author: alc Date: Wed Mar 21 04:00:58 2012 New Revision: 233256 URL: http://svn.freebsd.org/changeset/base/233256 Log: Eliminate vm.pmap.shpgperproc and vm.pmap.pv_entry_max because they no longer serve any purpose. Prior to r157446, they served a purpose because there was a fixed amount of

svn commit: r233255 - head/sys/net80211

2012-03-20 Thread Adrian Chadd
Author: adrian Date: Wed Mar 21 03:19:50 2012 New Revision: 233255 URL: http://svn.freebsd.org/changeset/base/233255 Log: Re-commit this - store the alq payload in network order. Modified: head/sys/net80211/ieee80211_alq.c Modified: head/sys/net80211/ieee80211_alq.c =

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread Daniel O'Connor
On 21/03/2012, at 11:18, Mark Linimon wrote: > Personally, I'd like to see us pick a "recommended way for new code", > whether it's one or two spaces, whatever. (8 spaces seems too much.) 2 space indents are fine IMO, but they are spaces. A tab character should be viewed as 8 spaces wide, but t

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread Mark Linimon
The style in bsd.port.mk is not consistent. (I know, this is shocking for something that's at r1.706.) Here's what I recall seeing in it, that I found readable: .if defined(USE_GL) . if ${USE_GL:L} == "yes" USE_GL= glu . endif . for _component in ${USE_GL} . if !defined(_GL_${_component}_LI

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread Daniel O'Connor
On 21/03/2012, at 8:10, Chris Rees wrote: > Yes-- it'd be nice if less could read the ex:ts=4 bit. > > That can go on my todo list. Are you going to teach it emacs commands for the same? ;) IMO any file which wants to be viewed with tabs != 8 spaces is broken. The extra cost of disk to store

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread Chris Rees
On 20 March 2012 21:28, John Baldwin wrote: > On Tuesday, March 20, 2012 5:20:04 pm Chris Rees wrote: >> On 20 March 2012 14:19, John Baldwin wrote: >> > On Monday, March 19, 2012 5:39:53 pm Doug Barton wrote: >> >> On 3/19/2012 12:37 PM, Dimitry Andric wrote: >> >> > It would be much nicer to be

svn commit: r233250 - in head: share/man/man4 sys/amd64/acpica sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/co...

2012-03-20 Thread Jung-uk Kim
Author: jkim Date: Tue Mar 20 21:37:52 2012 New Revision: 233250 URL: http://svn.freebsd.org/changeset/base/233250 Log: Merge ACPICA 20120320. Added: head/sys/contrib/dev/acpica/compiler/preprocess.h - copied unchanged from r233238, vendor-sys/acpica/dist/source/compiler/preprocess.h

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread John Baldwin
On Tuesday, March 20, 2012 5:20:04 pm Chris Rees wrote: > On 20 March 2012 14:19, John Baldwin wrote: > > On Monday, March 19, 2012 5:39:53 pm Doug Barton wrote: > >> On 3/19/2012 12:37 PM, Dimitry Andric wrote: > >> > It would be much nicer to be able to write: > >> > > >> > .if defined(FOO) > >>

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread Chris Rees
On 20 March 2012 14:19, John Baldwin wrote: > On Monday, March 19, 2012 5:39:53 pm Doug Barton wrote: >> On 3/19/2012 12:37 PM, Dimitry Andric wrote: >> > It would be much nicer to be able to write: >> > >> > .if defined(FOO) >> >   .if defined(BAR) >> >     CFLAGS+=        -DFOO_BAR >> >   .endif

svn commit: r233249 - head/sys/amd64/acpica

2012-03-20 Thread Jung-uk Kim
Author: jkim Date: Tue Mar 20 20:37:23 2012 New Revision: 233249 URL: http://svn.freebsd.org/changeset/base/233249 Log: Fix another witness panic. We cannot enter critical section at all because AcpiEnterSleepState() executes (optional) _GTS method since ACPICA 20120215 (r231844). To evalu

svn commit: r233248 - in stable/8/sys: i386/conf netinet netinet6

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:47:59 2012 New Revision: 233248 URL: http://svn.freebsd.org/changeset/base/233248 Log: MFC r233005: Clean up, no functional change. Modified: stable/8/sys/netinet/sctp_usrreq.c stable/8/sys/netinet6/sctp6_usrreq.c Directory Properties: stable/8/sys/

svn commit: r233247 - in stable/8/sys: i386/conf kern netinet

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:45:25 2012 New Revision: 233247 URL: http://svn.freebsd.org/changeset/base/233247 Log: MFC r233004: Fix bugs which can result in a panic when an non-SCTP socket it used with an sctp_ system-call which expects an SCTP socket. Modified: stable/8/sys/kern/u

svn commit: r233246 - in stable/8/sys: i386/conf netinet

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:42:40 2012 New Revision: 233246 URL: http://svn.freebsd.org/changeset/base/233246 Log: MFC r232866: This fixes PR 165210. Basically we just add in the netgraph interface to the list of acceptable interfaces. A todo at the next IETF code blitz, though is

svn commit: r233245 - in stable/8/sys: i386/conf netinet

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:39:44 2012 New Revision: 233245 URL: http://svn.freebsd.org/changeset/base/233245 Log: MFC r232724: Add support for stf interfaces. Modified: stable/8/sys/netinet/sctp_bsd_addr.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/

svn commit: r233244 - in stable/8/sys: i386/conf netinet netinet6

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:37:05 2012 New Revision: 233244 URL: http://svn.freebsd.org/changeset/base/233244 Log: MFC r231895: Remove two clang warnings. Modified: stable/8/sys/netinet/sctp_usrreq.c stable/8/sys/netinet6/sctp6_usrreq.c Directory Properties: stable/8/sys/ (prop

svn commit: r233243 - in stable/9/sys: netinet netinet6

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:27:27 2012 New Revision: 233243 URL: http://svn.freebsd.org/changeset/base/233243 Log: MFC r233005: Clean up, no functional change. Modified: stable/9/sys/netinet/sctp_usrreq.c stable/9/sys/netinet6/sctp6_usrreq.c Directory Properties: stable/9/sys/

svn commit: r233242 - in stable/9/sys: kern netinet

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:24:56 2012 New Revision: 233242 URL: http://svn.freebsd.org/changeset/base/233242 Log: MFC r233004: Fix bugs which can result in a panic when an non-SCTP socket it used with an sctp_ system-call which expects an SCTP socket. Modified: stable/9/sys/ker

svn commit: r233241 - stable/9/sys/netinet

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:22:44 2012 New Revision: 233241 URL: http://svn.freebsd.org/changeset/base/233241 Log: MFC r232866: This fixes PR 165210. Basically we just add in the netgraph interface to the list of acceptable interfaces. A todo at the next IETF code blitz, though

svn commit: r233240 - stable/9/sys/netinet

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:19:50 2012 New Revision: 233240 URL: http://svn.freebsd.org/changeset/base/233240 Log: MFC r232724: Add support for stf interfaces. Modified: stable/9/sys/netinet/sctp_bsd_addr.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/s

svn commit: r233239 - in stable/9/sys: netinet netinet6

2012-03-20 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 20 19:16:54 2012 New Revision: 233239 URL: http://svn.freebsd.org/changeset/base/233239 Log: MFC r231895: Remove two clang warnings. Modified: stable/9/sys/netinet/sctp_usrreq.c stable/9/sys/netinet6/sctp6_usrreq.c Directory Properties: stable/9/sys/ (p

Re: svn commit: r233199 - in stable/8/sys: i386/conf netinet6

2012-03-20 Thread John Baldwin
On Tuesday, March 20, 2012 5:02:48 am Sergey Kandaurov wrote: > On 20 March 2012 00:15, John Baldwin wrote: > > Author: jhb > > Date: Mon Mar 19 20:15:18 2012 > > New Revision: 233199 > > URL: http://svn.freebsd.org/changeset/base/233199 > > > > Log: > > MFC 225096: > > Fix if_addr_mtx recursion

Re: svn commit: r232721 - head/sys/x86/include

2012-03-20 Thread John Baldwin
On Tuesday, March 20, 2012 10:19:07 am Tijl Coosemans wrote: > On Tuesday 20 March 2012 13:34:10 John Baldwin wrote: > > On Friday, March 09, 2012 6:48:56 am Tijl Coosemans wrote: > >> Author: tijl > >> Date: Fri Mar 9 11:48:56 2012 > >> New Revision: 232721 > >> URL: http://svn.freebsd.org/change

Re: svn commit: r233136 - in head/secure: usr.bin/ssh usr.sbin/sshd

2012-03-20 Thread John Baldwin
On Monday, March 19, 2012 7:12:25 pm Eitan Adler wrote: > 2012/3/19 Dag-Erling Smørgrav : > > John Baldwin writes: > > Looking at the original contents of the two files > > sshd: > -.if defined(X11BASE) || defined(LOCALBASE) > > ssh: > -.if defined(X11BASE) > > which I think was the cause of m

Re: svn commit: r233103 - head/lib/libthr/thread

2012-03-20 Thread John Baldwin
On Monday, March 19, 2012 7:53:43 pm David Xu wrote: > On 2012/3/20 1:50, John Baldwin wrote: > > On Monday, March 19, 2012 11:41:53 am David Xu wrote: > >> On 2012/3/19 20:33, John Baldwin wrote: > >>> On Saturday, March 17, 2012 8:22:29 pm David Xu wrote: > Author: davidxu > Date: Sun M

Re: svn commit: r233052 - head/share/mk

2012-03-20 Thread John Baldwin
On Monday, March 19, 2012 5:39:53 pm Doug Barton wrote: > On 3/19/2012 12:37 PM, Dimitry Andric wrote: > > It would be much nicer to be able to write: > > > > .if defined(FOO) > > .if defined(BAR) > > CFLAGS+=-DFOO_BAR > > .endif > > .endif > > Take a look at /usr/ports/Mk/bsd.por

Re: svn commit: r233045 - in head/sys: conf kern

2012-03-20 Thread Gleb Smirnoff
On Tue, Mar 20, 2012 at 06:00:50PM +0100, Davide Italiano wrote: D> 2012/3/20 Gleb Smirnoff : D> > On Mon, Mar 19, 2012 at 09:06:36PM +0100, Davide Italiano wrote: D> > D> >> These indented ifdefs look like a major violation of style used throughout D> > D> >> the FreeBSD kernel code. Can you plea

svn commit: r233238 - vendor-sys/acpica/20120320

2012-03-20 Thread Jung-uk Kim
Author: jkim Date: Tue Mar 20 18:18:12 2012 New Revision: 233238 URL: http://svn.freebsd.org/changeset/base/233238 Log: Tag ACPICA 20120320. Added: vendor-sys/acpica/20120320/ - copied from r233237, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r233237 - in vendor-sys/acpica/dist: . generate/unix/iasl source/common source/compiler source/components/debugger source/components/hardware source/components/namespace source/componen...

2012-03-20 Thread Jung-uk Kim
Author: jkim Date: Tue Mar 20 18:17:33 2012 New Revision: 233237 URL: http://svn.freebsd.org/changeset/base/233237 Log: Import ACPICA 20120320. Added: vendor-sys/acpica/dist/source/compiler/preprocess.h (contents, props changed) vendor-sys/acpica/dist/source/compiler/prexpress.c

svn commit: r233236 - head/sys

2012-03-20 Thread John Baldwin
Author: jhb Date: Tue Mar 20 18:05:15 2012 New Revision: 233236 URL: http://svn.freebsd.org/changeset/base/233236 Log: Add sys/ofed to the 'make cscope' target. MFC after:1 week Modified: head/sys/Makefile Modified: head/sys/Makefile =

svn commit: r233235 - in head: contrib/libcxxrt lib/libcxxrt

2012-03-20 Thread David Chisnall
Author: theraven Date: Tue Mar 20 17:58:15 2012 New Revision: 233235 URL: http://svn.freebsd.org/changeset/base/233235 Log: Import new version of libcxxrt. Now works correctly with libobjc2 to implement the unified exception model for Objective-C++. Approved by: dim (mentor) Deleted:

svn commit: r233234 - vendor/libcxxrt/2012-03-20-cddcf8734ed06ada9384a461bc21d58b44f6eba1

2012-03-20 Thread David Chisnall
Author: theraven Date: Tue Mar 20 17:43:30 2012 New Revision: 233234 URL: http://svn.freebsd.org/changeset/base/233234 Log: Tag new version of libcxxrt in vendor branch. Approved by: dim (mentor) Added: vendor/libcxxrt/2012-03-20-cddcf8734ed06ada9384a461bc21d58b44f6eba1/ - copied f

svn commit: r233233 - vendor/libcxxrt/dist

2012-03-20 Thread David Chisnall
Author: theraven Date: Tue Mar 20 17:41:02 2012 New Revision: 233233 URL: http://svn.freebsd.org/changeset/base/233233 Log: Import new version of libcxxrt to vendor branch. Approved by: dim (mentor) Deleted: vendor/libcxxrt/dist/typeinfo Modified: vendor/libcxxrt/dist/dynamic_cast.cc

Re: svn commit: r233045 - in head/sys: conf kern

2012-03-20 Thread Davide Italiano
2012/3/20 Gleb Smirnoff : > On Mon, Mar 19, 2012 at 09:06:36PM +0100, Davide Italiano wrote: > D> >> These indented ifdefs look like a major violation of style used > throughout > D> >> the FreeBSD kernel code. Can you please keep with common style? > D> >> > D> > > D> > Heh, > D> > sorry, also Ju

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

2012-03-20 Thread Sergey Kandaurov
Author: pluknet Date: Tue Mar 20 16:56:35 2012 New Revision: 233232 URL: http://svn.freebsd.org/changeset/base/233232 Log: Update the list of struct ifnet fields. - Document if_vnet, if_home_vnet, if_carp, if_vlantrunk, if_multiaddrs, if_amcount, if_addr, if_llsoftc stub, if_broadcastaddr,

Re: svn commit: r229551 - in stable/9/contrib/libstdc++: . config/os/aix include/bits include/ext include/tr1 libsupc++ src

2012-03-20 Thread David Chisnall
This part of the change gratuitously alters the vtable layout of a core ABI class and will break things. Please revert it. David On 5 Jan 2012, at 01:48, Pedro F. Giffuni wrote: > Modified: stable/9/contrib/libstdc++/libsupc++/typeinfo >

Re: svn commit: r233045 - in head/sys: conf kern

2012-03-20 Thread Gleb Smirnoff
On Mon, Mar 19, 2012 at 09:06:36PM +0100, Davide Italiano wrote: D> >> These indented ifdefs look like a major violation of style used throughout D> >> the FreeBSD kernel code. Can you please keep with common style? D> >> D> > D> > Heh, D> > sorry, also Juli Mallet noticed this, I'm writing a fix f

Re: svn commit: r232721 - head/sys/x86/include

2012-03-20 Thread Tijl Coosemans
On Tuesday 20 March 2012 13:34:10 John Baldwin wrote: > On Friday, March 09, 2012 6:48:56 am Tijl Coosemans wrote: >> Author: tijl >> Date: Fri Mar 9 11:48:56 2012 >> New Revision: 232721 >> URL: http://svn.freebsd.org/changeset/base/232721 >> >> Log: >> Clean up x86 endian.h: >> - Remove ext

svn commit: r233231 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2012-03-20 Thread Konstantin Belousov
Author: kib Date: Tue Mar 20 13:20:49 2012 New Revision: 233231 URL: http://svn.freebsd.org/changeset/base/233231 Log: Fix several problems with our ELF filters implementation. Do not relocate twice an object which happens to be needed by loaded binary (or dso) and some filtee opened due

svn commit: r233230 - in head/sys/boot: fdt uboot/common

2012-03-20 Thread Rafal Jaworowski
Author: raj Date: Tue Mar 20 13:08:57 2012 New Revision: 233230 URL: http://svn.freebsd.org/changeset/base/233230 Log: Improve device tree blob (DTB) handling in loader(8). Enable using the statically embedded blob from the kernel, if present. The KLD loaded DTB takes precedence, but they

Re: svn commit: r232721 - head/sys/x86/include

2012-03-20 Thread John Baldwin
On Friday, March 09, 2012 6:48:56 am Tijl Coosemans wrote: > Author: tijl > Date: Fri Mar 9 11:48:56 2012 > New Revision: 232721 > URL: http://svn.freebsd.org/changeset/base/232721 > > Log: > Clean up x86 endian.h: > - Remove extern "C". There are no functions with external linkage here. [1]

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

2012-03-20 Thread Maxim Konovalov
Author: maxim Date: Tue Mar 20 12:24:36 2012 New Revision: 233229 URL: http://svn.freebsd.org/changeset/base/233229 Log: o Xr siftr.4 in order to expose it to a wider audience. Reviewed by: lstewart Modified: head/share/man/man4/tcp.4 Modified: head/share/man/man4/tcp.4 ===

Re: svn commit: r233211 - stable/8/sys/conf

2012-03-20 Thread Konstantin Belousov
On Mon, Mar 19, 2012 at 10:20:48PM +, Ken Smith wrote: > Author: kensmith > Date: Mon Mar 19 22:20:47 2012 > New Revision: 233211 > URL: http://svn.freebsd.org/changeset/base/233211 > > Log: > We seem to be having issues with a bug in the loader that causes it to s/loader/linker/ > estimat

Re: svn commit: r233199 - in stable/8/sys: i386/conf netinet6

2012-03-20 Thread Sergey Kandaurov
On 20 March 2012 00:15, John Baldwin wrote: > Author: jhb > Date: Mon Mar 19 20:15:18 2012 > New Revision: 233199 > URL: http://svn.freebsd.org/changeset/base/233199 > > Log: >  MFC 225096: >  Fix if_addr_mtx recursion in mld6. Ehh.. Thank you for doing this. As I mentioned earlier I could not re