Re: svn commit: r211505 - head/contrib/gcc

2010-08-21 Thread Rui Paulo
On 20 Aug 2010, at 21:36, Bruce Evans wrote: > On Fri, 20 Aug 2010, Dimitry Andric wrote: > >> On 2010-08-20 00:20, Bruce Evans wrote: >>> These seem to be needed, and some of them valid. Any lvalue arg that >>> can be put in a register can be cast to USItype (unsigned int) on i386. >>> The arg

svn commit: r211537 - head/contrib/gcc

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 10:31:26 2010 New Revision: 211537 URL: http://svn.freebsd.org/changeset/base/211537 Log: Revert part of r211505. Some of the removed casts are actually safe so put them back in again. Also, clang only complained about the lvalue cast. Submitted by: Dimit

svn commit: r211540 - head/lib/libelf

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 10:40:12 2010 New Revision: 211540 URL: http://svn.freebsd.org/changeset/base/211540 Log: Install a PIC libelf. This will be needed by the DTrace runtime instrumentation object (dtri.o). Sponsored by: The FreeBSD Foundation Modified: head/lib/libelf/Make

svn commit: r211545 - in head/cddl/contrib/opensolaris/cmd/dtrace/test: cmd/scripts tst/common/aggs tst/common/assocs tst/common/dtraceUtil tst/common/funcs tst/common/ip tst/common/misc tst/common...

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 11:04:38 2010 New Revision: 211545 URL: http://svn.freebsd.org/changeset/base/211545 Log: Port most of the DTrace tests to FreeBSD. Sponsored by: The FreeBSD Foundation Added: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/Makefile (conte

svn commit: r211546 - head/sys/net80211

2010-08-21 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Aug 21 11:06:21 2010 New Revision: 211546 URL: http://svn.freebsd.org/changeset/base/211546 Log: Wrap remaining ieee80211_ratectl_node_init() calls missed in r211314. MFC after:1 week Modified: head/sys/net80211/ieee80211_node.c Modified: head/sys/net80211

svn commit: r211547 - head/cddl/lib

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 11:09:03 2010 New Revision: 211547 URL: http://svn.freebsd.org/changeset/base/211547 Log: The DTrace instrumentation object is going to be i386/amd64 only. Sponsored by: The FreeBSD Foundation Modified: head/cddl/lib/Makefile Modified: head/cddl/lib/Makef

svn commit: r211550 - head/cddl/lib

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 11:14:50 2010 New Revision: 211550 URL: http://svn.freebsd.org/changeset/base/211550 Log: Use double quotes when checking the value of MACHINE_ARCH. Sponsored by: The FreeBSD Foundation Modified: head/cddl/lib/Makefile Modified: head/cddl/lib/Makefile ===

svn commit: r211553 - head/sys/cddl/compat/opensolaris/kern

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 11:41:32 2010 New Revision: 211553 URL: http://svn.freebsd.org/changeset/base/211553 Log: Add sysname to struct opensolaris_utsname. This is needed by one DTrace test. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/compat/opensolaris/kern/o

svn commit: r211554 - in head/cddl: contrib/opensolaris/cmd/dtrace contrib/opensolaris/lib/libdtrace/common contrib/opensolaris/lib/libdtrace/i386 lib/libdtrace

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 11:50:53 2010 New Revision: 211554 URL: http://svn.freebsd.org/changeset/base/211554 Log: Add libdtrace support for tracing userland programs. Summary of changes: * Implement a compatibility shim between Solaris libproc and our libproc and remove several

svn commit: r211555 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 11:58:08 2010 New Revision: 211555 URL: http://svn.freebsd.org/changeset/base/211555 Log: Port the DTrace helper ioctls to FreeBSD and add a helper member to dof_helper_t (needed by drti.o). Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/co

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread Rui Paulo
On 20 Aug 2010, at 02:33, Doug Barton wrote: > On 08/19/2010 14:50, Bjoern A. Zeeb wrote: >> On Thu, 19 Aug 2010, Doug Barton wrote: >> >>> On 08/19/2010 04:42, Ana Kukec wrote: Hi all, A man page for the kernel side SeND, and an updated port with Secure Neighbor Discovery ap

svn commit: r211558 - head/cddl/contrib/dtracetoolkit

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 13:21:05 2010 New Revision: 211558 URL: http://svn.freebsd.org/changeset/base/211558 Log: Add a directory for the DTraceToolkit. Sponsored by: The FreeBSD Foundation Added: head/cddl/contrib/dtracetoolkit/ ___ sv

svn commit: r211560 - head

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 13:42:12 2010 New Revision: 211560 URL: http://svn.freebsd.org/changeset/base/211560 Log: Add libelf to the prebuild libs. This is needed for the DTrace instrumentation object. Sponsored by: The FreeBSD Foundation Modified: head/Makefile.inc1 Modifie

svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 13:48:04 2010 New Revision: 211561 URL: http://svn.freebsd.org/changeset/base/211561 Log: Link drti.o with a PIC version of libelf. This is needed because drti.o depends on libelf and this avoids linking every other drti.o program (namely programs with USDT pr

svn commit: r211562 - in head/cddl: contrib/opensolaris/cmd/plockstat usr.sbin/plockstat

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 13:54:33 2010 New Revision: 211562 URL: http://svn.freebsd.org/changeset/base/211562 Log: Port plockstat to FreeBSD. This will be connected to the build later. Sponsored by: The FreeBSD Foundation Added: head/cddl/usr.sbin/plockstat/ head/cddl/usr.sbin/p

svn commit: r211563 - head/cddl/usr.sbin/dtruss

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 13:56:29 2010 New Revision: 211563 URL: http://svn.freebsd.org/changeset/base/211563 Log: Add a Makefile for dtruss. Sponsored by: The FreeBSD Foundation Added: head/cddl/usr.sbin/dtruss/ head/cddl/usr.sbin/dtruss/Makefile (contents, props changed) Ad

Re: svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Kostik Belousov
On Sat, Aug 21, 2010 at 01:48:05PM +, Rui Paulo wrote: > Author: rpaulo > Date: Sat Aug 21 13:48:04 2010 > New Revision: 211561 > URL: http://svn.freebsd.org/changeset/base/211561 > > Log: > Link drti.o with a PIC version of libelf. This is needed because > drti.o depends on libelf and thi

Re: svn commit: r211505 - head/contrib/gcc

2010-08-21 Thread Dimitry Andric
On 2010-08-20 22:36, Bruce Evans wrote: > On Fri, 20 Aug 2010, Dimitry Andric wrote: [...] >> But will the casts not potentially hide problems, if you pass the wrong >> types to those macros? Maybe it is better if the compiler complains >> that some argument is of an incompatible type, than just

svn commit: r211564 - head/cddl/usr.sbin

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 14:02:04 2010 New Revision: 211564 URL: http://svn.freebsd.org/changeset/base/211564 Log: Use double quotes when checking the value of MACHINE_ARCH. Sponsored by: The FreeBSD Foundation Modified: head/cddl/usr.sbin/Makefile Modified: head/cddl/usr.sbin/Ma

svn commit: r211565 - head/share/mk

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 14:08:04 2010 New Revision: 211565 URL: http://svn.freebsd.org/changeset/base/211565 Log: Add the definition of LIBELF_PIC. Sponsored by: The FreeBSD Foundation Modified: head/share/mk/bsd.libnames.mk Modified: head/share/mk/bsd.libnames.mk ==

svn commit: r211566 - head/sys/cddl/compat/opensolaris/sys

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 14:09:24 2010 New Revision: 211566 URL: http://svn.freebsd.org/changeset/base/211566 Log: Add a sysname char * to struct opensolaris_utsname. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/compat/opensolaris/sys/misc.h Modified: head/sys/cdd

svn commit: r211567 - head/tools/test/dtrace

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 14:14:24 2010 New Revision: 211567 URL: http://svn.freebsd.org/changeset/base/211567 Log: Update for the new tests. Sponsored by: The FreeBSD Foundation Modified: head/tools/test/dtrace/Makefile Modified: head/tools/test/dtrace/Makefile ==

Re: svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Rui Paulo
On 21 Aug 2010, at 14:59, Kostik Belousov wrote: > On Sat, Aug 21, 2010 at 01:48:05PM +, Rui Paulo wrote: >> Author: rpaulo >> Date: Sat Aug 21 13:48:04 2010 >> New Revision: 211561 >> URL: http://svn.freebsd.org/changeset/base/211561 >> >> Log: >> Link drti.o with a PIC version of libelf.

Re: svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Kostik Belousov
On Sat, Aug 21, 2010 at 03:16:49PM +0100, Rui Paulo wrote: > > On 21 Aug 2010, at 14:59, Kostik Belousov wrote: > > > On Sat, Aug 21, 2010 at 01:48:05PM +, Rui Paulo wrote: > >> Author: rpaulo > >> Date: Sat Aug 21 13:48:04 2010 > >> New Revision: 211561 > >> URL: http://svn.freebsd.org/chang

svn commit: r211568 - head/sys/sparc64/sparc64

2010-08-21 Thread Marius Strobl
Author: marius Date: Sat Aug 21 14:28:48 2010 New Revision: 211568 URL: http://svn.freebsd.org/changeset/base/211568 Log: Skip a KASSERT which isn't appropriate when not employing page coloring. Reported by: Michael Moll Modified: head/sys/sparc64/sparc64/pmap.c Modified: head/sys/sparc64/

Re: svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Rui Paulo
On 21 Aug 2010, at 15:23, Kostik Belousov wrote: > On Sat, Aug 21, 2010 at 03:16:49PM +0100, Rui Paulo wrote: >> >> On 21 Aug 2010, at 14:59, Kostik Belousov wrote: >> >>> On Sat, Aug 21, 2010 at 01:48:05PM +, Rui Paulo wrote: Author: rpaulo Date: Sat Aug 21 13:48:04 2010 New

svn commit: r211570 - head/gnu/lib/libobjc

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 14:59:37 2010 New Revision: 211570 URL: http://svn.freebsd.org/changeset/base/211570 Log: We need to pull bsd.own.mk before modifying the CC variable. Otherwise it will be overwritten when we include bsd.lib.mk. Pointed out by: Dimitry Andric Modifi

svn commit: r211571 - head/sys/boot/i386/boot2

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 15:01:59 2010 New Revision: 211571 URL: http://svn.freebsd.org/changeset/base/211571 Log: Make sure the boot2 stage is compiled with gcc, as clang has no problems compiling it, but it just gets too big at the moment, even with -Os. This is not applicable to g

svn commit: r211572 - head

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 15:39:06 2010 New Revision: 211572 URL: http://svn.freebsd.org/changeset/base/211572 Log: Add clang to the cross-tools build stage. Submitted by: Dimitry Andric Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

svn commit: r211573 - in head: contrib/llvm/tools/clang/lib/Driver contrib/llvm/tools/clang/lib/Frontend lib/clang

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 15:46:33 2010 New Revision: 211573 URL: http://svn.freebsd.org/changeset/base/211573 Log: Modify clang so that when TOOLS_PREFIX is defined we register the CLANG_PREFIX macro. This changes the default header search path when we are building clang as part of cr

Re: svn commit: r211530 - head/sys/netinet6

2010-08-21 Thread Hajimu UMEMOTO
Hi, > On Fri, 20 Aug 2010 22:19:37 +0400 > pluknet said: pluknet> I think it still continues to test the remain condition pluknet> regardless of test result of the first part (!optp). No, I don't think my fix is wrong. If the evaluation matches, the latter should not be evaluated. plu

Re: svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Kostik Belousov
On Sat, Aug 21, 2010 at 03:33:35PM +0100, Rui Paulo wrote: > > On 21 Aug 2010, at 15:23, Kostik Belousov wrote: > > > On Sat, Aug 21, 2010 at 03:16:49PM +0100, Rui Paulo wrote: > >> > >> On 21 Aug 2010, at 14:59, Kostik Belousov wrote: > >> > >>> On Sat, Aug 21, 2010 at 01:48:05PM +, Rui Pa

Re: svn commit: r211561 - head/cddl/lib/drti

2010-08-21 Thread Rui Paulo
On 21 Aug 2010, at 18:06, Kostik Belousov wrote: > On Sat, Aug 21, 2010 at 03:33:35PM +0100, Rui Paulo wrote: >> >> On 21 Aug 2010, at 15:23, Kostik Belousov wrote: >> >>> On Sat, Aug 21, 2010 at 03:16:49PM +0100, Rui Paulo wrote: On 21 Aug 2010, at 14:59, Kostik Belousov wrote:

svn commit: r211577 - in head: . cddl/lib/drti lib/libelf

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 17:29:59 2010 New Revision: 211577 URL: http://svn.freebsd.org/changeset/base/211577 Log: Don't link drti.o with libelf_pic.a. This means that all software with userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The

Re: svn commit: r211577 - in head: . cddl/lib/drti lib/libelf

2010-08-21 Thread Kostik Belousov
On Sat, Aug 21, 2010 at 05:29:59PM +, Rui Paulo wrote: > Author: rpaulo > Date: Sat Aug 21 17:29:59 2010 > New Revision: 211577 > URL: http://svn.freebsd.org/changeset/base/211577 > > Log: > Don't link drti.o with libelf_pic.a. This means that all software with > userland SDT probes must b

Re: svn commit: r211577 - in head: . cddl/lib/drti lib/libelf

2010-08-21 Thread Anonymous
Rui Paulo writes: > Author: rpaulo > Date: Sat Aug 21 17:29:59 2010 > New Revision: 211577 > URL: http://svn.freebsd.org/changeset/base/211577 > > Log: > Don't link drti.o with libelf_pic.a. This means that all software with > userland SDT probes must be linked with libelf explicitly. > >

svn commit: r211580 - head/share/mk

2010-08-21 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 21 17:53:16 2010 New Revision: 211580 URL: http://svn.freebsd.org/changeset/base/211580 Log: Remove LIBELF_PIC. Sponsored by: The FreeBSD Foundation Modified: head/share/mk/bsd.libnames.mk Modified: head/share/mk/bsd.libnames.mk =

Re: svn commit: r211577 - in head: . cddl/lib/drti lib/libelf

2010-08-21 Thread Rui Paulo
On 21 Aug 2010, at 18:36, Anonymous wrote: > Rui Paulo writes: > >> Author: rpaulo >> Date: Sat Aug 21 17:29:59 2010 >> New Revision: 211577 >> URL: http://svn.freebsd.org/changeset/base/211577 >> >> Log: >> Don't link drti.o with libelf_pic.a. This means that all software with >> userland S

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread Doug Barton
On 08/21/2010 05:07, Rui Paulo wrote: Meanwhile, the fact that in the past code has been committed without man pages is the exact cause of the problem you're describing. It is certainly not a justification for continuing to do it wrong. Reverting code just because it doesn't have a man page is

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread Rui Paulo
On 21 Aug 2010, at 19:20, Doug Barton wrote: > On 08/21/2010 05:07, Rui Paulo wrote: >>> Meanwhile, the fact that in the past code has been committed >>> without man pages is the exact cause of the problem you're >>> describing. It is certainly not a justification for continuing to >>> do it wron

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread Doug Barton
On Sat, 21 Aug 2010, Rui Paulo wrote: On 21 Aug 2010, at 19:20, Doug Barton wrote: On 08/21/2010 05:07, Rui Paulo wrote: Meanwhile, the fact that in the past code has been committed without man pages is the exact cause of the problem you're describing. It is certainly not a justification for

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread Rui Paulo
On 21 Aug 2010, at 22:15, Doug Barton wrote: > On Sat, 21 Aug 2010, Rui Paulo wrote: > >> On 21 Aug 2010, at 19:20, Doug Barton wrote: >> >>> On 08/21/2010 05:07, Rui Paulo wrote: > Meanwhile, the fact that in the past code has been committed > without man pages is the exact cause of th

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread Doug Barton
On Sat, 21 Aug 2010, Rui Paulo wrote: If your concern is to change the status quo, you do understand that you picked the worst possible thread to hijack ? Esp. since the author promised to roll out a man page. I didn't hijack anything, I responded to Ana's message saying that a man page was

svn commit: r211594 - head/sys/dev/bge

2010-08-21 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 21 23:13:16 2010 New Revision: 211594 URL: http://svn.freebsd.org/changeset/base/211594 Log: Load tunable from loader.conf(5) instead of device.hints(5). Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

Re: svn commit: r211594 - head/sys/dev/bge

2010-08-21 Thread M. Warner Losh
In message: <201008212313.o7lndgph083...@svn.freebsd.org> Pyun YongHyeon writes: : Author: yongari : Date: Sat Aug 21 23:13:16 2010 : New Revision: 211594 : URL: http://svn.freebsd.org/changeset/base/211594 : : Log: : Load tunable from loader.conf(5) instead of device.hints(5). Why

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-21 Thread M. Warner Losh
In message: Doug Barton writes: : On Sat, 21 Aug 2010, Rui Paulo wrote: : : > If your concern is to change the status quo, you do understand that : > you picked the worst possible thread to hijack ? Esp. since the author : > promised to roll out a man page. : : I didn't hijack anyth

Re: svn commit: r211594 - head/sys/dev/bge

2010-08-21 Thread Pyun YongHyeon
On Sat, Aug 21, 2010 at 07:13:34PM -0600, M. Warner Losh wrote: > In message: <201008212313.o7lndgph083...@svn.freebsd.org> > Pyun YongHyeon writes: > : Author: yongari > : Date: Sat Aug 21 23:13:16 2010 > : New Revision: 211594 > : URL: http://svn.freebsd.org/changeset/base/211594 > :

svn commit: r211596 - head/sys/dev/bge

2010-08-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 22 01:39:09 2010 New Revision: 211596 URL: http://svn.freebsd.org/changeset/base/211596 Log: It seems all Broadcom controllers have a bug that can generate UDP datagrams with checksum value 0 when TX UDP checksum offloading is enabled. Generating UDP checksum v

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

2010-08-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 22 01:40:59 2010 New Revision: 211597 URL: http://svn.freebsd.org/changeset/base/211597 Log: Document newly introduced tunable dev.bge.%d.forced_udpcsum. While I'm here also mention tunable dev.bge.%d.forced_collapse. Modified: head/share/man/man4/bge.4 Modifi

Re: svn commit: r211594 - head/sys/dev/bge

2010-08-21 Thread M. Warner Losh
In message: <20100822012433.gb1...@michelle.cdnetworks.com> Pyun YongHyeon writes: : On Sat, Aug 21, 2010 at 07:13:34PM -0600, M. Warner Losh wrote: : > In message: <201008212313.o7lndgph083...@svn.freebsd.org> : > Pyun YongHyeon writes: : > : Author: yongari : > : Date: S

Re: svn commit: r211594 - head/sys/dev/bge

2010-08-21 Thread Pyun YongHyeon
On Sat, Aug 21, 2010 at 08:10:42PM -0600, M. Warner Losh wrote: > In message: <20100822012433.gb1...@michelle.cdnetworks.com> > Pyun YongHyeon writes: > : On Sat, Aug 21, 2010 at 07:13:34PM -0600, M. Warner Losh wrote: > : > In message: <201008212313.o7lndgph083...@svn.freebsd.org> > :

Re: svn commit: r211594 - head/sys/dev/bge

2010-08-21 Thread M. Warner Losh
In message: <20100822022001.gc1...@michelle.cdnetworks.com> Pyun YongHyeon writes: : On Sat, Aug 21, 2010 at 08:10:42PM -0600, M. Warner Losh wrote: : > In message: <20100822012433.gb1...@michelle.cdnetworks.com> : > Pyun YongHyeon writes: : > : On Sat, Aug 21, 2010 at 07:

svn commit: r211598 - head/sys/fs/tmpfs

2010-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 22 05:36:06 2010 New Revision: 211598 URL: http://svn.freebsd.org/changeset/base/211598 Log: Add support for whiteouts on tmpfs. Right now unionfs only allows filesystems to be mounted on top of another if it supports whiteouts. Even though I have sent a patch to