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

2010-08-22 Thread Scott Long
On Aug 22, 2010, at 2:16 PM, Doug Barton wrote: > On 08/22/2010 12:42, M. Warner Losh wrote: > >> I think you're drawing the wrong conclusion here. > > Doubtful. :) > >> My point is that we have trusted folks in the past to do the right >> thing, even when they don't say they will. > > And my p

Re: svn commit: r211695 - head/sys/kern

2010-08-22 Thread pluknet
On 23 August 2010 10:22, Warner Losh wrote: > Author: imp > Date: Mon Aug 23 06:22:35 2010 > New Revision: 211695 > URL: http://svn.freebsd.org/changeset/base/211695 > > Log: >  This should really be MACHINE not MACHINE_ARCH, and is this Makefile even > used? > Hi. I wrote this letter almost 2.

Re: svn commit: r211648 - head/sys/pci

2010-08-22 Thread Scott Long
On Aug 22, 2010, at 3:26 PM, Pyun YongHyeon wrote: > Author: yongari > Date: Sun Aug 22 21:26:35 2010 > New Revision: 211648 > URL: http://svn.freebsd.org/changeset/base/211648 > > Log: > It seems some newer RTL8139 controllers provides only memory space > register mapping. Something that I'm s

svn commit: r211695 - head/sys/kern

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 06:22:35 2010 New Revision: 211695 URL: http://svn.freebsd.org/changeset/base/211695 Log: This should really be MACHINE not MACHINE_ARCH, and is this Makefile even used? Modified: head/sys/kern/Makefile Modified: head/sys/kern/Makefile ==

svn commit: r211690 - in head/sys/modules: . aac acpi/acpi agp amr asr bge cpufreq cxgb cyclic dtrace dtrace/dtrace dtrace/fasttrap hptmv hptrr hwpmc i2c/controllers/pcf io le linprocfs linsysfs li...

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 06:13:29 2010 New Revision: 211690 URL: http://svn.freebsd.org/changeset/base/211690 Log: MFtbemd: Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want t

svn commit: r211684 - head/sys/kern

2010-08-22 Thread Brian Somers
Author: brian Date: Mon Aug 23 05:33:31 2010 New Revision: 211684 URL: http://svn.freebsd.org/changeset/base/211684 Log: uio_resid isn't updated by VOP_READDIR for nfs filesystems. Use the uio_offset adjustment instead to calculate a correct *len. Without this change, we run off the end

svn commit: r211680 - in head/sys/boot: ia64/common ia64/efi ia64/ski ofw/libofw uboot/lib zfs

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:50:34 2010 New Revision: 211680 URL: http://svn.freebsd.org/changeset/base/211680 Log: MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs) Modified: head/sys/boot/ia64/common/Makefile head/sy

svn commit: r211679 - in head/sys/boot: . efi/libefi

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:48:07 2010 New Revision: 211679 URL: http://svn.freebsd.org/changeset/base/211679 Log: MF tbemd: move to using specific architecture makefiles Added: head/sys/boot/Makefile.amd64 (contents, props changed) head/sys/boot/Makefile.arm (contents, props change

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

2010-08-22 Thread Bruce Evans
On Sat, 21 Aug 2010, Dimitry Andric wrote: 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 i

svn commit: r211678 - in head/sys/boot: common ficl

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:43:47 2010 New Revision: 211678 URL: http://svn.freebsd.org/changeset/base/211678 Log: MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs) Modified: head/sys/boot/common/Makefile.inc head/sys

svn commit: r211677 - in head/sys/boot/i386: . boot2 gptboot gptzfsboot libfirewire libi386 loader zfsboot

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:42:09 2010 New Revision: 211677 URL: http://svn.freebsd.org/changeset/base/211677 Log: MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH Modified: head/sys/boot/i386/Makefile.inc head/sys/boot/i386/boot2/Makefile head/sys/boot/i386/gp

svn commit: r211676 - head/sys/boot/arm/uboot

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:37:55 2010 New Revision: 211676 URL: http://svn.freebsd.org/changeset/base/211676 Log: It turns out that the OUTPUT_FORMAT should do the right thing for both endians... Deleted: head/sys/boot/arm/uboot/ldscript.armeb Modified: head/sys/boot/arm/uboot/Makefil

svn commit: r211675 - head/sys/boot/arm/uboot

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:33:27 2010 New Revision: 211675 URL: http://svn.freebsd.org/changeset/base/211675 Log: MF tbemd: differentiate between arm and armeb Added: head/sys/boot/arm/uboot/ldscript.armeb (contents, props changed) Modified: head/sys/boot/arm/uboot/Makefile Modified

svn commit: r211673 - head

2010-08-22 Thread Warner Losh
Author: imp Date: Mon Aug 23 01:07:07 2010 New Revision: 211673 URL: http://svn.freebsd.org/changeset/base/211673 Log: Minor tweak from tbemd Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == --- head/Make

svn commit: r211671 - head/sys/dev/xl

2010-08-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 23 00:31:55 2010 New Revision: 211671 URL: http://svn.freebsd.org/changeset/base/211671 Log: Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c ==

svn commit: r211670 - head/sys/dev/xl

2010-08-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 23 00:24:12 2010 New Revision: 211670 URL: http://svn.freebsd.org/changeset/base/211670 Log: Clean up SIOCSIFCAP handler and allow RX checksum offloading could be controlled by user. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c =

Re: svn commit: r211650 - head/share/man/man4

2010-08-22 Thread Pyun YongHyeon
On Sun, Aug 22, 2010 at 06:15:48PM -0400, Ben Kaduk wrote: > On Sun, Aug 22, 2010 at 5:32 PM, Pyun YongHyeon wrote: > > --- head/share/man/man4/rl.4 ? ?Sun Aug 22 21:27:15 2010 ? ? ? ?(r211649) > > +++ head/share/man/man4/rl.4 ? ?Sun Aug 22 21:32:48 2010 ? ? ? ?(r211650) > > @@ -30,7 +30,7 @@ > >

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

2010-08-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 23 00:10:43 2010 New Revision: 211667 URL: http://svn.freebsd.org/changeset/base/211667 Log: Better wording and fix wrong explanation. Submitted by: Ben Kaduk ( minimarmot <> gmail dot com ) Modified: head/share/man/man4/rl.4 Modified: head/share/man/man4/r

Re: svn commit: r211650 - head/share/man/man4

2010-08-22 Thread Ben Kaduk
On Sun, Aug 22, 2010 at 5:32 PM, Pyun YongHyeon wrote: > --- head/share/man/man4/rl.4    Sun Aug 22 21:27:15 2010        (r211649) > +++ head/share/man/man4/rl.4    Sun Aug 22 21:32:48 2010        (r211650) > @@ -30,7 +30,7 @@ >  .\" >  .\" $FreeBSD$ >  .\" > -.Dd November 1, 2008 > +.Dd August 22

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

2010-08-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 22 21:32:48 2010 New Revision: 211650 URL: http://svn.freebsd.org/changeset/base/211650 Log: Document tunable dev.rl.%unit.prefer_iomap Modified: head/share/man/man4/rl.4 Modified: head/share/man/man4/rl.4

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

2010-08-22 Thread Dimitry Andric
On 2010-08-16 10:51, Dag-Erling Smørgrav wrote: > Bruce Cran writes: >> Somewhat related, there are overflow bugs in humanize_number - for >> example df(1) fails to display space from a 100PB filesystem >> correctly. > > Patch? :) Attached. This makes humanize_number() work properly for all po

svn commit: r211646 - in head: bin/sh tools/regression/bin/sh/expansion

2010-08-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 22 21:18:21 2010 New Revision: 211646 URL: http://svn.freebsd.org/changeset/base/211646 Log: sh: Remove remnants of '!!' to negate pattern. This Almquist extension was disabled long ago. In pathname generation, components starting with '!!' were treated as

svn commit: r211648 - head/sys/pci

2010-08-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 22 21:26:35 2010 New Revision: 211648 URL: http://svn.freebsd.org/changeset/base/211648 Log: It seems some newer RTL8139 controllers provides only memory space register mapping. I'm not sure whether it comes from the fact that controllers live behind certain PCI

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

2010-08-22 Thread Roman Divacky
are they interested in this upstream? I think they can be and it would save us some effort on the next merge On Sat, Aug 21, 2010 at 03:46:34PM +, Rui Paulo wrote: > Author: rpaulo > Date: Sat Aug 21 15:46:33 2010 > New Revision: 211573 > URL: http://svn.freebsd.org/changeset/base/211573 > >

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

2010-08-22 Thread Doug Barton
On 08/22/2010 12:42, M. Warner Losh wrote: I think you're drawing the wrong conclusion here. Doubtful. :) My point is that we have trusted folks in the past to do the right thing, even when they don't say they will. And my point, which I will make one last time, is that this model hasn't

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

2010-08-22 Thread M. Warner Losh
In message: <4c717990.6020...@freebsd.org> Doug Barton writes: : On 08/21/2010 18:12, M. Warner Losh wrote: : > Do we really need to have a bunch of threads about why people should : > do the things they have promised to do? : : Since this is basically a useless/snarky question, here

Re: svn commit: r211621 - head/bin/sh

2010-08-22 Thread Jilles Tjoelker
On Sun, Aug 22, 2010 at 09:24:56PM +0200, Remko Lodder wrote: > >> == > >> --- head/bin/sh/sh.1 Sun Aug 22 12:03:31 2010(r211620) > >> +++ head/bin/sh/sh.1 Sun Aug 22 13:04:00 2010(r211621) > > [

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

2010-08-22 Thread Doug Barton
On 08/21/2010 18:12, M. Warner Losh wrote: Do we really need to have a bunch of threads about why people should do the things they have promised to do? Since this is basically a useless/snarky question, here are some useless/snarky responses. Feel free to pick your favorite. Apparently we do

Re: svn commit: r211621 - head/bin/sh

2010-08-22 Thread Remko Lodder
>> >> == >> --- head/bin/sh/sh.1 Sun Aug 22 12:03:31 2010(r211620) >> +++ head/bin/sh/sh.1 Sun Aug 22 13:04:00 2010(r211621) > [...] >> +.It Short-circuit evaluation >> +The >> +.Li && >> +and >> +.Li || >>

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

2010-08-22 Thread Doug Barton
On 08/20/2010 02:38, Pawel Jakub Dawidek wrote: I'm guessing that's an attempt at humor? I thought I've made it clear in the rest of the thread that it wasn't. I think it's interesting that every time I make a cogent point that's hard to disagree with the response is snark and/or thinly veile

Re: svn commit: r211621 - head/bin/sh

2010-08-22 Thread Anonymous
Jilles Tjoelker writes: > Author: jilles > Date: Sun Aug 22 13:04:00 2010 > New Revision: 211621 > URL: http://svn.freebsd.org/changeset/base/211621 > > Log: > sh(1): Add a brief summary of arithmetic expressions. > > Modified: > head/bin/sh/sh.1 > > Modified: head/bin/sh/sh.1 > =

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

2010-08-22 Thread Ed Schouten
Author: ed Date: Sun Aug 22 16:42:46 2010 New Revision: 211633 URL: http://svn.freebsd.org/changeset/base/211633 Log: Add missing mlink for insmntque1(). MFC after:1 week Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile ==

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

2010-08-22 Thread Jaakko Heinonen
Author: jh Date: Sun Aug 22 16:08:12 2010 New Revision: 211628 URL: http://svn.freebsd.org/changeset/base/211628 Log: Introduce and use devfs_populate_vp() to unlock a vnode before calling devfs_populate(). This is a prerequisite for the automatic removal of empty directories which will be c

svn commit: r211622 - head/tools/regression/bin/sh/expansion

2010-08-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 22 13:09:12 2010 New Revision: 211622 URL: http://svn.freebsd.org/changeset/base/211622 Log: sh: Test that all bytes from 128 to 255 can be used in IFS. To avoid multibyte issues, this test forces ISO8859-1 charset. This also passes on stable/8. Added: h

svn commit: r211621 - head/bin/sh

2010-08-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 22 13:04:00 2010 New Revision: 211621 URL: http://svn.freebsd.org/changeset/base/211621 Log: sh(1): Add a brief summary of arithmetic expressions. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 ==

svn commit: r211619 - head/lib/libutil

2010-08-22 Thread Dag-Erling Smorgrav
Author: des Date: Sun Aug 22 11:48:32 2010 New Revision: 211619 URL: http://svn.freebsd.org/changeset/base/211619 Log: UTFize my name. Modified: head/lib/libutil/kld.c Modified: head/lib/libutil/kld.c == --- head/lib

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

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:41:06 2010 New Revision: 211618 URL: http://svn.freebsd.org/changeset/base/211618 Log: Port this to FreeBSD. We miss some suword functions, so we use copyout. Sponsored by: The FreeBSD Foundation > Description of fields to fill in above:

Re: svn commit: r211617 - head/sys/kern

2010-08-22 Thread Rui Paulo
On 22 Aug 2010, at 12:30, Rui Paulo wrote: > Author: rpaulo > Date: Sun Aug 22 11:30:49 2010 > New Revision: 211617 > URL: http://svn.freebsd.org/changeset/base/211617 > > Log: > Call the systrace_probe_func() when the error value. s/when/with/ Regards, -- Rui Paulo

svn commit: r211617 - head/sys/kern

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:30:49 2010 New Revision: 211617 URL: http://svn.freebsd.org/changeset/base/211617 Log: Call the systrace_probe_func() when the error value. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/subr_trap.c Modified: head/sys/kern/subr_trap.c ===

svn commit: r211616 - in head/sys: kern net opencrypto security/mac sys tools

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:18:57 2010 New Revision: 211616 URL: http://svn.freebsd.org/changeset/base/211616 Log: Add an extra comment to the SDT probes definition. This allows us to get use '-' in probe names, matching the probe names in Solaris.[1] Add userland SDT probes defini

svn commit: r211615 - head/sys/modules/dtrace

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:12:07 2010 New Revision: 211615 URL: http://svn.freebsd.org/changeset/base/211615 Log: Remove an elif and add an or-clause. Sponsored by: The FreeBSD Foundation Modified: head/sys/modules/dtrace/Makefile Modified: head/sys/modules/dtrace/Makefile =

svn commit: r211614 - head/sys/kern

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:09:53 2010 New Revision: 211614 URL: http://svn.freebsd.org/changeset/base/211614 Log: Bump KDTRACE_THREAD_ZERO and use M_ZERO as a malloc flag instead of calling bzero. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_dtrace.c Modif

svn commit: r211613 - head/sys/kern

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:08:18 2010 New Revision: 211613 URL: http://svn.freebsd.org/changeset/base/211613 Log: Fix style issues. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_dtrace.c Modified: head/sys/kern/kern_dtrace.c ==

svn commit: r211612 - head/tools/regression/bin/sh/builtins

2010-08-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 22 11:07:46 2010 New Revision: 211612 URL: http://svn.freebsd.org/changeset/base/211612 Log: Fix keyword expansion properties. Modified: Directory Properties: head/tools/regression/bin/sh/builtins/break3.0 (props changed)

svn commit: r211611 - head/sys/cddl/dev/dtrace

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:05:37 2010 New Revision: 211611 URL: http://svn.freebsd.org/changeset/base/211611 Log: Destroy the helper device when unloading. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/dev/dtrace/dtrace_unload.c Modified: head/sys/cddl/dev/dtrace/

svn commit: r211610 - head/sys/cddl/dev/dtrace

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 11:04:43 2010 New Revision: 211610 URL: http://svn.freebsd.org/changeset/base/211610 Log: Add more compatibility structure members needed by the upcoming fasttrap DTrace device. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/dev/dtrace/dtra

svn commit: r211609 - head/tools/regression/bin/sh/builtins

2010-08-22 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 22 11:04:30 2010 New Revision: 211609 URL: http://svn.freebsd.org/changeset/base/211609 Log: sh: Add a test for breaking from a loop outside the current function. It is unwise to rely on this but I'd like to know if this would break. Added: head/tools/regress

svn commit: r211608 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/opensolaris/uts/common/sys cddl/dev/dtrace cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/systrace sys

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 10:53:32 2010 New Revision: 211608 URL: http://svn.freebsd.org/changeset/base/211608 Log: Kernel DTrace support for: o uregs (sson@) o ustack (sson@) o /dev/dtrace/helper device (needed for USDT probes) The work done by me was: Sponsored by: The Free

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

2010-08-22 Thread Pawel Jakub Dawidek
On Thu, Aug 19, 2010 at 06:33:40PM -0700, Doug Barton wrote: > On 08/19/2010 14:50, Bjoern A. Zeeb wrote: > >Yes I can: soon will be when it'll be comitted. > > I'm guessing that's an attempt at humor, [...] [...] > [...] If the answer is "someday" > then I'm going to request that the code be bac

svn commit: r211607 - in head/sys/cddl/dev/dtrace: amd64 i386

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 10:40:15 2010 New Revision: 211607 URL: http://svn.freebsd.org/changeset/base/211607 Log: Add a function compatibility function dtrace_instr_size_isa() that on FreeBSD does the same as dtrace_dis_isize(). Sponsored by: The FreeBSD Foundation Modified: he

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

2010-08-22 Thread Rui Paulo
Author: rpaulo Date: Sun Aug 22 10:13:56 2010 New Revision: 211606 URL: http://svn.freebsd.org/changeset/base/211606 Log: Add the FreeBSD definition for the fasttrap ioctls. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h Modifi