CVS commit: src/sys/arch/amd64/amd64

2017-02-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  9 08:23:46 UTC 2017

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

Log Message:
Restore %ds before swapgs. Movs to segment registers are allowed to fault
in kernel mode but simply cause a signal to be sent to userland. The thing
is, in this case %gs is not restored when entering the trap routine, which
means the kernel uses userland's TLS instead of using its own. Which in
short makes it easy to escalate privileges.

Currently, this bug is triggered only in one place, which I am about to
fix too.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 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/sys/arch/amd64/amd64

2017-02-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  9 08:38:25 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep.c

Log Message:
No, do not just copy code from i386 and expect it to work on amd64. There
are several structural differences. At least two issues here: segment
registers that could fault in kernel mode with userland TLS, and a non-
canonical %eip on iret.

Not even tested, but just obvious. By the way, I believe this function is
still buggy since we don't call cpu_fsgs_reload while %fs/%gs could have
been reloaded.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/amd64/amd64/netbsd32_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/net

2017-02-09 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Feb  9 09:30:26 UTC 2017

Modified Files:
src/sys/net: bpf.c bpfdesc.h if.c

Log Message:
Make bpf MP-safe

By the change, bpf_mtap can run without any locks as long as its bpf filter
doesn't match a target packet. Pushing data to a bpf buffer still needs
a lock. Removing the lock requires big changes and it's a future work.

Another known issue is that we need to remain some obsolete variables to
avoid breaking kvm(3) users such as netstat and fstat. One problem for
MP-ification is that in order to keep statistic counters of bpf_d we need
to use atomic operations for them. Once we retire the kvm(3) users, we
should make the counters per-CPU and remove the atomic operations.


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/sys/net/bpf.c
cvs rdiff -u -r1.43 -r1.44 src/sys/net/bpfdesc.h
cvs rdiff -u -r1.375 -r1.376 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/sys/net

2017-02-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Feb  9 11:43:32 UTC 2017

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

Log Message:
PR kern/51280

This allows srt devices to work for IPv6.   srt still needs work
(particularly #ifdef INET6 but also general effeciency and similar.)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/net/if_srt.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

2017-02-09 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb  9 11:56:41 UTC 2017

Modified Files:
src/sys/arch/x86/acpi: acpi_machdep.c
src/sys/arch/x86/include: efi.h
src/sys/arch/x86/x86: x86_machdep.c

Log Message:
efi_md::md_virt always uses uint64_t.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/acpi/acpi_machdep.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/include/efi.h
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/x86/x86/x86_machdep.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/misc

2017-02-09 Thread Ryosuke Moro
Module Name:src
Committed By:   szptvlfn
Date:   Thu Feb  9 13:26:56 UTC 2017

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

Log Message:
fix build (MKUNBOUND=no)


To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/distrib/sets/lists/misc/mi

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

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 13:59:02 UTC 2017

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

Log Message:
put back exect directory; we try to remove it before the files inside it and
we fail.


To generate a diff of this commit:
cvs rdiff -u -r1.718 -r1.719 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: src/distrib/emips/instkernel

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 14:00:06 UTC 2017

Modified Files:
src/distrib/emips/instkernel: Makefile

Log Message:
loosen the belt again.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/emips/instkernel/Makefile

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



CVS commit: src

2017-02-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb  9 15:24:08 UTC 2017

Modified Files:
src/distrib/evbppc/ramdisk: Makefile
src/sys/arch/evbppc/conf: INSTALL.inc

Log Message:
Give clang a bit more space on the RAM disk.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/distrib/evbppc/ramdisk/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbppc/conf/INSTALL.inc

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



CVS commit: src/usr.bin/nc

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 17:27:30 UTC 2017

Modified Files:
src/usr.bin/nc: netcat.c

Log Message:
the tls ifdef was a bit too aggressive.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/nc/netcat.c

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



CVS commit: [LLVM] src/external/bsd/llvm/dist/llvm

2017-02-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb  9 17:54:07 UTC 2017

Removed Files:
src/external/bsd/llvm/dist/llvm/include/llvm/Analysis [LLVM]:
LoopPassManager.h
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView [LLVM]:
TypeDumper.h
src/external/bsd/llvm/dist/llvm/lib/Analysis [LLVM]:
LoopPassManager.cpp
src/external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView [LLVM]:
TypeDumper.cpp
src/external/bsd/llvm/dist/llvm/test/CodeGen/AArch64 [LLVM]:
aarch64-interleaved-accesses-extract-user.ll
aarch64-interleaved-accesses.ll ldst-opt-dbg-limit.mir
src/external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU [LLVM]:
ci-use-flat-for-global.ll fp16_to_fp.ll
src/external/bsd/llvm/dist/llvm/test/CodeGen/ARM [LLVM]:
arm-interleaved-accesses-extract-user.ll
arm-interleaved-accesses.ll
src/external/bsd/llvm/dist/llvm/test/CodeGen/X86 [LLVM]:
atom-bypass-slow-division-64.ll atom-bypass-slow-division.ll
slow-div.ll
src/external/bsd/llvm/dist/llvm/test/FileCheck [LLVM]:
strict-whitespace-match-full-lines.txt
src/external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips4 [LLVM]:
valid-xfail-mips4.txt
src/external/bsd/llvm/dist/llvm/test/MC/Mips/mips3 [LLVM]:
invalid-mips4-wrong-error.s
src/external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86 [LLVM]:
bad-instrmap-sizes.bin
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump [LLVM]:
BuiltinDumper.cpp BuiltinDumper.h ClassDefinitionDumper.cpp
ClassDefinitionDumper.h CompilandDumper.cpp CompilandDumper.h
EnumDumper.cpp EnumDumper.h ExternalSymbolDumper.cpp
ExternalSymbolDumper.h FunctionDumper.cpp FunctionDumper.h
TypeDumper.cpp TypeDumper.h TypedefDumper.cpp TypedefDumper.h
VariableDumper.cpp VariableDumper.h
src/external/bsd/llvm/dist/llvm/unittests/Analysis [LLVM]:
LoopPassManagerTest.cpp

Log Message:
Mark files not in r294123 as dead.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopPassManager.h
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeDumper.h
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/llvm/lib/Analysis/LoopPassManager.cpp
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-interleaved-accesses-extract-user.ll
 \
src/external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-opt-dbg-limit.mir
cvs rdiff -u -r1.1.1.2 -r0 \

src/external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-interleaved-accesses.ll
cvs rdiff -u -r1.1.1.2 -r0 \

src/external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ci-use-flat-for-global.ll
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp16_to_fp.ll
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-interleaved-accesses-extract-user.ll
cvs rdiff -u -r1.1.1.2 -r0 \
src/external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-interleaved-accesses.ll
cvs rdiff -u -r1.1.1.2 -r0 \

src/external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll
 \
src/external/bsd/llvm/dist/llvm/test/CodeGen/X86/slow-div.ll
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-bypass-slow-division.ll
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/llvm/test/FileCheck/strict-whitespace-match-full-lines.txt
cvs rdiff -u -r1.1.1.4 -r0 \

src/external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips4/valid-xfail-mips4.txt
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/invalid-mips4-wrong-error.s
cvs rdiff -u -r1.1.1.1 -r0 \

src/external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/bad-instrmap-sizes.bin
cvs rdiff -u -r1.1.1.2 -r0 \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/BuiltinDumper.cpp \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/BuiltinDumper.h \

src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/ClassDefinitionDumper.cpp \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/ClassDefinitionDumper.h \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/CompilandDumper.cpp \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/CompilandDumper.h \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/EnumDumper.cpp \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/EnumDumper.h \
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.cpp 
\
src/external/bsd/llvm/dist/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h \
src/

CVS commit: src/external/bsd/llvm

2017-02-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb  9 17:58:57 UTC 2017

Modified Files:
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/lib/libLLVMAnalysis: Makefile
src/external/bsd/llvm/lib/libLLVMDebugInfoCodeView: Makefile
src/external/bsd/llvm/lib/libLLVMObject: Makefile
src/external/bsd/llvm/lib/libLLVMScalarOpts: Makefile
Added Files:
src/external/bsd/llvm/bin/llvm-xray: Makefile
src/external/bsd/llvm/lib/libLLVMXRay: Makefile

Log Message:
Switch to the 4.0 release branch and update build glue for r294123.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/bin/llvm-xray/Makefile
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/llvm/lib/libLLVMDebugInfoCodeView/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/llvm/lib/libLLVMObject/Makefile
cvs rdiff -u -r1.21 -r1.22 \
src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libLLVMXRay/Makefile

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



CVS commit: src

2017-02-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb  9 18:15:07 UTC 2017

Modified Files:
src/distrib/sparc/miniroot: Makefile.inc
src/distrib/sparc/ramdisk: Makefile
src/sys/arch/sparc/conf: INSTALL

Log Message:
Bump the ram disk and miniroot size slightly for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/distrib/sparc/miniroot/Makefile.inc
cvs rdiff -u -r1.42 -r1.43 src/distrib/sparc/ramdisk/Makefile
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/sparc/conf/INSTALL

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

2017-02-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  9 19:30:56 UTC 2017

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

Log Message:
If the preloaded modules cannot be mapped with the initial amount of VA,
discard the associated bootinfo entry. Otherwise the machine faults and
reboots immediately.

I spotted this bug more than a year ago, but I recently saw that there is
already PR/42645 (7 years old), so just fix it. The size has been increased
in the meantime, so the limit is unlikely to be reached anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 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/sys/dev/pci

2017-02-09 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb  9 20:32:19 UTC 2017

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

Log Message:
make fallback to PIO actually work properly


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/trm.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/nc

2017-02-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb  9 20:37:58 UTC 2017

Modified Files:
src/usr.bin/nc: netcat.c socks.c

Log Message:
Mark help as static+dead. Don't use __attribute__.
XXX needs a lot more static love. Uses mktemp and doesn't link.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/nc/netcat.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/nc/socks.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/nc

2017-02-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Feb  9 20:39:42 UTC 2017

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

Log Message:
Turn off fatal linker warnings for now due to mktemp.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/nc/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/pci

2017-02-09 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb  9 20:42:30 UTC 2017

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

Log Message:
fix tpyo


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/trm.c

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



CVS commit: src/lib/libm/src

2017-02-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Feb  9 21:23:11 UTC 2017

Modified Files:
src/lib/libm/src: e_j0.c e_j0f.c e_j1.c e_j1f.c

Log Message:
Appease static analyzers by making all code paths which assign
values into p,q sane. Get rid of redundant assignment. Indent
for legibility. NFC.

This doesn't create a functional difference, as all callers
test number >= 0x4000 anyway.

To see this, note the following:
- consistently, hx is the high bits of x, lx is the low bits,
  x is the float.
- & 0x7fff zeroes the sign bit, as does fabs.

A case where it isn't easy to see that there's no functional
change is y1, which does:

ix = hx & 0x7fff (zero signbit of high bits of x)
y = fabs(x) (this has a zeroed signbit but otherwise same as x)
ix >= 0x4000
  pone(y); qone(y)

qone(x) (also pone) do:
  ix = hx & 0x7fff

ix in qone and in the calling function are the same number,
and the comparison applies for both, and ix < 0x4000 isn't
possible.

(Also, no explosions seem to happen when I feed it random numbers)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libm/src/e_j0.c src/lib/libm/src/e_j1.c
cvs rdiff -u -r1.10 -r1.11 src/lib/libm/src/e_j0f.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libm/src/e_j1f.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/nc

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 21:23:49 UTC 2017

Modified Files:
src/usr.bin/nc: netcat.c

Log Message:
use mkstemp to prevent linker warning.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/nc/netcat.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/nc

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 21:25:06 UTC 2017

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

Log Message:
no more warnings for ld.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/nc/Makefile

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



CVS commit: src/sys/compat/linux/common

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:01:48 UTC 2017

Modified Files:
src/sys/compat/linux/common: linux_socketcall.c linux_socketcall.h

Log Message:
use proper arg functions, remove bogus ones.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/linux/common/linux_socketcall.c
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/linux/common/linux_socketcall.h

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



CVS commit: src/sys/compat/linux/arch/mips

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:02:14 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.74 -r1.75 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.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/linux/arch/mips

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  9 22:02:05 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: syscalls.master

Log Message:
revert listen


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/compat/linux/arch/mips/syscalls.master

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



CVS commit: src/lib/libm/src

2017-02-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Feb  9 22:11:09 UTC 2017

Modified Files:
src/lib/libm/src: s_expm1.c s_expm1f.c

Log Message:
ifdef out some dead code. improves code readability.
all later users of y first assign another value.

using ifdefs to make potential future code syncs easier, as is done
elsewhere.

suggested by coverity, CID 1300929, 1300930.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libm/src/s_expm1.c
cvs rdiff -u -r1.10 -r1.11 src/lib/libm/src/s_expm1f.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/pci

2017-02-09 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Feb  9 23:30:46 UTC 2017

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

Log Message:
detach wm(4) evcnt.

pointed out by msaitoh@n.o, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.476 -r1.477 src/sys/dev/pci/if_wm.c

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



CVS commit: src/doc

2017-02-09 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Feb 10 03:59:02 UTC 2017

Modified Files:
src/doc: TODO.smpnet

Log Message:
Add many entries


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/doc/TODO.smpnet

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



CVS commit: src/sys/arch/sgimips/sgimips

2017-02-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 10 04:00:48 UTC 2017

Modified Files:
src/sys/arch/sgimips/sgimips: machdep.c

Log Message:
kill variable stack allocation


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/sys/arch/sgimips/sgimips/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/dev/pci/ixgbe

2017-02-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Feb 10 04:34:11 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixv.c

Log Message:
No functional change:
 - Rename ixv_sysctl_attach() to ixv_add_device_sysctls().
 - Move sysct and evcnt related functions to match ixgbe.c.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/pci/ixgbe/ixv.c

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



CVS commit: src/lib/libcurses

2017-02-09 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Fri Feb 10 06:25:28 UTC 2017

Modified Files:
src/lib/libcurses: scroll.c

Log Message:
Remove checks for cursor being in scrolling region, ncurses doesn't
do checking, rather just scrolls the scrolling region so we shall
follow suit.  SUSv2 says what is happens when scrl is called with the
cursor outside the scrolling is undefined so we should match ncurses.
This fixes PR#51819 without forcing tin to use terminfo directly.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libcurses/scroll.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/pci/ixgbe

2017-02-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Feb 10 06:35:22 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixgbe_vf.h ixv.c

Log Message:
- Both mbuf_defrag_failed and m_defrag_failed existed. Remove m_defrag_failed.
- rx_irq, dropped_pkts, morerx, moretx and txloops counters are uncounted, so
  remove them.
- Count handleq in ixv_handle_que().
- Detach event counters correctly.
- Set some per-queue event names correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/ixgbe/ix_txrx.c
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/ixgbe/ixgbe.h
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/ixgbe/ixgbe_vf.h
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/ixgbe/ixv.c

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