CVS commit: src

2018-08-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug  9 08:30:29 UTC 2018

Modified Files:
src: build.sh

Log Message:
Add some aliases (from phone)


To generate a diff of this commit:
cvs rdiff -u -r1.327 -r1.328 src/build.sh

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

2018-08-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug  9 08:32:41 UTC 2018

Modified Files:
src/crypto/external/bsd/openssh/dist: monitor_wrap.c mux.c packet.c
serverloop.c session.c

Log Message:
change some 255's to 254's to avoid being too aggressive blacklisting.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 \
src/crypto/external/bsd/openssh/dist/monitor_wrap.c \
src/crypto/external/bsd/openssh/dist/mux.c \
src/crypto/external/bsd/openssh/dist/serverloop.c
cvs rdiff -u -r1.31 -r1.32 src/crypto/external/bsd/openssh/dist/packet.c
cvs rdiff -u -r1.24 -r1.25 src/crypto/external/bsd/openssh/dist/session.c

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



CVS commit: src/sys/fs/tmpfs

2018-08-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug  9 08:43:56 UTC 2018

Modified Files:
src/sys/fs/tmpfs: tmpfs_vfsops.c

Log Message:
FIx performance regression from rmind@:

Just from a very quick look, it seems like a regression introduced with
the vcache changes: the MP-safe flag is set too late and not inherited
by the root vnode.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/fs/tmpfs/tmpfs_vfsops.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/aarch64/include

2018-08-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Aug  9 10:27:17 UTC 2018

Modified Files:
src/sys/arch/aarch64/include: armreg.h

Log Message:
Restore ICC_SRE_EL2 registers lost in previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/aarch64/include/armreg.h

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



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

2018-08-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug  9 12:45:15 UTC 2018

Modified Files:
src/tests/lib/libc/misc: Makefile

Log Message:
Fix stack protector build.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/misc/Makefile

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



CVS commit: [netbsd-8] src/crypto/external/bsd/openssl/dist/crypto

2018-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Aug  9 13:21:36 UTC 2018

Modified Files:
src/crypto/external/bsd/openssl/dist/crypto/evp [netbsd-8]: evp.h
src/crypto/external/bsd/openssl/dist/crypto/x509 [netbsd-8]: x509_vfy.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #967):

crypto/external/bsd/openssl.old/dist/crypto/evp/evp.h: revision 1.6
crypto/external/bsd/openssl.old/dist/crypto/x509/x509_vfy.h: revision 
1.2
(applied to crypto/external/bsd/openssl/)

Add missing functions for racoon2 to compile under netbsd-8
>From Chuck Zmudzinski

XXX: pullup-8 (to openssl not openssl.old)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.9.4.1 -r1.1.1.9.4.2 \
src/crypto/external/bsd/openssl/dist/crypto/evp/evp.h
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/crypto/external/bsd/openssl/dist/crypto/x509/x509_vfy.h

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



CVS commit: [netbsd-8] src/sys/fs/tmpfs

2018-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Aug  9 13:24:41 UTC 2018

Modified Files:
src/sys/fs/tmpfs [netbsd-8]: tmpfs_vfsops.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #968):

sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.73

Fix tmpfs performance regression from rmind@:
Just from a very quick look, it seems like a regression introduced with
the vcache changes: the MP-safe flag is set too late and not inherited
by the root vnode.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.72.2.1 src/sys/fs/tmpfs/tmpfs_vfsops.c

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



CVS commit: [netbsd-8] src/doc

2018-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Aug  9 13:25:35 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.1

Log Message:
Tickets #967 and #968


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/doc/CHANGES-8.1

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



CVS commit: src/sys/fs/udf

2018-08-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug  9 13:49:30 UTC 2018

Modified Files:
src/sys/fs/udf: ecma167-udf.h

Log Message:
Sync with UDFclient


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/udf/ecma167-udf.h

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



CVS commit: [netbsd-7] src/lib/libcurses

2018-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Aug  9 14:38:16 UTC 2018

Modified Files:
src/lib/libcurses [netbsd-7]: addbytes.c

Log Message:
Pull up following revision(s) (requested by simonb in ticket #1627):

lib/libcurses/addbytes.c: revision 1.48

Avoid curx going beyond end of window when adding a wide character to the
last column.

OK @blymn.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.42.4.1 src/lib/libcurses/addbytes.c

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

2018-08-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Aug  9 14:39:22 UTC 2018

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

Log Message:
Ticket #1627


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

2018-08-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  9 16:27:23 UTC 2018

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

Log Message:
Fix two bugs for non-SERDES fiber. Tested on 82544EI(0x1009), 82545GM(0x1027),
82546GB(0x107a), 82571GB(0x105f), 82572EI(0x107e). Tested on SERDES
82580(0x150e (Winyao SERDES SFP)) and 82580(0x150e) as regression test:

- Fix a bug that the link can't detect in link interrupt function for
  non-SERDES fiber. When the signal is detected & STATUS_LU == 0 & RXCW == 0,
  it's required to set CTRL_SLU and CTRL_FD bit. wm_check_for_link() is the
  function to do it. If a link status change interrupt occured, call
  wm_check_for_link() before checking current link staus.
- Fix a bug that 82542 misunderstand fiber's signal detection. CTRL_SWDPIN(1)
  is used for fiber's signal and it's value is reversed only on 82543 and
  82544. Simplify the code and move it into a new function wm_tbi_havesignal()
  and use it.


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

2018-08-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Aug  9 17:26:00 UTC 2018

Modified Files:
src/sys/arch/xen/xen: xennetback_xenbus.c

Log Message:
style a bit


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/xen/xen/xennetback_xenbus.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/xen/xen

2018-08-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Aug  9 17:32:44 UTC 2018

Modified Files:
src/sys/arch/xen/xen: xennetback_xenbus.c

Log Message:
Use an independent pool, don't steal pages from mcl_cache. This was a bad
hack.

No particular functional change, since the (MCLBYTES != PAGE_SIZE)
condition is already true.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/xen/xen/xennetback_xenbus.c

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



CVS commit: src/sys

2018-08-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Aug  9 17:43:55 UTC 2018

Modified Files:
src/sys/kern: uipc_mbuf.c
src/sys/sys: mbuf.h

Log Message:
Localify mcl_cache.


To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/sys/kern/uipc_mbuf.c
cvs rdiff -u -r1.208 -r1.209 src/sys/sys/mbuf.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/usb

2018-08-09 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Aug  9 18:17:39 UTC 2018

Modified Files:
src/sys/dev/usb: ehci.c

Log Message:
fix DIAGNOSTIC build by not copying ub_usepolling to stack before use


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/sys/dev/usb/ehci.c

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



CVS commit: src/sys/fs/udf

2018-08-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug  9 20:30:26 UTC 2018

Modified Files:
src/sys/fs/udf: udf_subr.c

Log Message:
Fix length calculation


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/fs/udf/udf_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/usb

2018-08-09 Thread Patrick Welche
Module Name:src
Committed By:   prlw1
Date:   Thu Aug  9 21:16:43 UTC 2018

Modified Files:
src/sys/dev/usb: ohci.c uhci.c

Log Message:
Sprinkle __diagused


To generate a diff of this commit:
cvs rdiff -u -r1.282 -r1.283 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.281 -r1.282 src/sys/dev/usb/uhci.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

2018-08-09 Thread Patrick Welche
Module Name:src
Committed By:   prlw1
Date:   Thu Aug  9 21:23:23 UTC 2018

Modified Files:
src/sys/dev/usb: ohci.c

Log Message:
whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 src/sys/dev/usb/ohci.c

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



CVS commit: src/doc

2018-08-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Aug  9 23:13:31 UTC 2018

Modified Files:
src/doc: 3RDPARTY

Log Message:
Add homepage & current version info for elftoolchain.


To generate a diff of this commit:
cvs rdiff -u -r1.1538 -r1.1539 src/doc/3RDPARTY

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



CVS commit: src/doc

2018-08-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Aug 10 00:19:09 UTC 2018

Modified Files:
src/doc: 3RDPARTY

Log Message:
Update current versions of less, libarchive, libpcap.
Update libarchive home page.


To generate a diff of this commit:
cvs rdiff -u -r1.1539 -r1.1540 src/doc/3RDPARTY

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



CVS commit: src/sys/external/bsd/dwc2

2018-08-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Aug 10 04:24:46 UTC 2018

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Fix debug build. Also make formats more consistent with others in
DPRINTF added in the previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/external/bsd/dwc2/dwc2.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/broadcom

2018-08-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Aug 10 04:44:16 UTC 2018

Modified Files:
src/sys/arch/arm/broadcom: bcm283x_platform.c

Log Message:
* Convert bus address to physical address in xxx_bs_mmap(), as done in
  xxx_bs_map().

* Reuse bs_map and bs_mmap in arm_generic_bs_tag in order to
  - set pmap flags properly for aarch64
  - dedup codes

OK ryo


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/broadcom/bcm283x_platform.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/xen/xen

2018-08-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Aug 10 06:23:12 UTC 2018

Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c

Log Message:
Don't unconditionally call pmap_extract_ma, it is part of XENNET_DEBUG.
This call costs us.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/xen/xen/if_xennet_xenbus.c

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



CVS commit: src/sys

2018-08-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Aug 10 06:46:09 UTC 2018

Modified Files:
src/sys/arch/powerpc/booke/dev: pq3etsec.c
src/sys/dist/pf/net: pf_ioctl.c
src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c
src/sys/net: if_loop.c
src/sys/net/npf: npf_mbuf.c
src/sys/netinet6: in6.h in6_offload.c in6_offload.h ip6_output.c

Log Message:
Rename

ip6_undefer_csum  -> in6_undefer_cksum
in6_delayed_cksum -> in6_undefer_cksum_tcpudp

The two previous names were inconsistent and misleading.

Put the two functions into in6_offload.c. Add comments to explain what
we're doing.

Same as IPv4.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/powerpc/booke/dev/pq3etsec.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dist/pf/net/pf_ioctl.c
cvs rdiff -u -r1.29 -r1.30 src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
cvs rdiff -u -r1.104 -r1.105 src/sys/net/if_loop.c
cvs rdiff -u -r1.19 -r1.20 src/sys/net/npf/npf_mbuf.c
cvs rdiff -u -r1.91 -r1.92 src/sys/netinet6/in6.h
cvs rdiff -u -r1.8 -r1.9 src/sys/netinet6/in6_offload.c
cvs rdiff -u -r1.7 -r1.8 src/sys/netinet6/in6_offload.h
cvs rdiff -u -r1.211 -r1.212 src/sys/netinet6/ip6_output.c

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



CVS commit: src/sys/netinet6

2018-08-09 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Aug 10 06:55:04 UTC 2018

Modified Files:
src/sys/netinet6: in6_offload.c in6_offload.h

Log Message:
Remove the callback and localify. Same as IPv4.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/netinet6/in6_offload.c
cvs rdiff -u -r1.8 -r1.9 src/sys/netinet6/in6_offload.h

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