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

2010-08-15 Thread Marc Fonvieille
On Fri, Jul 16, 2010 at 08:42:20PM +, Bruce Cran wrote: > Author: brucec > Date: Fri Jul 16 20:42:20 2010 > New Revision: 210175 > URL: http://svn.freebsd.org/changeset/base/210175 > > Log: > FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring > and installing via suc

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

2010-08-15 Thread Gabor Kovesdan
Author: gabor Date: Sun Aug 15 22:15:04 2010 New Revision: 211364 URL: http://svn.freebsd.org/changeset/base/211364 Log: - Revert strlcpy() changes to memcpy() because it's more efficient and former may be safer but in this case it doesn't add extra safety [1] - Fix -w option [2] - F

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

2010-08-15 Thread Christian Brueffer
Author: brueffer Date: Sun Aug 15 21:37:30 2010 New Revision: 211356 URL: http://svn.freebsd.org/changeset/base/211356 Log: Fixed a typo. PR: 148701 Submitted by: Glen Barber MFC after:1 week Modified: head/share/man/man9/crypto.9 Modified: head/share/man/man9/crypto.

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

2010-08-15 Thread Christian Brueffer
Author: brueffer Date: Sun Aug 15 21:34:50 2010 New Revision: 211355 URL: http://svn.freebsd.org/changeset/base/211355 Log: Fixed a typo and added a comma. PR: 148681 Submitted by: Glen Barber MFC after:1 week Modified: head/share/man/man4/ng_atm.4 Modified: head/shar

svn commit: r211354 - in head/tools/regression/pjdfstest: . tests

2010-08-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 15 21:29:03 2010 New Revision: 211354 URL: http://svn.freebsd.org/changeset/base/211354 Log: Finish renaming fstest to pjdfstest. Added: head/tools/regression/pjdfstest/pjdfstest.c - copied, changed from r211352, head/tools/regression/pjdfstest/fstest.c Deleted:

svn commit: r211353 - in head: . share/man/man9

2010-08-15 Thread Christian Brueffer
== --- head/ObsoleteFiles.inc Sun Aug 15 21:24:17 2010(r211352) +++ head/ObsoleteFiles.inc Sun Aug 15 21:25:52 2010(r211353) @@ -14,6 +14,8 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100815: retired last traces of chooseproc(9

svn commit: r211352 - in head/tools/regression: fstest pjdfstest

2010-08-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 15 21:24:17 2010 New Revision: 211352 URL: http://svn.freebsd.org/changeset/base/211352 Log: Give fstest a more unique name: pjdfstest. It is released from time to time and used outside FreeBSD, so it is good to have a name one can google. Added: head/tools/regre

svn commit: r211351 - head/tools/regression/fstest

2010-08-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 15 21:20:40 2010 New Revision: 211351 URL: http://svn.freebsd.org/changeset/base/211351 Log: Update copyright years. Modified: head/tools/regression/fstest/LICENSE head/tools/regression/fstest/fstest.c Modified: head/tools/regression/fstest/LICENSE ===

svn commit: r211350 - head/tools/regression/fstest/tests/chown

2010-08-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 15 21:19:42 2010 New Revision: 211350 URL: http://svn.freebsd.org/changeset/base/211350 Log: More tests. Modified: head/tools/regression/fstest/tests/chown/00.t Modified: head/tools/regression/fstest/tests/chown/00.t =

svn commit: r211349 - in head: bin/sh tools/regression/bin/sh/builtins

2010-08-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 15 21:06:53 2010 New Revision: 211349 URL: http://svn.freebsd.org/changeset/base/211349 Log: sh: Fix break/continue/return sometimes not skipping the rest of dot script. In our implementation and most others, a break or continue in a dot script can break or co

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

2010-08-15 Thread Christian Brueffer
Author: brueffer Date: Sun Aug 15 20:56:13 2010 New Revision: 211348 URL: http://svn.freebsd.org/changeset/base/211348 Log: Use our standard section 4 SYNOPSIS. While here, fixed markup whitespace and adapted an Xref. Modified: head/share/man/man4/tpm.4 Modified: head/share/man/man4/tpm.4

svn commit: r211347 - head/sys/dev/cxgb/common

2010-08-15 Thread Navdeep Parhar
Author: np Date: Sun Aug 15 20:52:15 2010 New Revision: 211347 URL: http://svn.freebsd.org/changeset/base/211347 Log: Fix tx pause quanta and timer calculations. MFC after:3 days Modified: head/sys/dev/cxgb/common/cxgb_xgmac.c Modified: head/sys/dev/cxgb/common/cxgb_xgmac.c

svn commit: r211346 - head/sys/dev/cxgb/common

2010-08-15 Thread Navdeep Parhar
Author: np Date: Sun Aug 15 20:45:16 2010 New Revision: 211346 URL: http://svn.freebsd.org/changeset/base/211346 Log: Always reset the XGMAC's XAUI PCS on a link up. MFC after:3 days Modified: head/sys/dev/cxgb/common/cxgb_common.h head/sys/dev/cxgb/common/cxgb_t3_hw.c head/sys/d

svn commit: r211345 - head/sys/dev/cxgb

2010-08-15 Thread Navdeep Parhar
Author: np Date: Sun Aug 15 20:34:51 2010 New Revision: 211345 URL: http://svn.freebsd.org/changeset/base/211345 Log: wakeup is required if the adapter lock is released anywhere during init and not just for the may_sleep case. Pointed out by: Isilon MFC after:3 days Modified:

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

2010-08-15 Thread Bruce Cran
On Sat, 14 Aug 2010 14:34:36 + (UTC) Dag-Erling Smorgrav wrote: > Author: des > Date: Sat Aug 14 14:34:36 2010 > New Revision: 211304 > URL: http://svn.freebsd.org/changeset/base/211304 > > Log: > Simplify expand_number() by combining the (unrolled) loop with the > switch. Since expand_

svn commit: r211344 - head/sys/conf

2010-08-15 Thread Warner Losh
Author: imp Date: Sun Aug 15 19:07:44 2010 New Revision: 211344 URL: http://svn.freebsd.org/changeset/base/211344 Log: Nothing uses TARGET_EMULATOR, so gc it. Modified: head/sys/conf/options.mips Modified: head/sys/conf/options.mips ===

svn commit: r211343 - head/lib/libutil

2010-08-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Aug 15 18:32:06 2010 New Revision: 211343 URL: http://svn.freebsd.org/changeset/base/211343 Log: Further simplify the code, and update the manpage. Submitted by: Christoph Mallon Modified: head/lib/libutil/expand_number.3 head/lib/libutil/expand_number.c Modifie

svn commit: r211342 - head/sbin/bsdlabel

2010-08-15 Thread Jaakko Heinonen
Author: jh Date: Sun Aug 15 17:49:41 2010 New Revision: 211342 URL: http://svn.freebsd.org/changeset/base/211342 Log: - Check that strtoul(3) succeeds to convert the entire string in a few places. - In getasciilabel(), set the disk type only when a valid type is given. PR: b

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

2010-08-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 15 17:14:05 2010 New Revision: 211341 URL: http://svn.freebsd.org/changeset/base/211341 Log: sh: Test that all bytes from 1 to 127 can be used in IFS. This also passes on stable/8. Added: head/tools/regression/bin/sh/expansion/ifs2.0 (contents, props change

svn commit: r211340 - head/lib/libc/net

2010-08-15 Thread Hajimu UMEMOTO
Author: ume Date: Sun Aug 15 16:28:08 2010 New Revision: 211340 URL: http://svn.freebsd.org/changeset/base/211340 Log: Correct the return code from _dns_gethostby*() to correspond with h_errno. Obtained from:NetBSD MFC after:2 weeks Modified: head/lib/libc/net/gethostbydn

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

2010-08-15 Thread Bruce Evans
On Sun, 15 Aug 2010, Dag-Erling Smorgrav wrote: Log: no-op commit to note that the example given in the previous commit is a very bad one, since the shift does not actually overflow. Indeed. You barely escaped more mail about it :-). This is a better example (assuming uint64_t = unsigned

svn commit: r211339 - head/sys/modules/sem

2010-08-15 Thread Konstantin Belousov
Author: kib Date: Sun Aug 15 15:33:01 2010 New Revision: 211339 URL: http://svn.freebsd.org/changeset/base/211339 Log: Add missed dependency. Submitted by: gcooper MFC after:1 week Modified: head/sys/modules/sem/Makefile Modified: head/sys/modules/sem/Makefile

svn commit: r211338 - head/lib/libutil

2010-08-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Aug 15 14:55:32 2010 New Revision: 211338 URL: http://svn.freebsd.org/changeset/base/211338 Log: no-op commit to note that the example given in the previous commit is a very bad one, since the shift does not actually overflow. This is a better example (assuming uint64_

svn commit: r211337 - head/lib/libutil

2010-08-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Aug 15 14:50:03 2010 New Revision: 211337 URL: http://svn.freebsd.org/changeset/base/211337 Log: Fix the overflow test. It is possible for the result of an overflowing shift to be larger than the original value, e.g. (uint64_t)1 << 53 = 0x20

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

2010-08-15 Thread Dag-Erling Smørgrav
m...@freebsd.org writes: > I think it's possible for the number to overflow but also not shrink. > e.g. 0x12345678T. Ah, you're right, I didn't think of that. Thanks. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list h

svn commit: r211336 - head/tools/regression/fstest/tests/chmod

2010-08-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 15 14:44:48 2010 New Revision: 211336 URL: http://svn.freebsd.org/changeset/base/211336 Log: More tests (especially for lchmod(2)), less code duplication. Modified: head/tools/regression/fstest/tests/chmod/00.t head/tools/regression/fstest/tests/chmod/04.t head/t

svn commit: r211335 - head/sys/sys

2010-08-15 Thread Konstantin Belousov
Author: kib Date: Sun Aug 15 14:38:01 2010 New Revision: 211335 URL: http://svn.freebsd.org/changeset/base/211335 Log: Add convenience defines for hidden and default/exported attributes. MFC after:2 weeks Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h

Re: svn commit: r211327 - head/sys/netinet

2010-08-15 Thread Andre Oppermann
On 15.08.2010 11:41, Bjoern A. Zeeb wrote: On Sun, 15 Aug 2010, Andre Oppermann wrote: Author: andre Date: Sun Aug 15 09:30:13 2010 New Revision: 211327 URL: http://svn.freebsd.org/changeset/base/211327 Log: Add more logging points for failures in syncache_socket() to report when a new socket

svn commit: r211333 - head/sys/netinet

2010-08-15 Thread Andre Oppermann
Author: andre Date: Sun Aug 15 13:25:18 2010 New Revision: 211333 URL: http://svn.freebsd.org/changeset/base/211333 Log: Fix the interaction between 'ICMP fragmentation needed' MTU updates, path MTU discovery and the tcp_minmss limiter for very small MTU's. When the MTU suggested by the g

svn commit: r211332 - head/sys/netinet

2010-08-15 Thread Andre Oppermann
Author: andre Date: Sun Aug 15 13:07:08 2010 New Revision: 211332 URL: http://svn.freebsd.org/changeset/base/211332 Log: Initializing the new error variable to zero in syncache_socket() is not necessary. Noticed by: bz Modified: head/sys/netinet/tcp_syncache.c Modified: head/sys/net

svn commit: r211330 - head/sys/dev/ath/ath_hal/ar5416

2010-08-15 Thread Adrian Chadd
Author: adrian Date: Sun Aug 15 11:40:53 2010 New Revision: 211330 URL: http://svn.freebsd.org/changeset/base/211330 Log: Fix indenting/whitespace issues introduced by me. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c ==

svn commit: r211328 - head/sys/dev/ath/ath_hal/ar5416

2010-08-15 Thread Adrian Chadd
Author: adrian Date: Sun Aug 15 11:32:05 2010 New Revision: 211328 URL: http://svn.freebsd.org/changeset/base/211328 Log: The comment is misleading - that register setting seems to kick off the initial chip NF cal. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/d

Re: svn commit: r211327 - head/sys/netinet

2010-08-15 Thread Bjoern A. Zeeb
On Sun, 15 Aug 2010, Andre Oppermann wrote: Author: andre Date: Sun Aug 15 09:30:13 2010 New Revision: 211327 URL: http://svn.freebsd.org/changeset/base/211327 Log: Add more logging points for failures in syncache_socket() to report when a new socket couldn't be created because one of in_pcb

svn commit: r211327 - head/sys/netinet

2010-08-15 Thread Andre Oppermann
Author: andre Date: Sun Aug 15 09:30:13 2010 New Revision: 211327 URL: http://svn.freebsd.org/changeset/base/211327 Log: Add more logging points for failures in syncache_socket() to report when a new socket couldn't be created because one of in_pcbinshash(), in6_pcbconnect() or in_pcbconnect

svn commit: r211326 - head/usr.sbin/config

2010-08-15 Thread Warner Losh
Author: imp Date: Sun Aug 15 08:49:07 2010 New Revision: 211326 URL: http://svn.freebsd.org/changeset/base/211326 Log: Given the lag between introducing the options-compat and fixing the bug in the config file was long, and merged to stable, we have to bump the version here so that stable/8

svn commit: r211325 - head/usr.sbin/config

2010-08-15 Thread Warner Losh
Author: imp Date: Sun Aug 15 08:44:32 2010 New Revision: 211325 URL: http://svn.freebsd.org/changeset/base/211325 Log: Turns out that it is a bad idea to have a missing compat option be a fatal condition. While it works out really well for diagnosing the case where you want it, but don't ha