re: CVS commit: src/sys

2011-04-17 Thread matthew green
On Sun, Apr 17, 2011 at 05:16:29AM +, matthew green wrote: Module Name:src Committed By: mrg Date: Sun Apr 17 05:16:29 UTC 2011 Modified Files: src/sys/kern: kern_module.c src/sys/sys: module.h Log Message: add a module_machine, that

re: CVS commit: src/share/mk

2011-04-17 Thread matthew green
Module Name: src Committed By: tron Date: Sun Apr 17 12:54:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Don't use --sysroot=/ for host builds as nbhost-mkdep doesn't understand that option. This should unbreak tool builds. hmm, i haven't seen this

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 11:34:26PM +1000, matthew green wrote: Log Message: Don't use --sysroot=/ for host builds as nbhost-mkdep doesn't understand that option. This should unbreak tool builds. hmm, i haven't seen this problem. what failed for you? ./build -O /path/to/obj -u -U -j 8 -x

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 11:03:37AM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Apr 17 15:03:37 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Revert previous, breaks builds completely (cd /usr/src/bin/test make clean

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 07:04:05PM +0100, Matthias Scheler wrote: You have now broken the tools build again: === build.sh command:./build.sh -O /export/scratch/tron/obj -u -U -x tools [...] Some testing revealed that this only happens if you MKDTRACE is set to yes. So please try this

Re: CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
On Apr 17, 7:04pm, t...@zhadum.org.uk (Matthias Scheler) wrote: -- Subject: Re: CVS commit: src/share/mk | Can you please fix that? I made mkdep understand --sysroot but ignore it. christos

Re: CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
On Apr 17, 9:55pm, t...@zhadum.org.uk (Matthias Scheler) wrote: -- Subject: Re: CVS commit: src/share/mk | On Sun, Apr 17, 2011 at 07:04:05PM +0100, Matthias Scheler wrote: | You have now broken the tools build again: | | === build.sh command:./build.sh -O /export/scratch/tron/obj -u -U

Re: CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
On Sat, Apr 16, 2011 at 05:41:25PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sat Apr 16 21:41:25 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Simplify and correct (previous did not work for !defined(DESTDIR) You are

Re: CVS commit: src/usr.bin/mkdep

2011-04-17 Thread Joerg Sonnenberger
On Sun, Apr 17, 2011 at 06:35:22PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Apr 17 22:35:22 UTC 2011 Modified Files: src/usr.bin/mkdep: mkdep.c Log Message: Recognize --sysroot but don't document it or do anything about it for now.

Re: CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
On Sat, Apr 16, 2011 at 06:45:23PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sat Apr 16 22:45:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Need --sysroot=/ otherwise ld does not find crt0.o and friends. What exactly

Re: CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Mindaugas Rasiukevicius
Masao Uebayashi uebay...@tombi.co.jp wrote: On Mon, Apr 18, 2011 at 03:04:32AM +, Mindaugas Rasiukevicius wrote: Module Name:src Committed By: rmind Date: Mon Apr 18 03:04:31 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c Log

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

2011-04-17 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Apr 17 06:18:23 UTC 2011 Modified Files: src/tests/lib/libc/gen: Makefile t_nice.c Log Message: Test nice(3) also with threads. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/tests/lib/libc/gen/Makefile

CVS commit: src/distrib/sets/lists

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:01:58 UTC 2011 Modified Files: src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.sparc64 src/distrib/sets/lists/comp: ad.mips64eb md.amd64 md.sparc64 mi shl.mi Log Message: various updates to deal with

CVS commit: src/share/mk

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:47:41 UTC 2011 Modified Files: src/share/mk: bsd.kmodule.mk Log Message: prepare for evbppc modules, and allow overriding the ${MACHINE} for installed modules. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/sys/arch/xen/include

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:50:33 UTC 2011 Modified Files: src/sys/arch/xen/include: xen.h xenpmap.h Log Message: apply some _KERNEL_OPT. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/xen/include/xen.h cvs rdiff -u

CVS commit: src/distrib/sets/lists/comp

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 10:06:49 UTC 2011 Modified Files: src/distrib/sets/lists/comp: ad.mips64el Log Message: catch up with heimdal update. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/distrib/sets/lists/comp/ad.mips64el

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

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 11:45:40 UTC 2011 Modified Files: src/external/bsd/tcpdump/dist: tcpdump.c Log Message: Hint from dsl: make sure to have the /etc/protocols file already open before doing a chroot() if run as root. Easily done by a

CVS commit: src/distrib

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 12:18:20 UTC 2011 Modified Files: src/distrib/amd64/cdroms: Makefile.cdrom install.sh src/distrib/i386/cdroms: Makefile.cdrom install.sh src/distrib/sparc64/cdroms/installcd: Makefile install.sh

CVS commit: src/distrib/utils/sysinst

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 12:33:42 UTC 2011 Modified Files: src/distrib/utils/sysinst: menus.mi msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl Log Message: Add an exitstring to the utility menu, so translations can provide proper

CVS commit: src/tools

2011-04-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Apr 17 12:52:26 UTC 2011 Modified Files: src/tools/libctf: Makefile src/tools/libdwarf: Makefile src/tools/libelf: Makefile Log Message: Set HOSTLIB before including bsd.own.mk to get the destination directory

CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Apr 17 12:54:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Don't use --sysroot=/ for host builds as nbhost-mkdep doesn't understand that option. This should unbreak tool builds. To generate a diff of this

CVS commit: src/distrib/sets/lists/base

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:04:50 UTC 2011 Modified Files: src/distrib/sets/lists/base: mi Log Message: Get rid of /var/chroot/tcpdump/etc To generate a diff of this commit: cvs rdiff -u -r1.932 -r1.933 src/distrib/sets/lists/base/mi Please

CVS commit: src/etc

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:07:18 UTC 2011 Modified Files: src/etc: Makefile src/etc/mtree: NetBSD.dist.base special Log Message: Get rid of var/chroot/tcpdump/etc To generate a diff of this commit: cvs rdiff -u -r1.389 -r1.390

CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 13:09:30 UTC 2011 Modified Files: src/sys/arch/sandpoint/stand/altboot: brdsetup.c Log Message: DSM-G600 has a 33.000 MHz oscillator on board. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/usr.sbin/postinstall

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:16:59 UTC 2011 Modified Files: src/usr.sbin/postinstall: postinstall Log Message: Invert the chroot/tcpdump/etc test and make it remove the (not needed anymore) directory. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/sandpoint/sandpoint

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 14:05:59 UTC 2011 Modified Files: src/sys/arch/sandpoint/sandpoint: satmgr.c Log Message: DSM-G600: Turn off all LEDs when shutting down, to indicate the device can be switched off. To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 14:58:27 UTC 2011 Modified Files: src/sys/dev/i2c: m41st84.c Log Message: Do not print M41ST84 Real-time Clock/NVRAM, but M41T8x Real-time Clock when STRTC_NO_USERRAM is defined. This driver should work for all M41T8x

CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 15:03:37 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Revert previous, breaks builds completely (cd /usr/src/bin/test make clean make) To generate a diff of this commit: cvs rdiff -u -r1.660

CVS commit: src/sys/dev/i2c

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 15:15:00 UTC 2011 Modified Files: src/sys/dev/i2c: motoi2c.c motoi2cvar.h Log Message: Suppressing the ACK after the last byte read must not depend on I2C_OP_STOP_P(), but all read-transfers have to be finished that way.

CVS commit: src/sys/kern

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Apr 17 20:37:43 UTC 2011 Modified Files: src/sys/kern: uipc_sem.c Log Message: ksem_free: remove wrong assert. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/kern/uipc_sem.c Please note that diffs are

CVS commit: src/usr.bin/mkdep

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 22:35:22 UTC 2011 Modified Files: src/usr.bin/mkdep: mkdep.c Log Message: Recognize --sysroot but don't document it or do anything about it for now. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/lib/libc/db

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 23:12:38 UTC 2011 Modified Files: src/lib/libc/db/btree: bt_open.c src/lib/libc/db/hash: hash_page.c Log Message: Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD. (the bt one

CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Apr 17 23:54:05 UTC 2011 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Remove remnants from the past when Xen 2 was still alive. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 00:26:12 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: machdep.c trap.c vm_machdep.c src/sys/kern: kern_proc.c src/sys/sys: proc.h Log Message: Replace malloc with kmem, and remove M_SUBPROC. To

CVS commit: src/sys/nfs

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:38:33 UTC 2011 Modified Files: src/sys/nfs: nfs_serv.c Log Message: Back in -r1.60 of nfs_serv.c (a long time ago) VOP_MKNOD was changed so nfsd no longer needed to do a lookup() call immediately afterwards to

CVS commit: src/sys

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:40:54 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c src/sys/sys: namei.src Log Message: ISSYMLINK is now only referenced inside vfs_lookup.c, and not needed there, so get rid of it. To generate a

CVS commit: src/sys

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:43:57 UTC 2011 Modified Files: src/sys/rump/include/rump: rump_namei.h src/sys/sys: namei.h Log Message: Regen for ISSYMLINK removal. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:07 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful; remove dirloop: in favor of using a loop continue. This runs the are we mounted? test on every directory instead of

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:29 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto still harmful, but use goto alldone in place of a loop break for now anyway. To generate a diff of this commit: cvs rdiff -u -r1.177

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:53 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Move the big chunk of code at terminal: outside the loop; since it has an unconditional loop break at the end this can be done safely, now

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:46:14 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful: goto terminal can now just be break. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:46:39 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: The goto alldone from a couple patches back (inside the loop) can now be changed to a loop break and another null test and goto outside the

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:47:04 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful: now the goto alldone can be dropped by reversing the sense of the associated test and using the big block I moved a

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:47:24 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Simplify logic: at the bottom of the loop, instead of checking if we should continue and if not breaking unconditionally, check if we should

CVS commit: src/sys/arch

2011-04-17 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 18 01:36:25 UTC 2011 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/xen/conf: files.xen src/sys/arch/xen/xen: balloon.c

CVS commit: src/sys/dev

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 01:47:28 UTC 2011 Modified Files: src/sys/dev/ata: ata.c atavar.h src/sys/dev/scsipi: scsiconf.c Log Message: Replace few simple_lock and ltsleep/wakeup uses with mutex(9) and condvar(9). Note to all: please

CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 02:16:55 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Fix --sysroot usage. To generate a diff of this commit: cvs rdiff -u -r1.661 -r1.662 src/share/mk/bsd.own.mk Please note that diffs are not

CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 03:04:31 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: balloon_xenbus_attach: use KM_SLEEP for allocation. Note: please do not use KM_NOSLEEP. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:27:40 UTC 2011 Modified Files: src/usr.bin/grep: fastgrep.c file.c grep.c queue.c util.c Log Message: Include nbtool_config.h for tool builds. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:47:40 UTC 2011 Modified Files: src/usr.bin/grep: queue.c Log Message: Fix memory leaks. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/grep/queue.c Please note that diffs are not public

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:48:23 UTC 2011 Modified Files: src/usr.bin/grep: grep.c Log Message: Use the more portable getline. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/grep/grep.c Please note that diffs are

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

2011-04-17 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Apr 17 06:18:23 UTC 2011 Modified Files: src/tests/lib/libc/gen: Makefile t_nice.c Log Message: Test nice(3) also with threads. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/tests/lib/libc/gen/Makefile

CVS commit: src

2011-04-17 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Apr 17 06:26:02 UTC 2011 Modified Files: src/distrib/sets/lists/tests: mi src/tests/syscall: Makefile Added Files: src/tests/syscall: t_getgroups.c Log Message: Few simple tests for getgroups(2). To generate

CVS commit: src/distrib/sets/lists

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:01:58 UTC 2011 Modified Files: src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.sparc64 src/distrib/sets/lists/comp: ad.mips64eb md.amd64 md.sparc64 mi shl.mi Log Message: various updates to deal with

CVS commit: src/share/mk

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:47:41 UTC 2011 Modified Files: src/share/mk: bsd.kmodule.mk Log Message: prepare for evbppc modules, and allow overriding the ${MACHINE} for installed modules. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/sys/arch/xen/include

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 09:50:33 UTC 2011 Modified Files: src/sys/arch/xen/include: xen.h xenpmap.h Log Message: apply some _KERNEL_OPT. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/xen/include/xen.h cvs rdiff -u

CVS commit: src/distrib/sets/lists/comp

2011-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 17 10:06:49 UTC 2011 Modified Files: src/distrib/sets/lists/comp: ad.mips64el Log Message: catch up with heimdal update. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/distrib/sets/lists/comp/ad.mips64el

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

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 11:45:40 UTC 2011 Modified Files: src/external/bsd/tcpdump/dist: tcpdump.c Log Message: Hint from dsl: make sure to have the /etc/protocols file already open before doing a chroot() if run as root. Easily done by a

CVS commit: src/distrib

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 12:18:20 UTC 2011 Modified Files: src/distrib/amd64/cdroms: Makefile.cdrom install.sh src/distrib/i386/cdroms: Makefile.cdrom install.sh src/distrib/sparc64/cdroms/installcd: Makefile install.sh

CVS commit: src/distrib/utils/sysinst

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 12:33:42 UTC 2011 Modified Files: src/distrib/utils/sysinst: menus.mi msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl Log Message: Add an exitstring to the utility menu, so translations can provide proper

CVS commit: src/tools

2011-04-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Apr 17 12:52:26 UTC 2011 Modified Files: src/tools/libctf: Makefile src/tools/libdwarf: Makefile src/tools/libelf: Makefile Log Message: Set HOSTLIB before including bsd.own.mk to get the destination directory

CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Apr 17 12:54:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Don't use --sysroot=/ for host builds as nbhost-mkdep doesn't understand that option. This should unbreak tool builds. To generate a diff of this

CVS commit: src/distrib/sets/lists/base

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:04:50 UTC 2011 Modified Files: src/distrib/sets/lists/base: mi Log Message: Get rid of /var/chroot/tcpdump/etc To generate a diff of this commit: cvs rdiff -u -r1.932 -r1.933 src/distrib/sets/lists/base/mi Please

CVS commit: src/etc

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:07:18 UTC 2011 Modified Files: src/etc: Makefile src/etc/mtree: NetBSD.dist.base special Log Message: Get rid of var/chroot/tcpdump/etc To generate a diff of this commit: cvs rdiff -u -r1.389 -r1.390

CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 13:09:30 UTC 2011 Modified Files: src/sys/arch/sandpoint/stand/altboot: brdsetup.c Log Message: DSM-G600 has a 33.000 MHz oscillator on board. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/usr.sbin/postinstall

2011-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 13:16:59 UTC 2011 Modified Files: src/usr.sbin/postinstall: postinstall Log Message: Invert the chroot/tcpdump/etc test and make it remove the (not needed anymore) directory. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/sandpoint/sandpoint

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 14:05:59 UTC 2011 Modified Files: src/sys/arch/sandpoint/sandpoint: satmgr.c Log Message: DSM-G600: Turn off all LEDs when shutting down, to indicate the device can be switched off. To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 14:58:27 UTC 2011 Modified Files: src/sys/dev/i2c: m41st84.c Log Message: Do not print M41ST84 Real-time Clock/NVRAM, but M41T8x Real-time Clock when STRTC_NO_USERRAM is defined. This driver should work for all M41T8x

CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 15:03:37 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Revert previous, breaks builds completely (cd /usr/src/bin/test make clean make) To generate a diff of this commit: cvs rdiff -u -r1.660

CVS commit: src/sys/dev/i2c

2011-04-17 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Apr 17 15:15:00 UTC 2011 Modified Files: src/sys/dev/i2c: motoi2c.c motoi2cvar.h Log Message: Suppressing the ACK after the last byte read must not depend on I2C_OP_STOP_P(), but all read-transfers have to be finished that way.

CVS commit: src/sys/kern

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Apr 17 20:37:43 UTC 2011 Modified Files: src/sys/kern: uipc_sem.c Log Message: ksem_free: remove wrong assert. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/kern/uipc_sem.c Please note that diffs are

CVS commit: src/usr.bin/mkdep

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 22:35:22 UTC 2011 Modified Files: src/usr.bin/mkdep: mkdep.c Log Message: Recognize --sysroot but don't document it or do anything about it for now. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/lib/libc/db

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 23:12:38 UTC 2011 Modified Files: src/lib/libc/db/btree: bt_open.c src/lib/libc/db/hash: hash_page.c Log Message: Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD. (the bt one

CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Apr 17 23:54:05 UTC 2011 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Remove remnants from the past when Xen 2 was still alive. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 00:26:12 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: machdep.c trap.c vm_machdep.c src/sys/kern: kern_proc.c src/sys/sys: proc.h Log Message: Replace malloc with kmem, and remove M_SUBPROC. To

CVS commit: src/sys/nfs

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:38:33 UTC 2011 Modified Files: src/sys/nfs: nfs_serv.c Log Message: Back in -r1.60 of nfs_serv.c (a long time ago) VOP_MKNOD was changed so nfsd no longer needed to do a lookup() call immediately afterwards to

CVS commit: src/sys

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:40:54 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c src/sys/sys: namei.src Log Message: ISSYMLINK is now only referenced inside vfs_lookup.c, and not needed there, so get rid of it. To generate a

CVS commit: src/sys

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:43:57 UTC 2011 Modified Files: src/sys/rump/include/rump: rump_namei.h src/sys/sys: namei.h Log Message: Regen for ISSYMLINK removal. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:07 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful; remove dirloop: in favor of using a loop continue. This runs the are we mounted? test on every directory instead of

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:29 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto still harmful, but use goto alldone in place of a loop break for now anyway. To generate a diff of this commit: cvs rdiff -u -r1.177

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:45:53 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Move the big chunk of code at terminal: outside the loop; since it has an unconditional loop break at the end this can be done safely, now

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:46:14 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful: goto terminal can now just be break. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:46:39 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: The goto alldone from a couple patches back (inside the loop) can now be changed to a loop break and another null test and goto outside the

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:47:04 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Goto considered harmful: now the goto alldone can be dropped by reversing the sense of the associated test and using the big block I moved a

CVS commit: src/sys/kern

2011-04-17 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Apr 18 00:47:24 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Simplify logic: at the bottom of the loop, instead of checking if we should continue and if not breaking unconditionally, check if we should

CVS commit: src/sys/arch

2011-04-17 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 18 01:36:25 UTC 2011 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/xen/conf: files.xen src/sys/arch/xen/xen: balloon.c

CVS commit: src/sys/dev

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 01:47:28 UTC 2011 Modified Files: src/sys/dev/ata: ata.c atavar.h src/sys/dev/scsipi: scsiconf.c Log Message: Replace few simple_lock and ltsleep/wakeup uses with mutex(9) and condvar(9). Note to all: please

CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 02:16:55 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Fix --sysroot usage. To generate a diff of this commit: cvs rdiff -u -r1.661 -r1.662 src/share/mk/bsd.own.mk Please note that diffs are not

CVS commit: src/sys/arch/xen/xen

2011-04-17 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Apr 18 03:04:31 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: balloon_xenbus_attach: use KM_SLEEP for allocation. Note: please do not use KM_NOSLEEP. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:27:40 UTC 2011 Modified Files: src/usr.bin/grep: fastgrep.c file.c grep.c queue.c util.c Log Message: Include nbtool_config.h for tool builds. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:47:40 UTC 2011 Modified Files: src/usr.bin/grep: queue.c Log Message: Fix memory leaks. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/grep/queue.c Please note that diffs are not public

CVS commit: src/usr.bin/grep

2011-04-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 18 03:48:23 UTC 2011 Modified Files: src/usr.bin/grep: grep.c Log Message: Use the more portable getline. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/grep/grep.c Please note that diffs are