CVS commit: src/tests/lib/libc/sys

2012-05-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 22 09:23:39 UTC 2012

Modified Files:
src/tests/lib/libc/sys: t_lwp_create.c

Log Message:
Typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_lwp_create.c

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



CVS commit: src/sys/miscfs/genfs

2012-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue May 22 14:20:40 UTC 2012

Modified Files:
src/sys/miscfs/genfs: genfs_io.c

Log Message:
don't block on pager map for read-ahead.
reduce code duplication.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/miscfs/genfs/genfs_io.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-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:36:33 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: patch

Fix harmless typo which was previously pulled up.


To generate a diff of this commit:
cvs rdiff -u -r1.50.2.1 -r1.50.2.2 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/doc

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:37:13 UTC 2012

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

Log Message:
Typo fix in ticket #266 pulled up.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.106 -r1.1.2.107 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/tests/lib/libc/sys

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:38:59 UTC 2012

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

Log Message:
Pull up following revision(s) (requested by martin in ticket #275):
tests/lib/libc/sys/t_lwp_create.c: revision 1.2
Typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/tests/lib/libc/sys/t_lwp_create.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/crypto/external/bsd/openssl/dist/ssl

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:44:46 UTC 2012

Modified Files:
src/crypto/external/bsd/openssl/dist/ssl [netbsd-6]: d1_enc.c t1_enc.c

Log Message:
Pull up following revision(s) (requested by drochner in ticket #276):
crypto/external/bsd/openssl/dist/ssl/t1_enc.c: revision 1.4
crypto/external/bsd/openssl/dist/ssl/d1_enc.c: revision 1.2
pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.4.1 \
src/crypto/external/bsd/openssl/dist/ssl/d1_enc.c
cvs rdiff -u -r1.3 -r1.3.4.1 \
src/crypto/external/bsd/openssl/dist/ssl/t1_enc.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/scsipi

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:46:10 UTC 2012

Modified Files:
src/sys/dev/scsipi [netbsd-6]: scsiconf.c

Log Message:
Pull up following revision(s) (requested by jakllsch in ticket #277):
sys/dev/scsipi/scsiconf.c: revision 1.268
Fix locking issue triggered by drvctr -r of a scsibus(4).
Pullup to netbsd-6 should be requested.


To generate a diff of this commit:
cvs rdiff -u -r1.262.10.2 -r1.262.10.3 src/sys/dev/scsipi/scsiconf.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-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:48:04 UTC 2012

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

Log Message:
Tickets 275-277.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.107 -r1.1.2.108 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-5-0] src/crypto/dist/openssl/ssl

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:52:40 UTC 2012

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

Log Message:
Pull up following revision(s) (requested by drochner in ticket #1762):
crypto/dist/openssl/ssl/d1_enc.c: patch
pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.8.1 src/crypto/dist/openssl/ssl/d1_enc.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-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:53:11 UTC 2012

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

Log Message:
TIcket 1762.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.73 -r1.1.2.74 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-1] src/crypto/dist/openssl/ssl

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:53:42 UTC 2012

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

Log Message:
Pull up following revision(s) (requested by drochner in ticket #1762):
crypto/dist/openssl/ssl/d1_enc.c: patch
pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.12.1 src/crypto/dist/openssl/ssl/d1_enc.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-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:54:15 UTC 2012

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

Log Message:
Ticket 1762.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.14 -r1.1.2.15 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-4-0] src/doc

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:56:27 UTC 2012

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

Log Message:
Ticket 1446.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.99 -r1.1.2.100 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] src/doc

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:57:00 UTC 2012

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

Log Message:
Ticket 1446.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.238 -r1.1.2.239 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-0] src/doc

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 18:57:40 UTC 2012

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

Log Message:
Fix error in last commit (ticket 1446, not 1762).


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.100 -r1.1.2.101 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: src/sys/dev/usb

2012-05-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 22 19:11:22 UTC 2012

Modified Files:
src/sys/dev/usb: usb_subr.c

Log Message:
Include opt_usb.h for USB_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/dev/usb/usb_subr.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/crypto/dist/openssl/ssl

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 20:12:18 UTC 2012

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

Log Message:
Pull up following revision(s) (requested by drochner in ticket #1762):
crypto/dist/openssl/ssl/d1_enc.c: patch
pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.4.1 src/crypto/dist/openssl/ssl/d1_enc.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/crypto/dist/openssl/ssl

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 20:14:14 UTC 2012

Modified Files:
src/crypto/dist/openssl/ssl [netbsd-4]: d1_enc.c

Log Message:
Pull up following revision(s) (requested by drochner in ticket #1446):
crypto/dist/openssl/ssl/d1_enc.c: patch
pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.4.1 src/crypto/dist/openssl/ssl/d1_enc.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/crypto/dist/openssl/ssl

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 20:14:21 UTC 2012

Modified Files:
src/crypto/dist/openssl/ssl [netbsd-4-0]: d1_enc.c

Log Message:
Pull up following revision(s) (requested by drochner in ticket #1446):
crypto/dist/openssl/ssl/d1_enc.c: patch
pull in upstream rev.22547:
Sanity check record length before skipping explicit IV in TLS 1.2, 1.1
and DTLS to fix DoS attack.
(CVE-2012-2333)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.14.1 src/crypto/dist/openssl/ssl/d1_enc.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-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 20:26:58 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0
src/sys/sys [netbsd-6]: param.h

Log Message:
Welcome to 6.0_BETA2!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.108 -r1.1.2.109 src/doc/CHANGES-6.0
cvs rdiff -u -r1.408.2.1 -r1.408.2.2 src/sys/sys/param.h

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



CVS commit: src/sys/arch/amd64/amd64

2012-05-22 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Tue May 22 21:10:26 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64: vector.S

Log Message:
If we get a fault setting the user %gs, or on a iret that is returning
to userspace, we must do a 'swapgs' to reload the kernel %gs_base.
Also save the %ds, %es, %fs, %gs selector values in the frame so
they can be restored if we finally return to user (probably after
an application SIGSEGV handler has fixed the error).
Without this any such fault leaves the kernel running with the wrong
%gs offset and it will most likely fault again early in trap().
Repeats until the stack tramples on something important.
iret change works, invalid %gs is a little harder to arrange.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/amd64/amd64/vector.S

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



CVS commit: src/sys/arch/amd64/amd64

2012-05-22 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Tue May 22 21:14:37 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64: trap.c

Log Message:
Treat traps in kernel mode during the 'return to user' iret sequence
as user faults.
Based heavily in the i386 code with the correct opcode bytes inserted.
iret path tested, arranging for segment register errors is harder.
User %fs and %gs (32bit apps) are loaded much earlier and any errors
will generate kernel panics - there is probably code to try to stop
the invalid values being set.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/amd64/amd64/trap.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/ufs/ufs

2012-05-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 21:44:38 UTC 2012

Modified Files:
src/sys/ufs/ufs [netbsd-5]: ufs_vnops.c

Log Message:
Pull up following patch (requested by buhrow in ticket #1763):
sys/ufs/ufs/ufs_vnops.c: patch

Make sure we return EXDEV on cross-device links rather than panicing
the system.  This corrects a pasting error from the merged patches
in ticket 1759.

Thanks to hannken@ for figuring out the error.
Fixes pr kern/46472
Tested by buhrow@


To generate a diff of this commit:
cvs rdiff -u -r1.169.4.2 -r1.169.4.3 src/sys/ufs/ufs/ufs_vnops.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-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue May 22 21:46:56 UTC 2012

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

Log Message:
Ticket 1763.


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

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