CVS commit: src/sys/arch/landisk/landisk

2010-03-28 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sun Mar 28 07:31:59 UTC 2010

Modified Files:
src/sys/arch/landisk/landisk: bus_dma.c

Log Message:
return allocated va.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/landisk/landisk/bus_dma.c

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



CVS commit: src/crypto/external/bsd/openssl/dist/ssl

2010-03-28 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Mar 28 11:32:29 UTC 2010

Modified Files:
src/crypto/external/bsd/openssl/dist/ssl: s3_pkt.c

Log Message:
Apply patchset 19476 from openssl repository, fixing CVE-2010-0740.
from http://www.openssl.org/news/secadv_20100324.txt:
"In TLS connections, certain incorrectly formatted records can cause an OpenSSL
client or server to crash due to a read attempt at NULL".


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/crypto/external/bsd/openssl/dist/ssl/s3_pkt.c

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



CVS commit: src/sys/dev/acpi

2010-03-28 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 28 13:11:23 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_apm.c

Log Message:
Update acpiapm_get_powstat() to adjust for the recent changes to
acpi_bat(4).  (The warn_cap and low_cap sensors were removed, and the
values are now stored as the alarm limits of the charge sensor.)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/acpi/acpi_apm.c

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



CVS commit: src/lib/libc/locale

2010-03-28 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sun Mar 28 14:05:09 UTC 2010

Modified Files:
src/lib/libc/locale: setlocale32.c

Log Message:
avoid mbrtowc/wcrtomb buffer overrun when CPUARCH=hppa and MB_CUR_MAX > 6.
it is not usual case(merely used such mutibyte locale, eg. ja_JP.ISO-2022-JP).

[background]
before merging minoura-xpg4dl branch(2001), we argued and decided to increase
MB_LEN_MAX 1 -> 32 all CPUARCH(*but* we forgot to change it MD to MI).

without knowing that NetBSD/hp700(mergeing -current 2002) incorrectly set
MB_LEN_MAX=6 (maybe this value taken from FreeBSD). but our setlocale(3)
assumes __mb_len_max_runtime as 32, so that mbrtowc/wcrtomb may overrun.

we have to increase hppa's MB_LEN_MAX upto 32, and change it MD to MI
next libc major bump(scheduled next release 6.0).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/locale/setlocale32.c

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



CVS commit: src/lib/libc

2010-03-28 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sun Mar 28 14:08:22 UTC 2010

Modified Files:
src/lib/libc: shlib_version

Log Message:
MB_LEN_MAX should moved from MD to MI.


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 src/lib/libc/shlib_version

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



CVS commit: [netbsd-5] src

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:03:23 UTC 2010

Modified Files:
src/share/man/man4 [netbsd-5]: mfi.4
src/sys/dev/ic [netbsd-5]: mfi.c mfireg.h mfivar.h
src/sys/dev/pci [netbsd-5]: mfi_pci.c pcidevs

Log Message:
Apply patch (requested by msaitoh in ticket #1326):
Add support for MFI gen2 devices.  Mention newer devices, RAID 6 and
RAID60 in mfi.4.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.8.1 src/share/man/man4/mfi.4
cvs rdiff -u -r1.19.4.3 -r1.19.4.4 src/sys/dev/ic/mfi.c
cvs rdiff -u -r1.3 -r1.3.14.1 src/sys/dev/ic/mfireg.h
cvs rdiff -u -r1.10 -r1.10.6.1 src/sys/dev/ic/mfivar.h
cvs rdiff -u -r1.5 -r1.5.14.1 src/sys/dev/pci/mfi_pci.c
cvs rdiff -u -r1.962.4.10 -r1.962.4.11 src/sys/dev/pci/pcidevs

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/dev/pci

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:07:31 UTC 2010

Modified Files:
src/sys/dev/pci [netbsd-5]: pcidevs.h pcidevs_data.h

Log Message:
Regen for ticket 1326.


To generate a diff of this commit:
cvs rdiff -u -r1.963.4.10 -r1.963.4.11 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.962.4.10 -r1.962.4.11 src/sys/dev/pci/pcidevs_data.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/crypto/dist/openssl/ssl

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:20:11 UTC 2010

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

Log Message:
Apply patch (requested by bouyer in ticket #1355):
Apply patchset 19476 from openssl repository, fixing CVE-2010-0740.
from http://www.openssl.org/news/secadv_20100324.txt:
"In TLS connections, certain incorrectly formatted records can cause an OpenSSL
client or server to crash due to a read attempt at NULL".


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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:22:01 UTC 2010

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

Log Message:
Apply patch (requested by bouyer in ticket #1355):
Apply patchset 19476 from openssl repository, fixing CVE-2010-0740.
from http://www.openssl.org/news/secadv_20100324.txt:
"In TLS connections, certain incorrectly formatted records can cause an OpenSSL
client or server to crash due to a read attempt at NULL".


To generate a diff of this commit:
cvs rdiff -u -r1.9.8.2 -r1.9.8.3 src/crypto/dist/openssl/ssl/s3_pkt.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/kern

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:32:00 UTC 2010

Modified Files:
src/sys/kern [netbsd-5]: uipc_syscalls.c

Log Message:
Apply patch (requested by jakllsch in ticket #1352):
In do_sys_recvmsg(), call free(9) with the same type malloc(9) used.


To generate a diff of this commit:
cvs rdiff -u -r1.134.4.2 -r1.134.4.3 src/sys/kern/uipc_syscalls.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/sys/kern

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:32:40 UTC 2010

Modified Files:
src/sys/kern [netbsd-5-0]: uipc_syscalls.c

Log Message:
Apply patch (requested by jakllsch in ticket #1352):
In do_sys_recvmsg(), call free(9) with the same type malloc(9) used.


To generate a diff of this commit:
cvs rdiff -u -r1.134.4.2 -r1.134.4.2.2.1 src/sys/kern/uipc_syscalls.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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 15:43:25 UTC 2010

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

Log Message:
Tickets 1352 and 1355.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 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] src/sys/dev/ic

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 16:21:18 UTC 2010

Modified Files:
src/sys/dev/ic [netbsd-5]: ahcisata_core.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1317):
sys/dev/ic/ahcisata_core.c: revision 1.23, 1.24
Move ahci_channel_start() after BSY has cleared (what seems to matter
here is not touching SError while BSY is asserted). Fix random
behavior (serial console corruption/misfunction, misbehavior of USB
controllers, crasy interrupts crashing the Xen hypervisor, ...)
of Intel ESB2 controller with some brand of hitachi drives.
--
ahcisata_core.c 1.23 cause long drive probe (31s, reported by
Roy Marples), or other devices misbehavior probably due to interrupts issues
(reported by Jukka Ruohonen). Back it out and do the following changes:
- clear port interrupt register before ahci_channel_start() which enables
  interrupts
- wait 500ms after sata_reset_interface() before touching SERROR register.
  This is what seems to fix the issue I'm seeming on ESB2 controller.
- The 31s delay didn't cause the probe to fail because of a mismatch
  in loop index comparison; use a #define for delay after reset
  instead of numeric values, to avoid this kind of bugs in the
  future.


To generate a diff of this commit:
cvs rdiff -u -r1.18.4.3 -r1.18.4.4 src/sys/dev/ic/ahcisata_core.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/ipsec-tools/src/racoon

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 16:36:57 UTC 2010

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon [netbsd-5]: handler.c

Log Message:
Pull up following revision(s) (requested by hubertf in ticket #1341):
crypto/dist/ipsec-tools/src/racoon/handler.c: revision 1.31, 1.32
PR/42363: Yasuoka Masahiko:

racoon uses a wrong IPsec-SA handle that is for other peer in case it
receives a ISAKMP message for IPsec-SA that has the same message-id as
the message-id that is received before.

racoon uses message-id to find the handle of IPsec-SA.  The message-id
is a unique number for each peer, but different peers may use the same
value.

Different Windows Vista or Windows 7 peers seem to use the same
message-id.  racoon can handle the first Windows's Phase-2, but it
cannot handle the second Windows.  Because racoon misunderstands the
message for the second Windows as the message for the first Windows.
--
PR/42363: Yasuoka Masahiko: Second part of the patch: iterate only on the
phase2 handles that are bound by the given phase1 handle.


To generate a diff of this commit:
cvs rdiff -u -r1.21.4.1 -r1.21.4.2 \
src/crypto/dist/ipsec-tools/src/racoon/handler.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/external/bsd/drm/dist/bsd-core

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 16:44:23 UTC 2010

Modified Files:
src/sys/external/bsd/drm/dist/bsd-core [netbsd-5]: drm_pci.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1346):
sys/external/bsd/drm/dist/bsd-core/drm_pci.c: revision 1.8
fix some confusion between highest DMA address and the boundary not to
be crossed in a transfer,
back out previous fixes which only added to the confusion


To generate a diff of this commit:
cvs rdiff -u -r1.4.10.1 -r1.4.10.2 \
src/sys/external/bsd/drm/dist/bsd-core/drm_pci.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/external/bsd/drm/dist/bsd-core

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 16:45:21 UTC 2010

Modified Files:
src/sys/external/bsd/drm/dist/bsd-core [netbsd-5]: drm_pci.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1346):
sys/external/bsd/drm/dist/bsd-core/drm_pci.c: revision 1.9
don't pass "maxaddr" as a boundary in bus_dmamap_create() like rev 1.8
did for _alloc().


To generate a diff of this commit:
cvs rdiff -u -r1.4.10.2 -r1.4.10.3 \
src/sys/external/bsd/drm/dist/bsd-core/drm_pci.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/sparc64/dev

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 16:48:36 UTC 2010

Modified Files:
src/sys/arch/sparc64/dev [netbsd-5]: lom.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1349):
sys/arch/sparc64/dev/lom.c: revision 1.6
Fix off-by-one in LOMlite hostname code.  From rev 1.21 of OpenBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/arch/sparc64/dev/lom.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/bin/pax

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 16:52:46 UTC 2010

Modified Files:
src/bin/pax [netbsd-5]: tar.1

Log Message:
Pull up following revision(s) (requested by dholland in ticket #1354):
bin/pax/tar.1: revision 1.28, 1.29
The -X option of tar names a file containing exception globs, not
exception filenames, same as in gtar. PR 41168 from Perry.
--
bump date for previous


To generate a diff of this commit:
cvs rdiff -u -r1.26.12.1 -r1.26.12.2 src/bin/pax/tar.1

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/xen/xen

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:07:26 UTC 2010

Modified Files:
src/sys/arch/xen/xen [netbsd-5]: if_xennet.c

Log Message:
Apply patch (requested by bad in ticket #1347):
Make it possible to use netbsd-5 domUs running on a Xen2 hypervisor.
This changes two panics to printfs.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.60.2.1 src/sys/arch/xen/xen/if_xennet.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/dev

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:25:12 UTC 2010

Modified Files:
src/sys/dev [netbsd-5]: fss.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/dev/fss.c: revision 1.64
Fix a race where the backing store thread runs (and exits immediately)
before kthread_create() returns.


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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:26:26 UTC 2010

Modified Files:
src/sys/dev [netbsd-5]: fss.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/dev/fss.c: revision 1.65
Remove unneeded vinvalbuf() on backing store as we don't use
VOP_BMAP()/VOP_STRATEGY() here.


To generate a diff of this commit:
cvs rdiff -u -r1.60.4.2 -r1.60.4.3 src/sys/dev/fss.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/ffs

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:27:30 UTC 2010

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

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/ufs/ffs/ffs_snapshot.c: revision 1.96
Fix a deadlock where fscow_disestablish() blocks because outstanding
copy-on-write operations wait for si_snaplock.


To generate a diff of this commit:
cvs rdiff -u -r1.82.4.1 -r1.82.4.2 src/sys/ufs/ffs/ffs_snapshot.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/ffs

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:28:34 UTC 2010

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

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/ufs/ffs/ffs_snapshot.c: revision 1.97
No longer abuse TAILQ internal data.


To generate a diff of this commit:
cvs rdiff -u -r1.82.4.2 -r1.82.4.3 src/sys/ufs/ffs/ffs_snapshot.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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:29:41 UTC 2010

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

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/ufs/ufs/ufs_inode.c: revision 1.80
Allow ufs_inactive() while a file system is suspending.  Removes a possible
deadlock between vrele() and ffs_sync() during suspension.


To generate a diff of this commit:
cvs rdiff -u -r1.76.4.2 -r1.76.4.3 src/sys/ufs/ufs/ufs_inode.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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:31:55 UTC 2010

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

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/ufs/ufs/ufs_vnops.c: revision 1.180 via patch
ufs_rmdir(): move fstrans_done() after vput().  No more unlinked and
zero-sized directory inodes in snapshots.


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.169.4.1 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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 17:50:07 UTC 2010

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

Log Message:
Tickets 1317, 1326, 1341, 1345, 1346, 1347, 1349, 1352, 1354, 1355.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.219 -r1.1.2.220 src/doc/CHANGES-5.1

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



CVS commit: src/lib/libc/locale

2010-03-28 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sun Mar 28 18:19:52 UTC 2010

Modified Files:
src/lib/libc/locale: setlocale32.c

Log Message:
woops, fogot to include limits.h.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/locale/setlocale32.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/bin/pax

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 18:37:36 UTC 2010

Modified Files:
src/bin/pax [netbsd-4]: tar.1

Log Message:
Pull up following revision(s) (requested by dholland in ticket #1391):
bin/pax/tar.1: revision 1.28, 1.29 via patch
The -X option of tar names a file containing exception globs, not
exception filenames, same as in gtar. PR 41168 from Perry.
--
bump date for previous


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.4.1 src/bin/pax/tar.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/crypto/dist/openssl/ssl

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 18:44:13 UTC 2010

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

Log Message:
Apply patch (requested by bouyer in ticket #1392):
Apply patchset 19476 from openssl repository, fixing CVE-2010-0740.
from http://www.openssl.org/news/secadv_20100324.txt:
"In TLS connections, certain incorrectly formatted records can cause an OpenSSL
client or server to crash due to a read attempt at NULL".


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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 18:48:45 UTC 2010

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

Log Message:
Apply patch (requested by bouyer in ticket #1392):
Apply patchset 19476 from openssl repository, fixing CVE-2010-0740.
from http://www.openssl.org/news/secadv_20100324.txt:
"In TLS connections, certain incorrectly formatted records can cause
an OpenSSL client or server to crash due to a read attempt at NULL".


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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 18:49:06 UTC 2010

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

Log Message:
Ticket 1392.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.70 -r1.1.2.71 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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 18:49:29 UTC 2010

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

Log Message:
Tickets 1391 and 1392.


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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Mar 28 20:46:19 UTC 2010

Modified Files:
src/sys/arch/xen/x86: xen_shm_machdep.c
src/sys/arch/xen/xen: clock.c
src/sys/dev/ata: ata.c ata_wdc.c
src/sys/dev/ic: mvsata.c rtl81x9.c wdc.c
src/sys/dev/scsipi: atapi_wdc.c

Log Message:
Spell "enough" properly.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/xen/x86/xen_shm_machdep.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/xen/xen/clock.c
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/ata/ata.c
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/ata/ata_wdc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/mvsata.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/ic/rtl81x9.c
cvs rdiff -u -r1.260 -r1.261 src/sys/dev/ic/wdc.c
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/scsipi/atapi_wdc.c

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



CVS commit: src/sys/compat/netbsd32

2010-03-28 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Mar 28 22:03:51 UTC 2010

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_time.c

Log Message:
Cleanup compat netbsd32 nanosleep syscalls to use the common
nanosleep1() call instead of their own stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/netbsd32/netbsd32_time.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/macppc/stand/ofwboot

2010-03-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 29 00:13:33 UTC 2010

Modified Files:
src/sys/arch/macppc/stand/ofwboot: boot.c

Log Message:
avoid some warnings on powerpc64.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/macppc/stand/ofwboot/boot.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/xen/x86

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar 29 00:23:12 UTC 2010

Modified Files:
src/sys/arch/xen/x86 [netbsd-5]: xen_bus_dma.c

Log Message:
Pull up following revision(s) (requested by jym in ticket #1334):
sys/arch/xen/x86/xen_bus_dma.c: revision 1.20
Although Xen's documentation states that the address_bits field is not used
by XENMEM_decrease_reservation, it is checked by the hypervisor. In certain
circumstances (stack leak), the field could have an improper value, leading
to a fail of the hypercall.
Set it to 0 ("no addressing restriction") to avoid that.
Patch tested by Sam Fourman and h...@.
This should fix the rare "failed allocating DMA memory" encountered
under NetBSD dom0.


To generate a diff of this commit:
cvs rdiff -u -r1.11.8.1 -r1.11.8.2 src/sys/arch/xen/x86/xen_bus_dma.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/netinet

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar 29 00:29:44 UTC 2010

Modified Files:
src/sys/netinet [netbsd-5]: in.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1357):
sys/netinet/in.c: revision 1.137 via patch
Fixed a number of race conditions in the case of receiving ipv4 packet.
found by iij seil team.


To generate a diff of this commit:
cvs rdiff -u -r1.127.4.1 -r1.127.4.2 src/sys/netinet/in.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

2010-03-28 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar 29 00:33:09 UTC 2010

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

Log Message:
Tickets 1334 and 1357.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.220 -r1.1.2.221 src/doc/CHANGES-5.1

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



CVS commit: src/share/examples/rump/virtual_ip_router

2010-03-28 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar 29 02:01:47 UTC 2010

Added Files:
src/share/examples/rump/virtual_ip_router: README.txt rumprouter.c

Log Message:
Add an example for a rump router cluster setup along with a README.

some contributions to the code from Martti Kuparinen


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/share/examples/rump/virtual_ip_router/README.txt \
src/share/examples/rump/virtual_ip_router/rumprouter.c

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



CVS commit: src/share/examples/rump/virtual_ip_router

2010-03-28 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar 29 02:11:15 UTC 2010

Modified Files:
src/share/examples/rump/virtual_ip_router: README.txt
Added Files:
src/share/examples/rump/virtual_ip_router: startrouters.sh

Log Message:
amazing grep, how sweet the find
that saved a hack like me
script once was lost but now it's found
was -x, but now I sh


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/examples/rump/virtual_ip_router/README.txt
cvs rdiff -u -r0 -r1.1 \
src/share/examples/rump/virtual_ip_router/startrouters.sh

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 02:21:04 UTC 2010

Modified Files:
src/games/gomoku: bdisp.c

Log Message:
Don't exit(0) on failure. Use errx() instead of fprintf.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/gomoku/bdisp.c

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 02:32:45 UTC 2010

Modified Files:
src/games/gomoku: gomoku.6

Log Message:
Fix typo. From OpenBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/games/gomoku/gomoku.6

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 02:34:50 UTC 2010

Modified Files:
src/games/gomoku: gomoku.6

Log Message:
fix quote markup, spotted in openbsd diffs


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/gomoku/gomoku.6

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 02:46:05 UTC 2010

Modified Files:
src/games/gomoku: main.c

Log Message:
Allow saved game filenames up to PATH_MAX. From OpenBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/games/gomoku/main.c

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 02:48:17 UTC 2010

Modified Files:
src/games/gomoku: main.c

Log Message:
Spell "versus" right.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/games/gomoku/main.c

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



CVS commit: src/sys

2010-03-28 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Mar 29 03:05:28 UTC 2010

Modified Files:
src/sys/dev/cardbus: fwohci_cardbus.c
src/sys/dev/ieee1394: firewire.c firewire.h firewire_phy.h
firewirereg.h fwcrom.c fwdev.c fwdma.c fwdma.h fwmem.c fwmem.h
fwohci.c fwohcireg.h fwohcivar.h fwphyreg.h iec13213.h iec68113.h
if_fwip.c if_fwipvar.h sbp.c sbp.h
src/sys/dev/pci: fwohci_pci.c
src/sys/net: if_ieee1394subr.c
Removed Files:
src/sys/dev/ieee1394: fw_port.h

Log Message:
Bye-bye fw_port.h.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/cardbus/fwohci_cardbus.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ieee1394/firewire.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ieee1394/firewire.h \
src/sys/dev/ieee1394/if_fwipvar.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ieee1394/firewire_phy.h \
src/sys/dev/ieee1394/fwphyreg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ieee1394/firewirereg.h \
src/sys/dev/ieee1394/fwcrom.c
cvs rdiff -u -r1.33 -r0 src/sys/dev/ieee1394/fw_port.h
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ieee1394/fwdev.c \
src/sys/dev/ieee1394/fwohcireg.h
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ieee1394/fwdma.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ieee1394/fwdma.h
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ieee1394/fwmem.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ieee1394/fwmem.h \
src/sys/dev/ieee1394/iec13213.h src/sys/dev/ieee1394/iec68113.h \
src/sys/dev/ieee1394/sbp.h
cvs rdiff -u -r1.120 -r1.121 src/sys/dev/ieee1394/fwohci.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/ieee1394/fwohcivar.h
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ieee1394/if_fwip.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ieee1394/sbp.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/fwohci_pci.c
cvs rdiff -u -r1.42 -r1.43 src/sys/net/if_ieee1394subr.c

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



CVS commit: src/sys/dev/pci

2010-03-28 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Mar 29 03:07:24 UTC 2010

Removed Files:
src/sys/dev/pci: fwlynx_pci.c

Log Message:
Remove obsolete file.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r0 src/sys/dev/pci/fwlynx_pci.c

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



CVS commit: src/sys/dev/ieee1394

2010-03-28 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Mar 29 03:42:15 UTC 2010

Modified Files:
src/sys/dev/ieee1394: firewire.c fwohci.c

Log Message:
Remove debugging process.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ieee1394/firewire.c
cvs rdiff -u -r1.121 -r1.122 src/sys/dev/ieee1394/fwohci.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/ofppc/conf

2010-03-28 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Mar 29 03:44:37 UTC 2010

Modified Files:
src/sys/arch/ofppc/conf: GENERIC

Log Message:
Add scsi...@sbp.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/ofppc/conf/GENERIC

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 03:51:55 UTC 2010

Modified Files:
src/games/gomoku: bdisp.c gomoku.6 gomoku.h main.c

Log Message:
Better user interface. From OpenBSD, written by Paul Janzen quite a
long time ago. A few minor adjustments by yours truly.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/games/gomoku/bdisp.c src/games/gomoku/gomoku.6
cvs rdiff -u -r1.17 -r1.18 src/games/gomoku/gomoku.h
cvs rdiff -u -r1.22 -r1.23 src/games/gomoku/main.c

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 04:00:03 UTC 2010

Modified Files:
src/games/gomoku: gomoku.6

Log Message:
reorg for clarity and exposition.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/games/gomoku/gomoku.6

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 04:28:47 UTC 2010

Modified Files:
src/games/gomoku: bdisp.c gomoku.h main.c

Log Message:
Some improvements to the new UI.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/games/gomoku/bdisp.c
cvs rdiff -u -r1.18 -r1.19 src/games/gomoku/gomoku.h
cvs rdiff -u -r1.23 -r1.24 src/games/gomoku/main.c

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



CVS commit: src/games/gomoku

2010-03-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Mar 29 05:16:08 UTC 2010

Modified Files:
src/games/gomoku: main.c pickmove.c

Log Message:
remove #ifdef SVR4


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/games/gomoku/main.c
cvs rdiff -u -r1.19 -r1.20 src/games/gomoku/pickmove.c

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



CVS commit: src/lib/libm

2010-03-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 29 06:59:42 UTC 2010

Modified Files:
src/lib/libm: Makefile

Log Message:
build s_frexp.c, s_ldexp.c and s_modf.c here for new platforms, since they
don't exist as compat functions in libc.

current list of new platforms: powerpc64.

from dennis.c.fergu...@gmail.com in PR#43042.  idea to not put compat
functions into new platforms from droch...@netbsd.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/lib/libm/Makefile

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