CVS commit: src/tests/sbin/sysctl

2016-06-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jun 17 03:55:35 UTC 2016

Modified Files:
src/tests/sbin/sysctl: t_perm.sh

Log Message:
When deadbeef is treated as a 32-bit signed integer, it actually has a
negative value.  So, if the value gets written into a sysctl variable,
and then is read back, the twos-complement value is displayed.

So, when checking for the value having been written, make sure we check
for the correct value!


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/sbin/sysctl/t_perm.sh

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2016-06-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Jun 17 03:27:50 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
arm-builtins needs insn-opinit.h

I had this sitting in my tree already, but prompted by Michael Plass on
port-arm


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/sys/kern

2016-06-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jun 16 23:09:44 UTC 2016

Modified Files:
src/sys/kern: kern_module.c

Log Message:
Check for duplicate module names before loading modules that were
"pushed" by the boot loader.  The boot loader pushes the module
name for the root file system (unless the root file system is ffs)
even if the file system module is built into the kernel.  When
this happens, we get a lot of "redefined symbol" error messages.

This fix does not alter the behavior of pushing the file system
name.  It simply avoids the redefined symbol errors by detecting
that the module is already built-in to the kernel and not trying
to load another copy.

While here, differentiate the error message text between "failed
to load" and "failed to fetch_info" conditions.

Addresses PR kern/50357


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/kern/kern_module.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/ic

2016-06-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jun 16 15:51:13 UTC 2016

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

Log Message:
Use m_set_rcvif, not M_SETCTX.

M_SETCTX is only for driver-private use of rcvif, whereas here we
really mean to set the receiving interface with m_set_rcvif.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ic/rt2860.c

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



CVS commit: src/etc

2016-06-16 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun 16 15:33:39 UTC 2016

Modified Files:
src/etc: MAKEDEV.tmpl

Log Message:
As discussed at the biginning of last week (June 6 & 7, 2016) on
tech-kern in messages with a Subject starting [Re:] /dev/sdN -> /dev/sdN[cd]
and in PR port-amd64/51216 :

Create bare (no letter suffix) device names (block & raw) that
refer to the raw device ('c' or 'd' partition as appropriate).

This commit was delayed waiting to see if there was to be any more
discussion - there wasn't a lot.

Caution: this is going to consume 2 more inodes per disc device
configured, everywhere that devices are configured using MAKEDEV


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/etc/MAKEDEV.tmpl

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-06-16 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Jun 16 15:21:49 UTC 2016

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

Log Message:
use M_SETCTX() macro.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/rt2860.c

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



CVS commit: src/sys/net

2016-06-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jun 16 15:18:34 UTC 2016

Modified Files:
src/sys/net: if.c

Log Message:
Fix error branches of if_sdl_sysctl.

Can't release the psref if we didn't even find the interface!


To generate a diff of this commit:
cvs rdiff -u -r1.340 -r1.341 src/sys/net/if.c

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



CVS commit: src

2016-06-16 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Thu Jun 16 15:17:56 UTC 2016

Modified Files:
src/distrib/sets/lists/base: mi
src/external/public-domain/tz: tzdata2netbsd
src/external/public-domain/tz/share/zoneinfo: Makefile
Added Files:
src/external/public-domain/tz/dist: TZDATA_VERSION

Log Message:
Record the tzdata version in a separate file in the share/zoneinfo directory.

The file is kept up to date by the tzdata2netbsd script


To generate a diff of this commit:
cvs rdiff -u -r1.1127 -r1.1128 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.9 -r1.10 src/external/public-domain/tz/tzdata2netbsd
cvs rdiff -u -r0 -r1.1 src/external/public-domain/tz/dist/TZDATA_VERSION
cvs rdiff -u -r1.2 -r1.3 \
src/external/public-domain/tz/share/zoneinfo/Makefile

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



CVS commit: src/usr.bin/man

2016-06-16 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jun 16 15:11:43 UTC 2016

Modified Files:
src/usr.bin/man: man.conf.5

Log Message:
Replace makewhatis(8) with makemandb(8) in SEE ALSO.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/man/man.conf.5

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



CVS commit: src/usr.bin/man

2016-06-16 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jun 16 15:10:58 UTC 2016

Modified Files:
src/usr.bin/man: man.1 man.c

Log Message:
Document -f option for man(1).
Also remove unsupported options for `man -k` from the synopsis and usage.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/man/man.1
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/man/man.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/macppc/conf

2016-06-16 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 16 14:51:56 UTC 2016

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

Log Message:
make platinumfb.c conditional on platinumfb
somehow that fell through the cracks too...


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/macppc/conf/files.macppc

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

2016-06-16 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 16 14:46:12 UTC 2016

Added Files:
src/sys/arch/macppc/dev: platinumfbreg.h

Log Message:
somehow this fell through the cracks when I committed platinumfb.c
thanks chuq for noticing


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/macppc/dev/platinumfbreg.h

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



CVS commit: src/usr.sbin/makemandb

2016-06-16 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jun 16 14:07:16 UTC 2016

Modified Files:
src/usr.sbin/makemandb: apropos.1 whatis.1

Log Message:
Add man.conf(5) and man(1) in the SEE ALSO section.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/makemandb/apropos.1
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/makemandb/whatis.1

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-06-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 16 13:01:08 UTC 2016

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

Log Message:
more conservating handling of memory.


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

2016-06-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 16 12:56:49 UTC 2016

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

Log Message:
fix mbuf handling; we don't crash anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/rt2860.c

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



CVS commit: src/lib/libc/sys

2016-06-16 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Jun 16 12:48:09 UTC 2016

Modified Files:
src/lib/libc/sys: nanosleep.2

Log Message:
Bump date for previous


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/nanosleep.2

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



CVS commit: src/lib/libc/sys

2016-06-16 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Jun 16 12:47:10 UTC 2016

Modified Files:
src/lib/libc/sys: nanosleep.2

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/sys/nanosleep.2

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



CVS commit: src/libexec/ld.elf_so

2016-06-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 16 11:34:13 UTC 2016

Modified Files:
src/libexec/ld.elf_so: Makefile map_object.c

Log Message:
Move relro after we've computed out relocbase and re-enable it.
(Matthias Weckbecker)


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/libexec/ld.elf_so/Makefile
cvs rdiff -u -r1.54 -r1.55 src/libexec/ld.elf_so/map_object.c

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