CVS commit: src/sys/arch/amd64

2016-05-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 12 07:21:18 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/amd64/conf: kern.ldscript

Log Message:
Map the rodata segment independently on amd64, and remove the W permission
on it.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amd64/conf/kern.ldscript

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

2016-05-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 12 07:51:10 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: locore.S

Log Message:
Define fillkpt_nox, which sets up a set of pages and puts the NOX bit on
them by using nox_flag. Use fillkpt_nox to map the rodata segment
without X permissions.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/amd64/amd64/locore.S

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



CVS commit: src/external/gpl3

2016-05-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 12 08:43:50 UTC 2016

Modified Files:
src/external/gpl3/binutils.old/dist: config.guess
src/external/gpl3/binutils/dist: config.guess
src/external/gpl3/gcc.old/dist: config.guess
src/external/gpl3/gcc/dist: config.guess

Log Message:
Sync config.guess with upstream, but maintain earm* stuff.

Fixes tools build on arm platform.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/binutils.old/dist/config.guess
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/binutils/dist/config.guess
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc.old/dist/config.guess
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/dist/config.guess

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



CVS commit: [netbsd-7] src/external/gpl3/gcc/usr.bin/gcc/arch

2016-05-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu May 12 08:45:14 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/arm [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earm [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4 [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6 [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7 [netbsd-7]: configargs.h
defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb [netbsd-7]:
configargs.h defs.mk gtyp-input.list tm.h

Log Message:
Mknative for ticket #1160, from mrg via patch.


To generate a diff of this commit:
cvs rdiff -u -r1.13.2.3 -r1.13.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h
cvs rdiff -u -r1.6.4.2 -r1.6.4.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/defs.mk
cvs rdiff -u -r1.2 -r1.2.4.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/tm.h
cvs rdiff -u -r1.13.2.3 -r1.13.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/configargs.h
cvs rdiff -u -r1.6.4.2 -r1.6.4.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/defs.mk
cvs rdiff -u -r1.2 -r1.2.4.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/gtyp-input.list
cvs rdiff -u -r1.3 -r1.3.4.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/tm.h
cvs rdiff -u -r1.11.2.3 -r1.11.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.5.4.2 -r1.5.4.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.2 -r1.2.4.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r1.7.2.3 -r1.7.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
cvs rdiff -u -r1.4.6.2 -r1.4.6.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h
cvs rdiff -u -r1.8.2.3 -r1.8.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h
cvs rdiff -u -r1.5.6.2 -r1.5.6.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/defs.mk
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/tm.h
cvs rdiff -u -r1.6.2.3 -r1.6.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h
cvs rdiff -u -r1.3.6.2 -r1.3.6.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/defs.mk
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/tm.h
cvs rdiff -u -r1.5.2.3 -r1.5.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/configargs.h
cvs rdiff -u -r1.3.6.2 -r1.3.6.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/tm.h
cvs rdiff -u -r1.5.2.3 -r1.5.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/configargs.h
cvs rdiff -u -r1.3.6.2 -r1.3.6.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/defs.mk
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/tm.h
cvs rdiff -u -r1.5.2.3 -r1.5.2.4 \
src/external/gpl3/gcc/usr.bin/gcc/ar

CVS commit: [netbsd-7] src/doc

2016-05-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu May 12 08:49:49 UTC 2016

Modified Files:
src/doc [netbsd-7]: CHANGES-7.1

Log Message:
Ammend #1160


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.87 -r1.1.2.88 src/doc/CHANGES-7.1

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

2016-05-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 12 09:05:16 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/amd64/conf: kern.ldscript

Log Message:
Map the data+bss chunk independently on amd64, and remove the X
permission on it.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amd64/conf/kern.ldscript

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



CVS commit: src/sys/arch

2016-05-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 12 09:40:23 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: mptramp.S
src/sys/arch/i386/i386: mptramp.S

Log Message:
KNF, and reduce the diff between amd64 and i386.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amd64/amd64/mptramp.S
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/i386/i386/mptramp.S

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



CVS commit: src/external/gpl3

2016-05-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 12 10:55:03 UTC 2016

Modified Files:
src/external/gpl3/binutils.old/dist: config.guess
src/external/gpl3/binutils/dist: config.guess
src/external/gpl3/gcc.old/dist: config.guess
src/external/gpl3/gcc/dist: config.guess

Log Message:
Doh... don't add the ABI to 'os'.  Hopefully arm is really fixed now.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils.old/dist/config.guess
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/dist/config.guess
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc.old/dist/config.guess
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/dist/config.guess

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



CVS commit: src/tests/kernel

2016-05-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu May 12 11:41:43 UTC 2016

Modified Files:
src/tests/kernel: t_rnd.c

Log Message:
Test that reading /dev/random returns within a reasonable time.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/kernel/t_rnd.c

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



CVS commit: src/external/gpl3

2016-05-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 12 12:51:53 UTC 2016

Modified Files:
src/external/gpl3/binutils.old/dist: config.guess
src/external/gpl3/binutils/dist: config.guess
src/external/gpl3/gcc.old/dist: config.guess
src/external/gpl3/gcc/dist: config.guess

Log Message:
For earm use the compiler to determine sf vs hf


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/binutils.old/dist/config.guess
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/config.guess
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc.old/dist/config.guess
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/dist/config.guess

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



CVS commit: src/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 12 13:05:18 UTC 2016

Modified Files:
src/bin/sh: arith.y

Log Message:
Fix the implementation of the ?: $(( )) operator.  It is right associative...

ok christos@


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/bin/sh/arith.y

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



CVS commit: src/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 12 13:15:43 UTC 2016

Modified Files:
src/bin/sh: sh.1

Log Message:
Document that a N>&N (or N<&N) redirection turns off close-on-exec for N
(where N is a decimal fd number) either when used as
some-command N>&N
(where fd N is passed, open, to some-command - which is obviously what is
wanted)

Or as
exec N>&N
which effects fd N for all future commands.

Note that this means
exec N>foo N>&N
returns to the old behaviour of leaving the file descriptor open
when commands are run (as do most shells, other than ksh) and works for
both new and old NetBSD shells (old ones never set close-on-exec, and treat
N>&N as a rather meaingless no-op request, and just ignore it), new ones
set close-on-exec on the first redirection, then disable it again on the
second.

Everything here about >& for output fds applies to <& for input ones.

OK christos@


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/bin/sh/sh.1

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



CVS commit: src/tests/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 12 13:34:23 UTC 2016

Modified Files:
src/tests/bin/sh: t_arith.sh

Log Message:
Verify that questionable characters don't have bad associates.

ok christos@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/bin/sh/t_arith.sh

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



CVS commit: src/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 12 13:31:37 UTC 2016

Modified Files:
src/bin/sh: redir.c redir.h

Log Message:
More work on file descriptors...   This is the copyfd() cleanup.
copyfd() duplicates file descriptors - it used to be widely used,
but these days has seen its popularity dwindle.   Strip it of an
option that ceased to be variable (simplifying code) and cause all
its users to check its result, so it does not need to handle errors
itself (simplifying code further), and make it become a private inernal
routine in redir.c (all callers from other places have switched to a
more modern interface.)  Make sure we error() if N>&N fails (if N is closed.)


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/bin/sh/redir.c
cvs rdiff -u -r1.20 -r1.21 src/bin/sh/redir.h

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



CVS commit: src/tests/bin/sh

2016-05-12 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 12 14:25:11 UTC 2016

Modified Files:
src/tests/bin/sh: t_arith.sh

Log Message:
Grunge.  I know I fixed this typo before...  must have been in a different
couy of the test.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/bin/sh/t_arith.sh

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2016-05-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 12 14:50:39 UTC 2016

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: i915_gpu_error.c

Log Message:
Avoid taking locks during interrupts and explain why we are doing it this way.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gpu_error.c

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



CVS commit: src/external/gpl3

2016-05-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 12 15:27:54 UTC 2016

Modified Files:
src/external/gpl3/binutils.old/dist: config.guess
src/external/gpl3/binutils/dist: config.guess
src/external/gpl3/gcc.old/dist: config.guess
src/external/gpl3/gcc/dist: config.guess

Log Message:
Preserve the arm architecture version (if present)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/binutils.old/dist/config.guess
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/config.guess
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc.old/dist/config.guess
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/dist/config.guess

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



CVS commit: src/sys/dev/ic

2016-05-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 12 18:57:38 UTC 2016

Modified Files:
src/sys/dev/ic: sl811hs.c

Log Message:
Fix locking in slhci_roothub_ctrl


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/ic/sl811hs.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

2016-05-12 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Thu May 12 20:28:34 UTC 2016

Modified Files:
src/usr.bin/make: compat.c job.c meta.c meta.h

Log Message:
Propagate errors from filemon.

If we encounter errors producing a .meta file,
we should not consider the target completed successfully.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/usr.bin/make/compat.c
cvs rdiff -u -r1.186 -r1.187 src/usr.bin/make/job.c
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/make/meta.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/meta.h

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



CVS commit: src/sys/conf

2016-05-12 Thread Noriyuki Soda
Module Name:src
Committed By:   soda
Date:   Fri May 13 02:00:36 UTC 2016

Modified Files:
src/sys/conf: majors

Log Message:
- change major number limit for MI devices from 255 to 511,
  because twe is already using 332
- clarify that new MI devices should go to this file
  instead of majors.{ws,usb,std,tty,storage}
- fix major number conflict about hdmicec vs tty

OKed by matt@
the expression "previously not MI" is suggested by matt@ too.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/conf/majors

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



CVS commit: src/sys/arch

2016-05-12 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 13 05:45:13 UTC 2016

Modified Files:
src/sys/arch/amd64/conf: kern.ldscript.Xen
src/sys/arch/i386/conf: kern.ldscript.Xen

Log Message:
Xen therefore uses x86/db_memrw.c, as I suspected. Define __rodata_start
in the Xen ld scripts, so that it can compile. We put the __rodata_start
definition right before __data_start, for it to appear as dead code, since
the rodata segment is not yet mapped independently on Xen.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amd64/conf/kern.ldscript.Xen
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/i386/conf/kern.ldscript.Xen

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