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

2019-02-17 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Feb 17 09:29:35 UTC 2019

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

Log Message:
Add new ATF t_ptrace_wait* vfork(2) tests

Add traceme_vfork_signalmasked_crash and traceme_vfork_signalignored_crash
tests for crash signals (SIGTRAP, SIGSEGV, SIGILL, SIGFPE, SIGBUS).

These new scenario assert that signal masked/ignored are delivered to
vfork(2)ed child.

All tests pass.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/tests/lib/libc/sys/t_ptrace_wait.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/usb

2019-02-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Feb 17 09:33:19 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c if_axenreg.h

Log Message:
Remove unused.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_axenreg.h

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



CVS commit: src

2019-02-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Feb 17 12:24:17 UTC 2019

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/lib/libc: Makefile
Added Files:
src/tests/lib/libc/atomic: Makefile t_atomic_add.c t_atomic_and.c
t_atomic_cas.c t_atomic_dec.c t_atomic_inc.c t_atomic_or.c
t_atomic_swap.c

Log Message:
Add ATF tests for atomic_ops(3).


To generate a diff of this commit:
cvs rdiff -u -r1.806 -r1.807 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.154 -r1.155 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.48 -r1.49 src/tests/lib/libc/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/atomic/Makefile \
src/tests/lib/libc/atomic/t_atomic_add.c \
src/tests/lib/libc/atomic/t_atomic_and.c \
src/tests/lib/libc/atomic/t_atomic_cas.c \
src/tests/lib/libc/atomic/t_atomic_dec.c \
src/tests/lib/libc/atomic/t_atomic_inc.c \
src/tests/lib/libc/atomic/t_atomic_or.c \
src/tests/lib/libc/atomic/t_atomic_swap.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/exec_elf32

2019-02-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Feb 17 13:21:55 UTC 2019

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

Log Message:
Set WARNS=3 to appease sign-compare warnings for mips, mips64, and sparc.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/exec_elf32/Makefile

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



CVS commit: src/sys/uvm

2019-02-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Feb 17 13:46:03 UTC 2019

Modified Files:
src/sys/uvm: uvm_coredump.c

Log Message:
VM_MAXUSER_ADDRESS can be undefined when compiling module/coredump;
it varies between machines for evbppc (and possibly evbppc64).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/uvm/uvm_coredump.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/lfs

2019-02-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Feb 17 14:04:31 UTC 2019

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

Log Message:
For vax, GCC 6.5 and 7.4 cannot compile lfs_inode.c with
-DDIAGNOSTIC and -O2/-O1.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/modules/lfs/Makefile

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



CVS commit: src/lib/libnvmm

2019-02-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Feb 17 20:25:46 UTC 2019

Modified Files:
src/lib/libnvmm: libnvmm_x86.c

Log Message:
Fix handling of SIB instructions. We were jumping to the SIB node _before_
fetching the displacement, so the node would always think there was no
displacement.

This didn't alter the final GPA we would be touching - because it is
fetched from the kernel directly and not from the computation -, but it
altered the instruction length, and on some guests (like Fedora 64bit),
the VCPU would resume execution at the wrong RIP and crash.

Now these guests work.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libnvmm/libnvmm_x86.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/pf/etc/defaults

2019-02-17 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Feb 17 20:45:47 UTC 2019

Modified Files:
src/usr.sbin/pf/etc/defaults: pf.boot.conf

Log Message:
pf.boot.conf: remove lingering references to dhclient(8), and while
here, capitalize acronyms. Addresses part of PR misc/53669.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/pf/etc/defaults/pf.boot.conf

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



CVS commit: src/usr.sbin/ifwatchd

2019-02-17 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Feb 17 20:50:25 UTC 2019

Modified Files:
src/usr.sbin/ifwatchd: ifwatchd.8

Log Message:
ifwatchd(8): remove lingering references to dhclient(8). In this case,
its replacement handles carrier detection itself. Addresses part of
PR misc/53669.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/ifwatchd/ifwatchd.8

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-17 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Sun Feb 17 23:17:42 UTC 2019

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

Log Message:
rename module_name to strategy_module_name to avoid fatal shadowing of
module_name() when compiled with older external gcc. NFC


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/kern/subr_bufq.c

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



CVS commit: src/lib/librumphijack

2019-02-17 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Sun Feb 17 23:33:20 UTC 2019

Modified Files:
src/lib/librumphijack: Makefile

Log Message:
compile hijack.c with -D_INCOMPLETE_XOPEN_C063 so that AT_FDCWD is alwasy
defined for rumpkernels.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/librumphijack/Makefile

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



CVS commit: src/lib/librumphijack

2019-02-17 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Sun Feb 17 23:35:50 UTC 2019

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Linux doesn't have paccept().


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/lib/librumphijack/hijack.c

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



CVS commit: src/sys/rump

2019-02-17 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Sun Feb 17 23:50:53 UTC 2019

Modified Files:
src/sys/rump: listsrcdirs

Log Message:
npfctl needs externalbsd/libnv.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/rump/listsrcdirs

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



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

2019-02-17 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Sun Feb 17 23:54:08 UTC 2019

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

Log Message:
make libnv not LIBISPRIVATE when RUMPRUN=yes.

include bsd.init.mk earlier to pick up MAKECONF for RUMPRUN.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libnv/lib/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-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Feb 18 00:42:55 UTC 2019

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests

Log Message:
Belatedly add debugging symbols for t_atomic_*.


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.807 -r1.808 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.155 -r1.156 src/etc/mtree/NetBSD.dist.tests

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-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Feb 18 01:12:25 UTC 2019

Modified Files:
src/sys/arch/atari/atari: trap.c
src/sys/arch/atari/conf: files.atari
src/sys/arch/atari/include: cpu.h
src/sys/arch/cesfic/cesfic: trap.c
src/sys/arch/cesfic/conf: files.cesfic
src/sys/arch/cesfic/include: cpu.h
src/sys/arch/hp300/conf: files.hp300
src/sys/arch/hp300/hp300: trap.c
src/sys/arch/hp300/include: cpu.h
src/sys/arch/luna68k/conf: files.luna68k
src/sys/arch/luna68k/include: cpu.h
src/sys/arch/luna68k/luna68k: trap.c
src/sys/arch/m68k/include: frame.h
src/sys/arch/mac68k/conf: files.mac68k
src/sys/arch/mac68k/include: cpu.h
src/sys/arch/mac68k/mac68k: trap.c
src/sys/arch/mvme68k/conf: files.mvme68k
src/sys/arch/mvme68k/mvme68k: trap.c
src/sys/arch/news68k/conf: files.news68k
src/sys/arch/news68k/include: cpu.h
src/sys/arch/news68k/news68k: trap.c
src/sys/arch/next68k/conf: files.next68k
src/sys/arch/next68k/include: cpu.h
src/sys/arch/next68k/next68k: trap.c
src/sys/arch/x68k/conf: files.x68k
src/sys/arch/x68k/include: cpu.h
src/sys/arch/x68k/x68k: trap.c
Added Files:
src/sys/arch/m68k/m68k: m68k_trap.c

Log Message:
Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback().  It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950.  (Thanks!)


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/atari/atari/trap.c
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/atari/conf/files.atari
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/atari/include/cpu.h
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/cesfic/cesfic/trap.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/cesfic/conf/files.cesfic
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/cesfic/include/cpu.h
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/hp300/conf/files.hp300
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/hp300/hp300/trap.c
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/hp300/include/cpu.h
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/luna68k/conf/files.luna68k
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/luna68k/include/cpu.h
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/luna68k/luna68k/trap.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/m68k/include/frame.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/m68k/m68k/m68k_trap.c
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/mac68k/conf/files.mac68k
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/mac68k/include/cpu.h
cvs rdiff -u -r1.147 -r1.148 src/sys/arch/mac68k/mac68k/trap.c
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/mvme68k/conf/files.mvme68k
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/mvme68k/mvme68k/trap.c
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/news68k/conf/files.news68k
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/news68k/include/cpu.h
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/news68k/news68k/trap.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/next68k/conf/files.next68k
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/next68k/include/cpu.h
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/next68k/next68k/trap.c
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/x68k/conf/files.x68k
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/x68k/include/cpu.h
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/x68k/x68k/trap.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-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Feb 18 02:42:27 UTC 2019

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

Log Message:
Fix copy/paste issue that resulted in tcon0 ch0/ch1 crtc clk mixup.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/sunxi/sunxi_lcdc.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/x86/x86

2019-02-17 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Feb 18 05:41:20 UTC 2019

Modified Files:
src/sys/arch/x86/x86: procfs_machdep.c

Log Message:
- Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig.
- Move AMD 0x8008 ebx's ibpb, ibrs and stibp to x86_features[8] linux
  mapping.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/x86/procfs_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/arch/evbppc/obs405

2019-02-17 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Feb 18 06:27:10 UTC 2019

Modified Files:
src/sys/arch/evbppc/obs405: obs600_autoconf.c

Log Message:
 Fix compile error reported by Kazuhiro Ito in PR kern/52704.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbppc/obs405/obs600_autoconf.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/mii

2019-02-17 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Feb 18 07:27:15 UTC 2019

Modified Files:
src/sys/dev/mii: dmphy.c

Log Message:
 Fix typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/mii/dmphy.c

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