svn commit: r211485 - in head/usr.sbin/pc-sysinstall: backend backend-query conf doc pc-sysinstall

2010-08-19 Thread Warner Losh
Author: imp Date: Thu Aug 19 05:59:27 2010 New Revision: 211485 URL: http://svn.freebsd.org/changeset/base/211485 Log: Various updates to support new pc-sysinstall directive installPackages that will install packages and all package dependencies. PR: 148606 Submitted by:

svn commit: r211487 - in head/usr.sbin/pc-sysinstall: backend pc-sysinstall

2010-08-19 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:02:31 2010 New Revision: 211487 URL: http://svn.freebsd.org/changeset/base/211487 Log: Some cleanup, changed some echo's to echo_log, check for PROGDIR so that different PROGDIR's can be set. PR: 148806 Submitted by: John Hixson Modified:

svn commit: r211488 - head/usr.sbin/pc-sysinstall/backend

2010-08-19 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:05:05 2010 New Revision: 211488 URL: http://svn.freebsd.org/changeset/base/211488 Log: Simple patch to add support zpool virtual devices that are not currently supported. PR: 149599 Submitted by: John Hixson Modified:

Re: svn commit: r211476 - head/sys/mips/atheros

2010-08-19 Thread Joel Dahl
On 19-08-2010 2:03, Adrian Chadd wrote: Author: adrian Date: Thu Aug 19 02:03:12 2010 New Revision: 211476 URL: http://svn.freebsd.org/changeset/base/211476 Log: Preparation work for supporting the AR91xx and AR724x. * Implement a SoC probe function, from Linux, which determines

svn commit: r211489 - in head/usr.sbin/pc-sysinstall: backend-query pc-sysinstall

2010-08-19 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:07:49 2010 New Revision: 211489 URL: http://svn.freebsd.org/changeset/base/211489 Log: Added -m option to disk-list to list memory disks along with standard disks. PR: 149749 Submitted by: John Hixson Modified:

svn commit: r211490 - in head/usr.sbin/pc-sysinstall: backend examples

2010-08-19 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:11:06 2010 New Revision: 211490 URL: http://svn.freebsd.org/changeset/base/211490 Log: This patch to pc-sysinstall allows the setting of a new config variable for installation, which lets the user/front-end select between MBR or GPT partitioning schemes when

svn commit: r211496 - head/usr.bin/grep

2010-08-19 Thread Dag-Erling Smorgrav
Author: des Date: Thu Aug 19 09:28:59 2010 New Revision: 211496 URL: http://svn.freebsd.org/changeset/base/211496 Log: UTFize my name. Modified: head/usr.bin/grep/fastgrep.c head/usr.bin/grep/file.c head/usr.bin/grep/grep.c head/usr.bin/grep/grep.h head/usr.bin/grep/queue.c

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-19 Thread Dag-Erling Smørgrav
Peter Jeremy peterjer...@acm.org writes: Probably a good example of why the Project's guidelines require the separation of whitespace and functional changes. Well, the second-to-last hunk is not really a functional change either. DES -- Dag-Erling Smørgrav - d...@des.no

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-19 Thread Alexey Dokuchaev
On Thu, Aug 19, 2010 at 11:33:31AM +0200, Dag-Erling Sm??rgrav wrote: Peter Jeremy peterjer...@acm.org writes: Probably a good example of why the Project's guidelines require the separation of whitespace and functional changes. Well, the second-to-last hunk is not really a functional

svn commit: r211497 - head/sys/mips/atheros

2010-08-19 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 11:16:52 2010 New Revision: 211497 URL: http://svn.freebsd.org/changeset/base/211497 Log: style(9) pick from imp@ . Modified: head/sys/mips/atheros/if_arge.c Modified: head/sys/mips/atheros/if_arge.c

svn commit: r211499 - head/sbin/ipfw

2010-08-19 Thread Dag-Erling Smorgrav
Author: des Date: Thu Aug 19 11:19:21 2010 New Revision: 211499 URL: http://svn.freebsd.org/changeset/base/211499 Log: expand_number(3) takes a uint64_t * now. MFC after:3 weeks Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c

svn commit: r211500 - head/sbin/geom/core

2010-08-19 Thread Dag-Erling Smorgrav
Author: des Date: Thu Aug 19 11:20:24 2010 New Revision: 211500 URL: http://svn.freebsd.org/changeset/base/211500 Log: expand_number(3) takes a uint64_t * now; intmax_t was never correct except by accident. MFC after:3 weeks Modified: head/sbin/geom/core/geom.c Modified:

Re: svn commit: r211463 - head/usr.bin/grep

2010-08-19 Thread Dag-Erling Smørgrav
m...@freebsd.org writes: I didn't read all of the details in the profiling mails in the thread, but does this mean that work on stdio would give a performance boost to many apps? No, just that stdio is not the appropriate tool in this case. DES -- Dag-Erling Smørgrav - d...@des.no

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

2010-08-19 Thread Ana Kukec
Author: anchie Date: Thu Aug 19 11:31:03 2010 New Revision: 211501 URL: http://svn.freebsd.org/changeset/base/211501 Log: MFp4: anchie_soc2009 branch: Add kernel side support for Secure Neighbor Discovery (SeND), RFC 3971. The implementation consists of a kernel module that gets

svn commit: r211502 - head/sys/mips/atheros

2010-08-19 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 11:40:10 2010 New Revision: 211502 URL: http://svn.freebsd.org/changeset/base/211502 Log: Add initial Atheros AR91XX support. This works well enough to bring a system up to single-user mode using an MDROOT. Known Issues: * The EHCI USB doesn't

svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 11:53:55 2010 New Revision: 211503 URL: http://svn.freebsd.org/changeset/base/211503 Log: Add some initial AR724X chipset support. This is untested but should at least allow an AR724X to boot. The current code is lacking the detail needed to expose the

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

2010-08-19 Thread Ana Kukec
Hi all, A man page for the kernel side SeND, and an updated port with Secure Neighbor Discovery application will follow soon. Ana Kukec wrote: Author: anchie Date: Thu Aug 19 11:31:03 2010 New Revision: 211501 URL: http://svn.freebsd.org/changeset/base/211501 Log: MFp4: anchie_soc2009

svn commit: r211504 - head/sys/mips/atheros

2010-08-19 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 12:52:49 2010 New Revision: 211504 URL: http://svn.freebsd.org/changeset/base/211504 Log: Fix mistaken indenting. Modified: head/sys/mips/atheros/ar71xx_setup.c Modified: head/sys/mips/atheros/ar71xx_setup.c

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread Andre Oppermann
On 19.08.2010 13:53, Adrian Chadd wrote: Author: adrian Date: Thu Aug 19 11:53:55 2010 New Revision: 211503 URL: http://svn.freebsd.org/changeset/base/211503 Log: Add some initial AR724X chipset support. This is untested but should at least allow an AR724X to boot. Isn't this something

svn commit: r211505 - head/contrib/gcc

2010-08-19 Thread Rui Paulo
Author: rpaulo Date: Thu Aug 19 12:59:57 2010 New Revision: 211505 URL: http://svn.freebsd.org/changeset/base/211505 Log: Remove unneeded casts in inline assembly in contrib/gcc/longlong.h, which are apparently heinous GNU extensions, so clang can compile this without using the

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

2010-08-19 Thread Attilio Rao
2010/8/16 Dag-Erling Smørgrav d...@des.no: Dag-Erling Smørgrav d...@des.no writes: Note that this commit semi-intentionally introduces another bug: in some cases, the user's limits will not be applied at all.  This is by far the lesser of two evils, and is easy (albeit time-consuming) to fix.

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

2010-08-19 Thread Dag-Erling Smørgrav
Attilio Rao atti...@freebsd.org writes: It seems to me that ftpd doesn't need any change, do you agree? Hmm, it never calls setuid(), but it does call seteuid() before setusercontext(). Perhaps the test in setusercontext() should be changed to use geteuid() instead of getuid(). DES --

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

2010-08-19 Thread Attilio Rao
2010/8/19 Dag-Erling Smørgrav d...@des.no: Attilio Rao atti...@freebsd.org writes: It seems to me that ftpd doesn't need any change, do you agree? Hmm, it never calls setuid(), but it does call seteuid() before setusercontext().  Perhaps the test in setusercontext() should be changed to use

svn commit: r211508 - head/sys/sys

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 15:55:50 2010 New Revision: 211508 URL: http://svn.freebsd.org/changeset/base/211508 Log: Remove an unused macro. exit1() invokes ktrprocexit() directly. Modified: head/sys/sys/ktrace.h Modified: head/sys/sys/ktrace.h

svn commit: r211509 - head/sys/mips/atheros

2010-08-19 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 16:15:30 2010 New Revision: 211509 URL: http://svn.freebsd.org/changeset/base/211509 Log: add the PLL set functions to cpuops Modified: head/sys/mips/atheros/ar71xx_cpudef.h Modified: head/sys/mips/atheros/ar71xx_cpudef.h

svn commit: r211511 - head/sys/mips/atheros

2010-08-19 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 16:29:08 2010 New Revision: 211511 URL: http://svn.freebsd.org/changeset/base/211511 Log: Migrate if_arge to use the PLL cpuops. This has been lightly tested on the AR7161 and AR9132. Modified: head/sys/mips/atheros/if_arge.c

svn commit: r211512 - head/sys/kern

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 16:38:58 2010 New Revision: 211512 URL: http://svn.freebsd.org/changeset/base/211512 Log: Fix a whitespace nit and remove a questioning comment. STAILQ_CONCAT() does require the STAILQ the existing list is being added to to already be initialized (it is

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

2010-08-19 Thread Jaakko Heinonen
Author: jh Date: Thu Aug 19 16:39:00 2010 New Revision: 211513 URL: http://svn.freebsd.org/changeset/base/211513 Log: Call dev_rel() in error paths. Reported by: kib Reviewed by: kib MFC after:2 weeks Modified: head/sys/fs/devfs/devfs_vnops.c Modified:

svn commit: r211514 - head/sys/kern

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 16:40:30 2010 New Revision: 211514 URL: http://svn.freebsd.org/changeset/base/211514 Log: There isn't really a need to hold the ktrace mutex just to read the value of p_traceflag that is stored in the kinfo_proc structure. It is still racey even with the lock

svn commit: r211515 - in head/sys: amd64/amd64 amd64/ia32 i386/i386 ia64/ia64 kern powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 16:41:27 2010 New Revision: 211515 URL: http://svn.freebsd.org/changeset/base/211515 Log: Remove unused KTRACE includes. Modified: head/sys/amd64/amd64/trap.c head/sys/amd64/ia32/ia32_syscall.c head/sys/i386/i386/trap.c head/sys/ia64/ia64/trap.c

svn commit: r211516 - head/sys/dev/e1000

2010-08-19 Thread Jack F Vogel
Author: jfv Date: Thu Aug 19 17:00:33 2010 New Revision: 211516 URL: http://svn.freebsd.org/changeset/base/211516 Log: Eliminate the ambiguous queue setting logic for the VF, it made it possible to have 2 queues which we don't want, the HOST is unable to handle it. Modified:

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread M. Warner Losh
In message: 4c6d2933.9020...@freebsd.org Andre Oppermann an...@freebsd.org writes: : On 19.08.2010 13:53, Adrian Chadd wrote: : Author: adrian : Date: Thu Aug 19 11:53:55 2010 : New Revision: 211503 : URL: http://svn.freebsd.org/changeset/base/211503 : : Log: : Add some

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread Andre Oppermann
On 19.08.2010 19:20, M. Warner Losh wrote: In message:4c6d2933.9020...@freebsd.org Andre Oppermannan...@freebsd.org writes: : On 19.08.2010 13:53, Adrian Chadd wrote: : Author: adrian : Date: Thu Aug 19 11:53:55 2010 : New Revision: 211503 : URL:

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread M. Warner Losh
In message: 4c6d6fd7.7060...@freebsd.org Andre Oppermann an...@freebsd.org writes: : On 19.08.2010 19:20, M. Warner Losh wrote: : In message:4c6d2933.9020...@freebsd.org : Andre Oppermannan...@freebsd.org writes: : : On 19.08.2010 13:53, Adrian Chadd wrote: : :

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread Andre Oppermann
On 19.08.2010 20:42, M. Warner Losh wrote: In message:4c6d6fd7.7060...@freebsd.org Andre Oppermannan...@freebsd.org writes: : On 19.08.2010 19:20, M. Warner Losh wrote: : In message:4c6d2933.9020...@freebsd.org : Andre Oppermannan...@freebsd.org writes: : : On

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread M. Warner Losh
In message: 4c6d80a0.4080...@freebsd.org Andre Oppermann an...@freebsd.org writes: : On 19.08.2010 20:42, M. Warner Losh wrote: : In message:4c6d6fd7.7060...@freebsd.org : Andre Oppermannan...@freebsd.org writes: : : On 19.08.2010 19:20, M. Warner Losh wrote: : : In

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread Juli Mallett
On Thu, Aug 19, 2010 at 12:16, M. Warner Losh i...@bsdimp.com wrote: Branching is a lot easier and saner.  But there's still a cost to branching that must be weighed... As long as one isn't trying to be overly-clever in using the tools it really isn't so bad and is about as bad as Perforce. I

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

2010-08-19 Thread Doug Barton
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 application will follow soon. At minimum committing the man page along with new code is how such things should be done. Can you define soon? Doug --

Re: svn commit: r211503 - head/sys/mips/atheros

2010-08-19 Thread M. Warner Losh
In message: aanlktim4drh4shqmar-5tkvpwmmudx+7dmqjjc=yp...@mail.gmail.com Juli Mallett jmall...@freebsd.org writes: : On Thu, Aug 19, 2010 at 12:16, M. Warner Losh i...@bsdimp.com wrote: : Branching is a lot easier and saner.  But there's still a cost to : branching that must be

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

2010-08-19 Thread Bjoern A. Zeeb
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 application will follow soon. At minimum committing the man page along with new code is how such things should be

svn commit: r211517 - head/usr.bin/calendar

2010-08-19 Thread Edwin Groothuis
Author: edwin Date: Thu Aug 19 21:59:39 2010 New Revision: 211517 URL: http://svn.freebsd.org/changeset/base/211517 Log: '\0' - 0 Fix silly mistake by being overly zeaolous[sp] of applying the style rules. Modified: head/usr.bin/calendar/locale.c Modified:

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

2010-08-19 Thread Bruce Evans
On Thu, 19 Aug 2010, Rui Paulo wrote: Log: Remove unneeded casts in inline assembly in contrib/gcc/longlong.h, 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 args are macro args, so they may

svn commit: r211518 - in head/sys: amd64/amd64 i386/i386

2010-08-19 Thread Attilio Rao
Author: attilio Date: Thu Aug 19 22:37:43 2010 New Revision: 211518 URL: http://svn.freebsd.org/changeset/base/211518 Log: Revert part of the r211149 as I erroneously ported the logical_cpus from Yahoo! patchset as a mask (and according manipulating variables) while it is actually a CPU

svn commit: r211519 - head/usr.bin/grep

2010-08-19 Thread Xin LI
Author: delphij Date: Thu Aug 19 22:55:17 2010 New Revision: 211519 URL: http://svn.freebsd.org/changeset/base/211519 Log: Revert a minor part of revision 211364: - Imply -h if single file is grepped, this is the GNU behaviour This is already done by code above the change and have

svn commit: r211520 - head/sys/netinet6

2010-08-19 Thread Ana Kukec
Author: anchie Date: Thu Aug 19 23:16:44 2010 New Revision: 211520 URL: http://svn.freebsd.org/changeset/base/211520 Log: Fix mbuf leakages and remove unneccessary duplicate mbuf frees. Use the right copy of an mbuf for the IP6_EXTHDR_CHECK. Reported by: zec, hrs Approved by: bz

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

2010-08-19 Thread Dimitry Andric
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 args are macro args, so they may have any integer type no larger than USItype originally, and they must be

svn commit: r211521 - head/sys/conf

2010-08-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Aug 20 01:23:17 2010 New Revision: 211521 URL: http://svn.freebsd.org/changeset/base/211521 Log: FPU EMU is 32-bit only for now, so mark it as a powerpc-only feature. This fixes powerpc64 LINT. Modified: head/sys/conf/files.powerpc Modified:

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

2010-08-19 Thread Doug Barton
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 application will follow soon. At minimum committing the man page along

svn commit: r211522 - head/lib/libthr/thread

2010-08-19 Thread David Xu
Author: davidxu Date: Fri Aug 20 04:15:05 2010 New Revision: 211522 URL: http://svn.freebsd.org/changeset/base/211522 Log: According to specification, function fcntl() is a cancellation point only when cmd argument is F_SETLKW. Modified: head/lib/libthr/thread/thr_syscalls.c Modified:

svn commit: r211523 - head/sys/kern

2010-08-19 Thread David Xu
Author: davidxu Date: Fri Aug 20 04:28:30 2010 New Revision: 211523 URL: http://svn.freebsd.org/changeset/base/211523 Log: If thread set a TDP_WAKEUP for itself, clears the flag and returns EINTR immediately, this is used for implementing reliable pthread cancellation. Modified:

svn commit: r211524 - head/lib/libthr/thread

2010-08-19 Thread David Xu
Author: davidxu Date: Fri Aug 20 05:15:39 2010 New Revision: 211524 URL: http://svn.freebsd.org/changeset/base/211524 Log: In current implementation, thread cancellation is done in signal handler, which does not know what is the state of interrupted system call, for example, open() system