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

2016-06-15 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Jun 15 07:26:12 UTC 2016

Modified Files:
src/sys/arch/arm/imx: if_enet.c

Log Message:
fix the tx stall problem. ("watchdog timeout")
TX descriptor should be written out once before writing READY flag.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/if_enet.c

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-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 15 12:08:47 UTC 2016

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

Log Message:
Turn off GNU_RELRO for now.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/libexec/ld.elf_so/Makefile

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



CVS commit: src/sys/sys

2016-06-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 15 12:10:18 UTC 2016

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

Log Message:
Remove SIGPOLL, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=92362
for an explanation why.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/sys/signal.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/fdt

2016-06-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jun 15 13:13:40 UTC 2016

Modified Files:
src/sys/dev/fdt: fixedregulator.c

Log Message:
If either "regulator-boot-on" or "regulator-always-on" properties are true,
explicitly enable the regulator at attach time. In addition, if the
"startup-delay-us" property is present, delay after enabling the regulator.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/fixedregulator.c

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



CVS commit: src/doc

2016-06-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 13:29:30 UTC 2016

Modified Files:
src/doc: HACKS

Log Message:
This hack no longer exists since the switch to ipsec-tools in 2005.

Another strict-aliasing problem killed.


To generate a diff of this commit:
cvs rdiff -u -r1.170 -r1.171 src/doc/HACKS

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



CVS commit: src

2016-06-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 13:47:26 UTC 2016

Modified Files:
src/doc: HACKS
src/usr.sbin/wiconfig: Makefile wiconfig.c

Log Message:
Kill another strict aliasing violation.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/doc/HACKS
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/wiconfig/Makefile
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/wiconfig/wiconfig.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-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 13:57:26 UTC 2016

Modified Files:
src/doc: HACKS
src/usr.sbin/rtadvd: Makefile

Log Message:
No more obvious strict aliasing violations here.


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 src/doc/HACKS
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/rtadvd/Makefile

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



CVS commit: src/usr.sbin/rtadvd

2016-06-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 13:57:39 UTC 2016

Modified Files:
src/usr.sbin/rtadvd: dump.c

Log Message:
Omit needless casts.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/rtadvd/dump.c

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



CVS commit: src/usr.sbin/dumplfs

2016-06-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 14:07:54 UTC 2016

Modified Files:
src/usr.sbin/dumplfs: dumplfs.c

Log Message:
 for true and false.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.sbin/dumplfs/dumplfs.c

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



CVS commit: src/usr.sbin/dumplfs

2016-06-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 14:08:24 UTC 2016

Modified Files:
src/usr.sbin/dumplfs: Makefile

Log Message:
Kill another -fno-strict-aliasing.

Generated code is same with/without.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/dumplfs/Makefile

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



CVS commit: src/doc

2016-06-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 15 14:11:15 UTC 2016

Modified Files:
src/doc: HACKS

Log Message:
Remove dumplfs from the list now that it seems strict-aliasing-safe.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 src/doc/HACKS

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

2016-06-15 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Jun 15 14:32:03 UTC 2016

Modified Files:
src/sys/arch/macppc/macppc: pic_ohare.c

Log Message:
g/c some leftovers from when we had static assignments of edge or level
triggers


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/macppc/macppc/pic_ohare.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/binutils/dist/bfd

2016-06-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 15 14:47:23 UTC 2016

Modified Files:
src/external/gpl3/binutils/dist/bfd: elf32-hppa.c elf32-i386.c
elf32-m68k.c elf32-sh.c elf32-vax.c elfxx-sparc.c

Log Message:
Harmonize the error messages about dynamic relocations.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/bfd/elf32-hppa.c \
src/external/gpl3/binutils/dist/bfd/elf32-m68k.c \
src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/dist/bfd/elf32-i386.c \
src/external/gpl3/binutils/dist/bfd/elf32-sh.c
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/elf32-vax.c

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



CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpverify

2016-06-15 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jun 15 15:47:50 UTC 2016

Modified Files:
src/crypto/external/bsd/netpgp/dist/src/netpgpverify: libverify.c

Log Message:
Mark obuf_printf as printf-like.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c

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



CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpverify

2016-06-15 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Wed Jun 15 16:51:46 UTC 2016

Modified Files:
src/crypto/external/bsd/netpgp/dist/src/netpgpverify: Makefile.bsd
Makefile.in verify.h
Added Files:
src/crypto/external/bsd/netpgp/dist/src/netpgpverify: version.asc

Log Message:
Update netpgpverify to 20160616:

+ Bring over change from pkgsrc to add version.asc signature verification
to complement the noversion.asc cleartext signatures

+ Update version to 20160616


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/Makefile.bsd
cvs rdiff -u -r1.9 -r1.10 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/Makefile.in
cvs rdiff -u -r1.7 -r1.8 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.h
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/version.asc

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



CVS commit: src/crypto/external/bsd/netpgp/dist/src/netpgpverify

2016-06-15 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Wed Jun 15 20:34:28 UTC 2016

Modified Files:
src/crypto/external/bsd/netpgp/dist/src/netpgpverify: main.c verify.h

Log Message:
Update netpgpverify to 20160617

Sync with changes in pkgsrc

+ don't assume a string is NUL-terminated - use fwrite(3) with a specific size


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/main.c
cvs rdiff -u -r1.8 -r1.9 \
src/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.h

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



CVS commit: src/bin/cat

2016-06-15 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 16 00:45:37 UTC 2016

Modified Files:
src/bin/cat: cat.c

Log Message:
Revert previous change made by me in r1.55


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/bin/cat/cat.c

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



CVS commit: src/bin/cat

2016-06-15 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 16 00:52:37 UTC 2016

Modified Files:
src/bin/cat: cat.c

Log Message:
When invoked with -se, print a '$' on blank lines
Obtained from OpenBSD r1.13 of src/bin/cat/cat.c

Closes PR bin/51250
Reviewed by Christos@


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/bin/cat/cat.c

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



CVS commit: src/tests/bin/cat

2016-06-15 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 16 01:04:58 UTC 2016

Modified Files:
src/tests/bin/cat: Makefile t_cat.sh
Added Files:
src/tests/bin/cat: d_se_output.in d_se_output.out

Log Message:
Add a unit test for PR bin/51250 called se_output. se_output checks the output 
of cat
when invoked with '-se', to ensure that a '$' is printed on blank lines.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/bin/cat/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/bin/cat/d_se_output.in \
src/tests/bin/cat/d_se_output.out
cvs rdiff -u -r1.2 -r1.3 src/tests/bin/cat/t_cat.sh

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



CVS commit: src/sys/arch/mips

2016-06-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun 16 01:33:35 UTC 2016

Added Files:
src/sys/arch/mips: README.models

Log Message:
Notes on MIPS models and architecture levels and their properties and
handling in NetBSD.

This is very preliminary so far, because I'm trying to get citations
from documentation for everything.

Please add stuff.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/mips/README.models

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



CVS commit: src/sys/sys

2016-06-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 16 02:34:33 UTC 2016

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

Log Message:
Introduce curlwp_bind and curlwp_bindx

The API prevents the current LWP from migrating between CPUs during
the critical section (between curlwp_bind and curlwp_bindx). One use
case of it is psref(9) that has a contract that forbids such migrations.

Proposed at http://mail-index.netbsd.org/tech-kern/2016/06/13/msg020710.html
(check it out if you want to know why the function names are chosen)


To generate a diff of this commit:
cvs rdiff -u -r1.170 -r1.171 src/sys/sys/lwp.h

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



CVS commit: src/sys

2016-06-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 16 02:38:40 UTC 2016

Modified Files:
src/sys/compat/common: uipc_syscalls_40.c
src/sys/compat/linux/common: linux_socket.c
src/sys/compat/linux32/common: linux32_socket.c
src/sys/dist/pf/net: pf_if.c
src/sys/kern: uipc_mbuf.c
src/sys/net: if.c rtsock.c
src/sys/netinet: ip_carp.c
src/sys/netinet6: raw_ip6.c
src/sys/rump/net/lib/libshmif: if_shmem.c
src/sys/rump/net/lib/libvirtif: if_virt.c

Log Message:
Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUND


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/common/uipc_syscalls_40.c
cvs rdiff -u -r1.128 -r1.129 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/linux32/common/linux32_socket.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dist/pf/net/pf_if.c
cvs rdiff -u -r1.167 -r1.168 src/sys/kern/uipc_mbuf.c
cvs rdiff -u -r1.338 -r1.339 src/sys/net/if.c
cvs rdiff -u -r1.189 -r1.190 src/sys/net/rtsock.c
cvs rdiff -u -r1.67 -r1.68 src/sys/netinet/ip_carp.c
cvs rdiff -u -r1.144 -r1.145 src/sys/netinet6/raw_ip6.c
cvs rdiff -u -r1.67 -r1.68 src/sys/rump/net/lib/libshmif/if_shmem.c
cvs rdiff -u -r1.52 -r1.53 src/sys/rump/net/lib/libvirtif/if_virt.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

2016-06-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 16 02:54:41 UTC 2016

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

Log Message:
Bump kernel version for mbuf (pkthdr#rcvif) change


To generate a diff of this commit:
cvs rdiff -u -r1.496 -r1.497 src/sys/sys/param.h

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



CVS commit: src/sys

2016-06-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 16 03:03:33 UTC 2016

Modified Files:
src/sys/net: if.c if_ethersubr.c if_llatbl.c
src/sys/net/npf: npf_ext_log.c
src/sys/netinet6: mld6.c

Log Message:
Use if_get_byindex instead of if_byindex for MP-safe


To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 src/sys/net/if.c
cvs rdiff -u -r1.222 -r1.223 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.13 -r1.14 src/sys/net/if_llatbl.c
cvs rdiff -u -r1.8 -r1.9 src/sys/net/npf/npf_ext_log.c
cvs rdiff -u -r1.66 -r1.67 src/sys/netinet6/mld6.c

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



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

2016-06-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jun 16 04:03:37 UTC 2016

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
Add input/output files for new test case - fix build


To generate a diff of this commit:
cvs rdiff -u -r1.674 -r1.675 src/distrib/sets/lists/tests/mi

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



CVS commit: [nick-nhusb] src/sys/dev/ic

2016-06-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jun 16 05:33:24 UTC 2016

Modified Files:
src/sys/dev/ic [nick-nhusb]: dwc_gmac.c

Log Message:
Fix indent botch that crept in


To generate a diff of this commit:
cvs rdiff -u -r1.28.2.6 -r1.28.2.7 src/sys/dev/ic/dwc_gmac.c

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



CVS commit: src/external/cddl/osnet/dev/sdt

2016-06-15 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Jun 16 06:08:06 UTC 2016

Modified Files:
src/external/cddl/osnet/dev/sdt: sdt.c

Log Message:
Make assertion of linker_file #ifdef __FreeBSD__. Fixes DIAGNOSTIC build.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/cddl/osnet/dev/sdt/sdt.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/mips

2016-06-15 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 16 06:20:08 UTC 2016

Modified Files:
src/sys/arch/mips: README.models

Log Message:
add some models


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/README.models

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