CVS commit: src/sys/lib/libsa

2017-04-18 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Apr 18 07:44:21 UTC 2017

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

Log Message:
Swap arguments to strncmp() so that the thing we are testing, the
section name, comes first; and so that the length of the string
constant is right next to that constant.


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

2017-04-18 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Apr 18 10:00:26 UTC 2017

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

Log Message:
 Add missing ':'


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 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/netipsec

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Apr 18 10:49:35 UTC 2017

Modified Files:
src/sys/netipsec: key_debug.c

Log Message:
Use %zu for size_t (fix build of 32bit archs)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/netipsec/key_debug.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/rpc

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 11:35:34 UTC 2017

Modified Files:
src/lib/libc/rpc: svc_fdset.c

Log Message:
avoid calloc(1,0).
from clang static analyzer

ok christos


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/rpc/svc_fdset.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-04-18 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue Apr 18 11:44:38 UTC 2017

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

Log Message:
use DPRINTF instead of #define INTRDEBUG and printf().


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x86/x86/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/arch/x86/x86

2017-04-18 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue Apr 18 11:49:50 UTC 2017

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

Log Message:
change aprint_verbose() to know easily msi devices affinity to CPU#0 or not.

suggested by msaitoh@n.o.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/x86/x86/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/arch/shark/ofw

2017-04-18 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Tue Apr 18 12:17:12 UTC 2017

Modified Files:
src/sys/arch/shark/ofw: vlpci.c

Log Message:
KNF, whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/shark/ofw/vlpci.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/gen

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 12:34:07 UTC 2017

Modified Files:
src/lib/libc/gen: xsyslog.c

Log Message:
always initialize iovcnt

from clang static analyzer


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/xsyslog.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/shark/ofw

2017-04-18 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Tue Apr 18 14:11:42 UTC 2017

Modified Files:
src/sys/arch/shark/ofw: vlpci.c
Added Files:
src/sys/arch/shark/ofw: vlpci.h

Log Message:
First pass reducing magic numbers adding register defines.
No change to register values/writes, except VLPCI_MISC_CTL_HIADDR_DIS added.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/shark/ofw/vlpci.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/shark/ofw/vlpci.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/x86/x86

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 15:14:28 UTC 2017

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

Log Message:
switch pmc_ncounters to unsigned int.

matches userland pmc, makes it clear to static analyzers that if the loop
in pmc_nmi (for (i = 0; i < pmc_ncounters; i++) ) is not entered, then the
condition i == pmc_ncounters (== 0) is satisfied and no null derefs occur

this change only helps analyzers read the code, null deref was not possible
before.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/pmc.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/hdaudio

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 16:30:21 UTC 2017

Modified Files:
src/sys/dev/hdaudio: hdafg.c

Log Message:
remove redundant assignments
nchan is overwritten before it is used in all cases. so is i.

from clang static analyzer
ok riastradh


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/hdaudio/hdafg.c

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



CVS commit: src/sys/opencrypto

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 17:05:05 UTC 2017

Modified Files:
src/sys/opencrypto: cryptosoft.c

Log Message:
Remove duplicate assignment.
We assign the same value unconditionally just before.

from clang static analyzer

XXX surrounding code seems fishy


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/opencrypto/cryptosoft.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/iscsi

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 17:28:18 UTC 2017

Modified Files:
src/sys/dev/iscsi: base64.c

Log Message:
Remove redundant duplicate assignment.

from clang static analyzer


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/iscsi/base64.c

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-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 18 18:07:30 UTC 2017

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

Log Message:
PR/52174: Remove root test, it is too verbose. XXX: need to come up with
something better.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/sys/kern/kern_module.c

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



CVS import: src/crypto/external/bsd/openssh/dist

2017-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 18 18:39:20 UTC 2017

Update of /cvsroot/src/crypto/external/bsd/openssh/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv6940

Log Message:
OpenSSH 7.5 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.

OpenSSH is a 100% complete SSH protocol 2.0 implementation and
includes sftp client and server support. OpenSSH also includes
transitional support for the legacy SSH 1.3 and 1.5 protocols
that may be enabled at compile-time.

Once again, we would like to thank the OpenSSH community for their
continued support of the project, especially those who contributed
code or patches, reported bugs, tested snapshots or donated to the
project. More information on donations may be found at:
http://www.openssh.com/donations.html

Future deprecation notice
=

We plan on retiring more legacy cryptography in future releases,
specifically:

 * In the next major release (expected June-August), removing remaining
   support for the SSH v.1 protocol (currently client-only and compile-
   time disabled).

 * In the same release, removing support for Blowfish and RC4 ciphers
   and the RIPE-MD160 HMAC. (These are currently run-time disabled).

 * In the same release, removing the remaining CBC ciphers from being
   offered by default in the client (These have not been offered in
   sshd by default for several years).

 * Refusing all RSA keys smaller than 1024 bits (the current minimum
   is 768 bits)

This list reflects our current intentions, but please check the final
release notes for future releases.

Potentially-incompatible changes


This release includes a number of changes that may affect existing
configurations:

 * This release deprecates the sshd_config UsePrivilegeSeparation
   option, thereby making privilege separation mandatory. Privilege
   separation has been on by default for almost 15 years and
   sandboxing has been on by default for almost the last five.

 * The format of several log messages emitted by the packet code has
   changed to include additional information about the user and
   their authentication state. Software that monitors ssh/sshd logs
   may need to account for these changes. For example:

   Connection closed by user x 1.1.1.1 port 1234 [preauth]
   Connection closed by authenticating user x 10.1.1.1 port 1234 [preauth]
   Connection closed by invalid user x 1.1.1.1 port 1234 [preauth]

   Affected messages include connection closure, timeout, remote
   disconnection, negotiation failure and some other fatal messages
   generated by the packet code.

 * [Portable OpenSSH only] This version removes support for building
   against OpenSSL versions prior to 1.0.1. OpenSSL stopped supporting
   versions prior to 1.0.1 over 12 months ago (i.e. they no longer
   receive fixes for security bugs).

Status:

Vendor Tag: OPENSSH
Release Tags:   v75-20170418

U src/crypto/external/bsd/openssh/dist/PROTOCOL.agent
U src/crypto/external/bsd/openssh/dist/kexc25519.c
U src/crypto/external/bsd/openssh/dist/LICENCE
U src/crypto/external/bsd/openssh/dist/OVERVIEW
U src/crypto/external/bsd/openssh/dist/PROTOCOL
U src/crypto/external/bsd/openssh/dist/PROTOCOL.chacha20poly1305
U src/crypto/external/bsd/openssh/dist/PROTOCOL.certkeys
U src/crypto/external/bsd/openssh/dist/auth-bsdauth.c
U src/crypto/external/bsd/openssh/dist/PROTOCOL.key
U src/crypto/external/bsd/openssh/dist/PROTOCOL.krl
U src/crypto/external/bsd/openssh/dist/PROTOCOL.mux
U src/crypto/external/bsd/openssh/dist/README
U src/crypto/external/bsd/openssh/dist/addrmatch.c
U src/crypto/external/bsd/openssh/dist/atomicio.c
U src/crypto/external/bsd/openssh/dist/atomicio.h
U src/crypto/external/bsd/openssh/dist/auth-options.c
U src/crypto/external/bsd/openssh/dist/auth-krb5.c
U src/crypto/external/bsd/openssh/dist/auth2-hostbased.c
U src/crypto/external/bsd/openssh/dist/auth-options.h
U src/crypto/external/bsd/openssh/dist/auth-passwd.c
U src/crypto/external/bsd/openssh/dist/kex.h
U src/crypto/external/bsd/openssh/dist/auth-rhosts.c
U src/crypto/external/bsd/openssh/dist/auth.c
U src/crypto/external/bsd/openssh/dist/auth.h
U src/crypto/external/bsd/openssh/dist/auth2-chall.c
U src/crypto/external/bsd/openssh/dist/auth2-gss.c
U src/crypto/external/bsd/openssh/dist/auth2-kbdint.c
U src/crypto/external/bsd/openssh/dist/auth2-none.c
U src/crypto/external/bsd/openssh/dist/auth2-passwd.c
C src/crypto/external/bsd/openssh/dist/auth2-pubkey.c
C src/crypto/external/bsd/openssh/dist/auth2.c
U src/crypto/external/bsd/openssh/dist/authfd.c
U src/crypto/external/bsd/openssh/dist/authfd.h
U src/crypto/external/bsd/openssh/dist/authfile.c
U src/crypto/external/bsd/openssh/dist/authfile.h
U src/crypto/external/bsd/openssh/dist/bitmap.c
U src/crypto/external/bsd/openssh/dist/bitmap.h
U src/crypto/external/bsd/openssh/dist/blocks.c
U src/crypto/external/bsd/openssh/dist

CVS commit: src/crypto/external/bsd/openssh/dist

2017-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 18 18:41:46 UTC 2017

Modified Files:
src/crypto/external/bsd/openssh/dist: addrmatch.c atomicio.c atomicio.h
auth-bsdauth.c auth-krb5.c auth-options.c auth-options.h auth-pam.c
auth-pam.h auth-passwd.c auth-rhosts.c auth-skey.c auth.c auth.h
auth2-chall.c auth2-gss.c auth2-hostbased.c auth2-kbdint.c
auth2-krb5.c auth2-none.c auth2-passwd.c auth2-pubkey.c auth2.c
authfd.c authfd.h authfile.c authfile.h bcrypt_pbkdf.c bitmap.c
bitmap.h blocks.c blowfish.c bufaux.c bufbn.c bufec.c buffer.c
buffer.h canohost.c canohost.h chacha.c channels.c channels.h
cipher-3des1.c cipher-bf1.c cipher-chachapoly.c cipher-ctr-mt.c
cipher.c cipher.h cleanup.c clientloop.c clientloop.h compat.c
compat.h crc32.c crc32.h deattack.c deattack.h dh.c dh.h
digest-libc.c digest-openssl.c dispatch.c dispatch.h dns.c dns.h
ed25519.c fatal.c fe25519.c fmt_scaled.c fmt_scaled.h ge25519.c
getpeereid.c getpeereid.h getrrsetbyname.c getrrsetbyname.h
groupaccess.c groupaccess.h gss-genr.c gss-serv-krb5.c gss-serv.c
hash.c hmac.c hostfile.c hostfile.h includes.h kex.c kex.h
kexc25519.c kexc25519c.c kexc25519s.c kexdh.c kexdhc.c kexdhs.c
kexecdh.c kexecdhc.c kexecdhs.c kexgex.c kexgexc.c kexgexs.c key.c
key.h krl.c ldapauth.c ldapauth.h log.c log.h mac.c mac.h match.c
match.h md-sha256.c misc.c misc.h moduli.5 moduli.c monitor.c
monitor.h monitor_fdpass.c monitor_fdpass.h monitor_wrap.c
monitor_wrap.h msg.c msg.h mux.c myproposal.h namespace.h nchan.c
opacket.c opacket.h packet.c packet.h pathnames.h pkcs11.h
poly1305.c progressmeter.c progressmeter.h random.h readconf.c
readconf.h readpass.c readpassphrase.3 readpassphrase.c
readpassphrase.h rsa.c rsa.h sandbox-rlimit.c sc25519.c scp.1 scp.c
servconf.c servconf.h serverloop.c serverloop.h session.c session.h
sftp-client.c sftp-client.h sftp-common.c sftp-common.h sftp-glob.c
sftp-server-main.c sftp-server.8 sftp-server.c sftp.1 sftp.c sftp.h
smult_curve25519_ref.c ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c
ssh-dss.c ssh-ecdsa.c ssh-ed25519.c ssh-gss.h ssh-keygen.1
ssh-keygen.c ssh-keyscan.1 ssh-keyscan.c ssh-keysign.8
ssh-keysign.c ssh-pkcs11-client.c ssh-pkcs11-helper.8
ssh-pkcs11-helper.c ssh-pkcs11.c ssh-pkcs11.h ssh-rsa.c ssh.1 ssh.c
ssh.h ssh1.h ssh2.h ssh_api.c ssh_api.h ssh_config.5
sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c sshd.8 sshd.c
sshd_config sshd_config.5 ssherr.c sshkey.c sshkey.h sshlogin.c
sshlogin.h sshpty.c sshpty.h sshtty.c ttymodes.c ttymodes.h
uidswap.c uidswap.h umac.c umac.h utf8.c uuencode.c uuencode.h
verify.c version.h xmalloc.c xmalloc.h

Log Message:
merge conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/crypto/external/bsd/openssh/dist/addrmatch.c \
src/crypto/external/bsd/openssh/dist/auth-krb5.c \
src/crypto/external/bsd/openssh/dist/auth-pam.c \
src/crypto/external/bsd/openssh/dist/auth2-hostbased.c \
src/crypto/external/bsd/openssh/dist/sftp-server.8 \
src/crypto/external/bsd/openssh/dist/ssh-dss.c \
src/crypto/external/bsd/openssh/dist/ssh2.h
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/openssh/dist/atomicio.c \
src/crypto/external/bsd/openssh/dist/auth-options.h \
src/crypto/external/bsd/openssh/dist/auth-rhosts.c \
src/crypto/external/bsd/openssh/dist/authfd.h \
src/crypto/external/bsd/openssh/dist/authfile.h \
src/crypto/external/bsd/openssh/dist/bufbn.c \
src/crypto/external/bsd/openssh/dist/buffer.c \
src/crypto/external/bsd/openssh/dist/canohost.h \
src/crypto/external/bsd/openssh/dist/cipher-bf1.c \
src/crypto/external/bsd/openssh/dist/cipher-ctr-mt.c \
src/crypto/external/bsd/openssh/dist/dispatch.c \
src/crypto/external/bsd/openssh/dist/groupaccess.c \
src/crypto/external/bsd/openssh/dist/kexc25519s.c \
src/crypto/external/bsd/openssh/dist/kexecdhs.c \
src/crypto/external/bsd/openssh/dist/mac.h \
src/crypto/external/bsd/openssh/dist/match.c \
src/crypto/external/bsd/openssh/dist/match.h \
src/crypto/external/bsd/openssh/dist/monitor_fdpass.c \
src/crypto/external/bsd/openssh/dist/nchan.c \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11-helper.8 \
src/crypto/external/bsd/openssh/dist/sshbuf-getput-crypto.c \
src/crypto/external/bsd/openssh/dist/sshbuf-misc.c \
src/crypto/external/bsd/openssh/dist/umac.h
cvs rdiff -u -r1.6 -r1.7 src/crypto/external/bsd/openssh/dist/atomicio.h \

CVS commit: src/crypto/external/bsd/openssh/lib

2017-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 18 18:41:59 UTC 2017

Modified Files:
src/crypto/external/bsd/openssh/lib: shlib_version

Log Message:
bump


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/crypto/external/bsd/openssh/lib/shlib_version

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

2017-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 18 18:43:11 UTC 2017

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/debug: shl.mi

Log Message:
bump libssh


To generate a diff of this commit:
cvs rdiff -u -r1.809 -r1.810 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.168 -r1.169 src/distrib/sets/lists/debug/shl.mi

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



CVS commit: src/doc

2017-04-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 18 18:44:06 UTC 2017

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new OpenSSH


To generate a diff of this commit:
cvs rdiff -u -r1.1432 -r1.1433 src/doc/3RDPARTY
cvs rdiff -u -r1.2274 -r1.2275 src/doc/CHANGES

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

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 18 19:03:43 UTC 2017

Modified Files:
src/sys/dev/usb: Makefile.usbdevs

Log Message:
Fix typo in comment.  No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/Makefile.usbdevs

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

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 18 19:04:25 UTC 2017

Modified Files:
src/sys/dev/usb: Makefile.usbdevs

Log Message:
Fix the same typo again in the same comment.

Still no functional change.


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

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



CVS commit: src/sys

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 18 19:09:12 UTC 2017

Modified Files:
src/sys/arch/amd64/conf: ALL GENERIC
src/sys/arch/i386/conf: ALL GENERIC
src/sys/dev/usb: ualea.c usbdevices.config usbdevs

Log Message:
gson@ informs me the Alea I and II have the same USB product id.

Thus, ualea(4) should work for both of them.  Rename USB product id
ARANEUS ALEA_II to ARANEUS ALEA to reflect this.

No functional change intended, except perhaps via usbdevs.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.456 -r1.457 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.416 -r1.417 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1153 -r1.1154 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/ualea.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/usbdevices.config
cvs rdiff -u -r1.731 -r1.732 src/sys/dev/usb/usbdevs

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

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 18 19:10:58 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.722 -r1.723 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.723 -r1.724 src/sys/dev/usb/usbdevs_data.h

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



CVS commit: src/sys/rump/dev/lib/libualea

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 18 19:41:27 UTC 2017

Modified Files:
src/sys/rump/dev/lib/libualea: UALEA.ioconf

Log Message:
Make comment match.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libualea/UALEA.ioconf

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



CVS commit: [netbsd-7] src/sys/arch

2017-04-18 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 18 19:53:50 UTC 2017

Modified Files:
src/sys/arch/amd64/conf [netbsd-7]: XEN3_DOM0
src/sys/arch/i386/conf [netbsd-7]: XEN3_DOM0

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1367):
sys/arch/amd64/conf/XEN3_DOM0: revision 1.134
sys/arch/i386/conf/XEN3_DOM0: revision 1.112
Be more explicit about the status of dom0 SMP support.


To generate a diff of this commit:
cvs rdiff -u -r1.103.2.6 -r1.103.2.7 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.85.2.7 -r1.85.2.8 src/sys/arch/i386/conf/XEN3_DOM0

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



CVS commit: [netbsd-7] src/doc

2017-04-18 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 18 19:54:52 UTC 2017

Modified Files:
src/doc [netbsd-7]: CHANGES-7.2

Log Message:
amend 1367


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/doc/CHANGES-7.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/sparc64/sparc64

2017-04-18 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Tue Apr 18 20:02:50 UTC 2017

Modified Files:
src/sys/arch/sparc64/sparc64: locore.s

Log Message:
sun4v: Add handling of trap 0x06c @ trap level 1 - based on code from OpenBSD, 
but slightly adapted to NetBSD. verified using qemu


To generate a diff of this commit:
cvs rdiff -u -r1.409 -r1.410 src/sys/arch/sparc64/sparc64/locore.s

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



CVS commit: [bouyer-socketcan] src/sys/netcan

2017-04-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Apr 18 20:36:27 UTC 2017

Modified Files:
src/sys/netcan [bouyer-socketcan]: can_link.h

Log Message:
Remove clt_clock_freq from user-supplied timing informations, it is defined
by the brp.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/netcan/can_link.h

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



CVS commit: [bouyer-socketcan] src/sys/netcan

2017-04-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Apr 18 20:37:38 UTC 2017

Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_var.h

Log Message:
Add can_ifinit_timings() helper function, which initialise timing parameters
to known invalid values.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/netcan/can.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/netcan/can_var.h

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



CVS commit: [bouyer-socketcan] src/sys/netcan

2017-04-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Apr 18 20:48:07 UTC 2017

Modified Files:
src/sys/netcan [bouyer-socketcan]: files.netcan

Log Message:
if_canloop.c is in netcan/


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/netcan/files.netcan

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



CVS commit: [bouyer-socketcan] src/sys/netcan

2017-04-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Apr 18 21:29:40 UTC 2017

Modified Files:
src/sys/netcan [bouyer-socketcan]: can_var.h

Log Message:
include socketvar.h, so avoid a warning on struct sockopt *


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/netcan/can_var.h

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



CVS commit: [bouyer-socketcan] src/sys/arch/arm/allwinner

2017-04-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Apr 18 21:30:38 UTC 2017

Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: files.awin
Added Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c

Log Message:
First draft of a driver for the CAN controller found in the
Allwinner A20 SoC.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/arm/allwinner/awin_can.c
cvs rdiff -u -r1.36 -r1.36.4.1 src/sys/arch/arm/allwinner/files.awin

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



CVS commit: [bouyer-socketcan] src/sys/arch/evbarm/conf

2017-04-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Apr 18 21:31:48 UTC 2017

Modified Files:
src/sys/arch/evbarm/conf [bouyer-socketcan]: CUBIEBOARD GENERIC.common

Log Message:
Include options CAN and canloop pseudo-device by default.
Add awincan0 device to CUBIEBOARD


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.49.2.1 src/sys/arch/evbarm/conf/CUBIEBOARD
cvs rdiff -u -r1.14 -r1.14.2.1 src/sys/arch/evbarm/conf/GENERIC.common

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



CVS commit: src

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Apr 19 00:01:38 UTC 2017

Modified Files:
src/distrib/sets/lists/modules: mi
src/sys/dev/usb: ualea.c
src/sys/modules: Makefile
src/sys/rump/dev/lib/libualea: Makefile
Added Files:
src/sys/modules/ualea: Makefile ualea.ioconf
Removed Files:
src/sys/rump/dev/lib/libualea: ualea_component.c

Log Message:
Modularize ualea(4).

Unclear why we have a separate xyz.ioconf for module and XYZ.ioconf
for rump component, but at least xyz_modcmd obviates the need for
xyz_component.c (though evidently the latter could have been replaced
anyway by RUMP_COMPONENT=ioconf in the rump component Makefile).


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/usb/ualea.c
cvs rdiff -u -r1.190 -r1.191 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/ualea/Makefile \
src/sys/modules/ualea/ualea.ioconf
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libualea/Makefile
cvs rdiff -u -r1.1 -r0 src/sys/rump/dev/lib/libualea/ualea_component.c

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



CVS commit: src

2017-04-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Apr 19 00:17:31 UTC 2017

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: ualea.4

Log Message:
Offering for the wiz daemon.


To generate a diff of this commit:
cvs rdiff -u -r1.1553 -r1.1554 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.634 -r1.635 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/ualea.4

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-04-18 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Apr 19 00:20:02 UTC 2017

Modified Files:
src/sys/dev/ic: rtl8169.c rtl81x9reg.h rtl81x9var.h
src/sys/dev/pci: if_re_pci.c

Log Message:
Performance improvements for PCIe and 8168 based devices:
 - When using the countdown timer for interrupt moderation on PCIe devices,
   use a timer rate value based on a 125MHz PCIe reference clock instead of
   33 MHz.
 - For 8168 based devices, ditch the countdown timer and instead use the
   (undocumented) hardware interrupt moderation feature.
 - Support TSOv4 on 8168D and later devices.


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/ic/rtl81x9reg.h
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/ic/rtl81x9var.h
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/pci/if_re_pci.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/ic

2017-04-18 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Apr 19 02:21:53 UTC 2017

Modified Files:
src/sys/dev/ic: rtl81x9reg.h

Log Message:
Fix value for RE_TDESC_CMD_LGSEND_V6 (currently unused)


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/ic/rtl81x9reg.h

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



CVS commit: src/sys/netinet

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 19 03:23:06 UTC 2017

Modified Files:
src/sys/netinet: ip_carp.c

Log Message:
Fix build without INET6


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/netinet/ip_carp.c

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



CVS commit: src/sys/netipsec

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 19 03:28:19 UTC 2017

Modified Files:
src/sys/netipsec: ipsec.c

Log Message:
Improve message on assertion failure


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/netipsec/ipsec.c

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



CVS commit: src/sys/netipsec

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 19 03:39:14 UTC 2017

Modified Files:
src/sys/netipsec: ipsec.c ipsec.h ipsec_input.c ipsec_mbuf.c
ipsec_output.c ipsec_private.h key.c keysock.c xform_ah.c
xform_esp.c xform_ipcomp.c xform_ipip.c xform_tcp.c
Removed Files:
src/sys/netipsec: ipsec_osdep.h

Log Message:
Retire ipsec_osdep.h

We don't need to care other OSes (FreeBSD) anymore.

Some macros are alive in ipsec_private.h.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/netipsec/ipsec.c
cvs rdiff -u -r1.40 -r1.41 src/sys/netipsec/ipsec.h \
src/sys/netipsec/ipsec_input.c
cvs rdiff -u -r1.14 -r1.15 src/sys/netipsec/ipsec_mbuf.c
cvs rdiff -u -r1.26 -r0 src/sys/netipsec/ipsec_osdep.h
cvs rdiff -u -r1.44 -r1.45 src/sys/netipsec/ipsec_output.c
cvs rdiff -u -r1.3 -r1.4 src/sys/netipsec/ipsec_private.h
cvs rdiff -u -r1.108 -r1.109 src/sys/netipsec/key.c
cvs rdiff -u -r1.50 -r1.51 src/sys/netipsec/keysock.c
cvs rdiff -u -r1.52 -r1.53 src/sys/netipsec/xform_ah.c
cvs rdiff -u -r1.53 -r1.54 src/sys/netipsec/xform_esp.c
cvs rdiff -u -r1.36 -r1.37 src/sys/netipsec/xform_ipcomp.c
cvs rdiff -u -r1.47 -r1.48 src/sys/netipsec/xform_ipip.c
cvs rdiff -u -r1.10 -r1.11 src/sys/netipsec/xform_tcp.c

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



CVS commit: src/sys/netipsec

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 19 03:40:58 UTC 2017

Modified Files:
src/sys/netipsec: ipsec.c key.c

Log Message:
Change panic if DIAGNOSTIC to KASSERT

One can be changed to CTASSERT.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/netipsec/ipsec.c
cvs rdiff -u -r1.109 -r1.110 src/sys/netipsec/key.c

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



CVS commit: src/sys/netipsec

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 19 03:42:11 UTC 2017

Modified Files:
src/sys/netipsec: ipsec.c key.c key_debug.h keysock.c

Log Message:
Tweak KEYDEBUG macros

Let's avoid passing statements to a macro.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/netipsec/ipsec.c
cvs rdiff -u -r1.110 -r1.111 src/sys/netipsec/key.c
cvs rdiff -u -r1.7 -r1.8 src/sys/netipsec/key_debug.h
cvs rdiff -u -r1.51 -r1.52 src/sys/netipsec/keysock.c

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



CVS commit: src/sys/netipsec

2017-04-18 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 19 03:43:34 UTC 2017

Modified Files:
src/sys/netipsec: ipsec.c

Log Message:
Fix indentations (NFC)


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/netipsec/ipsec.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/make

2017-04-18 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Wed Apr 19 04:54:17 UTC 2017

Modified Files:
src/usr.bin/make: main.c

Log Message:
We cannot use buf as both src and destination for snprintf.


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/usr.bin/make/main.c

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-04-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Apr 19 06:19:03 UTC 2017

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

Log Message:
Be consistent about checking for text section address being 0, and
don't ignore errors by falling through to the next section(s).

As discussed on tech-kern@


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/kern/subr_kobj.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/include

2017-04-18 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Wed Apr 19 06:43:05 UTC 2017

Modified Files:
src/sys/arch/x86/include: cpuvar.h i82489var.h

Log Message:
remove prototypes of nonexistent function.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x86/include/i82489var.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-04-18 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 19 06:52:11 UTC 2017

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

Log Message:
 Use macro. No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/if_bce.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-04-18 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 19 06:53:52 UTC 2017

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
 Add BCM4401 B0 step. Old BCM4401 B0 entry is changed to B1. From OpenBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.1285 -r1.1286 src/sys/dev/pci/pcidevs

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-04-18 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 19 06:54:15 UTC 2017

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.1277 -r1.1278 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1276 -r1.1277 src/sys/dev/pci/pcidevs_data.h

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