Re: CVS commit: src/common/lib/libc/string

2014-04-15 Thread Alan Barrett
On Mon, 14 Apr 2014, Joerg Sonnenberger wrote: Modified Files: src/common/lib/libc/string: bcopy.c Log Message: Using bcopy/memcpy with NULL arguments is valid as long as the size is also 0. No, it's undefined behaviour. C99 section 7.21.1: Unless explicitly stated otherwise in

re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-15 Thread matthew green
Tetsuya Isaki writes: Module Name: src Committed By: isaki Date: Mon Apr 14 14:24:27 UTC 2014 Modified Files: src/sys/arch/x68k/stand/boot_ustar: Makefile Log Message: Remove -mc68000 asm option for GCC4.8 (or new binutils?). With this option, new gcc complains that

Re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-15 Thread Martin Husemann
On Tue, Apr 15, 2014 at 04:51:29PM +1000, matthew green wrote: hmmm this option is now called -march=68000. i don't think any x68k are 68000 are they? all 020/030/040? perhaps using -mcpu=m68020 here might be best? i would test some and see if size or speed matters any. It doesn't really

re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-15 Thread matthew green
Martin Husemann writes: On Tue, Apr 15, 2014 at 04:51:29PM +1000, matthew green wrote: hmmm this option is now called -march=68000. i don't think any x68k are 68000 are they? all 020/030/040? perhaps using -mcpu=m68020 here might be best? i would test some and see if size or speed

Re: CVS commit: src/common/lib/libc/string

2014-04-15 Thread Steffen Nurpmeso
Hello, Joerg Sonnenberger jo...@netbsd.org wrote: |Module Name: src |Committed By: joerg |Date: Mon Apr 14 18:18:58 UTC 2014 | |Modified Files: | src/common/lib/libc/string: bcopy.c | |Log Message: |Using bcopy/memcpy with NULL arguments is valid as long as the size is |also 0.

Re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-15 Thread Izumi Tsutsui
mrg@ wrote: Martin Husemann writes: On Tue, Apr 15, 2014 at 04:51:29PM +1000, matthew green wrote: hmmm this option is now called -march=68000. I don't think this is correct. i don't think any x68k are 68000 are they? all 020/030/040? perhaps using -mcpu=m68020 here might be

Re: CVS commit: src/common/lib/libc/string

2014-04-15 Thread Steffen Nurpmeso
P.S.: i wasn't subscribed to this list (until hopefully now), so i haven't seen that Alan Barrett already commented. But now that i read it, ISO C 2011 states the same (7.24.1). --steffen

Re: CVS commit: src/common/lib/libc/string

2014-04-15 Thread Joerg Sonnenberger
On Tue, Apr 15, 2014 at 08:06:57AM +0200, Alan Barrett wrote: On Mon, 14 Apr 2014, Joerg Sonnenberger wrote: Modified Files: src/common/lib/libc/string: bcopy.c Log Message: Using bcopy/memcpy with NULL arguments is valid as long as the size is also 0. No, it's undefined behaviour.

Re: CVS commit: src/sys/kern

2014-04-15 Thread Taylor R Campbell
Date: Tue, 15 Apr 2014 09:50:45 + From: Juergen Hannken-Illjes hann...@netbsd.org Fix a deadlock where one thread exits, enters fstrans_lwp_dtor() and wants fstrans_lock. This thread holds the proc_lock. This sounds fishy. lwp_exit does not hold proc_lock while calling

Re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-15 Thread Dennis Ferguson
On 15 Apr, 2014, at 05:14 , Izumi Tsutsui tsut...@ceres.dti.ne.jp wrote: - NetBSD/x68k supports only X680x0 machines with MC68030 and higher processors. - Normal X68000 machines (i.e. all X680x0 except X68030) have MC68000, so 030 accelerators are required for the X68000 models, i.e.

Re: CVS commit: src/sys/netinet

2014-04-15 Thread Erik Fair
This should be pulled up to netbsd-6 On Apr 12, 2014, at 05:24, Greg Troxel g...@netbsd.org wrote: Module Name: src Committed By: gdt Date: Sat Apr 12 12:24:50 UTC 2014 Modified Files: src/sys/netinet: if_arp.c Log Message: revarprequest: Avoid leaking mbuf. In

Re: CVS commit: src/sys/netinet

2014-04-15 Thread Greg Troxel
Erik Fair f...@netbsd.org writes: On Apr 12, 2014, at 05:24, Greg Troxel g...@netbsd.org wrote: Module Name: src Committed By:gdt Date:Sat Apr 12 12:24:50 UTC 2014 Modified Files: src/sys/netinet: if_arp.c Log Message: revarprequest: Avoid leaking mbuf.

CVS commit: src/sys/kern

2014-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Apr 15 06:14:55 UTC 2014 Modified Files: src/sys/kern: kern_verifiedexec.c Log Message: There's no need for this NULL-check. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/kern/kern_verifiedexec.c

CVS commit: src/sys/kern

2014-04-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Apr 15 09:50:45 UTC 2014 Modified Files: src/sys/kern: vfs_trans.c Log Message: Fix a deadlock where one thread exits, enters fstrans_lwp_dtor() and wants fstrans_lock. This thread holds the proc_lock. Another thread holds

CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto

2014-04-15 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 15 10:02:21 UTC 2014 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto: aes.inc crypto.inc sha.inc Log Message: Append to CPPFLAGS.${src}, don't overwrite it. To generate a diff of this commit:

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

2014-04-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Apr 15 10:24:54 UTC 2014 Modified Files: src/sys/arch/sparc/dev: sx.c sxvar.h Log Message: print chip revision on attach To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc/dev/sx.c cvs rdiff -u

CVS commit: src/sys/arch/sparc/sparc

2014-04-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Apr 15 10:39:44 UTC 2014 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: cpu0 at mainbus0: mid 8: RT620/625 @ 125000 MHz, on-chip FPU unfortunately that's too good to be true, so print frequency in MHz when we

CVS commit: src

2014-04-15 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 15 11:44:26 UTC 2014 Modified Files: src/share/mk: bsd.own.mk src/sys/lib/libunwind: DwarfParser.hpp Registers.hpp unwind_registers.S Log Message: Add initial unwind support for SPARC/SPARC64. To generate a diff

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

2014-04-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Apr 15 12:22:49 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: fix same pasto as in sparc/cpu.c - print frequency in MHz if we say it's in MHz To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci/ixgbe

2014-04-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Apr 15 12:37:59 UTC 2014 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add __diagused. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are

CVS commit: src/sys/rump

2014-04-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Apr 15 13:41:46 UTC 2014 Modified Files: src/sys/rump: Makefile.rump Log Message: add multi-inclusion protection To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/rump/Makefile.rump Please note that

CVS commit: src/sys/rump/dev/lib/libpci

2014-04-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Apr 15 13:47:06 UTC 2014 Modified Files: src/sys/rump/dev/lib/libpci: rumpdev_pci.c Log Message: update to new pci_intr_string() To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/kern

2014-04-15 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Apr 15 15:50:16 UTC 2014 Modified Files: src/sys/kern: kern_exec.c Log Message: exec_loadvm: Isolate stack size calc logic into separate functions. To generate a diff of this commit: cvs rdiff -u -r1.395 -r1.396

CVS commit: src/sys/kern

2014-04-15 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Apr 15 16:44:57 UTC 2014 Modified Files: src/sys/kern: kern_exec.c Log Message: execve_runproc: Isolate ps_strings filling code into a function. To generate a diff of this commit: cvs rdiff -u -r1.397 -r1.398

CVS commit: src/sys/kern

2014-04-15 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Apr 15 17:06:21 UTC 2014 Modified Files: src/sys/kern: kern_exec.c Log Message: execve_runproc: Isolate new stack arg filling code into a function. To generate a diff of this commit: cvs rdiff -u -r1.398 -r1.399

CVS commit: src/sys/compat/linux/common

2014-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Apr 15 17:29:00 UTC 2014 Modified Files: src/sys/compat/linux/common: linux_exec_elf32.c Log Message: A specially-crafted binary could easily control a kernel array index. Add some checks to ensure that nothing will be read

CVS commit: src/sys/compat/linux/arch

2014-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Apr 15 17:53:09 UTC 2014 Modified Files: src/sys/compat/linux/arch/i386: linux_ptrace.c src/sys/compat/linux/arch/powerpc: linux_ptrace.c Log Message: There are two times the same branches. } else if

CVS commit: src

2014-04-15 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 15 18:40:34 UTC 2014 Modified Files: src/share/mk: bsd.own.mk src/sys/lib/libunwind: Registers.hpp unwind_registers.S Log Message: Add basic Alpha support to libunwind. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/evbarm/odroid

2014-04-15 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Tue Apr 15 20:36:07 UTC 2014 Modified Files: src/sys/arch/evbarm/odroid: odroid_machdep.c Log Message: Make the PoP detection both EXYNOS4 defined and when running on a generic kernel, check if we're on a EXYNOS4 architecture to

CVS commit: src

2014-04-15 Thread Brian Ginsbach
Module Name:src Committed By: ginsbach Date: Tue Apr 15 22:09:27 UTC 2014 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/usr.bin: Makefile Log Message: Hook getaddrinfo(1) into the build. Hi riastradh! To generate a

CVS commit: src/external/gpl3/gdb/dist/gdb

2014-04-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 16 00:32:33 UTC 2014 Modified Files: src/external/gpl3/gdb/dist/gdb: amd64nbsd-nat.c Log Message: supply a fake cs that has has not have SEL_UPL set, so that our trapframe sniffer works. To generate a diff of this

CVS commit: src/external/gpl3/gdb/dist/gdb

2014-04-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 16 00:34:10 UTC 2014 Modified Files: src/external/gpl3/gdb/dist/gdb: amd64nbsd-tdep.c Log Message: take constant expressions out of the loop. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

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

2014-04-15 Thread Hisashi T Fujinaka
Module Name:src Committed By: htodd Date: Wed Apr 16 00:41:07 UTC 2014 Modified Files: src/distrib/sets/lists/debug: mi Log Message: Add getaddrinfo.debug to lists. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/distrib/sets/lists/debug/mi Please

CVS commit: src/sys/kern

2014-04-15 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Apr 16 01:30:33 UTC 2014 Modified Files: src/sys/kern: kern_exec.c Log Message: execve_runproc: Isolate path / commandname (proc:p_comm) related code into a function. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/gpl3/gdb/dist/gdb

2014-04-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 16 02:14:44 UTC 2014 Modified Files: src/external/gpl3/gdb/dist/gdb: amd64nbsd-nat.c amd64nbsd-tdep.c Log Message: It is not nice to fake things we don't have; instead check explicitly that we can get CS. To generate

CVS commit: [netbsd-6-0] src

2014-04-15 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Wed Apr 16 03:32:54 UTC 2014 Modified Files: src/doc [netbsd-6-0]: LAST_MINUTE README.files src/gnu/usr.bin/groff/tmac [netbsd-6-0]: mdoc.local src/sys/sys [netbsd-6-0]: param.h Added Files: src/doc

CVS commit: [netbsd-6-1] src

2014-04-15 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Wed Apr 16 03:39:48 UTC 2014 Modified Files: src/doc [netbsd-6-1]: LAST_MINUTE README.files src/gnu/usr.bin/groff/tmac [netbsd-6-1]: mdoc.local src/sys/sys [netbsd-6-1]: param.h Added Files: src/doc

CVS commit: [netbsd-6-1] src/distrib/sets/lists/comp

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:20:32 UTC 2014 Modified Files: src/distrib/sets/lists/comp [netbsd-6-1]: shl.mi Log Message: Pull up following revision(s) (requested by htodd in ticket #1046): distrib/sets/lists/comp/shl.mi patch

CVS commit: [netbsd-6-0] src/distrib/sets/lists/comp

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:21:20 UTC 2014 Modified Files: src/distrib/sets/lists/comp [netbsd-6-0]: shl.mi Log Message: Pull up following revision(s) (requested by htodd in ticket #1046): distrib/sets/lists/comp/shl.mi patch

CVS commit: [netbsd-6] src/crypto/external/bsd/heimdal/dist/lib/roken

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:46:00 UTC 2014 Modified Files: src/crypto/external/bsd/heimdal/dist/lib/roken [netbsd-6]: resolve.c Log Message: Pull up following revision(s) (requested by hannken in ticket #1047):

CVS commit: [netbsd-6-1] src/crypto/external/bsd/heimdal/dist/lib/roken

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:46:51 UTC 2014 Modified Files: src/crypto/external/bsd/heimdal/dist/lib/roken [netbsd-6-1]: resolve.c Log Message: Pull up following revision(s) (requested by hannken in ticket #1047):

CVS commit: [netbsd-6-0] src/crypto/external/bsd/heimdal/dist/lib/roken

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:47:22 UTC 2014 Modified Files: src/crypto/external/bsd/heimdal/dist/lib/roken [netbsd-6-0]: resolve.c Log Message: Pull up following revision(s) (requested by hannken in ticket #1047):

CVS commit: [netbsd-6] src/doc

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:47:50 UTC 2014 Modified Files: src/doc [netbsd-6]: CHANGES-6.2 Log Message: Ticket 1046. To generate a diff of this commit: cvs rdiff -u -r1.1.2.103 -r1.1.2.104 src/doc/CHANGES-6.2 Please note that diffs are not

CVS commit: [netbsd-6-1] src/doc

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:48:19 UTC 2014 Modified Files: src/doc [netbsd-6-1]: CHANGES-6.1.5 Log Message: Ticket 1046 and 1047. To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/CHANGES-6.1.5 Please note that

CVS commit: [netbsd-6-0] src/doc

2014-04-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 16 05:48:40 UTC 2014 Modified Files: src/doc [netbsd-6-0]: CHANGES-6.0.6 Log Message: Ticket 1046 and 1047. To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/CHANGES-6.0.6 Please note that