svn commit: r192627 - head/share/misc

2009-05-23 Thread Edwin Groothuis
Author: edwin Date: Sat May 23 07:16:17 2009 New Revision: 192627 URL: http://svn.freebsd.org/changeset/base/192627 Log: Update share/misc/iso639 Snapshot was taken on 23 May 2009. Obtained from: http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt MFC after:1 week

Re: svn commit: r192194 - in head/sys: boot/i386/zfsboot boot/zfs cddl/boot/zfs

2009-05-23 Thread Doug Rabson
Thanks for the report - I'll put together a repro scenario and fix it as soon as possible. On 23 May 2009, at 00:27, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Doug, Doug Rabson wrote: Author: dfr Date: Sat May 16 10:48:20 2009 New Revision: 192194 URL: http://svn.fre

Re: svn commit: r192625 - in head: . lib/libc/stdtime usr.sbin/zic

2009-05-23 Thread Niclas Zeising
May 23 06:30:03 2009(r192624) +++ head/UPDATING Sat May 23 06:31:50 2009(r192625) @@ -22,6 +22,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20090523: + The newly

svn commit: r192628 - head/sys/mips/mips

2009-05-23 Thread Alan Cox
Author: alc Date: Sat May 23 07:58:56 2009 New Revision: 192628 URL: http://svn.freebsd.org/changeset/base/192628 Log: Preset the modified bit in the PTE when pmap_enter() is called during a write fault or while wiring a mapping that must support write access. In general, this change shou

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

2009-05-23 Thread Robert Watson
On Fri, 22 May 2009, Bjoern A. Zeeb wrote: On Fri, 22 May 2009, Bjoern A. Zeeb wrote: Author: bz Date: Fri May 22 23:03:15 2009 New Revision: 192612 URL: http://svn.freebsd.org/changeset/base/192612 Log: If including vnet.h one has to include opt_route.h as well. This is because struct vnet

svn commit: r192629 - head

2009-05-23 Thread Edwin Groothuis
Author: edwin Date: Sat May 23 08:49:55 2009 New Revision: 192629 URL: http://svn.freebsd.org/changeset/base/192629 Log: Rework the text for the import of zic(8) at 20090523. Suggested by Niclas Zeising (and he was absolutely right on it!) Modified: head/UPDATING Modified: head/UPDATING

svn commit: r192630 - in head/tools/tools: . iso

2009-05-23 Thread Edwin Groothuis
Author: edwin Date: Sat May 23 09:01:30 2009 New Revision: 192630 URL: http://svn.freebsd.org/changeset/base/192630 Log: Added two tools to check the contents of /usr/share/misc/iso* with the data from the sources. PR: misc/127430 and misc/misc/127428 Added: head/tools/tools/

svn commit: r192631 - head

2009-05-23 Thread Joel Dahl
Author: joel (doc committer) Date: Sat May 23 09:24:07 2009 New Revision: 192631 URL: http://svn.freebsd.org/changeset/base/192631 Log: Fix minor typo. Modified: head/UPDATING Modified: head/UPDATING == --- head/UPDA

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

2009-05-23 Thread Julian Elischer
Robert Watson wrote: On Fri, 22 May 2009, Bjoern A. Zeeb wrote: On Fri, 22 May 2009, Bjoern A. Zeeb wrote: Author: bz Date: Fri May 22 23:03:15 2009 New Revision: 192612 URL: http://svn.freebsd.org/changeset/base/192612 Log: If including vnet.h one has to include opt_route.h as well. This i

svn commit: r192632 - in stable/7/lib/libc: . posix1e string

2009-05-23 Thread Christian Brueffer
Author: brueffer Date: Sat May 23 10:35:27 2009 New Revision: 192632 URL: http://svn.freebsd.org/changeset/base/192632 Log: MFC: r192410 Since audit(4) isn't based on posix1e, remove the commented out audit.h header, xref libbsm(3). Modified: stable/7/lib/libc/ (props changed) sta

svn commit: r192633 - in stable/6/lib/libc: . inet posix1e sys

2009-05-23 Thread Christian Brueffer
Author: brueffer Date: Sat May 23 10:45:28 2009 New Revision: 192633 URL: http://svn.freebsd.org/changeset/base/192633 Log: MFC: r192410 Since audit(4) isn't based on posix1e, remove the commented out audit.h header, xref libbsm(3). Modified: stable/6/lib/libc/ (props changed) sta

Re: svn commit: r192591 - head/sys/fs/nfsserver

2009-05-23 Thread Bruce Evans
On Fri, 22 May 2009, Sam Leffler wrote: Alexey Dokuchaev wrote: On Fri, May 22, 2009 at 06:10:40PM +, Rick Macklem wrote: ... Log: Modified the printf message of r192590 to remove the possible DOS attack, as suggested by Sam. - printf("out of clientids, possible DOS attack\n"); +

Re: svn commit: r192591 - head/sys/fs/nfsserver

2009-05-23 Thread Bjoern A. Zeeb
On Fri, 22 May 2009, Sam Leffler wrote: I requested the printf identify the call site; e.g. printf("%s: out of clientids\n", __func__); That is equally cryptic _with_ grepping through the source code, and much uglier. __func__ should only be used when the function name is not a literal const

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

2009-05-23 Thread Bruce Evans
On Sat, 23 May 2009, Robert Watson wrote: On Fri, 22 May 2009, Bjoern A. Zeeb wrote: On Fri, 22 May 2009, Bjoern A. Zeeb wrote: ... Log: If including vnet.h one has to include opt_route.h as well. This is because struct vnet_net holds the rt_tables[][] for MRT and array size is compile tim

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

2009-05-23 Thread Robert Watson
On Sat, 23 May 2009, Bruce Evans wrote: For a single option that spams a header like this one, it is probably easy to check it using ifdefs. must not define RT_MAXFIBS unless opt_mroute.h has been included. AT least this option header would have to always #define something to identify itse

svn commit: r192636 - head/sys/opencrypto

2009-05-23 Thread Rafal Jaworowski
Author: raj Date: Sat May 23 13:23:46 2009 New Revision: 192636 URL: http://svn.freebsd.org/changeset/base/192636 Log: Fix cryptodev UIO creation. Cryptodev uses UIO structure do get data from userspace and pass it to cryptographic engines. Initially UIO size is equal to size of data pass

svn commit: r192638 - head/lib/libc/posix1e

2009-05-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat May 23 13:51:05 2009 New Revision: 192638 URL: http://svn.freebsd.org/changeset/base/192638 Log: Improve API documentation. Reviewed by: rwatson (earlier version) Modified: head/lib/libc/posix1e/acl.3 head/lib/libc/posix1e/acl_add_perm.3 head/lib/libc/posix1e

Re: svn commit: r192591 - head/sys/fs/nfsserver

2009-05-23 Thread Bruce Evans
On Sat, 23 May 2009, Bjoern A. Zeeb wrote: On Fri, 22 May 2009, Sam Leffler wrote: I requested the printf identify the call site; e.g. printf("%s: out of clientids\n", __func__); That is equally cryptic _with_ grepping through the source code, and much uglier. __func__ should only be used

svn commit: r192639 - head/sys/cddl/boot/zfs

2009-05-23 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 23 16:00:16 2009 New Revision: 192639 URL: http://svn.freebsd.org/changeset/base/192639 Log: Remove svn:keywords on a file that had fbsd:nokeywords (though I don't understand the reason for the latter) Modified: head/sys/cddl/boot/zfs/zfssubr.c (contents, props c

svn commit: r192640 - head/sys/cddl/boot/zfs

2009-05-23 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 23 16:01:58 2009 New Revision: 192640 URL: http://svn.freebsd.org/changeset/base/192640 Log: Unexpand $FreeBSD$. Modified: head/sys/cddl/boot/zfs/zfssubr.c Modified: head/sys/cddl/boot/zfs/zfssubr.c ===

Re: svn commit: r192639 - head/sys/cddl/boot/zfs

2009-05-23 Thread Dag-Erling Smørgrav
Dag-Erling Smorgrav writes: > Log: > Remove svn:keywords on a file that had fbsd:nokeywords (though I don't > understand the reason for the latter) > > Modified: > head/sys/cddl/boot/zfs/zfssubr.c (contents, props changed) So, what is the point of fbsd:nokeywords, and why does this file h

Re: svn commit: r192639 - head/sys/cddl/boot/zfs

2009-05-23 Thread Robert Watson
On Sat, 23 May 2009, Dag-Erling Smorgrav wrote: Remove svn:keywords on a file that had fbsd:nokeywords (though I don't understand the reason for the latter) This seems backwards, as does the commit that followed it to remove the expanded $FreeBSD$ string. Is there any reason this file shou

svn commit: r192644 - head/sys/kern

2009-05-23 Thread Jamie Gritton
Author: jamie Date: Sat May 23 16:13:26 2009 New Revision: 192644 URL: http://svn.freebsd.org/changeset/base/192644 Log: Delay an error message until the variable it uses gets initialized. Found with: Coverity Prevent(tm) CID: 4316 Reported by: trasz Approved by: bz (ment

Re: svn commit: r192639 - head/sys/cddl/boot/zfs

2009-05-23 Thread Dag-Erling Smørgrav
Robert Watson writes: > "Dag-Erling Smørgrav" writes: > > Remove svn:keywords on a file that had fbsd:nokeywords (though I don't > > understand the reason for the latter) > This seems backwards, as does the commit that followed it to remove > the expanded $FreeBSD$ string. I just restored the

svn commit: r192645 - head/sys/nfsclient

2009-05-23 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 23 16:27:42 2009 New Revision: 192645 URL: http://svn.freebsd.org/changeset/base/192645 Log: While r192615 fixed the former problems, make this file VIMAGE compliant now as well initializing local context variables. Modified: head/sys/nfsclient/bootp_subr.c Modifie

svn commit: r192646 - head/lib/libc/nls

2009-05-23 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 23 16:36:19 2009 New Revision: 192646 URL: http://svn.freebsd.org/changeset/base/192646 Log: Remove bogus props Modified: head/lib/libc/nls/be_BY.UTF-8.msg (props changed) head/lib/libc/nls/uk_UA.UTF-8.msg (props changed) ___

svn commit: r192647 - head/sys/xen/xenbus

2009-05-23 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 23 16:39:49 2009 New Revision: 192647 URL: http://svn.freebsd.org/changeset/base/192647 Log: Remove bogus prop Modified: head/sys/xen/xenbus/init.txt (props changed) ___ svn-src-all@freebsd.org mailing list http://lists.f

svn commit: r192648 - in head: share/man/man4 sys/conf sys/netinet sys/netinet6 sys/netipsec

2009-05-23 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 23 16:42:38 2009 New Revision: 192648 URL: http://svn.freebsd.org/changeset/base/192648 Log: Add sysctls to toggle the behaviour of the (former) IPSEC_FILTERTUNNEL kernel option. This also permits tuning of the option per virtual network stack, as well as separatel

Re: svn commit: r192646 - head/lib/libc/nls

2009-05-23 Thread Gabor Kovesdan
Dag-Erling Smorgrav escribió: Author: des Date: Sat May 23 16:36:19 2009 New Revision: 192646 URL: http://svn.freebsd.org/changeset/base/192646 Log: Remove bogus props Modified: head/lib/libc/nls/be_BY.UTF-8.msg (props changed) head/lib/libc/nls/uk_UA.UTF-8.msg (props changed) I gu

svn commit: r192649 - in head/sys: netinet netinet6 sys

2009-05-23 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 23 16:51:13 2009 New Revision: 192649 URL: http://svn.freebsd.org/changeset/base/192649 Log: Implement UDP control block support. So far the udp_tun_func_t had been (ab)using inp_ppcb for udp in kernel tunneling callbacks. Move that into the udpcb and add a field

svn commit: r192650 - head

2009-05-23 Thread Antoine Brodin
Author: antoine Date: Sat May 23 16:54:07 2009 New Revision: 192650 URL: http://svn.freebsd.org/changeset/base/192650 Log: Add more obsolete files, old NFSv4 client and legacy USB related. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

svn commit: r192651 - head/sys/netinet

2009-05-23 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 23 17:02:30 2009 New Revision: 192651 URL: http://svn.freebsd.org/changeset/base/192651 Log: For UDP with introducing the UDP control block, the uma zone had to be named "udp_inpcb" to avoid a naming conflict with tcp[1]. For consistency rename the uma zone for TCP

svn commit: r192652 - head/sys/sys

2009-05-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat May 23 17:09:47 2009 New Revision: 192652 URL: http://svn.freebsd.org/changeset/base/192652 Log: Add new #defines neccessary to support NFSv4 ACLs. Reviewed by: rwatson Modified: head/sys/sys/acl.h Modified: head/sys/sys/acl.h ===

svn commit: r192653 - head/lib/libc/nls

2009-05-23 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 23 17:13:35 2009 New Revision: 192653 URL: http://svn.freebsd.org/changeset/base/192653 Log: More bogus props. Modified: head/lib/libc/nls/be_BY.UTF-8.msg (props changed) head/lib/libc/nls/el_GR.ISO8859-7.msg (props changed) head/lib/libc/nls/mn_MN.UTF-8.msg

svn commit: r192654 - in stable/7/sys: . amd64/conf boot/forth contrib/pf dev/ath/ath_hal dev/cxgb

2009-05-23 Thread Antoine Brodin
Author: antoine Date: Sat May 23 17:17:54 2009 New Revision: 192654 URL: http://svn.freebsd.org/changeset/base/192654 Log: MFC r189872 to stable/7: Chase the k8temp->amdtemp rename in NOTES and loader.conf. Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/conf/NOTES stable

Re: svn commit: r192646 - head/lib/libc/nls

2009-05-23 Thread Dag-Erling Smørgrav
Gabor Kovesdan writes: > "Dag-Erling Smørgrav" writes: > > Log: > > Remove bogus props > I guess you touched the mime-type? No, I removed the bogus svn:keyword [sic] property. > SVN only let me commit these with the mime-type set to > application/octet-stream or something similar. That's bec

Re: svn commit: r192625 - in head: . lib/libc/stdtime usr.sbin/zic

2009-05-23 Thread M. Warner Losh
In message: <200905230631.n4n6vosa046...@svn.freebsd.org> Edwin Groothuis writes: : After the installation of this code and the running of zic(8), you : need to run tzsetup(8) again to install the new datafile. Please add an UPDATING entry for this, since we are going to get compl

Re: svn commit: r192625 - in head: . lib/libc/stdtime usr.sbin/zic

2009-05-23 Thread Kostik Belousov
On Sat, May 23, 2009 at 06:31:50AM +, Edwin Groothuis wrote: > Author: edwin > Date: Sat May 23 06:31:50 2009 > New Revision: 192625 > URL: http://svn.freebsd.org/changeset/base/192625 > > Log: > MFV of tzcode2009e: > > Upgrade of the tzcode from 2004a to 2009e. > > Changes are num

Re: svn commit: r192625 - in head: . lib/libc/stdtime usr.sbin/zic

2009-05-23 Thread Niclas Zeising
M. Warner Losh wrote: In message: <200905230631.n4n6vosa046...@svn.freebsd.org> Edwin Groothuis writes: : After the installation of this code and the running of zic(8), you : need to run tzsetup(8) again to install the new datafile. Please add an UPDATING entry for this, since w

Re: svn commit: r192625 - in head: . lib/libc/stdtime usr.sbin/zic

2009-05-23 Thread Larry Rosenman
l the new datafile. > > Please add an UPDATING entry for this, since we are going to get > complaints about it... > > Warner There is one: 20090523: The newly imported zic(8) produces a new format in the output. Please run tzsetup(8) to install the newly created da

svn commit: r192657 - head/sys/fs/nwfs

2009-05-23 Thread Alan Cox
Author: alc Date: Sat May 23 18:25:11 2009 New Revision: 192657 URL: http://svn.freebsd.org/changeset/base/192657 Log: Eliminate the unnecessary clearing of a page's dirty bits from nwfs_getpages(). Modified: head/sys/fs/nwfs/nwfs_io.c Modified: head/sys/fs/nwfs/nwfs_io.c =

svn commit: r192658 - head/sys/mips/mips

2009-05-23 Thread Alan Cox
Author: alc Date: Sat May 23 18:33:22 2009 New Revision: 192658 URL: http://svn.freebsd.org/changeset/base/192658 Log: When a page is mapped for write access on a read fault, the PTE should be configured to trap on a write access unless *all* of the page's dirty bits are set. Modified: he

Re: svn commit: r192591 - head/sys/fs/nfsserver

2009-05-23 Thread Sam Leffler
Bruce Evans wrote: On Fri, 22 May 2009, Sam Leffler wrote: Alexey Dokuchaev wrote: On Fri, May 22, 2009 at 06:10:40PM +, Rick Macklem wrote: ... Log: Modified the printf message of r192590 to remove the possible DOS attack, as suggested by Sam. -printf("out of clientids, possibl

svn commit: r192659 - head/sys/mips/mips

2009-05-23 Thread Alan Cox
Author: alc Date: Sat May 23 18:44:26 2009 New Revision: 192659 URL: http://svn.freebsd.org/changeset/base/192659 Log: Give pmap_enter()'s third parameter the same name that it has on amd64 and i386. Otherwise, my next to last commit (r192628) to this file doesn't actually compile. Modifie

svn commit: r192660 - head/sys/arm/xscale/ixp425

2009-05-23 Thread Sam Leffler
Author: sam Date: Sat May 23 19:14:20 2009 New Revision: 192660 URL: http://svn.freebsd.org/changeset/base/192660 Log: accumulate npe statistics and expose them through dev.npe.X.stats Modified: head/sys/arm/xscale/ixp425/if_npe.c Modified: head/sys/arm/xscale/ixp425/if_npe.c ===

svn commit: r192661 - in head/tools/tools: . npe npe/npestats

2009-05-23 Thread Sam Leffler
Author: sam Date: Sat May 23 19:16:34 2009 New Revision: 192661 URL: http://svn.freebsd.org/changeset/base/192661 Log: add npe tools; first is npestats which reports device statistics Added: head/tools/tools/npe/ head/tools/tools/npe/Makefile (contents, props changed) head/tools/tools/n

svn commit: r192662 - head/tools/tools/nanobsd/gateworks

2009-05-23 Thread Sam Leffler
Author: sam Date: Sat May 23 19:17:05 2009 New Revision: 192662 URL: http://svn.freebsd.org/changeset/base/192662 Log: add npe tools Modified: head/tools/tools/nanobsd/gateworks/common Modified: head/tools/tools/nanobsd/gateworks/common ===

svn commit: r192665 - in stable/7/sys/boot: . common i386 i386/libi386 i386/loader i386/zfsboot zfs

2009-05-23 Thread Kip Macy
Author: kmacy Date: Sat May 23 19:54:18 2009 New Revision: 192665 URL: http://svn.freebsd.org/changeset/base/192665 Log: Import ZFS loader support missed in the initial MFC set LOADER_ZFS_SUPPORT=Y in make.conf to enable Added: stable/7/sys/boot/i386/zfsboot/Makefile (contents, props chan

svn commit: r192669 - in head: . sys/kern sys/net sys/sys

2009-05-23 Thread Marko Zec
@@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. ln -s aj /etc/malloc.conf.) 20090523: + The layout of struct vnet_net has changed, therefore modules + need to be rebuilt. + Bump __FreeBSD_version to 800090. + +20090523: The newly imported zic(8) produces a new format

Re: svn commit: r192625 - in head: . lib/libc/stdtime usr.sbin/zic

2009-05-23 Thread Edwin Groothuis
Hello Kostik, On Sat, May 23, 2009 at 09:03:19PM +0300, Kostik Belousov wrote: > On Sat, May 23, 2009 at 06:31:50AM +, Edwin Groothuis wrote: > > Author: edwin > > Date: Sat May 23 06:31:50 2009 > > New Revision: 192625 > > URL: http://svn.freebsd.org/changeset/base/192625 > > > > Log: > >

svn commit: r192671 - head/sys/mips/mips

2009-05-23 Thread Alan Cox
Author: alc Date: Sat May 23 22:05:14 2009 New Revision: 192671 URL: http://svn.freebsd.org/changeset/base/192671 Log: pmap_enter() *must* set PG_WRITEABLE on the given page if it creates a mapping that permits write access. Otherwise, pmap_remove_write() will not remove write access from a

svn commit: r192672 - head/sys/sys

2009-05-23 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 23 22:57:49 2009 New Revision: 192672 URL: http://svn.freebsd.org/changeset/base/192672 Log: Even if not entirely style clean the heavy nesting of the various vimage options along with all the defines made things really hard to read and get right; thus add comments f

svn commit: r192674 - head/usr.sbin/nfsd

2009-05-23 Thread Rick Macklem
Author: rmacklem Date: Sun May 24 01:18:56 2009 New Revision: 192674 URL: http://svn.freebsd.org/changeset/base/192674 Log: Modify nfsd.c to add support for the experimental nfs server. This includes the addition of a new flag "-4" that will force use of the experimental server with nfsv4 su

svn commit: r192675 - in head/sys/fs: nfs nfsclient

2009-05-23 Thread Rick Macklem
Author: rmacklem Date: Sun May 24 03:22:49 2009 New Revision: 192675 URL: http://svn.freebsd.org/changeset/base/192675 Log: Fix the experimental nfsv4 client so that it works for the case of a kerberized mount without a host based principal name. This will only work for mounts being done by