CVS commit: src/sys/arch/powerpc/booke

2012-05-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun May 20 06:17:28 UTC 2012

Modified Files:
src/sys/arch/powerpc/booke: spe_subr.S

Log Message:
Fix SPE loading typo as described in PR/45731


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/powerpc/booke/spe_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:33:09 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
TIcket 271


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.103 -r1.1.2.104 src/doc/CHANGES-6.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/usr.bin/login

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:32:46 UTC 2012

Modified Files:
src/usr.bin/login [netbsd-6]: common.c common.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #271):
usr.bin/login/common.c: revision 1.6
usr.bin/login/common.h: revision 1.4
- use __dead consistently.
- more clang build.
- use __dead consistently.
- more clang build.


To generate a diff of this commit:
cvs rdiff -u -r1.3.8.2 -r1.3.8.3 src/usr.bin/login/common.c
cvs rdiff -u -r1.1.8.1 -r1.1.8.2 src/usr.bin/login/common.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:29:01 UTC 2012

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Ticket 1759.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.164 -r1.1.2.165 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/sys/ufs

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:28:29 UTC 2012

Modified Files:
src/sys/ufs/lfs [netbsd-5]: lfs_vnops.c
src/sys/ufs/ufs [netbsd-5]: inode.h ufs_extern.h ufs_lookup.c
ufs_vnops.c ufs_wapbl.c

Log Message:
Apply patch (requested by buhrow in ticket #1759):

sys/ufs/lfs/lfs_vnops.c patch
sys/ufs/ufs/inode.h patch
sys/ufs/ufs/ufs_extern.hpatch
sys/ufs/ufs/ufs_lookup.cpatch
sys/ufs/ufs/ufs_vnops.c patch
sys/ufs/ufs/ufs_wapbl.c patch

Port dholland's ufs_rename locking changes to netbsd-5.
[buhrow, ticket #1759]

Hello.  More testing has revealed a minor misunderstanding between the
vnode API in -current and 5.x.  The below patch, against NetBSD-5.1
sources, rolls all the accumulated patches into one patch set.  With this
patch, I believe you can now run with WAPBL, softdep or traditional ufs
semantics with heavy file loads and avoid panics due to resource exhaustion
and/or tstile deadlocks.  Testing has been done on I386, both uniprocessor
and multiprocessor, and on Sparc  machines in uniprocessor mode, though I
think multiprocessor Sparc would be fine as well.  Since these changes are
machine independent, I don't anticipate any issues on any platform.  It is
my hope that modulo any final issues that come up in the final round of
testing I'm currently performing, these patches will be ready to be pulled
up into the NetBSD-5 branch.
Finally, I'd like to thank mouse@ and hannken@ for their help and
patience in helping me track down and test the final versions of these
patches.  With their assistance, I'm confident these patches make NetBSD-5
a much more stable and robust operating environment in a variety of
setings.


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.218.6.1 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.54.4.1 -r1.54.4.2 src/sys/ufs/ufs/inode.h
cvs rdiff -u -r1.60 -r1.60.8.1 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.99.4.1 -r1.99.4.2 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -u -r1.169.4.1 -r1.169.4.2 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -u -r1.2.8.1 -r1.2.8.2 src/sys/ufs/ufs/ufs_wapbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4-0] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:08:10 UTC 2012

Modified Files:
src/doc [netbsd-4-0]: CHANGES-4.0.2

Log Message:
Ticket 1445.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.98 -r1.1.2.99 src/doc/CHANGES-4.0.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4-0] src/sys/netsmb

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:07:50 UTC 2012

Modified Files:
src/sys/netsmb [netbsd-4-0]: subr_mchain.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1445):
sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.


To generate a diff of this commit:
cvs rdiff -u -r1.13.28.1 -r1.13.28.2 src/sys/netsmb/subr_mchain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:07:35 UTC 2012

Modified Files:
src/doc [netbsd-4]: CHANGES-4.1

Log Message:
TIcket 1445.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.237 -r1.1.2.238 src/doc/CHANGES-4.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4] src/sys/netsmb

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:06:49 UTC 2012

Modified Files:
src/sys/netsmb [netbsd-4]: subr_mchain.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1445):
sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.


To generate a diff of this commit:
cvs rdiff -u -r1.13.18.1 -r1.13.18.2 src/sys/netsmb/subr_mchain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-1] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:04:36 UTC 2012

Modified Files:
src/doc [netbsd-5-1]: CHANGES-5.1.3

Log Message:
Ticket 1758.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/doc/CHANGES-5.1.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-1] src/sys/netsmb

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:04:19 UTC 2012

Modified Files:
src/sys/netsmb [netbsd-5-1]: subr_mchain.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1758):
sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.


To generate a diff of this commit:
cvs rdiff -u -r1.15.6.1 -r1.15.6.1.2.1 src/sys/netsmb/subr_mchain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:04:02 UTC 2012

Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.3

Log Message:
Ticket 1758.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.72 -r1.1.2.73 src/doc/CHANGES-5.0.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/sys/netsmb

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:03:45 UTC 2012

Modified Files:
src/sys/netsmb [netbsd-5-0]: subr_mchain.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1758):
sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.


To generate a diff of this commit:
cvs rdiff -u -r1.15.12.1 -r1.15.12.2 src/sys/netsmb/subr_mchain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:03:33 UTC 2012

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Ticket 1758.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.163 -r1.1.2.164 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/sys/netsmb

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 17:03:09 UTC 2012

Modified Files:
src/sys/netsmb [netbsd-5]: subr_mchain.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1758):
sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.


To generate a diff of this commit:
cvs rdiff -u -r1.15.6.1 -r1.15.6.2 src/sys/netsmb/subr_mchain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:51:18 UTC 2012

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Tickets 1753-1755,1757.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.162 -r1.1.2.163 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:48:36 UTC 2012

Modified Files:
src/etc/rc.d [netbsd-5]: staticroute
src/share/man/man5 [netbsd-5]: route.conf.5

Log Message:
Pull up following revision(s) (requested by gendalia in ticket #1757):
share/man/man5/route.conf.5: revision 1.4
etc/rc.d/staticroute: revision 1.4
etc/rc.d/staticroute: revision 1.5
etc/rc.d/staticroute: revision 1.6
Add a "return 0" to avoid incorrect error returns because we ran out of
lines to read from "/etc/route.conf".
Add proper error reporting via the return code:
Remember if any of the "route" commands failed and return an error in
that case.
Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.
Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.
Wrap the staticroute while in parens, per  & , and
quote all the arguments for the evals.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.12.1 src/etc/rc.d/staticroute
cvs rdiff -u -r1.3 -r1.3.2.1 src/share/man/man5/route.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/sys/arch/x86/pci

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:39:24 UTC 2012

Modified Files:
src/sys/arch/x86/pci [netbsd-5]: pci_machdep.c

Log Message:
Pull up following revision(s) (requested by gendalia in ticket #1755):
sys/arch/x86/pci/pci_machdep.c: revision 1.36
add SIS 740 to the list of chipsets known to implement PCI configuration
mode 1 incorrectly, from Jason White
(see thread "ACPI issue with old Shuttle system" on port-i386)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.34.10.1 src/sys/arch/x86/pci/pci_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/sys/arch

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:37:14 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-5]: db_memrw.c
src/sys/arch/i386/i386 [netbsd-5]: db_memrw.c

Log Message:
Pull up following revision(s) (requested by jym in ticket #1754):
sys/arch/amd64/amd64/db_memrw.c: revision 1.10
sys/arch/amd64/amd64/db_memrw.c: revision 1.11
sys/arch/i386/i386/db_memrw.c: revision 1.29
Use the current destination address to compute PTE, not the address of
origin.
Harmless, except when db_write_text() passes a page boundary.
 From Bug Hunting.
XXX has to be pulled up to -5 and -6.
invlpg on a non canonical address is a noop, so no chance to invalidate
the TLB and the CPU will not notice the access right change.
This results in write protection faults in supervisor mode when patching
kernel code through ddb(4) (originally mapped as read only).
Bug reported by David Laight on port-amd64@ (thanks!), patch and test by
me.
i386 is unaffected as PG_LGFRAME does not mask the sign bits. For the
sake of correctness, use VA_SIGN_NEG(...) anyway.
XXX this is the patch that will be pulled-up to -5 and -6.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.10.1 src/sys/arch/amd64/amd64/db_memrw.c
cvs rdiff -u -r1.24.10.1 -r1.24.10.2 src/sys/arch/i386/i386/db_memrw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/lib/libpthread

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:34:15 UTC 2012

Modified Files:
src/lib/libpthread [netbsd-5]: pthread.c

Log Message:
Pull up following revision(s) (requested by enami in ticket #1753):
lib/libpthread/pthread.c: revision 1.134
Store allocated lwpctl state in the thread actually forked,
which is the only thread lives in the child process.
The problem originally reported here:
  https://bugs.ruby-lang.org/issues/6341


To generate a diff of this commit:
cvs rdiff -u -r1.106.2.3 -r1.106.2.4 src/lib/libpthread/pthread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-1] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:31:10 UTC 2012

Modified Files:
src/doc [netbsd-5-1]: CHANGES-5.1.3

Log Message:
Ticket 1752.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/doc/CHANGES-5.1.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-1] src/crypto/dist/openssl/crypto/buffer

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:30:49 UTC 2012

Modified Files:
src/crypto/dist/openssl/crypto/buffer [netbsd-5-1]: buffer.c

Log Message:
crypto/dist/openssl/crypto/buffer/buffer.c  patch

Minor error code fix for ticket #1750.
[drochner, ticket #1752]


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5.12.1 -r1.1.1.5.12.2 \
src/crypto/dist/openssl/crypto/buffer/buffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:30:23 UTC 2012

Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.3

Log Message:
Ticket 1752.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.71 -r1.1.2.72 src/doc/CHANGES-5.0.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/crypto/dist/openssl/crypto/buffer

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:29:58 UTC 2012

Modified Files:
src/crypto/dist/openssl/crypto/buffer [netbsd-5-0]: buffer.c

Log Message:
crypto/dist/openssl/crypto/buffer/buffer.c  patch

Minor error code fix for ticket #1750.
[drochner, ticket #1752]


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5.8.1 -r1.1.1.5.8.2 \
src/crypto/dist/openssl/crypto/buffer/buffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:28:46 UTC 2012

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Ticket 1752.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.161 -r1.1.2.162 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/crypto/dist/openssl/crypto/buffer

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:28:15 UTC 2012

Modified Files:
src/crypto/dist/openssl/crypto/buffer [netbsd-5]: buffer.c

Log Message:
crypto/dist/openssl/crypto/buffer/buffer.c  patch

Minor error code fix for ticket #1750.
[drochner, ticket #1752]


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5.4.1 -r1.1.1.5.4.2 \
src/crypto/dist/openssl/crypto/buffer/buffer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 16:25:56 UTC 2012

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Whitespace fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.160 -r1.1.2.161 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2012-05-19 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Sat May 19 16:00:41 UTC 2012

Modified Files:
src/sys/dev: rndpseudo.c
src/sys/kern: subr_cprng.c

Log Message:
Fix two problems that could cause /dev/random to not wake up readers when 
entropy became available.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/rndpseudo.c
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_cprng.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/doc

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:42:03 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Tickets 259-261,263-270,272.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.102 -r1.1.2.103 src/doc/CHANGES-6.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] xsrc/external/mit/libXfont/dist/src/bitmap

2012-05-19 Thread Jeff Rizzo
Module Name:xsrc
Committed By:   riz
Date:   Sat May 19 15:40:32 UTC 2012

Modified Files:
xsrc/external/mit/libXfont/dist/src/bitmap [netbsd-6]: pcfread.c

Log Message:
Pull up following revision(s) (requested by cheusov in ticket #272):
external/mit/libXfont/dist/src/bitmap/pcfread.c: revision 1.2
fix in libxfont:
   An uninitialized pointer causes a crash if pcf header is corrupted
   (upstream patch).


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.2.1 \
xsrc/external/mit/libXfont/dist/src/bitmap/pcfread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:34:32 UTC 2012

Modified Files:
src/sys/kern [netbsd-6]: sys_pipe.c
src/tests/lib/libc/sys [netbsd-6]: t_pipe2.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #270):
sys/kern/sys_pipe.c: revision 1.136
tests/lib/libc/sys/t_pipe2.c: revision 1.4
tests/lib/libc/sys/t_pipe2.c: revision 1.5
tests/lib/libc/sys/t_pipe2.c: revision 1.6
tests/lib/libc/sys/t_pipe2.c: revision 1.7
Make sure we can deliver two file descriptors for pipe2() before we set
up anything special (like close on exec).
Fixes PR kern/46457.
Add a case for PR kern/46457. This is skipped for the time being, as it
reproduces the panic described in the PR.
Enable the test for PR kern/46457 now that it does not crash the
kernel any more.
Fix typo in comment.
Simplify the test for PR kern/4645 and make it independend of resource
settings.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.135.2.1 src/sys/kern/sys_pipe.c
cvs rdiff -u -r1.3 -r1.3.2.1 src/tests/lib/libc/sys/t_pipe2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/external/bsd/wpa/dist/src/drivers

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:32:38 UTC 2012

Modified Files:
src/external/bsd/wpa/dist/src/drivers [netbsd-6]: driver_bsd.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #269):
external/bsd/wpa/dist/src/drivers/driver_bsd.c: revision 1.5
Make WPA works on big-endian machines.
Need byte swapping to copy seq to member ik_keyrsc.  The code is
borrowed from driver_madwifi.c.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.8.1 \
src/external/bsd/wpa/dist/src/drivers/driver_bsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:31:22 UTC 2012

Modified Files:
src/usr.bin/quota [netbsd-6]: quota.1 quota.c
src/usr.sbin/repquota [netbsd-6]: repquota.8 repquota.c

Log Message:
Pull up following revision(s) (requested by dholland in ticket #268):
usr.bin/quota/quota.1: revision 1.18
usr.bin/quota/quota.1: revision 1.19
usr.sbin/repquota/repquota.8: revision 1.16
usr.sbin/repquota/repquota.8: revision 1.17
usr.bin/quota/quota.c: revision 1.49
usr.sbin/repquota/repquota.c: revision 1.44
Remove traces of -D flag, which no longer does anything.
Remove traces of -D option, which no longer does anything.
Bump date for previous.
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.2.1 src/usr.bin/quota/quota.1
cvs rdiff -u -r1.48 -r1.48.2.1 src/usr.bin/quota/quota.c
cvs rdiff -u -r1.15 -r1.15.2.1 src/usr.sbin/repquota/repquota.8
cvs rdiff -u -r1.43 -r1.43.2.1 src/usr.sbin/repquota/repquota.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/kern

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:29:21 UTC 2012

Modified Files:
src/sys/kern [netbsd-6]: vfs_subr.c

Log Message:
Pull up following revision(s) (requested by chs in ticket #267):
sys/kern/vfs_subr.c: revision 1.435
remove a bogus optimization introduced in the previous change.
fixes hangs in the rump/rumpvfs/t_etfs test.


To generate a diff of this commit:
cvs rdiff -u -r1.432.2.1 -r1.432.2.2 src/sys/kern/vfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/dev/pci

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:28:01 UTC 2012

Modified Files:
src/sys/dev/pci [netbsd-6]: if_wpi.c

Log Message:
Pull up following revision(s) (requested by khorben in ticket #266):
sys/dev/pci/if_wpi.c: revision 1.51
No longer wrongly advertise ad-hoc (IBSS) mode as being supported.
Fixes kern/46101
No objection from current-users@


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.50.2.1 src/sys/dev/pci/if_wpi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/netsmb

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:25:53 UTC 2012

Modified Files:
src/sys/netsmb [netbsd-6]: subr_mchain.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #265):
sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.14.1 src/sys/netsmb/subr_mchain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:23:44 UTC 2012

Modified Files:
src/distrib/sets/lists/base [netbsd-6]: mi
src/distrib/sets/lists/comp [netbsd-6]: mi
src/distrib/sets/lists/man [netbsd-6]: mi
src/external/bsd/bind [netbsd-6]: Makefile.inc
src/external/bsd/bind/bin [netbsd-6]: Makefile Makefile.inc
Added Files:
src/external/bsd/bind/bin/confgen [netbsd-6]: Makefile Makefile.inc
src/external/bsd/bind/bin/confgen/ddns-confgen [netbsd-6]: Makefile
src/external/bsd/bind/bin/confgen/rndc-confgen [netbsd-6]: Makefile

Log Message:
Pull up following revision(s) (requested by christos in ticket #264):
distrib/sets/lists/comp/mi: revision 1.1757
external/bsd/bind/bin/Makefile: revision 1.4
external/bsd/bind/Makefile.inc: revision 1.13
external/bsd/bind/bin/Makefile.inc: revision 1.2
distrib/sets/lists/base/mi: revision 1.991
external/bsd/bind/bin/confgen/Makefile.inc: revision 1.1
external/bsd/bind/bin/confgen/Makefile: revision 1.1
external/bsd/bind/bin/confgen/ddns-confgen/Makefile: revision 1.1
distrib/sets/lists/man/mi: revision 1.1389
external/bsd/bind/bin/confgen/rndc-confgen/Makefile: revision 1.1
add confgen programs
add {rndc,ddns}-confgen


To generate a diff of this commit:
cvs rdiff -u -r1.984.2.2 -r1.984.2.3 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1738.2.2 -r1.1738.2.3 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1379.2.3 -r1.1379.2.4 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.12 -r1.12.4.1 src/external/bsd/bind/Makefile.inc
cvs rdiff -u -r1.3 -r1.3.4.1 src/external/bsd/bind/bin/Makefile
cvs rdiff -u -r1.1 -r1.1.10.1 src/external/bsd/bind/bin/Makefile.inc
cvs rdiff -u -r0 -r1.1.2.2 src/external/bsd/bind/bin/confgen/Makefile \
src/external/bsd/bind/bin/confgen/Makefile.inc
cvs rdiff -u -r0 -r1.1.2.2 \
src/external/bsd/bind/bin/confgen/ddns-confgen/Makefile
cvs rdiff -u -r0 -r1.1.2.2 \
src/external/bsd/bind/bin/confgen/rndc-confgen/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/compat/linux32

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:19:43 UTC 2012

Modified Files:
src/sys/compat/linux32/arch/amd64 [netbsd-6]: linux32_syscall.h
linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c
syscalls.master
src/sys/compat/linux32/common [netbsd-6]: linux32_signal.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #263):
sys/compat/linux32/arch/amd64/linux32_syscallargs.h: revision 1.66
sys/compat/linux32/arch/amd64/syscalls.master: revision 1.61
sys/compat/linux32/common/linux32_signal.c: revision 1.16
sys/compat/linux32/arch/amd64/linux32_syscall.h: revision 1.66
sys/compat/linux32/arch/amd64/linux32_sysent.c: revision 1.66
sys/compat/linux32/arch/amd64/linux32_syscalls.c: revision 1.66
regen
Fix rt_sigtimedwait():
It is wishful thinking that:
1. declaring a 32 bit syscall with 64 bit pointers
2. passing a struct with 32 bit pointers to a 64 bit function
is going to work.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.65.6.1 \
src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
src/sys/compat/linux32/arch/amd64/linux32_sysent.c
cvs rdiff -u -r1.60 -r1.60.6.1 \
src/sys/compat/linux32/arch/amd64/syscalls.master
cvs rdiff -u -r1.15 -r1.15.6.1 src/sys/compat/linux32/common/linux32_signal.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mips/alchemy/dev

2012-05-19 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sat May 19 15:17:35 UTC 2012

Modified Files:
src/sys/arch/mips/alchemy/dev: if_aumac.c

Log Message:
Enable interrupt in aumac_init().  And disable in aumac_stop()/aumac_attach().
Interrupt storm happen if received packet and DMA not set.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/mips/alchemy/dev/if_aumac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:06:03 UTC 2012

Modified Files:
src/share/man/man4 [netbsd-6]: mfi.4
src/sys/dev/pci [netbsd-6]: mfi_pci.c

Log Message:
Pull up following revision(s) (requested by sborrill in ticket #261):
sys/dev/pci/mfi_pci.c: revision 1.14
share/man/man4/mfi.4: revision 1.11
Add IBM ServeRAID M5014 as subtype
Add IBM ServeRAID M1015 and M5014


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.10.1 src/share/man/man4/mfi.4
cvs rdiff -u -r1.12.16.1 -r1.12.16.2 src/sys/dev/pci/mfi_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:03:32 UTC 2012

Modified Files:
src/sys/kern [netbsd-6]: vfs_xattr.c
src/sys/ufs/ufs [netbsd-6]: ufs_extattr.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #260):
sys/kern/vfs_xattr.c: revision 1.31
sys/ufs/ufs/ufs_extattr.c: revision 1.39
Return ENODATA when no attribute is found, like Linux does. After
all we decided to adopt the Linux API, therefore there is rationale
to stick to it.
No standard tells us what to do, and our extended attribute API has not
been used in a release, therefore we do not break anything, and we get
more easily compatible with programs using the Linux extended attribute
API.
Note that FreeBSD and MacOS X return ENOATTR. FreeBSD has its own API
and MacOS X has a Linux-like API. How did the world get so complicated?


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.6.1 src/sys/kern/vfs_xattr.c
cvs rdiff -u -r1.36 -r1.36.2.1 src/sys/ufs/ufs/ufs_extattr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/kern

2012-05-19 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat May 19 15:01:36 UTC 2012

Modified Files:
src/sys/kern [netbsd-6]: vfs_mount.c vfs_syscalls.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #259):
sys/kern/vfs_syscalls.c: revision 1.456
sys/kern/vfs_mount.c: revision 1.14
sys/kern/vfs_syscalls.c: revision 1.452
sys/kern/vfs_syscalls.c: revision 1.453
sys/kern/vfs_syscalls.c: revision 1.454
Do not use vp after mount_domount() call as it sets it to NULL on success.
This fixes a panic when starting extended attributes.
Fix mount -o extattr : previous patch fixed a panic but caused operation
to happen on the mount point instead of the mounted filesystem.
Fix the extattr start fix. Looking up the filesystemroot vnode again
does not seems to be reliable. Instead save it before mount_domount()
sets it to NULL.
Move VFS_EXTATTRCTL to mount_domount().  This makes the
fs/puffs/t_fuzz:mountfuzz7, fs/puffs/t_fuzz:mountfuzz8,
and fs/zfs/t_zpool:create tests pass again.  Patch from
manu, discussed on tech-kern and committed at his request.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.6.1 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.449.2.1 -r1.449.2.2 src/sys/kern/vfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/stand/mkbootimage

2012-05-19 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sat May 19 14:47:38 UTC 2012

Modified Files:
src/sys/arch/powerpc/stand/mkbootimage: mkbootimage.c

Log Message:
prep's boot supports to load kernel from HDD.  We can specify option -I
(no in-kernel).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/sys/arch/powerpc/stand/mkbootimage/mkbootimage.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/prep/stand/boot

2012-05-19 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sat May 19 14:40:13 UTC 2012

Modified Files:
src/sys/arch/prep/stand/boot: Makefile boot.c boot.h conf.c devopen.c
filesystem.c io.c version
Added Files:
src/sys/arch/prep/stand/boot: pci.c sd.c sdvar.h siop.c

Log Message:
Support load kernel from SCSI HDD with siop.  It copy from bebox. (EXPERIMENTAL)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/prep/stand/boot/Makefile
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/prep/stand/boot/boot.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/prep/stand/boot/boot.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/prep/stand/boot/conf.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/prep/stand/boot/devopen.c \
src/sys/arch/prep/stand/boot/filesystem.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/prep/stand/boot/io.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/prep/stand/boot/pci.c \
src/sys/arch/prep/stand/boot/sd.c src/sys/arch/prep/stand/boot/sdvar.h \
src/sys/arch/prep/stand/boot/siop.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/prep/stand/boot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/x68k

2012-05-19 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat May 19 08:29:32 UTC 2012

Modified Files:
src/sys/arch/x68k/x68k: locore.s

Log Message:
Fix leftover comment derived from hp300 but not applicable to x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/x68k/x68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/usr.bin/tmux

2012-05-19 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat May 19 07:30:38 UTC 2012

Modified Files:
src/tests/usr.bin/tmux: t_tmux.sh

Log Message:
Make the test pass. It appears that this however does not reproduce the
PR kern/46463, even though the command is exactly the same.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/tmux/t_tmux.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.