CVS commit: src/sys/kern

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:00:27 UTC 2019

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

Log Message:
pass a pointer to atomic_cas_ptr_p(), not an (equiv) integer.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/subr_thmap.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/stat

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:07:33 UTC 2019

Modified Files:
src/usr.bin/stat: stat.c

Log Message:
avoid a potential buffer truncation.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/stat/stat.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/gcc/usr.bin/backend

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:15:51 UTC 2019

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

Log Message:
ira-color.c needs -Wno-error=int-in-bool-context for now.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:18:08 UTC 2019

Modified Files:
src/sys/external/bsd/drm2/i915drm: files.i915drmkms
src/sys/external/bsd/drm2/nouveau: files.nouveau
src/sys/external/bsd/drm2/radeon: files.radeon
src/sys/external/bsd/drm2/ttm: files.ttm
src/sys/modules/i915drmkms: Makefile
src/sys/modules/savagedrm: Makefile

Log Message:
add -Wno-error=int-in-bool-context or -Wno-error=implicit-fallthrough
for various drm files that would be best ignored or upstream fixed.
(could fix savagedrm, no one upstream is that any more.)


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/external/bsd/drm2/i915drm/files.i915drmkms
cvs rdiff -u -r1.25 -r1.26 src/sys/external/bsd/drm2/nouveau/files.nouveau
cvs rdiff -u -r1.24 -r1.25 src/sys/external/bsd/drm2/radeon/files.radeon
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/drm2/ttm/files.ttm
cvs rdiff -u -r1.11 -r1.12 src/sys/modules/i915drmkms/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/savagedrm/Makefile

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



CVS commit: src

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:21:12 UTC 2019

Modified Files:
src/lib/libintl: gettext.c
src/sbin/iscsid: iscsid_main.c
src/usr.sbin/npf/npfd: npfd_log.c

Log Message:
check for snprintf() truncation and fail sanely if so, rather than
attempting to use a file that won't exist or isn't secure.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libintl/gettext.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/iscsid/iscsid_main.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/npf/npfd/npfd_log.c

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



CVS commit: src/sys/crypto

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:23:53 UTC 2019

Modified Files:
src/sys/crypto/blowfish: bf_locl.h
src/sys/crypto/des: des_locl.h

Log Message:
add fallthru comments.  i considered patching makefiles to ignore
these problems, but this code is dead upstream and likely will be
removed here rather than ever updated.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/crypto/blowfish/bf_locl.h
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/des/des_locl.h

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



CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:36:43 UTC 2019

Modified Files:
src/sys/external/isc/atheros_hal/conf: files.ath_hal
src/sys/modules/ath_hal: Makefile

Log Message:
apply -Wno-error=implicit-fallthrough to ar5212_xmit.c and ar5416_xmit.c.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/isc/atheros_hal/conf/files.ath_hal
cvs rdiff -u -r1.4 -r1.5 src/sys/modules/ath_hal/Makefile

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



CVS commit: src/sbin/raidctl

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:31:22 UTC 2019

Modified Files:
src/sbin/raidctl: raidctl.c

Log Message:
- add the string length as an explicit parameter to get_time_string()
- remove casts when the same type is used on both sides
- expand hours_buffer[] to fit the range of hours in an 'int'
- add a work around for the sprintf() truncation checker that fails
  to detect that 'minutes' and 'seconds' have a small range


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sbin/raidctl/raidctl.c

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



CVS commit: src/tests/lib/libc/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:35:11 UTC 2019

Modified Files:
src/tests/lib/libc/sys: t_wait.c

Log Message:
- add __unreachable() after ATF_REQUIRE(pid > 0) where pid <= 0.
- rearrange one switch so that the -1/0/default cases are the
  same order in all instances.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/sys/t_wait.c

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



CVS commit: src/external/bsd/atf/lib/tools

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:40:54 UTC 2019

Modified Files:
src/external/bsd/atf/lib/tools: Makefile

Log Message:
with GCC 7, apply -Wno-error=maybe-uninitialized to parser.cpp.

i don't really understand how to remove this warning, someone else
could though, so feel free to :-)

In file included from /usr/src/external/bsd/atf/dist/tools/parser.cpp:33:0:
/usr/src/external/bsd/atf/dist/tools/parser.hpp: In member function 
'tools::parser::token tools::parser::tokenizer::next() [with IS = 
std::basic_istream]':
/usr/src/external/bsd/atf/dist/tools/parser.hpp:98:8: warning: 
'.tools::parser::token::m_line' may be used uninitialized in this 
function [-Wmaybe-uninitialized]
 struct token {
^


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/atf/lib/tools/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/mmcformat

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:53:41 UTC 2019

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

Log Message:
- don't make -h/-H get around the argument check by setting
  'inquiry' in the fallthru case, but instead explicitly
  check for 'display_usage' as well.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/mmcformat/mmcformat.c

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



CVS commit: src

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:51:48 UTC 2019

Modified Files:
src/games/backgammon/common_source: Makefile
src/games/hunt/huntd: Makefile
src/usr.bin/stat: Makefile
src/usr.bin/telnet: Makefile
src/usr.sbin/quotacheck: Makefile

Log Message:
apply -Wno-error=implicit-fallthrough on files that have fallthru
comments but are missed by the current checker.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/games/backgammon/common_source/Makefile
cvs rdiff -u -r1.6 -r1.7 src/games/hunt/huntd/Makefile
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/stat/Makefile
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/telnet/Makefile
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/quotacheck/Makefile

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



CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:54:47 UTC 2019

Modified Files:
src/sys/kern: kern_veriexec.c
src/sys/lib/libunwind: libunwind.cxx

Log Message:
use __builtin_unreachable() after calls that panic or switch context


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/kern_veriexec.c
cvs rdiff -u -r1.10 -r1.11 src/sys/lib/libunwind/libunwind.cxx

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



CVS commit: src/bin/sh

2019-02-04 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Feb  4 09:56:26 UTC 2019

Modified Files:
src/bin/sh: expand.c

Log Message:
Fix an old bug (very old) that was made worse in 1.128 (the "${1+$@}"
fixes) where a variable containing a CTL char (the only possibility used
to be CTLESC (0x81)) would lose that character if the variable was expanded
when "set -f" (noglob) was in effect.

1.128 made this worse by adding more 0x8z values (a couple more) which would
see the same behaviour, and one of those was noticed by Martijn Dekker.

The reasoning was that when noglob is on, when a var is expanded, there are
no magic chars, so (apparently) no need to escape anything.  Hence nothing
was escaped .. including any CTL chars that happened to be present.  When
we later rmescapes() the CTL chars that we expect might occur are summarily
removed - even if they weren't really CTL chars, but just data masquerading.

We must *always* escape any CTL char clones that are in the var value,
no matter what other conditions apply, and what we expect to happen next.

While here, fix rmescapes() (and its $(()) clone, rmescapes_nl()) to
be more robust, less likely to forget to delete anything (which was
not the issue here, just the reverse) and in a DEBUG shell, have the
shell abort() if it encounters something in rmescapes() it is not
anticipating, so the code can be made to handle it, or if it should
not happen, we can find out why it did.

XXX pullup -8 (but will need to be via patch, code is quite different).


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/bin/sh/expand.c

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



CVS commit: src/bin/sh

2019-02-04 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Feb  4 09:56:48 UTC 2019

Modified Files:
src/bin/sh: syntax.c

Log Message:
Add a couple of comments.   NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/bin/sh/syntax.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/sparc/sparc

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:57:39 UTC 2019

Modified Files:
src/sys/arch/sparc/sparc: intr.c

Log Message:
print the cpu number for the mutex not held xcallintr debug message.
add a comment about why this case fires.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/sys/arch/sparc/sparc/intr.c

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



CVS commit: src/sys/modules/viadrmums

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 09:58:23 UTC 2019

Modified Files:
src/sys/modules/viadrmums: Makefile

Log Message:
apply -Wno-error=implicit-fallthrough to via_dmablit.c.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/viadrmums/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/stat

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 10:03:16 UTC 2019

Modified Files:
src/usr.bin/stat: Makefile

Log Message:
rework the previous to only apply if !HOSTPROG


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/stat/Makefile

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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 10:09:32 UTC 2019

Modified Files:
src/sys/dev/ic: aic79xx.c aic7xxx.c

Log Message:
add or adjust fallthru comments.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/aic79xx.c
cvs rdiff -u -r1.134 -r1.135 src/sys/dev/ic/aic7xxx.c

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



CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 10:11:34 UTC 2019

Modified Files:
src/sys/kern: uipc_usrreq.c
src/sys/net: if_ethersubr.c

Log Message:
add or adjust fallthru comments.


To generate a diff of this commit:
cvs rdiff -u -r1.189 -r1.190 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.272 -r1.273 src/sys/net/if_ethersubr.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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 10:22:15 UTC 2019

Modified Files:
src/usr.sbin/sysinst: Makefile.inc
src/usr.sbin/syslogd: Makefile

Log Message:
use -Wno-error=format-truncation for code that seems particularly annoying
or unlikely to actually fail.  some of the syslogd ones are not too hard
to fix, but most remain.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/Makefile.inc
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/syslogd/Makefile

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



CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 10:48:46 UTC 2019

Modified Files:
src/sys/netinet: ip_output.c
src/sys/netinet6: ip6_output.c

Log Message:
rework the #ifdef IPSEC code to not use fallthru.
same number of lines with more local context.


To generate a diff of this commit:
cvs rdiff -u -r1.309 -r1.310 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.216 -r1.217 src/sys/netinet6/ip6_output.c

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



CVS commit: src/bin/sh

2019-02-04 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Feb  4 11:16:41 UTC 2019

Modified Files:
src/bin/sh: error.c error.h eval.c eval.h main.c parser.c sh.1

Log Message:
PR bin/53919

Suppress shell error messages while expanding $ENV (which also causes
errors while expanding $PS1 $PS2 and $PS4 to be suppressed as well).

This allows any random garbage that happens to be in ENV to not
cause noise when the shell starts (which is effectively all it did).

On a parse error (for any of those vars) we also use "" as the result,
which will be a null prompt, and avoid attempting to open any file for ENV.

This does not in any way change what happens for a correctly parsed command
substitution (either when it is executed when permitted for one of the
prompts, or when it is not (which is always for ENV)) and commands run
from those can still produce error output (but shell errors remain suppressed).


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/bin/sh/error.c
cvs rdiff -u -r1.21 -r1.22 src/bin/sh/error.h
cvs rdiff -u -r1.170 -r1.171 src/bin/sh/eval.c
cvs rdiff -u -r1.22 -r1.23 src/bin/sh/eval.h
cvs rdiff -u -r1.80 -r1.81 src/bin/sh/main.c
cvs rdiff -u -r1.164 -r1.165 src/bin/sh/parser.c
cvs rdiff -u -r1.217 -r1.218 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/sys

2019-02-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Feb  4 12:08:03 UTC 2019

Modified Files:
src/sys/fs/puffs: files.puffs
src/sys/modules/puffs: Makefile

Log Message:
Don't include puffs_compat in a kernel unless the filesystem is
selected along with COMPAT_50.  Also, don't include puffs_compat
in the main puffs filesystem module;  it is part of the compat_50
module.

Should address PR kern/53943


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/puffs/files.puffs
cvs rdiff -u -r1.2 -r1.3 src/sys/modules/puffs/Makefile

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



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

2019-02-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Feb  4 12:10:13 UTC 2019

Modified Files:
src/sys/arch/arm/sunxi: sunxi_drm.c sunxi_drm.h sunxi_lcdc.c
sunxi_mixer.c

Log Message:
Add support for vblank irq and RGB overlay planes.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/sunxi/sunxi_drm.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_drm.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_lcdc.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_mixer.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/nvmm/x86

2019-02-04 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Feb  4 12:11:18 UTC 2019

Modified Files:
src/sys/dev/nvmm/x86: nvmm_x86_svm.c

Log Message:
Improvements:

 - Guest reads/writes to PAT land in gPAT, so no need to emulate them.

 - When emulating EFER, don't advance the RIP if a fault occurs, and don't
   forget to flush the VMCB cache accordingly.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/nvmm/x86/nvmm_x86_svm.c

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



CVS commit: src/bin/sh

2019-02-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Feb  4 12:18:36 UTC 2019

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

Log Message:
Remove leading zero from date.


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 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/sys/arch/arm/include/arm32

2019-02-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Feb  4 13:06:39 UTC 2019

Modified Files:
src/sys/arch/arm/include/arm32: param.h

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/include/arm32/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/arch/arm/arm32

2019-02-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Feb  4 13:08:43 UTC 2019

Modified Files:
src/sys/arch/arm/arm32: arm32_kvminit.c

Log Message:
Fix typo in VPRINTF


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/arm/arm32/arm32_kvminit.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/arm/arm32

2019-02-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Feb  4 13:12:03 UTC 2019

Modified Files:
src/sys/arch/arm/arm32: arm32_machdep.c

Log Message:
Report hatched value after the atomic_or so the VERBOSE_INIT_ARM output
doesn't get mangled.

We start a cpu and wait for it before progressing now.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/arm/arm32/arm32_machdep.c

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



CVS commit: src/sys/fs/puffs

2019-02-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Feb  4 14:47:41 UTC 2019

Modified Files:
src/sys/fs/puffs: files.puffs

Log Message:
try '&' instead of '&&'


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/fs/puffs/files.puffs

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

2019-02-04 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Feb  4 15:07:35 UTC 2019

Modified Files:
src/sys/arch/amd64/include: asan.h

Log Message:
Add more symbols to the unwinder, in case we get a KASAN message inside
an exception handler.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/include/asan.h

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



CVS commit: src/sys/kern

2019-02-04 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Feb  4 15:13:54 UTC 2019

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

Log Message:
Clobber the size when freeing a buffer. This way, if the same buffer gets
freed twice, the second size check will fire.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/kern/subr_kmem.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

2019-02-04 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Feb  4 18:14:54 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: std.xen
src/sys/arch/xen/conf: std.xen
src/sys/arch/xen/include: hypervisor.h xen.h
src/sys/arch/xen/x86: x86_xpmap.c

Log Message:
Bump up XEN source API compatibility to 0x00030208 from 0x00030201,

but maintain backwards source API compilation compatibility.

ie; sources with config(5)
options __XEN_INTERFACE_VERSION__=0x00030201 # Xen 3.1 interface

should compile and run without problems.

Not that API version 0x00030201 is the lowest version we support now.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/amd64/conf/std.xen
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/xen/conf/std.xen
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/xen/include/hypervisor.h
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/xen/include/xen.h
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/xen/x86/x86_xpmap.c

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



CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 21:57:48 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c
src/sys/modules: Makefile
src/sys/modules/raid: Makefile
src/sys/rump/dev/lib/libraidframe: Makefile
Added Files:
src/sys/compat/netbsd32: netbsd32.mk

Log Message:
don't assume _LP64 == supports COMPAT_NETBSD32.

this is not true for alpha, ia64 and arm32 ports, and the first two
were not building because of it, and the latter would be missing
the oabi support (likely not a big deal, but still wrong.)

add a makefile fragment that tells you if it is supported and include
it where needed to define COMPAT_NETBSD32 when building the normal
kernel (ie, modules & rump.)

fixes alpha build, probably fixes ia64 build.

XXX: still leaves some netbsd32 code in rf_netbsdkintf.c, that should
 be moved into some hooks, but first the configuration setup
 needs to be moved into a common function the netbsd32 code can
 call into, vs living in the switch case itself.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/compat/netbsd32/netbsd32.mk
cvs rdiff -u -r1.362 -r1.363 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.217 -r1.218 src/sys/modules/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/modules/raid/Makefile
cvs rdiff -u -r1.11 -r1.12 src/sys/rump/dev/lib/libraidframe/Makefile

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



CVS commit: src/doc

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 22:00:51 UTC 2019

Modified Files:
src/doc: TODO.compat-module

Log Message:
update the rf / netbsd32 comment.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/doc/TODO.compat-module

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



CVS commit: src/common/lib/libc/misc

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 22:07:41 UTC 2019

Modified Files:
src/common/lib/libc/misc: ubsan.c

Log Message:
- use __unreachable() and move 'break's around to increase consistency
  and correctness

ok kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/misc/ubsan.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/arm/sunxi

2019-02-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Feb  5 00:21:35 UTC 2019

Modified Files:
src/sys/arch/arm/sunxi: sunxi_mixer.c

Log Message:
Add support for video layer scaling and colour space conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_mixer.c

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



CVS commit: src/sys/fs/puffs

2019-02-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Feb  5 00:22:36 UTC 2019

Modified Files:
src/sys/fs/puffs: files.puffs

Log Message:
It turns out we do want the puffs compat code in any kernel which
has built-in compat_50 regardless of whether the kernel also has
puffs.

Should finally fix PR kern/53943


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/puffs/files.puffs

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



CVS commit: src/sys/compat

2019-02-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Feb  5 00:32:18 UTC 2019

Modified Files:
src/sys/compat/sunos: sunos_mod.c
src/sys/compat/sunos32: sunos32_mod.c

Log Message:
The sunos and sunos32 modules require compat_09, not compat (the
latter no longer exists).

Should fix "missing prerequisite" errors seen during qemu boot
of sparc64's MODULAR kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/sunos/sunos_mod.c
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/sunos32/sunos32_mod.c

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



CVS commit: src/sys/compat/freebsd

2019-02-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Feb  5 00:40:15 UTC 2019

Modified Files:
src/sys/compat/freebsd: freebsd_mod.c

Log Message:
Update compat_freebsd requirements list to use compat_09 vs compat


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/freebsd/freebsd_mod.c

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



CVS commit: src/tests/lib/libc/sys

2019-02-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Feb  5 02:57:10 UTC 2019

Modified Files:
src/tests/lib/libc/sys: t_ptrace_x86_wait.h

Log Message:
Add missing break keywords in t_ptrace_wait* x86 tests

Add missing break in switch() cases in dbregs_trap_variable().

Reported by 
Detected by GCC 7


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/sys/t_ptrace_x86_wait.h

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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:43:45 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libbacktrace/arch/sparc64:
backtrace-supported.h
src/external/gpl3/gcc/lib/libgcc/arch/sparc64: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc64: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgomp/arch/sparc64: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libobjc/arch/sparc64: defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64: c++config.h
cxxabi_tweaks.h defs.mk gstdint.h gthr-posix.h gthr-single.h gthr.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64: auto-host.h bversion.h
configargs.h defs.mk gtyp-input.list insn-modes.h plugin-version.h
tm.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/sparc64: config.h

Log Message:
mknative-gcc for gcc7 and sparc64.

replies upon an uncommited (yet) change to not assert if the size
of unsigned and signed 'fast' integer types are not the same.
we don't have them as the same for 8, 16 and 32 bit for some reason.

otherwise seems to work.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libbacktrace/arch/sparc64/backtrace-supported.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgcc/arch/sparc64/auto-target.h
cvs rdiff -u -r1.5 -r1.6 \
src/external/gpl3/gcc/lib/libgcc/arch/sparc64/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc64/defs.mk
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc64/gcov-iov.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgomp/arch/sparc64/config.h \
src/external/gpl3/gcc/lib/libgomp/arch/sparc64/libgomp_f.h
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/libgomp/arch/sparc64/omp.h
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libobjc/arch/sparc64/defs.mk
cvs rdiff -u -r1.23 -r1.24 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/c++config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/gthr.h
cvs rdiff -u -r1.9 -r1.10 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/defs.mk
cvs rdiff -u -r1.17 -r1.18 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/gstdint.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/defs.mk
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/bversion.h
cvs rdiff -u -r1.30 -r1.31 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/configargs.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/tm.h
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/insn-modes.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/plugin-version.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/libcpp/arch/sparc64/config.h

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/common-target

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:45:07 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
remove 'common/' prefix from sources.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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/dist/gcc

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:45:50 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: config.gcc

Log Message:
include sparc/default64.hon netbsd/sparc64.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/external/gpl3/gcc/dist/gcc/config.gcc

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



CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:48:47 UTC 2019

Modified Files:
src/sys/netinet: tcp_usrreq.c
src/sys/netinet6: in6.c

Log Message:
adjust fallthru comments to appease gcc7.


To generate a diff of this commit:
cvs rdiff -u -r1.223 -r1.224 src/sys/netinet/tcp_usrreq.c
cvs rdiff -u -r1.272 -r1.273 src/sys/netinet6/in6.c

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



CVS commit: src/share/mk

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:47:59 UTC 2019

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
re-do version 1.1098 properly:

- fix OBJECT_FMTS if mips64 and !MKCOMPAT


To generate a diff of this commit:
cvs rdiff -u -r1.1099 -r1.1100 src/share/mk/bsd.own.mk

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



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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 06:10:53 UTC 2019

Modified Files:
src/sys/arch/sparc64/dev: fdc.c psycho.c schizo.c

Log Message:
add or avoid fallthru comments.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/sparc64/dev/fdc.c
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/sparc64/dev/psycho.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/sparc64/dev/schizo.c

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



CVS commit: src/etc/mtree

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 06:11:29 UTC 2019

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
add missing ./usr/include/dev/hdmicec


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/etc/mtree/NetBSD.dist.base

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



CVS commit: src/sys/dev/pci

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 06:12:39 UTC 2019

Modified Files:
src/sys/dev/pci: machfb.c

Log Message:
add or adjust fallthru comments.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/dev/pci/machfb.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/comp

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 06:14:55 UTC 2019

Modified Files:
src/distrib/sets/lists/comp: md.sparc64

Log Message:
mark ./usr/include/g++/bits/sparc and ./usr/include/g++/bits/sparc64
subdirs as non-compat.


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 src/distrib/sets/lists/comp/md.sparc64

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



CVS commit: src

2019-02-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Feb  5 06:17:03 UTC 2019

Modified Files:
src/share/man/man4/man4.vax: ec.4 en.4 ex.4 ix.4 vv.4
src/sys/arch/acorn32/podulebus: if_ie.c
src/sys/arch/amiga/dev: if_es.c if_qn.c
src/sys/arch/arm/at91: at91emac.c
src/sys/arch/arm/ep93xx: epe.c
src/sys/arch/emips/ebus: if_le_ebus.c
src/sys/arch/mac68k/dev: if_mc.c
src/sys/arch/mac68k/nubus: if_netdock_nubus.c
src/sys/arch/macppc/dev: am79c950.c if_bm.c if_gm.c
src/sys/arch/mips/sibyte/dev: sbmac.c
src/sys/arch/newsmips/apbus: if_sn.c
src/sys/arch/next68k/dev: mb8795.c
src/sys/arch/playstation2/dev: if_smap.c
src/sys/arch/sgimips/hpc: if_sq.c
src/sys/arch/sun2/dev: if_ec.c
src/sys/arch/sun3/dev: if_ie.c
src/sys/arch/xen/xen: if_xennet_xenbus.c xennetback_xenbus.c
src/sys/dev/cadence: if_cemac.c
src/sys/dev/ic: an.c atw.c awi.c cs89x0.c dm9000.c dp8390.c elink3.c
elinkxl.c gem.c hme.c i82586.c lance.c lemac.c mb86950.c mb86960.c
pdq_ifsubr.c rrunner.c rtw.c seeq8005.c smc90cx6.c smc91cxx.c
tropic.c wi.c
src/sys/dev/isa: if_eg.c if_el.c if_iy.c
src/sys/dev/ofw: ofnet.c
src/sys/dev/pci: if_cas.c if_de.c if_devar.h if_jme.c if_tl.c if_vte.c
src/sys/dev/pcmcia: if_cnw.c if_xi.c
src/sys/dev/sbus: be.c qe.c
src/sys/dev/scsipi: if_se.c
src/sys/net: if.h if_fddisubr.c if_tokensubr.c
src/usr.sbin/route6d: route6d.c

Log Message:
 Remove very old IFF_NOTRAILERS flag.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/man4.vax/ec.4
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/man4.vax/en.4 \
src/share/man/man4/man4.vax/vv.4
cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/man4.vax/ex.4
cvs rdiff -u -r1.20 -r1.21 src/share/man/man4/man4.vax/ix.4
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/acorn32/podulebus/if_ie.c
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/amiga/dev/if_es.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/amiga/dev/if_qn.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/at91/at91emac.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/arm/ep93xx/epe.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/emips/ebus/if_le_ebus.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/mac68k/dev/if_mc.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/mac68k/nubus/if_netdock_nubus.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/macppc/dev/am79c950.c
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/macppc/dev/if_bm.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/macppc/dev/if_gm.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/mips/sibyte/dev/sbmac.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/newsmips/apbus/if_sn.c
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/next68k/dev/mb8795.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/playstation2/dev/if_smap.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/sgimips/hpc/if_sq.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sun2/dev/if_ec.c
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/sun3/dev/if_ie.c
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/xen/xen/xennetback_xenbus.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/cadence/if_cemac.c
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/ic/an.c
cvs rdiff -u -r1.164 -r1.165 src/sys/dev/ic/atw.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/awi.c
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/ic/cs89x0.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ic/dm9000.c
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/ic/dp8390.c
cvs rdiff -u -r1.145 -r1.146 src/sys/dev/ic/elink3.c
cvs rdiff -u -r1.126 -r1.127 src/sys/dev/ic/elinkxl.c
cvs rdiff -u -r1.113 -r1.114 src/sys/dev/ic/gem.c
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/ic/hme.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/ic/i82586.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/lance.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/ic/lemac.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ic/mb86950.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/ic/mb86960.c src/sys/dev/ic/rrunner.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/ic/pdq_ifsubr.c
cvs rdiff -u -r1.129 -r1.130 src/sys/dev/ic/rtw.c
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/ic/seeq8005.c
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/ic/smc90cx6.c
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/smc91cxx.c
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/ic/tropic.c
cvs rdiff -u -r1.249 -r1.250 src/sys/dev/ic/wi.c
cvs rdiff -u -r1.95 -r1.96 src/sys/dev/isa/if_eg.c
cvs rdiff -u -r1.97 -r1.98 src/sys/dev/isa/if_el.c
cvs rdiff -u -r1.103 -r1.104 src/sys/dev/isa/if_iy.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/ofw/ofnet.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/if_cas.c
cvs rdiff -u -r1.157 -r1.158 src/sys/dev/pci/if_de.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/if_devar.h
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/if_jme.c
cvs rdiff -u -r1.111 -r1.112 src/sys/dev/pci/if_tl.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/if_vte.c
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/pcmcia/if_cnw.c
cvs rdiff -u -r1.85 -r

CVS commit: src/sys/net

2019-02-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Feb  5 06:43:20 UTC 2019

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

Log Message:
 Remove NOTRAILERS from IFFBITS.


To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/sys/net/if.h

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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 06:46:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libbacktrace/arch/m68k: backtrace-supported.h
src/external/gpl3/gcc/lib/libgcc/arch/m68k: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgomp/arch/m68k: config.h libgomp_f.h omp.h
src/external/gpl3/gcc/lib/libobjc/arch/m68k: defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k: c++config.h
cxxabi_tweaks.h defs.mk gstdint.h gthr-posix.h gthr-single.h gthr.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k: auto-host.h bversion.h
configargs.h defs.mk gtyp-input.list insn-modes.h plugin-version.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/m68k: config.h
Added Files:
src/external/gpl3/gcc/lib/libgcc/arch/m68k: gthr-defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/sparc64: gthr-defs.mk
src/external/gpl3/gcc/usr.bin/common-target/arch: m68k.mk sparc64.mk

Log Message:
mknative-gcc for m68k and GCC 7, also the files missed for sparc64 previously.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libbacktrace/arch/m68k/backtrace-supported.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgcc/arch/m68k/auto-target.h
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/libgcc/arch/m68k/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/arch/m68k/gthr-defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/arch/sparc64/gthr-defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k/defs.mk
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k/gcov-iov.h
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/lib/libgomp/arch/m68k/config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgomp/arch/m68k/libgomp_f.h
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/libgomp/arch/m68k/omp.h
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/lib/libobjc/arch/m68k/defs.mk
cvs rdiff -u -r1.25 -r1.26 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/c++config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gthr.h
cvs rdiff -u -r1.9 -r1.10 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/defs.mk
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/gstdint.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/common-target/arch/m68k.mk \
src/external/gpl3/gcc/usr.bin/common-target/arch/sparc64.mk
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/plugin-version.h
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/bversion.h
cvs rdiff -u -r1.25 -r1.26 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/configargs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/defs.mk
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/gtyp-input.list
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/insn-modes.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/libcpp/arch/m68k/config.h

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



CVS commit: src/sys/kern

2019-02-04 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Feb  5 07:14:32 UTC 2019

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

Log Message:
In ksem_close_fop(), if we get a pshared semaphore that's not already
been marked dead, make sure we mark it so if the owner proc is the proc
closing it.  (This case can happen if a process sem_init()'s a pshared
semaphore and then exits without destroying it.)

Fixes kern/53942.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/kern/uipc_sem.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/m68k/m68k

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 07:18:52 UTC 2019

Modified Files:
src/sys/arch/m68k/m68k: db_disasm.c

Log Message:
add fallthru comment.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/m68k/m68k/db_disasm.c

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



CVS commit: src/external/bsd/tcpdump/dist

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 07:27:47 UTC 2019

Modified Files:
src/external/bsd/tcpdump/dist: print-hncp.c

Log Message:
- pass correct size of buffer to snprintf() to avoid potential truncation


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/tcpdump/dist/print-hncp.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/gcc

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 07:43:08 UTC 2019

Modified Files:
src/external/gpl3/gcc: README.gcc7

Log Message:
update status:
- alpha, i386, powerpc, sparc64 all seem to work too, though sparc64
  has a caveat with signed vs. unsigned "fast" integer types, and its
  ramdisk overflows.
- hppa almost works.  1 uncommited change, ramdisk overflows.
- m68k begins to work.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/README.gcc7

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



CVS commit: src/external/bsd/libpcap/lib

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 07:45:35 UTC 2019

Modified Files:
src/external/bsd/libpcap/lib: Makefile

Log Message:
ignore a format truncation issue.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/libpcap/lib/Makefile

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



CVS commit: src/external/bsd/flex/bin

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 07:47:15 UTC 2019

Modified Files:
src/external/bsd/flex/bin: Makefile

Log Message:
force -O1 (unless -O0 already present) on m68k with GCC 7.  avoids a
"too-far" reference in scan.c.  was already close with GCC 6.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/flex/bin/Makefile

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