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

2012-11-15 Thread Matthew D. Fuller
On Thu, Nov 15, 2012 at 06:07:27PM +1100 I heard the voice of Bruce Evans, and lo! it spake thus: Maybe malloc() would be faster with MALLOC_PRODUCTION. I use /etc/malloc.conf - aj locally. freefall doesn't have /etc/malloc.conf. MALLOC_OPTIONS no longer works, and MALLOC_CONF is too

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

2012-11-15 Thread Simon J. Gerraty
I aim to import bmake-20121109 soon (once I sort out svn 1.7.7 bug), will loook at this as well. On Wed, 14 Nov 2012 19:27:49 +, Chris Rees writes: I was kicking the tires on this and noticed bmake is dynamically linked. Can you change it to being statically linked?

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

2012-11-15 Thread Aleksandr Rybalko
On Wed, 14 Nov 2012 17:33:01 + (UTC) Alan Cox a...@freebsd.org wrote: 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.

svn commit: r243069 - head/sys/kern

2012-11-15 Thread Alexander Motin
Author: mav Date: Thu Nov 15 14:10:51 2012 New Revision: 243069 URL: http://svnweb.freebsd.org/changeset/base/243069 Log: Fix bug in r242852 that prevented CPU from becoming idle if kernel built without SMP support. Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

svn commit: r243072 - head/bin/mv

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:05:51 2012 New Revision: 243072 URL: http://svnweb.freebsd.org/changeset/base/243072 Log: Follow the behavior as specified in POSIX: if (exists AND (NOT f_option) AND ((not_writable AND input_is_terminal) OR i_option)) prompt

svn commit: r243075 - head/usr.bin/bc

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:00 2012 New Revision: 243075 URL: http://svnweb.freebsd.org/changeset/base/243075 Log: Make definition match declaration Approved by: cperciva MFC after:3 days Modified: head/usr.bin/bc/bc.y Modified: head/usr.bin/bc/bc.y

svn commit: r243073 - head/share/termcap

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:05:54 2012 New Revision: 243073 URL: http://svnweb.freebsd.org/changeset/base/243073 Log: Some software, notably dialog(1), can understand back-tab, which is typically bound to Shift-Tab. syscons produces ^]]Z for Shift-Tab, like many VT100-like terminal

svn commit: r243074 - head/usr.sbin/ndiscvt

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:05:57 2012 New Revision: 243074 URL: http://svnweb.freebsd.org/changeset/base/243074 Log: Add a missing check for fread Approved by: cperciva MFC after:3 days Modified: head/usr.sbin/ndiscvt/ndiscvt.c Modified: head/usr.sbin/ndiscvt/ndiscvt.c

svn commit: r243079 - head/usr.bin/ministat

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:12 2012 New Revision: 243079 URL: http://svnweb.freebsd.org/changeset/base/243079 Log: Add option to suppress just the plot in ministat while still retaining the relative comparison (i.e., useful part). Approved by: cperciva MFC after:3 days

svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:03 2012 New Revision: 243076 URL: http://svnweb.freebsd.org/changeset/base/243076 Log: Check the range of the gid Approved by: cperciva MFC after:1 week Modified: head/usr.sbin/chkgrp/chkgrp.c Modified: head/usr.sbin/chkgrp/chkgrp.c

svn commit: r243077 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:06 2012 New Revision: 243077 URL: http://svnweb.freebsd.org/changeset/base/243077 Log: Fix error code if file isn't readable. Approved by: cperciva MFC after:1 week Modified: head/usr.sbin/chkgrp/chkgrp.c Modified:

svn commit: r243078 - head/sys/dev/mfi

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:09 2012 New Revision: 243078 URL: http://svnweb.freebsd.org/changeset/base/243078 Log: Add deviceid to the disk output on boot to help debugging. PR: kern/173290 Submitted by: Steven Hartland steven.hartl...@multiplay.co.uk Approved by:

svn commit: r243080 - head/etc/rc.d

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:15 2012 New Revision: 243080 URL: http://svnweb.freebsd.org/changeset/base/243080 Log: Only pass ip[46].addr when _addrl contains a value Submitted by: crees Reviewed by: Mike Jakubik mike.jaku...@intertainservices.com Approved by: cperciva MFC

svn commit: r243081 - head/usr.bin/chpass

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:18 2012 New Revision: 243081 URL: http://svnweb.freebsd.org/changeset/base/243081 Log: Avoid possible null deref if ypclnt_new returns null PR: bin/172979 Submitted by: Erik Cederstrand e...@cederstrand.dk Approved by: cperciva MFC

svn commit: r243082 - head/sbin/umount

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:21 2012 New Revision: 243082 URL: http://svnweb.freebsd.org/changeset/base/243082 Log: Fix memory leak in umount.c PR: bin/172553 Submitted by: Erik Cederstrand e...@cederstrand.dk Approved by: cperciva MFC after:3 days Modified:

svn commit: r243083 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:06:24 2012 New Revision: 243083 URL: http://svnweb.freebsd.org/changeset/base/243083 Log: Be declarative about if an error has occured. Fixes overflow on very large group files with lots of errors. This is unlikely to occur in practice. Approved

svn commit: r243084 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:16:50 2012 New Revision: 243084 URL: http://svnweb.freebsd.org/changeset/base/243084 Log: Add support for a -q flag. While here make the custom argument parsing use getopt instead of hacking on it more. This change also fixes the method of silencing the

Re: svn commit: r243084 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
On 15 November 2012 10:16, Eitan Adler ead...@freebsd.org wrote: + printf(hello\n); oops - grabbed the wrong commit - fixing now -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams ___

svn commit: r243085 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 15:21:58 2012 New Revision: 243085 URL: http://svnweb.freebsd.org/changeset/base/243085 Log: This wasn't supposed to be in there - I committed the wrong patch. Approved by: cperciva (implicit) Modified: head/usr.sbin/chkgrp/chkgrp.c Modified:

Re: svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-15 Thread Konstantin Belousov
On Thu, Nov 15, 2012 at 03:06:03PM +, Eitan Adler wrote: Author: eadler Date: Thu Nov 15 15:06:03 2012 New Revision: 243076 URL: http://svnweb.freebsd.org/changeset/base/243076 Log: Check the range of the gid Approved by:cperciva MFC after: 1 week Modified:

svn commit: r243088 - head/sys/kern

2012-11-15 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 15 15:55:49 2012 New Revision: 243088 URL: http://svnweb.freebsd.org/changeset/base/243088 Log: Improve KASSERT messages in racct, to make it clear which resource caused the problem. Submitted by: mjg Modified: head/sys/kern/kern_racct.c Modified:

Re: svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
On 15 November 2012 10:30, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Nov 15, 2012 at 03:06:03PM +, Eitan Adler wrote: Author: eadler Date: Thu Nov 15 15:06:03 2012 New Revision: 243076 URL: http://svnweb.freebsd.org/changeset/base/243076 Log: Check the range of the gid

Re: svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-15 Thread Bruce Evans
On Thu, 15 Nov 2012, Eitan Adler wrote: On 15 November 2012 10:30, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Nov 15, 2012 at 03:06:03PM +, Eitan Adler wrote: Author: eadler Date: Thu Nov 15 15:06:03 2012 New Revision: 243076 URL:

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

2012-11-15 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Nov 15 16:54:14 2012 New Revision: 243091 URL: http://svnweb.freebsd.org/changeset/base/243091 Log: Remove trailing whitespace. Modified: head/share/man/man4/lagg.4 Modified: head/share/man/man4/lagg.4

svn commit: r243095 - head/sys/dev/agp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 18:49:17 2012 New Revision: 243095 URL: http://svnweb.freebsd.org/changeset/base/243095 Log: Remove unneeded header from agp: opt_bus.h Tested with make universe Approved by: cperciva MFC after:1 week Modified: head/sys/dev/agp/agp.c

Re: svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-15 Thread Eitan Adler
On 15 November 2012 11:52, Bruce Evans b...@optusnet.com.au wrote: strtoul(1garbage, NULL, 10) succeeds and returns value 1, but the input is garbage. This case is covered earlier 160 /* check that the GID is numeric */ 161 if (strspn(f[2], 0123456789) != strlen(f[2])) { 162

Re: svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-15 Thread Konstantin Belousov
On Thu, Nov 15, 2012 at 01:52:46PM -0500, Eitan Adler wrote: On 15 November 2012 11:52, Bruce Evans b...@optusnet.com.au wrote: strtoul(1garbage, NULL, 10) succeeds and returns value 1, but the input is garbage. This case is covered earlier 160 /* check that the GID is numeric */

Re: svn commit: r243095 - head/sys/dev/agp

2012-11-15 Thread Konstantin Belousov
On Thu, Nov 15, 2012 at 06:49:17PM +, Eitan Adler wrote: Author: eadler Date: Thu Nov 15 18:49:17 2012 New Revision: 243095 URL: http://svnweb.freebsd.org/changeset/base/243095 Log: Remove unneeded header from agp: opt_bus.h Tested with make universe make universe cannot prove

svn commit: r243100 - head/sys/modules/agp

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 20:25:09 2012 New Revision: 243100 URL: http://svnweb.freebsd.org/changeset/base/243100 Log: Finish removing unneeded header from agp: opt_bus.h Approved by: cperciva MFC after:1 week Modified: head/sys/modules/agp/Makefile Modified:

Re: svn commit: r243095 - head/sys/dev/agp

2012-11-15 Thread Eitan Adler
On 15 November 2012 14:22, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Nov 15, 2012 at 06:49:17PM +, Eitan Adler wrote: Author: eadler Date: Thu Nov 15 18:49:17 2012 New Revision: 243095 URL: http://svnweb.freebsd.org/changeset/base/243095 Log: Remove unneeded header from

svn commit: r243101 - head/etc

2012-11-15 Thread Eitan Adler
Author: eadler Date: Thu Nov 15 20:37:38 2012 New Revision: 243101 URL: http://svnweb.freebsd.org/changeset/base/243101 Log: Using set -x produces output on stderr instead of stdout. It also doesn't work with make -s. Prefer the use of builtin make features. PR: misc/126312

svn commit: r243102 - head/cddl/contrib/opensolaris/cmd/zpool

2012-11-15 Thread Sergey Kandaurov
Author: pluknet Date: Thu Nov 15 20:50:18 2012 New Revision: 243102 URL: http://svnweb.freebsd.org/changeset/base/243102 Log: Sort SEE ALSO xrefs by the manual section number and add a missing comma. Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Modified:

svn commit: r243104 - head/bin/df

2012-11-15 Thread Sergey Kandaurov
Author: pluknet Date: Thu Nov 15 21:22:50 2012 New Revision: 243104 URL: http://svnweb.freebsd.org/changeset/base/243104 Log: Fix section number for pstat and swapinfo cross references. MFC after:3 days Modified: head/bin/df/df.1 Modified: head/bin/df/df.1

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

2012-11-15 Thread Olivier Houchard
Author: cognet Date: Thu Nov 15 22:31:23 2012 New Revision: 243107 URL: http://svnweb.freebsd.org/changeset/base/243107 Log: Use the inner shareable variations of flush/invalidate functions for SMP. Submitted by: Giovanni Trematerra gianni at freebsd DOT org Modified:

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

2012-11-15 Thread Olivier Houchard
Author: cognet Date: Thu Nov 15 23:49:07 2012 New Revision: 243108 URL: http://svnweb.freebsd.org/changeset/base/243108 Log: Remove a useless printf Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/arm/busdma_machdep-v6.c

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

2012-11-15 Thread Olivier Houchard
Author: cognet Date: Fri Nov 16 00:14:02 2012 New Revision: 243109 URL: http://svnweb.freebsd.org/changeset/base/243109 Log: Don't forget to unlock the pmap lock on failure. Modified: head/sys/arm/arm/pmap-v6.c Modified: head/sys/arm/arm/pmap-v6.c

svn commit: r243110 - head/sys/dev/cxgbe/tom

2012-11-15 Thread Navdeep Parhar
Author: np Date: Fri Nov 16 00:21:54 2012 New Revision: 243110 URL: http://svnweb.freebsd.org/changeset/base/243110 Log: cxgbe/tom: Plug mbuf leak. MFC after:3 days Modified: head/sys/dev/cxgbe/tom/t4_listen.c Modified: head/sys/dev/cxgbe/tom/t4_listen.c

svn commit: r243112 - in head/usr.sbin/bsdconfig: . console diskmgmt docsinstall dot mouse networking password security share startup timezone ttys usermgmt

2012-11-15 Thread Devin Teske
Author: dteske Date: Fri Nov 16 00:59:11 2012 New Revision: 243112 URL: http://svnweb.freebsd.org/changeset/base/243112 Log: Replicate a feature from sysinstall documented in stable/9/usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below): If /usr/sbin/sysinstall is linked to another

svn commit: r243113 - head/share/man/man7

2012-11-15 Thread Eitan Adler
Author: eadler Date: Fri Nov 16 01:22:56 2012 New Revision: 243113 URL: http://svnweb.freebsd.org/changeset/base/243113 Log: Remove quite a bit of stale data from the tuning.7 While here fix some style issues. Submitted by: many (via the SystemTuning wiki page) Approved by: bcr

svn commit: r243114 - head/sys/boot/forth

2012-11-15 Thread Devin Teske
Author: dteske Date: Fri Nov 16 01:24:11 2012 New Revision: 243114 URL: http://svnweb.freebsd.org/changeset/base/243114 Log: + This patch does not change user experience or functionality + Cleanup syntax, slim-down code, and make things more readable + Introduce new +c! operator and ilk to

svn commit: r243116 - head/lib/libc/gen

2012-11-15 Thread Greg Lehey
Author: grog Date: Fri Nov 16 01:41:42 2012 New Revision: 243116 URL: http://svnweb.freebsd.org/changeset/base/243116 Log: Complete man page. MFC after:2 weeks Modified: head/lib/libc/gen/getbsize.3 Modified: head/lib/libc/gen/getbsize.3

svn commit: r243129 - head/bin/df

2012-11-15 Thread Greg Lehey
Author: grog Date: Fri Nov 16 03:33:34 2012 New Revision: 243129 URL: http://svnweb.freebsd.org/changeset/base/243129 Log: Update man pages and clarify a number of options. Rework block count calculations to work correctly with small block sizes. MFC after:14 days Modified:

svn commit: r243130 - head/etc/root

2012-11-15 Thread Eitan Adler
Author: eadler Date: Fri Nov 16 04:25:35 2012 New Revision: 243130 URL: http://svnweb.freebsd.org/changeset/base/243130 Log: dot.login is supposed to be for bourne shell, not csh Pointyhat to: me Approved by: cperciva (implicit) Modified: head/etc/root/dot.login Modified:

[no subject]

2012-11-15 Thread lingw...@altaitechnologies.com
http://www.arqrodriguezz.com/wp-content/plugins/akismet/google235.html ___ 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.org

svn commit: r243131 - head/sys/vm

2012-11-15 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 05:49:56 2012 New Revision: 243131 URL: http://svnweb.freebsd.org/changeset/base/243131 Log: Explicitely state that M_USE_RESERVE requires M_NOWAIT, using assertion. Reviewed by: alc MFC after:2 weeks Modified: head/sys/vm/vm_page.h Modified:

svn commit: r243132 - in head/sys: amd64/amd64 arm/arm sparc64/sparc64 vm

2012-11-15 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 05:55:56 2012 New Revision: 243132 URL: http://svnweb.freebsd.org/changeset/base/243132 Log: Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h to vm/vm_phys.h, where it belongs. Requested and reviewed by:alc MFC after:2 weeks

Re: svn commit: r243130 - head/etc/root

2012-11-15 Thread Jan Beich
Eitan Adler ead...@freebsd.org writes: Author: eadler Date: Fri Nov 16 04:25:35 2012 New Revision: 243130 URL: http://svnweb.freebsd.org/changeset/base/243130 Log: dot.login is supposed to be for bourne shell, not csh Can you explain better or point to the reference? sh(1) mentions

svn commit: r243133 - in head/sys: compat/freebsd32 kern

2012-11-15 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 06:22:14 2012 New Revision: 243133 URL: http://svnweb.freebsd.org/changeset/base/243133 Log: Style fixes for r242958. Reported and reviewed by: bde MFC after:28 days Modified: head/sys/compat/freebsd32/freebsd32_misc.c head/sys/kern/kern_exit.c

svn commit: r243134 - head/sys/sys

2012-11-15 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 06:25:20 2012 New Revision: 243134 URL: http://svnweb.freebsd.org/changeset/base/243134 Log: Alphabetically reorder the forward-declarations of the structures. Add the declaration for enum idtype, to be used later. Reported and reviewed by: bde MFC

svn commit: r243135 - head/sys/sys

2012-11-15 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 06:29:52 2012 New Revision: 243135 URL: http://svnweb.freebsd.org/changeset/base/243135 Log: Move the definition of the idtype_t from sys/types.h to sys/wait.h. Fix the bug, use #if __BSD_VISIBLE instead of #if defined(__BSD_VISIBLE), since __BSD_VISIBLE is

svn commit: r243136 - head/sys/kern

2012-11-15 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 06:32:38 2012 New Revision: 243136 URL: http://svnweb.freebsd.org/changeset/base/243136 Log: Restore the proper handling of the pid 0 for waitpid(2). Fix the style around. Reported and reviewed by: bde (previous version) MFC after:28 days Modified:

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

2012-11-15 Thread Alan Cox
Author: alc Date: Fri Nov 16 06:40:40 2012 New Revision: 243137 URL: http://svnweb.freebsd.org/changeset/base/243137 Log: M_USE_RESERVE is no longer deprecated. It is once again supported. Reviewed by: kib Modified: head/share/man/man9/malloc.9 Modified: head/share/man/man9/malloc.9

svn commit: r243138 - head/sys/dev/sound/pcm

2012-11-15 Thread Alexander Motin
Author: mav Date: Fri Nov 16 07:05:57 2012 New Revision: 243138 URL: http://svnweb.freebsd.org/changeset/base/243138 Log: For some more completeness add matrixes for 3.1 and 7.0 channel setups. Modified: head/sys/dev/sound/pcm/channel.c head/sys/dev/sound/pcm/feeder_matrix.c