svn commit: r188303 - head/sys/geom/part

2009-02-07 Thread Warner Losh
Author: imp Date: Sun Feb 8 07:05:23 2009 New Revision: 188303 URL: http://svn.freebsd.org/changeset/base/188303 Log: Fix g_part_*dumpconf to return void to match kobj definition. Fix g_part_*name to return a const char * rather than a char *. Modified: head/sys/geom/part/g_part_bsd.c he

svn commit: r188302 - head/sys/amd64/include

2009-02-07 Thread Warner Losh
Author: imp Date: Sun Feb 8 07:03:34 2009 New Revision: 188302 URL: http://svn.freebsd.org/changeset/base/188302 Log: Companion for r188301: fix the prototypes. Modified: head/sys/amd64/include/legacyvar.h Modified: head/sys/amd64/include/legacyvar.h

svn commit: r188301 - head/sys/amd64/pci

2009-02-07 Thread Warner Losh
Author: imp Date: Sun Feb 8 07:02:42 2009 New Revision: 188301 URL: http://svn.freebsd.org/changeset/base/188301 Log: Correct parameter types for pcib_{read,write}_config by fixing the protptyoes for the legacy_* impelemtnations of these kobj methods. Modified: head/sys/amd64/pci/pci_bus.c

svn commit: r188300 - head/lib/libc_r/uthread

2009-02-07 Thread Daniel Eischen
Author: deischen Date: Sun Feb 8 06:44:58 2009 New Revision: 188300 URL: http://svn.freebsd.org/changeset/base/188300 Log: Fix leak of kqueue() file descriptors when linked with static libc_r. PR: 58687 Submitted by: Jonathon Lennox Modified: head/lib/libc_r/uthread/uthre

Re: svn commit: r188257 - head/sys/pc98/conf

2009-02-07 Thread Takahashi Yoshihiro
In article <20090206235424.gk83...@freebsd.org> "Wojciech A. Koszek" writes: >> +# EPSON_BOUNCEDMA: XXX >> +# EPSON_MEMWIN: XXX > > Those had no respective comment lines, and I didn't know what those options > do. > I expect someone to fill those, or at least present 'ready to commit' comments

svn commit: r188299 - head/sys/netinet

2009-02-07 Thread Paolo Pisati
Author: piso Date: Sun Feb 8 03:03:55 2009 New Revision: 188299 URL: http://svn.freebsd.org/changeset/base/188299 Log: Silent LINT: add 2 stubs (update_crc32 and sctp_finalize_crc32) to fix LIBALIAS + SCTP_NO_CSUM case. Modified: head/sys/netinet/sctp_crc32.c Modified: head/sys/netinet/sct

svn commit: r188298 - head/sys/conf

2009-02-07 Thread Paolo Pisati
Author: piso Date: Sun Feb 8 03:02:06 2009 New Revision: 188298 URL: http://svn.freebsd.org/changeset/base/188298 Log: Fix LIBALIAS option for a static kernel. Modified: head/sys/conf/files Modified: head/sys/conf/files ===

svn commit: r188297 - head/sys/conf

2009-02-07 Thread Wojciech A. Koszek
Author: wkoszek Date: Sun Feb 8 00:16:24 2009 New Revision: 188297 URL: http://svn.freebsd.org/changeset/base/188297 Log: Resort NOTES a bit to easily distinguish, which comments are actual and refer to used options, and which comments are obseleted. Reviewed by: imp Modified: head/s

Re: svn commit: r188251 - head/sys/fs/udf

2009-02-07 Thread Christoph Mallon
John Baldwin schrieb: Modified: head/sys/fs/udf/ecma167-udf.h == --- head/sys/fs/udf/ecma167-udf.h Fri Feb 6 22:22:08 2009 (r188250) +++ head/sys/fs/udf/ecma167-udf.h Fri Feb 6 22:24:03 2009

svn commit: r188296 - stable/7/sys/conf

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 21:07:58 2009 New Revision: 188296 URL: http://svn.freebsd.org/changeset/base/188296 Log: "MFC": sys/conf/kern.pre.mk r180012 (out of the larger commit) Without including bsd.own.mk KMODOWN/KMODGRP are not defined which after r188288 broke installkernel.

svn commit: r188295 - head/lib/libc/string

2009-02-07 Thread Warner Losh
Author: imp Date: Sat Feb 7 19:34:44 2009 New Revision: 188295 URL: http://svn.freebsd.org/changeset/base/188295 Log: Make sure the comparison is done with an unsigned char. Modified: head/lib/libc/string/memchr.c Modified: head/lib/libc/string/memchr.c =

Re: svn commit: r188098 - head/lib/libc/string

2009-02-07 Thread M. Warner Losh
In message: <20090207190418.ga...@nagual.pp.ru> Andrey Chernov writes: : On Tue, Feb 03, 2009 at 08:25:36PM +, Warner Losh wrote: : > == : > --- head/lib/libc/string/memchr.c Tue Feb 3 20:01:51 2009

Re: svn commit: r188098 - head/lib/libc/string

2009-02-07 Thread Andrey Chernov
On Tue, Feb 03, 2009 at 08:25:36PM +, Warner Losh wrote: > == > --- head/lib/libc/string/memchr.c Tue Feb 3 20:01:51 2009 > (r188097) > +++ head/lib/libc/string/memchr.c Tue Feb 3 20:25:36 2009

svn commit: r188294 - in head: sbin sbin/ipfw sys sys/modules/libalias/libalias sys/netinet sys/netinet/libalias

2009-02-07 Thread Paolo Pisati
Author: piso Date: Sat Feb 7 18:49:42 2009 New Revision: 188294 URL: http://svn.freebsd.org/changeset/base/188294 Log: Add SCTP NAT support. Submitted by: CAIA (http://caia.swin.edu.au) Added: head/sys/netinet/libalias/alias_sctp.c - copied, changed from r186543, user/piso/sys/neti

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

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 16:37:02 2009 New Revision: 188293 URL: http://svn.freebsd.org/changeset/base/188293 Log: Named normally cannot be started chrooted inside a jail. Thus treat the jail case specifically. In case we find a proper pre-seeded devfs in the chroot path (mounted from the

svn commit: r188292 - head/sys/dev/usb2/controller

2009-02-07 Thread Andrew Thompson
Author: thompsa Date: Sat Feb 7 15:51:32 2009 New Revision: 188292 URL: http://svn.freebsd.org/changeset/base/188292 Log: Fix build, sigh. Modified: head/sys/dev/usb2/controller/ehci2.c Modified: head/sys/dev/usb2/controller/ehci2.c ==

svn commit: r188291 - stable/7

2009-02-07 Thread Alan Cox
affecting the ports and packages s portupgrade. 20090207: + ZFS users on amd64 machines with 4GB or more of RAM should + reevaluate their need for setting vm.kmem_size_max and + vm.kmem_size manually. In fact, after recent changes to the + kernel, the default value of

svn commit: r188290 - stable/7/share/man/man5

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 15:31:23 2009 New Revision: 188290 URL: http://svn.freebsd.org/changeset/base/188290 Log: MFC: r187668 Change IP addresses/prefixes to be from "Test-Net" (IPv4 documentation prefix 192.0.2.0/24) rather than from private-use networks. Modified: stable/7/s

svn commit: r188289 - stable/7

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 15:21:11 2009 New Revision: 188289 URL: http://svn.freebsd.org/changeset/base/188289 Log: MFC: r186519 Permit digits in the kernel config file names for `make universe'. This catches a few more kernel config for various architectures and permits having

svn commit: r188288 - in stable/7: share/mk sys sys/conf sys/contrib/pf sys/dev/cxgb

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 14:55:29 2009 New Revision: 188288 URL: http://svn.freebsd.org/changeset/base/188288 Log: MFC: r186854 Using KMODOWN/KMODGRP rather than hard coding root/wheel for installing the kernel allows one, like with modules, to override the default user/group a

svn commit: r188287 - in stable/7: etc etc/defaults etc/periodic/weekly etc/rc.d share/man/man5

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 14:04:35 2009 New Revision: 188287 URL: http://svn.freebsd.org/changeset/base/188287 Log: MFC: r187708 Update jail startup script for multi-IPv4/v6/no-IP jails. Note: this is only really necessary because of the ifconfig logic to add/remove the

svn commit: r188286 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern net netinet netinet6 sys

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 13:55:12 2009 New Revision: 188286 URL: http://svn.freebsd.org/changeset/base/188286 Log: MFC: r187684 For consistency with prison_{local,remote,check}_ipN rename prison_getipN to prison_get_ipN. Modified: stable/7/sys/ (props changed) stable/7/sys/c

svn commit: r188285 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netinet netinet6

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 13:51:15 2009 New Revision: 188285 URL: http://svn.freebsd.org/changeset/base/188285 Log: MFC: r186948 Make SIOCGIFADDR and related, as well as SIOCGIFADDR_IN6 and related jail-aware. Up to now we returned the first address of the interface for SIOCGIFA

svn commit: r188284 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 13:46:51 2009 New Revision: 188284 URL: http://svn.freebsd.org/changeset/base/188284 Log: MFC: r186956 Take the cred from curthread rather than curproc as curproc would need locking but the credential from curthread (usually) never changes. r186980

svn commit: r188283 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 13:32:49 2009 New Revision: 188283 URL: http://svn.freebsd.org/changeset/base/188283 Log: Record that r85436 was merged with r188282. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props cha

svn commit: r188282 - stable/7/sys/compat/freebsd32

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 13:27:01 2009 New Revision: 188282 URL: http://svn.freebsd.org/changeset/base/188282 Log: Regen after jail support was merged in r188281 (--record-only MFC of r185436). Modified: stable/7/sys/compat/freebsd32/freebsd32_proto.h stable/7/sys/compat/freebsd32/free

svn commit: r188281 - in stable/7: . etc etc/defaults etc/periodic/weekly lib/libc lib/libc/string lib/libc/sys lib/libkvm share/man/man4 sys sys/compat/freebsd32 sys/contrib/pf sys/dev/ath/ath_hal...

2009-02-07 Thread Bjoern A. Zeeb
@@ -8,6 +8,12 @@ Items affecting the ports and packages s /usr/ports/UPDATING. Please read that file before running portupgrade. +20090207: + Multi-IPv4/v6/no-IP jail support was merged to STABLE. + You need to rebuild jls(8) and to use the new features + jail(8

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

2009-02-07 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 11:40:47 2009 New Revision: 188280 URL: http://svn.freebsd.org/changeset/base/188280 Log: Move the comment to it's correct place. Modified: head/usr.sbin/config/main.c Modified: head/usr.sbin/config/main.c =

svn commit: r188279 - in stable/7/usr.bin: basename dirname

2009-02-07 Thread Robert Watson
Author: rwatson Date: Sat Feb 7 11:27:35 2009 New Revision: 188279 URL: http://svn.freebsd.org/changeset/base/188279 Log: Merge r188006 from head to stable/7: Alow dirname(1) to accept multiple arguments in the same way that basename(1) does. (Two different PRs contained ident

svn commit: r188278 - stable/7/sbin/dumpfs

2009-02-07 Thread Robert Watson
Author: rwatson Date: Sat Feb 7 11:15:53 2009 New Revision: 188278 URL: http://svn.freebsd.org/changeset/base/188278 Log: Merge r187814, r187820 from head to stable/7: Add a new flag to dumpfs(8), -f, which causes dumpfs to list all free fragments in the file system by fragment (bloc

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

2009-02-07 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 11:12:30 2009 New Revision: 188277 URL: http://svn.freebsd.org/changeset/base/188277 Log: Remove leftover of alpha support for config(8)--we have MAP_FAILED globally defined. Modified: head/usr.sbin/config/main.c Modified: head/usr.sbin/config/main.c ==

Re: svn commit: r188273 - head/sys/dev/usb2/controller

2009-02-07 Thread Niclas Zeising
Andrew Thompson wrote: Author: thompsa Date: Sat Feb 7 06:27:16 2009 New Revision: 188273 URL: http://svn.freebsd.org/changeset/base/188273 Log: Dont hold the lock over the controller init, we are still attaching. Modified: head/sys/dev/usb2/controller/ehci2.c head/sys/dev/usb2/controlle

svn commit: r188276 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 10:29:07 2009 New Revision: 188276 URL: http://svn.freebsd.org/changeset/base/188276 Log: MFC: r185404 With the permissions of phk@ change the license on kern_jail.c to a 2 clause BSD license. Modified: stable/7/sys/ (props changed) stable/7/sys/cont

svn commit: r188275 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netinet

2009-02-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 7 10:17:29 2009 New Revision: 188275 URL: http://svn.freebsd.org/changeset/base/188275 Log: MFC: r183571: Implement IPv4 source address selection for unbound sockets. This also changes the semantics of selecting the IP for processes within a jail

svn commit: r188274 - in head/sys: conf ia64/conf

2009-02-07 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 09:57:14 2009 New Revision: 188274 URL: http://svn.freebsd.org/changeset/base/188274 Log: Don't forget to create opt_agp.h on ia64, which also uses agp(4). Modified: head/sys/conf/options.ia64 head/sys/ia64/conf/NOTES Modified: head/sys/conf/options.ia64 ==