CVS commit: src/sys/dev/acpi

2010-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 07:04:18 UTC 2010

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

Log Message:
Make the ACPIVERBOSE output even prettier by removing cruft.


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

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



CVS commit: src/share/misc

2010-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 09:57:40 UTC 2010

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add some common ones.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/share/misc/acronyms.comp

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



CVS commit: src/share/misc

2010-04-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Apr 23 11:00:27 UTC 2010

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Uppercase some proper names and abbreviations (probably more to do here).


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/share/misc/acronyms.comp

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



CVS commit: src/external/cddl/osnet

2010-04-23 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Fri Apr 23 11:39:53 UTC 2010

Modified Files:
src/external/cddl/osnet/dev/dtrace: dtrace_sysctl.c dtrace_unload.c
src/external/cddl/osnet/dev/dtrace/amd64: dtrace_subr.c
src/external/cddl/osnet/dev/dtrace/i386: dtrace_subr.c
src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c

Log Message:
Remove a couple of zero length kmem_frees.

It should fix at least one crash when unloading the dtrace module,
possibly many others.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/cddl/osnet/dev/dtrace/dtrace_sysctl.c \
src/external/cddl/osnet/dev/dtrace/dtrace_unload.c
cvs rdiff -u -r1.3 -r1.4 \
src/external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c
cvs rdiff -u -r1.4 -r1.5 \
src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c
cvs rdiff -u -r1.10 -r1.11 \
src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c

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



CVS commit: src/distrib

2010-04-23 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Fri Apr 23 14:10:19 UTC 2010

Modified Files:
src/distrib/i386/cdroms: Makefile.cdrom
src/distrib/sparc64/cdroms/installcd: Makefile

Log Message:
Um, as has been noted, INSTALL_FILE records what's installed if it's
done unprived, and that doesn't go down well on a re-build.  So use
${INSTALL} ${COPY} instead to fix this problem.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/i386/cdroms/Makefile.cdrom
cvs rdiff -u -r1.6 -r1.7 src/distrib/sparc64/cdroms/installcd/Makefile

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



CVS commit: src/sys/arch/hp700

2010-04-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Apr 23 15:04:09 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: mainbus.c
src/sys/arch/hp700/include: iomod.h

Log Message:
Don't round the bus space map/unmap requests to page size, but keep track
of the exact regions requested.

Only ever map the whole FLEX area in when mapped and don't unmap.

G/C the BTLB stuff - it doesn't work. Maybe one day it will come back.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/hp700/hp700/mainbus.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hp700/include/iomod.h

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



CVS commit: src/sys

2010-04-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 23 15:19:21 UTC 2010

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_10.c netbsd32_compat_20.c
netbsd32_compat_30.c netbsd32_compat_43.c netbsd32_compat_50.c
netbsd32_event.c netbsd32_exec_aout.c netbsd32_fs.c
netbsd32_ioctl.c netbsd32_netbsd.c netbsd32_select.c
netbsd32_signal.c netbsd32_socket.c netbsd32_sysctl.c
src/sys/compat/osf1: osf1_cvt.c osf1_descrip.c osf1_file.c
osf1_generic.c osf1_misc.c osf1_signal.c osf1_socket.c
src/sys/kern: uipc_syscalls.c
src/sys/sys: uio.h

Log Message:
Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakll...@.
  Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in 
netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/netbsd32/netbsd32_compat_10.c
cvs rdiff -u -r1.27 -r1.28 src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.29 -r1.30 src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/netbsd32/netbsd32_compat_43.c
cvs rdiff -u -r1.15 -r1.16 src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/netbsd32/netbsd32_event.c
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/netbsd32/netbsd32_exec_aout.c
cvs rdiff -u -r1.58 -r1.59 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -u -r1.46 -r1.47 src/sys/compat/netbsd32/netbsd32_ioctl.c
cvs rdiff -u -r1.166 -r1.167 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.18 -r1.19 src/sys/compat/netbsd32/netbsd32_select.c
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/netbsd32/netbsd32_signal.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/netbsd32/netbsd32_socket.c
cvs rdiff -u -r1.30 -r1.31 src/sys/compat/netbsd32/netbsd32_sysctl.c
cvs rdiff -u -r1.26 -r1.27 src/sys/compat/osf1/osf1_cvt.c
cvs rdiff -u -r1.28 -r1.29 src/sys/compat/osf1/osf1_descrip.c
cvs rdiff -u -r1.38 -r1.39 src/sys/compat/osf1/osf1_file.c
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/osf1/osf1_generic.c
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/osf1/osf1_misc.c
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/osf1/osf1_signal.c
cvs rdiff -u -r1.19 -r1.20 src/sys/compat/osf1/osf1_socket.c
cvs rdiff -u -r1.140 -r1.141 src/sys/kern/uipc_syscalls.c
cvs rdiff -u -r1.34 -r1.35 src/sys/sys/uio.h

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 15:20:35 UTC 2010

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

Log Message:
When setting the power, always mark the state as invalid on failure, even if
going to D0. Also fix a potential NULL pointer dereference in an aprint_().


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/acpi_power.c

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



CVS commit: src/usr.sbin/route6d

2010-04-23 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Fri Apr 23 15:30:30 UTC 2010

Modified Files:
src/usr.sbin/route6d: route6d.c

Log Message:
no [longer?] need to define _KERNEL when including 


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/usr.sbin/route6d/route6d.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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 15:37:01 UTC 2010

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

Log Message:
Cosmetics: be pedantic and use AE_CTRL_TERMINATE instead of AE_ABORT_METHOD
as a condition to break out of a loop.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/acpi_power.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-04-23 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Apr 23 15:38:47 UTC 2010

Modified Files:
src/sys/fs/msdosfs: msdosfs_vnops.c
src/sys/fs/smbfs: smbfs_io.c
src/sys/fs/tmpfs: tmpfs_vnops.c
src/sys/kern: vfs_vnops.c
src/sys/nfs: nfs_bio.c
src/sys/ufs/ext2fs: ext2fs_readwrite.c
src/sys/ufs/ufs: ufs_readwrite.c

Log Message:
Enforce RLIMIT_FSIZE before VOP_WRITE.  This adds support to file
system drivers where it was missing from and fixes one buggy
implementation.  The arguably weird semantics of the check are
maintained (v_size vs. va_bytes, overwrite).


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.33 -r1.34 src/sys/fs/smbfs/smbfs_io.c
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.170 -r1.171 src/sys/kern/vfs_vnops.c
cvs rdiff -u -r1.183 -r1.184 src/sys/nfs/nfs_bio.c
cvs rdiff -u -r1.55 -r1.56 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -u -r1.94 -r1.95 src/sys/ufs/ufs/ufs_readwrite.c

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



CVS commit: src/usr.bin/make/unit-tests

2010-04-23 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Fri Apr 23 15:43:28 UTC 2010

Modified Files:
src/usr.bin/make/unit-tests: modmisc test.exp

Log Message:
PR: 42850
Reviewed by:

Reduced the "expected to exist" dirs in path to just
/ /bin and /tmp
and change the "not expected to exist" dir to something
even less likely.
Add a comment to suggest why.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/modmisc
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/make/unit-tests/test.exp

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 15:46:59 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_pci.c acpi_pci.h

Log Message:
Simplify acpi_pcidev_find(): directly return a pointer to the device node.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/acpi_pci.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/acpi_pci.h

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 15:52:27 UTC 2010

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

Log Message:
One malloc(9) type is enough for ACPI; use M_ACPI.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/acpi/acpi_pci_link.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-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 16:07:33 UTC 2010

Modified Files:
src/sys/arch/i386/i386: machdep.c
src/sys/arch/i386/include: pcb.h
src/sys/arch/x86/x86: sys_machdep.c vm_machdep.c
src/sys/compat/linux/arch/i386: linux_exec_machdep.c

Log Message:
Use struct segment_descriptor for pcb_fsd and pcb_gsd instead of int[2].


To generate a diff of this commit:
cvs rdiff -u -r1.685 -r1.686 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/i386/include/pcb.h
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x86/x86/sys_machdep.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/vm_machdep.c
cvs rdiff -u -r1.14 -r1.15 \
src/sys/compat/linux/arch/i386/linux_exec_machdep.c

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



CVS commit: src/share/man/man9

2010-04-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 23 16:24:05 UTC 2010

Modified Files:
src/share/man/man9: kmem.9

Log Message:
Mention that kmem_free(9) may block, just in a case it is not clear.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/kmem.9

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



CVS commit: src/external/cddl/osnet/dev/dtrace

2010-04-23 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Fri Apr 23 16:44:10 UTC 2010

Modified Files:
src/external/cddl/osnet/dev/dtrace: dtrace_unload.c

Log Message:
Add a missing parentheses.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/cddl/osnet/dev/dtrace/dtrace_unload.c

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



CVS commit: src/share/misc

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Apr 23 17:34:48 UTC 2010

Modified Files:
src/share/misc: acronyms.comp

Log Message:
minor edits, mostly capitalization.
remove FUD since it's in the main acronyms file already.
Don't use {a,b} notation for semantically unrelated expansions.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/share/misc/acronyms.comp

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



CVS commit: src/share/misc

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Apr 23 17:43:45 UTC 2010

Modified Files:
src/share/misc: acronyms.comp

Log Message:
+ JBOD, NAS, OQL, OWL, RDF, SPARQL, TOS (type of service), UUID


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/share/misc/acronyms.comp

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



CVS commit: src/share/misc

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Apr 23 17:48:07 UTC 2010

Modified Files:
src/share/misc: acronyms

Log Message:
+ B/W for bandwidth, ATM and PIN, TBA


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/share/misc/acronyms

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 18:51:31 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c acpi_power.c acpi_power.h

Log Message:
Add hw.acpi.power sysctl-node.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/dev/acpi/acpi.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/acpi_power.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/acpi_power.h

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 23 19:00:58 UTC 2010

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

Log Message:
Forgot that the firmware may change the power state behind our back,
so actively query the state when the sysctl(8) is invoked.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/acpi_power.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/compat/gen

2010-04-23 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Fri Apr 23 19:04:54 UTC 2010

Modified Files:
src/lib/libc/compat/gen: Makefile.inc compat_frexp_ieee754.c
compat_ldexp_ieee754.c compat_modf_ieee754.c

Log Message:
use the local versions of ldexp/frexp/modf again rather than pulling
in libm source code. The libm functions depend on other libm functions,
this requires symbol renaming, and with the reachover method this
is going to be a mess. Also, bundling the dependencies into one .o
file has the potential to cause symbol conflicts on static linking.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/compat/gen/Makefile.inc
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/compat/gen/compat_frexp_ieee754.c \
src/lib/libc/compat/gen/compat_ldexp_ieee754.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/compat/gen/compat_modf_ieee754.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-04-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 23 19:09:15 UTC 2010

Modified Files:
src/sys/kern: kern_malloc_stdtype.c
src/sys/sys: malloc.h

Log Message:
Remove M_IOV (missed in previous commit) and M_1394DATA types.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_malloc_stdtype.c
cvs rdiff -u -r1.106 -r1.107 src/sys/sys/malloc.h

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-04-23 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Fri Apr 23 19:17:07 UTC 2010

Modified Files:
src/lib/libm: Makefile
src/lib/libm/arch/i387: s_scalbn.S s_scalbnf.S
src/lib/libm/arch/mc68881: s_scalbn.S
src/lib/libm/src: e_pow.c e_powf.c e_scalb.c e_scalbf.c k_rem_pio2.c
k_rem_pio2f.c namespace.h s_ldexp.c s_ldexpf.c s_scalbn.c
s_scalbnf.c

Log Message:
-build ldexp/frexp/modf locally again rather than relying on libc
 reaching over, to get things into a sane state,
-do the usual namespace protection game with scalbn(f) because it
 is used internally
(more symbol renamings are necessary)

The weak_alias change for mc68881 is untested.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/lib/libm/Makefile
cvs rdiff -u -r1.8 -r1.9 src/lib/libm/arch/i387/s_scalbn.S
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/arch/i387/s_scalbnf.S
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/arch/mc68881/s_scalbn.S
cvs rdiff -u -r1.15 -r1.16 src/lib/libm/src/e_pow.c
cvs rdiff -u -r1.14 -r1.15 src/lib/libm/src/e_powf.c
cvs rdiff -u -r1.9 -r1.10 src/lib/libm/src/e_scalb.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/src/e_scalbf.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libm/src/k_rem_pio2.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/src/k_rem_pio2f.c \
src/lib/libm/src/s_ldexpf.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libm/src/namespace.h
cvs rdiff -u -r1.10 -r1.11 src/lib/libm/src/s_ldexp.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libm/src/s_scalbn.c
cvs rdiff -u -r1.8 -r1.9 src/lib/libm/src/s_scalbnf.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-04-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 23 19:18:10 UTC 2010

Modified Files:
src/sys/arch/alpha/alpha: trap.c
src/sys/arch/amd64/amd64: netbsd32_machdep.c trap.c
src/sys/arch/arm/arm: arm_machdep.c
src/sys/arch/hppa/hppa: trap.c
src/sys/arch/i386/i386: trap.c
src/sys/arch/m68k/m68k: m68k_syscall.c
src/sys/arch/mips/mips: mips_machdep.c
src/sys/arch/powerpc/ibm4xx: trap.c
src/sys/arch/powerpc/powerpc: trap.c
src/sys/arch/sh3/sh3: vm_machdep.c
src/sys/arch/sparc/sparc: trap.c
src/sys/arch/sparc64/sparc64: netbsd32_machdep.c syscall.c
src/sys/arch/vax/vax: trap.c
src/sys/kern: kern_lwp.c sys_lwp.c
src/sys/sys: lwp.h

Log Message:
Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.
As discussed, a while ago, with a...@.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/alpha/alpha/trap.c
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/amd64/amd64/netbsd32_machdep.c \
src/sys/arch/amd64/amd64/trap.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/arm/arm/arm_machdep.c
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/hppa/hppa/trap.c
cvs rdiff -u -r1.255 -r1.256 src/sys/arch/i386/i386/trap.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/m68k/m68k/m68k_syscall.c
cvs rdiff -u -r1.225 -r1.226 src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/powerpc/ibm4xx/trap.c
cvs rdiff -u -r1.134 -r1.135 src/sys/arch/powerpc/powerpc/trap.c
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/sh3/sh3/vm_machdep.c
cvs rdiff -u -r1.182 -r1.183 src/sys/arch/sparc/sparc/trap.c
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/sparc64/sparc64/syscall.c
cvs rdiff -u -r1.123 -r1.124 src/sys/arch/vax/vax/trap.c
cvs rdiff -u -r1.145 -r1.146 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/sys_lwp.c
cvs rdiff -u -r1.130 -r1.131 src/sys/sys/lwp.h

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



CVS commit: src

2010-04-23 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Fri Apr 23 19:21:08 UTC 2010

Modified Files:
src/etc/mtree: Makefile
src/usr.sbin/postinstall: postinstall

Log Message:
Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
new target, emit_dist_file, to assemble the correct NetBSD.dist.

Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
NetBSD.dist that was missing /usr/lib/i386/ et cetera.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/etc/mtree/Makefile
cvs rdiff -u -r1.107 -r1.108 src/usr.sbin/postinstall/postinstall

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

2010-04-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Apr 23 19:27:35 UTC 2010

Modified Files:
src/sys/dev/pci/bktr: bktr_os.c

Log Message:
don't try to print a bus_space_handle_t
now this at least compiles on sparc64


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/pci/bktr/bktr_os.c

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



CVS commit: src/sys/kern

2010-04-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 23 19:29:23 UTC 2010

Modified Files:
src/sys/kern: subr_time.c

Log Message:
mq_timed{send,receive}: as required by POSIX, return EINVAL on invalid
timeout and thread would have blocked, instead of ETIMEDOUT.  Change is
to abstimeout2timo(), thus also affects _lwp_park(2).

Reported by Stathis Kamperis some months ago.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/kern/subr_time.c

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



CVS commit: src

2010-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 19:41:03 UTC 2010

Modified Files:
src/bin/pax: Makefile
src/external/bsd/libarchive/bin: Makefile
src/external/bsd/libarchive/bin/cpio: Makefile
src/external/bsd/libarchive/bin/tar: Makefile
src/share/mk: bsd.README bsd.own.mk

Log Message:
Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/bin/pax/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libarchive/bin/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libarchive/bin/cpio/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libarchive/bin/tar/Makefile
cvs rdiff -u -r1.265 -r1.266 src/share/mk/bsd.README
cvs rdiff -u -r1.624 -r1.625 src/share/mk/bsd.own.mk

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



CVS commit: src/external/bsd/pkg_install/dist

2010-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 20:54:17 UTC 2010

Update of /cvsroot/src/external/bsd/pkg_install/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv8316

Log Message:
pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.

Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Try to detect common forms of pkgdb corruption and issue a warning in
that case.

Refactor the pkg_vulnerabilities logic to use the compression support
from libarchive. This reduces the amount zlib/bzip2 interaction to
the linkage.

Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.

Status:

Vendor Tag: PKGSRC
Release Tags:   pkg_install-20100421

U src/external/bsd/pkg_install/dist/add/add.h
U src/external/bsd/pkg_install/dist/add/main.c
U src/external/bsd/pkg_install/dist/add/perform.c
U src/external/bsd/pkg_install/dist/add/pkg_add.1
U src/external/bsd/pkg_install/dist/admin/admin.h
N src/external/bsd/pkg_install/dist/admin/audit-packages.8
U src/external/bsd/pkg_install/dist/admin/audit-packages.sh.in
U src/external/bsd/pkg_install/dist/admin/audit.c
U src/external/bsd/pkg_install/dist/admin/check.c
N src/external/bsd/pkg_install/dist/admin/download-vulnerability-list.8
U src/external/bsd/pkg_install/dist/admin/download-vulnerability-list.sh.in
U src/external/bsd/pkg_install/dist/admin/main.c
U src/external/bsd/pkg_install/dist/admin/pkg_admin.1
U src/external/bsd/pkg_install/dist/bpm/bpm.1
U src/external/bsd/pkg_install/dist/bpm/bpm.sh.in
U src/external/bsd/pkg_install/dist/create/build.c
U src/external/bsd/pkg_install/dist/create/create.h
U src/external/bsd/pkg_install/dist/create/main.c
U src/external/bsd/pkg_install/dist/create/perform.c
U src/external/bsd/pkg_install/dist/create/pkg_create.1
U src/external/bsd/pkg_install/dist/create/pl.c
U src/external/bsd/pkg_install/dist/create/util.c
U src/external/bsd/pkg_install/dist/delete/pkg_delete.1
U src/external/bsd/pkg_install/dist/delete/pkg_delete.c
U src/external/bsd/pkg_install/dist/info/info.h
U src/external/bsd/pkg_install/dist/info/main.c
U src/external/bsd/pkg_install/dist/info/perform.c
U src/external/bsd/pkg_install/dist/info/pkg_info.1
U src/external/bsd/pkg_install/dist/info/show.c
U src/external/bsd/pkg_install/dist/lib/automatic.c
U src/external/bsd/pkg_install/dist/lib/config.h.in
U src/external/bsd/pkg_install/dist/lib/conflicts.c
U src/external/bsd/pkg_install/dist/lib/defs.h
U src/external/bsd/pkg_install/dist/lib/dewey.c
U src/external/bsd/pkg_install/dist/lib/dewey.h
U src/external/bsd/pkg_install/dist/lib/fexec.c
U src/external/bsd/pkg_install/dist/lib/file.c
U src/external/bsd/pkg_install/dist/lib/global.c
U src/external/bsd/pkg_install/dist/lib/gpgsig.c
U src/external/bsd/pkg_install/dist/lib/iterate.c
C src/external/bsd/pkg_install/dist/lib/lib.h
U src/external/bsd/pkg_install/dist/lib/license.c
U src/external/bsd/pkg_install/dist/lib/lpkg.c
U src/external/bsd/pkg_install/dist/lib/opattern.c
U src/external/bsd/pkg_install/dist/lib/parse-config.c
U src/external/bsd/pkg_install/dist/lib/pkcs7.c
U src/external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in
U src/external/bsd/pkg_install/dist/lib/pkg_io.c
U src/external/bsd/pkg_install/dist/lib/pkg_signature.c
U src/external/bsd/pkg_install/dist/lib/pkg_summary.5
U src/external/bsd/pkg_install/dist/lib/pkgdb.c
U src/external/bsd/pkg_install/dist/lib/pkgsrc.7
U src/external/bsd/pkg_install/dist/lib/plist.c
U src/external/bsd/pkg_install/dist/lib/remove.c
U src/external/bsd/pkg_install/dist/lib/str.c
U src/external/bsd/pkg_install/dist/lib/var.c
U src/external/bsd/pkg_install/dist/lib/version.c
C src/external/bsd/pkg_install/dist/lib/version.h
U src/external/bsd/pkg_install/dist/lib/vulnerabilities-file.c
U src/external/bsd/pkg_install/dist/lib/xwrapper.c
U src/external/bsd/pkg_install/dist/x509/pkgsrc.cnf
U src/external/bsd/pkg_install/dist/x509/pkgsrc.sh
U src/external/bsd/pkg_install/dist/x509/signing.txt

2 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jPKGSRC:yesterday -jPKGSRC 
src/external/bsd/pkg_install/dist



CVS commit: src/external/bsd/pkg_install/dist/lib

2010-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 20:55:31 UTC 2010

Modified Files:
src/external/bsd/pkg_install/dist/lib: lib.h version.h
Removed Files:
src/external/bsd/pkg_install/dist/lib: decompress.c

Log Message:
Merge pkg_install-20100421


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r0 src/external/bsd/pkg_install/dist/lib/decompress.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/pkg_install/dist/lib/lib.h \
src/external/bsd/pkg_install/dist/lib/version.h

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



CVS commit: src/external/bsd/pkg_install/lib

2010-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 20:56:01 UTC 2010

Modified Files:
src/external/bsd/pkg_install/lib: Makefile config.h

Log Message:
Update build glue for pkg_install-20100421


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/pkg_install/lib/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pkg_install/lib/config.h

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-04-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 23 20:56:20 UTC 2010

Modified Files:
src/sys/dev/pci: if_iwn.c if_iwnvar.h

Log Message:
Align usage of *free and *alloc and clean up the firmware read code.
This fixes two panics that occur for kernels compiled with DIAGNOSTIC and
DEBUG. From Sverre Froyen


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_iwn.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_iwnvar.h

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



CVS commit: [rmind-uvmplock] src/sys

2010-04-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 23 21:18:00 UTC 2010

Modified Files:
src/sys/kern [rmind-uvmplock]: sysv_shm.c
src/sys/uvm [rmind-uvmplock]: uvm_extern.h uvm_object.c

Log Message:
Use consistent naming - uvm_obj_*().


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.117.4.1 src/sys/kern/sysv_shm.c
cvs rdiff -u -r1.162.2.2 -r1.162.2.3 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.7.4.1 -r1.7.4.2 src/sys/uvm/uvm_object.c

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



CVS commit: src/usr.bin/window

2010-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 22:04:37 UTC 2010

Modified Files:
src/usr.bin/window: window.1

Log Message:
\\ -> \e
Drop redundant .Ic.
Add explicit empty argument for intentionally empty bracket and
parenthesis.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/window/window.1

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-04-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Apr 23 23:05:40 UTC 2010

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_43.c

Log Message:
Fix compilation.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/netbsd32/netbsd32_compat_43.c

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



CVS commit: src/games/battlestar

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Apr 24 00:38:30 UTC 2010

Modified Files:
src/games/battlestar: command6.c

Log Message:
fflush the score file while signals are blocked to decrease the chance of
it getting corrupted.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/games/battlestar/command6.c

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



CVS commit: src/share/misc

2010-04-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 24 00:54:07 UTC 2010

Modified Files:
src/share/misc: style

Log Message:
Be explicit about sizeof(*var) being preferred over sizeof(type).


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/misc/style

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



CVS commit: src/games/larn

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Apr 24 00:56:14 UTC 2010

Modified Files:
src/games/larn: scores.c

Log Message:
Handle the "diedtime" field of the player log (which is not the high
scores file, the append-only log of all games) as int32_t instead of
time_t. Log files from before the 64-bit time_t change can now be read
again; however, log files from the last year of -current are hosed.
All none of you who play larn, take note...


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/games/larn/scores.c

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



CVS commit: src/games/larn

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Apr 24 01:13:37 UTC 2010

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

Log Message:
Document the options that actually exist, instead of some other
completely unrelated set. Bump date. (first time since 1993!)


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

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



CVS commit: src/lib/libc/gen

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Apr 24 01:35:51 UTC 2010

Modified Files:
src/lib/libc/gen: time.3

Log Message:
Edit previous HISTORY patch for style; note our 64-bit time_t change.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/time.3

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



CVS commit: src/sys/rump/include/rump

2010-04-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Apr 24 01:47:34 UTC 2010

Modified Files:
src/sys/rump/include/rump: rump.h

Log Message:
Remove trailing comma in enum, per PR kern/43200.

(trailing commas in enums are allowed in C99, but not C89, and possibly
not in C++, so let's be nice to older and deviant compilers)


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/rump/include/rump/rump.h

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Apr 24 06:31:44 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_power.c acpi_power.h acpi_tz.c

Log Message:
Now that we are able to remove references to power resources, provide a
detachment routine for acpitz(4). Add comments explaining the relationship
between power resources and active cooling. Also some improvements to code
readability.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/acpi_power.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/acpi_power.h
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/acpi/acpi_tz.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/distrib/notes/common

2010-04-23 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Apr 24 06:48:23 UTC 2010

Modified Files:
src/distrib/notes/common [netbsd-5]: contents main

Log Message:
Update for 5.1.


To generate a diff of this commit:
cvs rdiff -u -r1.143.2.6 -r1.143.2.7 src/distrib/notes/common/contents
cvs rdiff -u -r1.425.2.6 -r1.425.2.7 src/distrib/notes/common/main

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-04-23 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Apr 24 06:57:11 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_power.c acpi_util.c acpi_util.h

Log Message:
Add utility function acpi_get_node().

This retrieves a struct acpi_devnode from a handle. Since this requires
accessing the global softc, it is better to do it in one place alone. The
same goes for possible locking of the node-queue; it is better not to
publicize such a lock for generic device drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/acpi_power.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/acpi_util.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/acpi_util.h

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