CVS commit: src/lib/libc/sys

2017-02-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Feb 23 08:11:09 UTC 2017

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

Log Message:
Formatting fix.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/lib/libc/sys/ptrace.2

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

2017-02-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Feb 23 08:22:20 UTC 2017

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

Log Message:
Fixup the compile time decisions around PMAP_{INCLUDE,NEEDS}_PTE_SYNC and
fix the options for xscale boards which require the code in
pmap_l2ptp_ctor marked as #ifndef PMAP_INCLUDE_PTE_SYNC.

Fix the typo (pte -> opte) in this code block and consistently use opte
elsewhere.

PR/51990: Regression data_abort_handler: data_aborts fsr=0x406 far=0xbfffeff5  
on copyout in init


To generate a diff of this commit:
cvs rdiff -u -r1.342 -r1.343 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.144 -r1.145 src/sys/arch/arm/include/arm32/pmap.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

2017-02-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 23 11:23:22 UTC 2017

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

Log Message:
Test for fstrans support before trying to allocate per-thread info.

PR kern/51996 (kmem_alloc called from intr context in fstrans_get_lwp_info)


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

2017-02-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb 23 12:01:12 UTC 2017

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

Log Message:
Make it compilable in non-diagnostic kernels


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/dbregs.c

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



CVS commit: src/sys/lib/libsa

2017-02-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb 23 12:13:05 UTC 2017

Modified Files:
src/sys/lib/libsa: loadfile_elf32.c

Log Message:
fix CTF section symbol size was not counted with COUNT_KERNEL.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/lib/libsa/loadfile_elf32.c

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



CVS commit: src/sys/lib/libsa

2017-02-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb 23 12:13:59 UTC 2017

Modified Files:
src/sys/lib/libsa: loadfile_elf32.c

Log Message:
update marks[MARK_DATA] with COUNT_DATA.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/lib/libsa/loadfile_elf32.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/i386/stand/lib

2017-02-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb 23 12:14:53 UTC 2017

Modified Files:
src/sys/arch/i386/stand/lib: exec.c

Log Message:
no need COUNT_KERNEL hack.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/i386/stand/lib/exec.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/rasops

2017-02-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb 23 12:16:30 UTC 2017

Modified Files:
src/sys/dev/rasops: rasops.c

Log Message:
reset ri->ri_hwbits too if RI_CFGDONE is set.

prevent ri->ri_hwbits from moving to center every time rasops_reconfig() is
called when RI_CENTER is set.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/rasops/rasops.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-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb 23 12:17:36 UTC 2017

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

Log Message:
Avoid panic when amd64 kernel is booted from 32bit UEFI.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/include/efi.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x86/x86/efi.c

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



CVS commit: src/share/terminfo

2017-02-23 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Feb 23 13:22:53 UTC 2017

Modified Files:
src/share/terminfo: terminfo

Log Message:
Remove kLFT and kRIT from putty.
This allows left and right cursor key movement inside tmux on putty.
See https://github.com/tmux/tmux/issues/708.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/terminfo/terminfo

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



CVS commit: src/tests/usr.bin/mixerctl

2017-02-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Feb 23 14:01:37 UTC 2017

Modified Files:
src/tests/usr.bin/mixerctl: t_mixerctl.sh

Log Message:
Drop the test for QEMU and instead skip relevant tests when /dev/mixer
can't be opened (which more accurately reflects when mixerctl is going
to fail...)

Based upon an idea from Andreas Gustafsson (gson@) - except that using
/dev/audio0 for this purpose doesn't work, if the only audio device
configured is pad0 an open of audio fails with EIO (???)

While here, perpare for the updated mixerctl coming soon to a repository
near you...
Use correct usage in the test of a bogus -d arg (otherwise the
new mixerctl will complain about usage, and never even
attempt to open the bogus device)
Don't require /dev/mixer for the noargs -> generate usage msg
test ... this will now generate a failing test with the
old mixerctl if there is no working /dev/mixer, but
that mixerctl won't be around much longer.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/mixerctl/t_mixerctl.sh

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



CVS commit: src/usr.bin/mixerctl

2017-02-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Feb 23 14:09:11 UTC 2017

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

Log Message:
Generate usage error for bad usage, before attempting any other operations.
This means that "mixerctl" (no args) will generate a usage msg, even when
/dev/mixer cannot be opened (or any other device given via -d or $MIXERDEVICE)

While here, get rid of "goto usage" replacing the usage: with a
static inline void __dead function...  The compiler ought to optimise
the calls into essentially the same code as existed with the goto version,
but this is much cleaner.

Also, mixerctl falls back on /dev/mixer0 if /dev/mixer cannot be opened.
(that is old code - probably from when /dev/mixer was first added)

It used to do that when called as mixerctl -d /dev/mixer or with
"MIXERDEVICE=/dev/mixer mixerctl...".   No longer.  Now the fallback (which
is probably obsolete now anyway) only happens when the user doesn't specify
any mixer device (by either method) and the default of /dev/mixer is used.
In other cases, only the device specified is tried.


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

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



CVS commit: src/lib/libc/sys

2017-02-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 23 15:17:17 UTC 2017

Modified Files:
src/lib/libc/sys: Makefile.inc

Log Message:
add link for accept4.


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/lib/libc/sys/Makefile.inc

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

2017-02-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 23 15:18:37 UTC 2017

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

Log Message:
add accept4


To generate a diff of this commit:
cvs rdiff -u -r1.2111 -r1.2112 src/distrib/sets/lists/comp/mi

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/config/m68k

2017-02-23 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Thu Feb 23 18:43:02 UTC 2017

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

Log Message:
revert rev 1.2 (disabling split wide types) because it's no longer necessary
after rev 1.6 of m68k.md (which itself reverted a local patch that hadn't
been necessary for over a decade... see gcc bugzilla 12792).
discussed with christos and confirmed no regressions with the atf tests.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/config/m68k/m68k.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

2017-02-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 23 18:54:30 UTC 2017

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

Log Message:
Provided sized definitions for ecoff 32 bit headers.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/sys/exec_ecoff.h

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



CVS commit: src/usr.bin/elf2ecoff

2017-02-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 23 18:49:00 UTC 2017

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

Log Message:
This only works with 32 bit Elf and COFF files, make it specific this way
and use sized types so that it works on 64 bit systems (so it can become
a tool).


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.bin/elf2ecoff/elf2ecoff.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/include

2017-02-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 23 18:56:12 UTC 2017

Modified Files:
src/sys/arch/mips/include: ecoff_machdep.h

Log Message:
provide ecoff 32 defines.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/mips/include/ecoff_machdep.h

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

2017-02-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb 23 19:51:47 UTC 2017

Modified Files:
src/distrib/sets/lists/comp: ad.mips

Log Message:
add MIPS-specific clang header file


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/distrib/sets/lists/comp/ad.mips

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

2017-02-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Feb 23 22:33:31 UTC 2017

Modified Files:
src/sys/arch/arm/marvell: armadaxp.c

Log Message:
Typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/marvell/armadaxp.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/pad

2017-02-23 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Feb 23 23:13:27 UTC 2017

Modified Files:
src/sys/dev/pad: pad.c padvar.h

Log Message:
Update pad due to changes in audio.  sc_bytes_count and BYTESTOSLEEP are
no longer required.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pad/pad.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pad/padvar.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

2017-02-23 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Feb 23 23:19:04 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Hold the intr_lock when broadcasting/waiting on sc_[rec]condvar.


To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 src/sys/dev/audio.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

2017-02-23 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Fri Feb 24 01:26:17 UTC 2017

Modified Files:
src/crypto/external/bsd/netpgp/dist/src/lib: netpgp.c
src/crypto/external/bsd/netpgp/dist/src/librsa: rsastubs.c

Log Message:
Revert "Remove a useless loop around getpass()"

getpass(3) may return NULL upon failures on Linux, and netpgp should remain
portable to other systems.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 \
src/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c
cvs rdiff -u -r1.3 -r1.4 \
src/crypto/external/bsd/netpgp/dist/src/librsa/rsastubs.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/lib

2017-02-23 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Fri Feb 24 01:27:14 UTC 2017

Modified Files:
src/crypto/external/bsd/netpgp/dist/src/lib: reader.c

Log Message:
Revert "Remove a useless loop around getpass()"

getpass(3) may return NULL upon failures on Linux, and netpgp should remain
portable to other systems.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 \
src/crypto/external/bsd/netpgp/dist/src/lib/reader.c

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



CVS commit: src/tools/mips-elf2ecoff/machine

2017-02-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 24 03:44:54 UTC 2017

Modified Files:
src/tools/mips-elf2ecoff/machine: ecoff_machdep.h

Log Message:
refresh


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tools/mips-elf2ecoff/machine/ecoff_machdep.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/pci

2017-02-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Feb 24 05:04:46 UTC 2017

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

Log Message:
Fix 0x%u...


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/dev/pci/pci_subr.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-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Feb 24 05:38:30 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h

Log Message:
 Print mac.type and the TrackID.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/ixgbe/ixgbe_type.h

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



CVS commit: src/tests/kernel

2017-02-23 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Feb 24 06:17:48 UTC 2017

Modified Files:
src/tests/kernel: t_ptrace_wait.c

Log Message:
Add new test syscall1 in t_ptrace_wait*

syscall1:
Verify that getpid(2) can be traced with PT_SYSCALL

Enforce usage of syscall(2), it should prevent failing on any possible
optimizations in future as a libc can ship this information not through
syscall (shared struct with kernel or similar).

Sponsored by 


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

2017-02-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Feb 24 06:39:54 UTC 2017

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

Log Message:
 Use macro. KNF. No functional change.


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

2017-02-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb 24 07:52:39 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Fix a locking botch in previous


To generate a diff of this commit:
cvs rdiff -u -r1.308 -r1.309 src/sys/dev/audio.c

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