CVS commit: src/usr.sbin/cpuctl

2014-02-19 Thread Ryosuke Moro
Module Name:src
Committed By:   szptvlfn
Date:   Wed Feb 19 09:13:21 UTC 2014

Modified Files:
src/usr.sbin/cpuctl: cpuctl.8

Log Message:
Update URL


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/cpuctl/cpuctl.8

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



CVS commit: src/sys/arch/atari/dev

2014-02-19 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Feb 19 11:40:31 UTC 2014

Modified Files:
src/sys/arch/atari/dev: ite.c

Log Message:
Fix kernel crash when a user tries to switch to nonexistent terminal.

Reported by Gabor Sebestyen in PR port-atari/48599.

Should be pulled up to all netbsd-6 branches.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/atari/dev/ite.c

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



CVS commit: src/distrib/utils/sysinst

2014-02-19 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Feb 19 12:14:41 UTC 2014

Modified Files:
src/distrib/utils/sysinst: bsddisklabel.c
src/distrib/utils/sysinst/arch/luna68k: md.c md.h msg.md.en

Log Message:
Improve luna68k md part of sysinst.

- setup a boot UFS partition and install native bootloader
- add messages how to setup NVRAM variables for firmware to load bootloader
- enable swap on <= 32MB machines


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/distrib/utils/sysinst/bsddisklabel.c
cvs rdiff -u -r1.2 -r1.3 src/distrib/utils/sysinst/arch/luna68k/md.c \
src/distrib/utils/sysinst/arch/luna68k/md.h
cvs rdiff -u -r1.1 -r1.2 src/distrib/utils/sysinst/arch/luna68k/msg.md.en

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

2014-02-19 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Feb 19 12:28:38 UTC 2014

Modified Files:
src/sys/arch/macppc/dev: valkyriefb.c

Log Message:
- don't read beyond array bounds
- break a bunch of long lines
- remove an outdated comment


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/macppc/dev/valkyriefb.c

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



CVS commit: src

2014-02-19 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 19 13:01:52 UTC 2014

Modified Files:
src/lib/libc/arch/hppa: Makefile.inc
src/lib/libc/arch/hppa/gen: swapcontext.S
src/lib/libc/arch/hppa/sys: getcontext.S
src/sys/arch/hppa/include: mcontext.h
Added Files:
src/lib/libc/arch/hppa: genassym.cf

Log Message:
Provide a genassym.cf in libc for hppa and use it.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/arch/hppa/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/arch/hppa/genassym.cf
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/hppa/gen/swapcontext.S
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/hppa/sys/getcontext.S
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hppa/include/mcontext.h

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



CVS commit: src/doc

2014-02-19 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Feb 19 13:30:45 UTC 2014

Modified Files:
src/doc: CHANGES

Log Message:
Mention luna68k sysinst update.


To generate a diff of this commit:
cvs rdiff -u -r1.1889 -r1.1890 src/doc/CHANGES

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



CVS commit: src/sys/kern

2014-02-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Feb 19 15:23:20 UTC 2014

Modified Files:
src/sys/kern: exec_elf.c kern_exec.c

Log Message:
We need VMCMDs for a binary and its interpreter, so make sure we have
at least one VMCMD. This also prevents the kernel from using an
uninitialized pointer as entry point for the execution.

>From me and Christos

ok christos@


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/kern/exec_elf.c
cvs rdiff -u -r1.376 -r1.377 src/sys/kern/kern_exec.c

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



CVS commit: src/external/public-domain/sqlite/lib

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 19:29:33 UTC 2014

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
Add all: and dependall: tatgets so that sqlite3.pc actually gets built.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/public-domain/sqlite/lib/Makefile

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



CVS commit: src/lib/libkvm

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 20:21:22 UTC 2014

Modified Files:
src/lib/libkvm: kvm.c kvm_alpha.c kvm_file.c kvm_hppa.c kvm_i386.c
kvm_i386pae.c kvm_mips.c kvm_proc.c kvm_sh3.c kvm_sparc.c
kvm_sparc64.c kvm_vax.c kvm_x86_64.c

Log Message:
Remove the #include  from all of libkvm.
sys/user.h is a stub that just #includes sys/pcb.h.
There are no 'struct pcb' anywhere in here, so I'm extremely doubtful
any of the builds will fail.
OTOH it might be relying on a header that pcb.h includes.
In any case i386 and amd64 build.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/lib/libkvm/kvm.c
cvs rdiff -u -r1.26 -r1.27 src/lib/libkvm/kvm_alpha.c
cvs rdiff -u -r1.28 -r1.29 src/lib/libkvm/kvm_file.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libkvm/kvm_hppa.c
cvs rdiff -u -r1.29 -r1.30 src/lib/libkvm/kvm_i386.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libkvm/kvm_i386pae.c
cvs rdiff -u -r1.21 -r1.22 src/lib/libkvm/kvm_mips.c
cvs rdiff -u -r1.89 -r1.90 src/lib/libkvm/kvm_proc.c
cvs rdiff -u -r1.8 -r1.9 src/lib/libkvm/kvm_sh3.c
cvs rdiff -u -r1.32 -r1.33 src/lib/libkvm/kvm_sparc.c
cvs rdiff -u -r1.15 -r1.16 src/lib/libkvm/kvm_sparc64.c
cvs rdiff -u -r1.19 -r1.20 src/lib/libkvm/kvm_vax.c
cvs rdiff -u -r1.9 -r1.10 src/lib/libkvm/kvm_x86_64.c

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



CVS commit: src/sys/sys

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 20:40:40 UTC 2014

Modified Files:
src/sys/sys: user.h

Log Message:
Userspace shouldn't (and doesn't seem to) need machine/pcb.h.
Unfortunately the file is included by loads of stuff, mostly in
src/external, so can't be killed outright.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/sys/user.h

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



CVS commit: src

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 20:42:15 UTC 2014

Modified Files:
src/bin/ps: ps.c
src/usr.bin/systat: ps.c syscall.c
src/usr.bin/vmstat: vmstat.c
src/usr.bin/w: w.c

Log Message:
Remove some pointless inclusions os sys/user.h


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/bin/ps/ps.c
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/systat/ps.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/systat/syscall.c
cvs rdiff -u -r1.190 -r1.191 src/usr.bin/vmstat/vmstat.c
cvs rdiff -u -r1.77 -r1.78 src/usr.bin/w/w.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/linux/arch/amd64

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 20:50:56 UTC 2014

Modified Files:
src/sys/compat/linux/arch/amd64: linux_machdep.c

Log Message:
Don't rely on pcb.h including x86/include/sysarch.h


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/linux/arch/amd64/linux_machdep.c

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



CVS commit: src/sys

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 21:23:02 UTC 2014

Modified Files:
src/sys/arch/i386/i386: compat_16_machdep.c process_machdep.c
src/sys/arch/x86/acpi: acpi_wakeup.c
src/sys/arch/x86/x86: cpu.c ipi.c
src/sys/compat/linux/arch/i386: linux_machdep.c

Log Message:
Add explicit #include  instead of relying on pcb.h including it.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/i386/i386/compat_16_machdep.c
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/i386/i386/process_machdep.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/acpi/acpi_wakeup.c
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x86/x86/ipi.c
cvs rdiff -u -r1.157 -r1.158 src/sys/compat/linux/arch/i386/linux_machdep.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/linux32/arch/amd64

2014-02-19 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Wed Feb 19 21:45:01 UTC 2014

Modified Files:
src/sys/compat/linux32/arch/amd64: linux32_machdep.c

Log Message:
Explicitly include x86/fpu.h instead of relying in x86/frame.h including it.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 \
src/sys/compat/linux32/arch/amd64/linux32_machdep.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/arm/cortex

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 22:20:03 UTC 2014

Modified Files:
src/sys/arch/arm/cortex: files.cortex

Log Message:
Add needs-flag to arml2cc


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/cortex/files.cortex

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



CVS commit: src/sys/arch/arm/broadcom

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 22:20:45 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom: bcm53xx_board.c

Log Message:
Conditionalize call to arml2cc_init


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/broadcom/bcm53xx_board.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/arm/broadcom

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 22:21:16 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom: bcm53xx_i2c.c bcm53xx_mdio.c bcm53xx_nand.c
bcm53xx_pax.c bcm53xx_rng.c bcm53xx_sdhc.c bcm53xx_usb.c

Log Message:
#include 


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/broadcom/bcm53xx_i2c.c \
src/sys/arch/arm/broadcom/bcm53xx_mdio.c \
src/sys/arch/arm/broadcom/bcm53xx_nand.c \
src/sys/arch/arm/broadcom/bcm53xx_sdhc.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/broadcom/bcm53xx_pax.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/broadcom/bcm53xx_rng.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/broadcom/bcm53xx_usb.c

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



CVS commit: [matt-nb5-mips64] src/sys/arch/arm/cortex

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 23:18:40 UTC 2014

Modified Files:
src/sys/arch/arm/cortex [matt-nb5-mips64]: files.cortex

Log Message:
arml2cc -> needs-flag


To generate a diff of this commit:
cvs rdiff -u -r1.4.6.2 -r1.4.6.3 src/sys/arch/arm/cortex/files.cortex

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



CVS commit: src/sys/arch/arm/broadcom

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 23:19:16 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom: bcm53xx_board.c

Log Message:
Fix coherent range for BCM563XX


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/broadcom/bcm53xx_board.c

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



CVS commit: [matt-nb5-mips64] src/sys/arch/arm/broadcom

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 23:19:57 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom [matt-nb5-mips64]: bcm53xx_board.c

Log Message:
Fix dmaranges for BCM563XX
Conditionalize call to arml2cc_init


To generate a diff of this commit:
cvs rdiff -u -r1.17.2.2 -r1.17.2.3 src/sys/arch/arm/broadcom/bcm53xx_board.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/arm/broadcom

2014-02-19 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Feb 19 23:21:02 UTC 2014

Modified Files:
src/sys/arch/arm/broadcom: bcm53xx_board.c

Log Message:
fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/broadcom/bcm53xx_board.c

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



CVS commit: src/sys/lib/libsa

2014-02-19 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb 20 00:29:03 UTC 2014

Modified Files:
src/sys/lib/libsa: loadfile_aout.c

Log Message:
Casting to void is the canonical way of marking a variable as
potentially unused.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/lib/libsa/loadfile_aout.c

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



CVS commit: src/sys/rump

2014-02-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 20 00:41:05 UTC 2014

Modified Files:
src/sys/rump/include/rump: rump.h
src/sys/rump/librump/rumpkern: signals.c

Log Message:
Remove the "host" signal model.  I'm not sure it ever made any sense.
I'm also quite sure nobody ever really wanted to use it.

Change the "raise" sigmodel to include the rump kernel PID in the call
to rumpuser_kill().  The purpose is to provide some hint for non-POSIX
platforms which don't sport signals and multiplex many clients in a
single address space.

While this is technically an ABI change, see above.  Also, since
rumpuser_kill() was not documented, I'll just claim I'm fixing a bug in
the implementation (and will be sure to document the interface correctly
very soon).


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/rump/include/rump/rump.h
cvs rdiff -u -r1.12 -r1.13 src/sys/rump/librump/rumpkern/signals.c

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



CVS commit: src/lib

2014-02-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 20 00:42:27 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c
src/lib/librumpuser: Makefile rumpuser.c
Added Files:
src/lib/librumpuser: rumpuser_sigtrans.c

Log Message:
Translate signal numbers between rump kernel and (POSIX) host.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/lib/librumpclient/rumpclient.c
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpuser/Makefile
cvs rdiff -u -r1.55 -r1.56 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r0 -r1.1 src/lib/librumpuser/rumpuser_sigtrans.c

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



CVS commit: src/lib/librumpuser

2014-02-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 20 00:43:26 UTC 2014

Modified Files:
src/lib/librumpuser: rumpuser.3

Log Message:
document rumpuser_kill()


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/librumpuser/rumpuser.3

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



CVS commit: src/lib/librumpuser

2014-02-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 20 00:44:20 UTC 2014

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
make implementation of rumpuser_kill() match the documentation


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/lib/librumpuser/rumpuser.c

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



CVS commit: src/sys/rump/librump/rumpkern

2014-02-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 20 01:01:10 UTC 2014

Modified Files:
src/sys/rump/librump/rumpkern: emul.c

Log Message:
+ resettodr


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/rump/librump/rumpkern/emul.c

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



CVS commit: src/lib/librumpuser

2014-02-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 20 01:24:49 UTC 2014

Modified Files:
src/lib/librumpuser: rumpuser_int.h

Log Message:
remember to commit this file too


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_int.h

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



CVS commit: src/sys/arch/sparc64/sparc64

2014-02-19 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb 20 01:40:42 UTC 2014

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

Log Message:
Use a format string.


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 src/sys/arch/sparc64/sparc64/trap.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

2014-02-19 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb 20 01:41:28 UTC 2014

Modified Files:
src/sys/dev/pci: radeonfb.c

Log Message:
Mark radeonfb_unclip as unused.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/pci/radeonfb.c

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



CVS commit: src/external/gpl2/lvm2/dist

2014-02-19 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb 20 02:09:58 UTC 2014

Modified Files:
src/external/gpl2/lvm2/dist/include: xlate.h
src/external/gpl2/lvm2/dist/lib/mm: xlate.h

Log Message:
Use sys/endian.h for bswapXX.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/lvm2/dist/include/xlate.h
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/lvm2/dist/lib/mm/xlate.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/sun

2014-02-19 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb 20 02:09:28 UTC 2014

Modified Files:
src/sys/dev/sun: bwtwo.c

Log Message:
Call memset in a loop, not loop around doing nothing and calling memset
once.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/sun/bwtwo.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/amd64/conf

2014-02-19 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Feb 20 03:48:06 UTC 2014

Modified Files:
src/sys/arch/amd64/conf: files.amd64

Log Message:
Since fpu.c is contained in every kernel, and it calls routines in
convert_xmm_s87.c we need to include convert_xmm_s87.c in all kernels.

Fixes building of kernels that do not have COMPAT_NETBSD32 defined.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/amd64/conf/files.amd64

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