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

2013-11-11 Thread Jukka Ruohonen
On Sun, Nov 10, 2013 at 11:17:54AM -0800, John Nemeth wrote: } x86_wbind()? Which however appears to be (icorrectly?) #ifndef'd for Xen. Uh, the function for Xen would be wbinvd(), which would create a very nice infinite loop as all that function does is call xpq_flush_cache(). This

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

2013-11-11 Thread Jukka Ruohonen
On Mon, Nov 11, 2013 at 02:52:30AM -0800, John Nemeth wrote: My point is, if you want to know, go read the thread in port-xen@, or the code. Also, what trivial function for Xen? The wrappers in cpufunc.S'es. - Jukka.

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

2013-11-11 Thread John Nemeth
On Nov 11, 12:30pm, Jukka Ruohonen wrote: } On Sun, Nov 10, 2013 at 11:17:54AM -0800, John Nemeth wrote: } } x86_wbind()? Which however appears to be (icorrectly?) #ifndef'd for Xen. } } Uh, the function for Xen would be wbinvd(), which would create } a very nice infinite loop as all

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

2013-11-11 Thread Jukka Ruohonen
Thanks for the explanation! Btw, it was not criticism but a question. - Jukka. On Mon, Nov 11, 2013 at 12:31:19PM -0800, John Nemeth wrote: On Nov 11, 1:05pm, Jukka Ruohonen wrote: } On Mon, Nov 11, 2013 at 02:52:30AM -0800, John Nemeth wrote: } My point is, if you want to know, go

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

2013-11-11 Thread John Nemeth
On Nov 11, 1:05pm, Jukka Ruohonen wrote: } On Mon, Nov 11, 2013 at 02:52:30AM -0800, John Nemeth wrote: } My point is, if you want to know, go read the thread in port-xen@, } or the code. Also, what trivial function for Xen? } } The wrappers in cpufunc.S'es. So that would be

CVS commit: src/lib/csu/common

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 10:24:27 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Explicitly depend on sys/param.h to pick up __NetBSD_Version changes. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/share/mk

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 10:24:53 UTC 2013 Modified Files: src/share/mk: bsd.README bsd.prog.mk Log Message: Relink binaries if crti.o changes. To generate a diff of this commit: cvs rdiff -u -r1.321 -r1.322 src/share/mk/bsd.README cvs rdiff

CVS commit: src

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 11:10:45 UTC 2013 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/external/gpl3/gcc/dist/gcc/config/i386: netbsd-elf.h src/sys/arch/amd64/amd64: machdep.c

CVS commit: src/sys/arch/usermode/target/arm

2013-11-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Nov 11 13:52:04 UTC 2013 Modified Files: src/sys/arch/usermode/target/arm: cpu_arm.c Log Message: implement md_get_pc and md_set_pc To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/kern

2013-11-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Nov 11 15:22:11 UTC 2013 Modified Files: src/sys/kern: exec_elf.c Log Message: Remove dead code To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/kern/exec_elf.c Please note that diffs are not public

CVS commit: src/usr.bin/rump_server

2013-11-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 11 15:53:56 UTC 2013 Modified Files: src/usr.bin/rump_server: Makefile Log Message: Handle static rump kernel base correctly. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/rump_server/Makefile

CVS commit: src/crypto/external/bsd/openssh/dist

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:32:10 UTC 2013 Modified Files: src/crypto/external/bsd/openssh/dist: key.c ssh-pkcs11-helper.c Log Message: CID-1128381: Avoid use after free To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/crypto/external/bsd/openssh/dist

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:43:26 UTC 2013 Modified Files: src/crypto/external/bsd/openssh/dist: sftp-client.c Log Message: CID 1092473: Fix file descriptor leak To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/crypto/external/bsd/openssh/dist

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:44:43 UTC 2013 Modified Files: src/crypto/external/bsd/openssh/dist: serverloop.c Log Message: CID 1092495: Widen operation to prevent overflow To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/crypto/external/bsd/openssh/dist

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:46:21 UTC 2013 Modified Files: src/crypto/external/bsd/openssh/dist: sftp-client.c Log Message: CID 1128376: check ftruncate result To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/usr.sbin/syslogd

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:39:21 UTC 2013 Modified Files: src/usr.sbin/syslogd: syslogd.c Log Message: CID 1128379: Fix TOCTOU, always open the file first with non-blocking I/O, do that stat later and leave the file as non-blocking because

CVS commit: src/sys/arch/x86/x86

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 17:02:53 UTC 2013 Modified Files: src/sys/arch/x86/x86: intel_busclock.c Log Message: CID 1128377: Comment out unreachable code; model is only 4 bits wide, so none of these constants can ever match. To generate a

CVS commit: src/sys/fs/tmpfs

2013-11-11 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Nov 11 17:04:06 UTC 2013 Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c Log Message: tmpfs_alloc_node: use cprng_fast64(), the old random(9) shall be removed. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86

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

2013-11-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 11 23:06:40 UTC 2013 Modified Files: src/sys/rump/librump/rumpkern: intr.c Log Message: Defer softint thread creation to first softint_establish() for that level. Speeds up rump kernel bootstrap and saves memory -- very

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

2013-11-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 11 23:11:30 UTC 2013 Modified Files: src/sys/rump/librump/rumpkern: intr.c Log Message: Avoid calling curcpu() when we know the result is constant. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/external/bsd/llvm

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 23:51:36 UTC 2013 Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/include: Makefile src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile

CVS commit: src

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 23:57:34 UTC 2013 Modified Files: src/lib/libm: Makefile src/lib/libm/src: namespace.h s_ceil.c s_floor.c s_round.c s_truncl.c src/tests/lib/libm: t_ceil.c t_round.c Added Files: src/lib/libm/src:

CVS commit: src

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Nov 12 00:10:29 UTC 2013 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libm: Makefile src/lib/libm/man: ceil.3 round.3 Log Message: Man page entries for ceill, floorl and roundl. To generate a diff

CVS commit: src

2013-11-11 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Nov 12 00:46:34 UTC 2013 Modified Files: src/lib/libnpf: npf.3 npf.c npf.h src/sys/net/npf: npf.h npf_bpf.c npf_conf.c npf_ctl.c npf_impl.h npf_tableset.c src/usr.sbin/npf/npfctl: npf.conf.5

CVS commit: src/sys/ufs/ffs

2013-11-11 Thread David A. Holland
Module Name:src Committed By: dholland Date: Tue Nov 12 03:29:22 UTC 2013 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: clarify warning printout To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145 src/sys/ufs/ffs/ffs_alloc.c Please note that

CVS commit: src/usr.sbin/npf/npfctl

2013-11-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Nov 12 06:07:31 UTC 2013 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/npf/npfctl/npf.conf.5 Please

CVS commit: src/lib/csu/common

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 10:24:27 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Explicitly depend on sys/param.h to pick up __NetBSD_Version changes. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/share/mk

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 10:24:53 UTC 2013 Modified Files: src/share/mk: bsd.README bsd.prog.mk Log Message: Relink binaries if crti.o changes. To generate a diff of this commit: cvs rdiff -u -r1.321 -r1.322 src/share/mk/bsd.README cvs rdiff

CVS commit: src

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 11:10:45 UTC 2013 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/external/gpl3/gcc/dist/gcc/config/i386: netbsd-elf.h src/sys/arch/amd64/amd64: machdep.c

CVS commit: src/sys/arch/usermode/target/arm

2013-11-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Nov 11 13:52:04 UTC 2013 Modified Files: src/sys/arch/usermode/target/arm: cpu_arm.c Log Message: implement md_get_pc and md_set_pc To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/kern

2013-11-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Nov 11 15:22:11 UTC 2013 Modified Files: src/sys/kern: exec_elf.c Log Message: Remove dead code To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/kern/exec_elf.c Please note that diffs are not public

CVS commit: src/sys/net/npf

2013-11-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Nov 11 15:28:37 UTC 2013 Modified Files: src/sys/net/npf: npf_if.c Log Message: Add missing [0] (check for unused entries) when matching interface names. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/rump_server

2013-11-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 11 15:53:56 UTC 2013 Modified Files: src/usr.bin/rump_server: Makefile Log Message: Handle static rump kernel base correctly. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/rump_server/Makefile

CVS commit: src/crypto/external/bsd/openssh/dist

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:32:10 UTC 2013 Modified Files: src/crypto/external/bsd/openssh/dist: key.c ssh-pkcs11-helper.c Log Message: CID-1128381: Avoid use after free To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/crypto/external/bsd/openssh/dist

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 16:44:43 UTC 2013 Modified Files: src/crypto/external/bsd/openssh/dist: serverloop.c Log Message: CID 1092495: Widen operation to prevent overflow To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/arch/x86/x86

2013-11-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 11 17:02:53 UTC 2013 Modified Files: src/sys/arch/x86/x86: intel_busclock.c Log Message: CID 1128377: Comment out unreachable code; model is only 4 bits wide, so none of these constants can ever match. To generate a

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

2013-11-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 11 23:06:40 UTC 2013 Modified Files: src/sys/rump/librump/rumpkern: intr.c Log Message: Defer softint thread creation to first softint_establish() for that level. Speeds up rump kernel bootstrap and saves memory -- very

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

2013-11-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 11 23:11:30 UTC 2013 Modified Files: src/sys/rump/librump/rumpkern: intr.c Log Message: Avoid calling curcpu() when we know the result is constant. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/external/bsd/llvm

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 23:51:36 UTC 2013 Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/include: Makefile src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile

CVS commit: src

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 11 23:57:34 UTC 2013 Modified Files: src/lib/libm: Makefile src/lib/libm/src: namespace.h s_ceil.c s_floor.c s_round.c s_truncl.c src/tests/lib/libm: t_ceil.c t_round.c Added Files: src/lib/libm/src:

CVS commit: src

2013-11-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Nov 12 00:10:29 UTC 2013 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libm: Makefile src/lib/libm/man: ceil.3 round.3 Log Message: Man page entries for ceill, floorl and roundl. To generate a diff

CVS commit: src

2013-11-11 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Nov 12 00:46:34 UTC 2013 Modified Files: src/lib/libnpf: npf.3 npf.c npf.h src/sys/net/npf: npf.h npf_bpf.c npf_conf.c npf_ctl.c npf_impl.h npf_tableset.c src/usr.sbin/npf/npfctl: npf.conf.5

CVS commit: src/sys/ufs/ffs

2013-11-11 Thread David A. Holland
Module Name:src Committed By: dholland Date: Tue Nov 12 03:29:22 UTC 2013 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: clarify warning printout To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145 src/sys/ufs/ffs/ffs_alloc.c Please note that

CVS commit: src/lib/libnpf

2013-11-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Nov 12 06:06:21 UTC 2013 Modified Files: src/lib/libnpf: npf.3 Log Message: Remove superfluous comma. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libnpf/npf.3 Please note that diffs are not public

CVS commit: src/usr.sbin/npf/npfctl

2013-11-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Nov 12 06:07:31 UTC 2013 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/npf/npfctl/npf.conf.5 Please