CVS commit: src/doc

2018-12-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Dec 16 08:19:51 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
Note NVIDIA Tegra X1 SoC SATA support


To generate a diff of this commit:
cvs rdiff -u -r1.2465 -r1.2466 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/usr.sbin/ndp

2018-12-16 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Dec 16 08:47:43 UTC 2018

Modified Files:
src/usr.sbin/ndp: ndp.c

Log Message:
ndp: SIOCSPFXFLUSH_IN6 and SIOCSRTRFLUSH_IN6 expect struct in6_ifreq

And not just a character string of the interface name.
This only worked before because the interface name is the first member
of the structure.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.sbin/ndp/ndp.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-12-16 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Dec 16 08:54:58 UTC 2018

Modified Files:
src/sys/netinet6: nd6.c

Log Message:
netinet6: only flush prefixes and routers for the given interface.

Unless it's lo0, where we then flush the lot.
The maintains the status-quo with ndp(8) and allows dhcpcd(8) to at least
try and work with kernel RA on one interface and dhcpcd on another.


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/sys/netinet6/nd6.c

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



CVS commit: src/distrib/amd64/liveimage/emuimage

2018-12-16 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Dec 16 08:58:21 UTC 2018

Modified Files:
src/distrib/amd64/liveimage/emuimage: Makefile

Log Message:
Fix previous: set EMUIMAGEMB, not USBIMAGEMB.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/amd64/liveimage/emuimage/Makefile

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

2018-12-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Dec 16 10:42:32 UTC 2018

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

Log Message:
Explicitly disable ALTINST on VIA, in case it isn't disabled by default
already (the 'VIA cpu backdoor').


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/x86/x86/identcpu.c

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



CVS commit: src/usr.sbin/sysinst

2018-12-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Dec 16 11:36:08 UTC 2018

Modified Files:
src/usr.sbin/sysinst: Makefile.inc defs.h main.c

Log Message:
Separate binary sets and binary pkg prefix from the machine, and set
it explicitly for evbarm*, evbmips* and evbsh3 so we get the correct
64bit pkgs on aarch64 and also have working defaults on the other
variants.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/sysinst/Makefile.inc
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/main.c

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



CVS commit: src/usr.sbin/sysinst

2018-12-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Dec 16 11:40:09 UTC 2018

Modified Files:
src/usr.sbin/sysinst: main.c

Log Message:
Editor mishap in previous, pointed out by leot


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/sysinst/main.c

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



CVS commit: src/lib/librumphijack

2018-12-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Dec 16 14:03:37 UTC 2018

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

Log Message:
Add an option "modctl" to capture modctl().


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/lib/librumphijack/hijack.c
cvs rdiff -u -r1.12 -r1.13 src/lib/librumphijack/rumphijack.3

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



CVS commit: src/tests/fs

2018-12-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Dec 16 14:04:14 UTC 2018

Modified Files:
src/tests/fs/common: fstest_zfs.c
src/tests/fs/zfs: t_zpool.sh

Log Message:
Have to hijack sysctl() and modctl() for zfs commands.

Should fix PR kern/53422


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/common/fstest_zfs.c
cvs rdiff -u -r1.3 -r1.4 src/tests/fs/zfs/t_zpool.sh

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



CVS commit: src/sys

2018-12-16 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun Dec 16 14:06:56 UTC 2018

Modified Files:
src/sys/kern: files.kern
src/sys/rump/librump/rumpkern: Makefile.rumpkern
Added Files:
src/sys/kern: subr_thmap.c
src/sys/sys: thmap.h

Log Message:
Import thmap -- a concurrent trie-hash map, combining the elements of
hashing and radix trie.  It supports lock-free lookups and concurrent
inserts/deletes.  It is designed to be optimal as a general purpose
*concurrent* associative array.

Upstream: https://github.com/rmind/thmap
Discussed on tech-kern@


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/kern/files.kern
cvs rdiff -u -r0 -r1.1 src/sys/kern/subr_thmap.c
cvs rdiff -u -r1.171 -r1.172 src/sys/rump/librump/rumpkern/Makefile.rumpkern
cvs rdiff -u -r0 -r1.1 src/sys/sys/thmap.h

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



CVS commit: src/lib/libc/hash/md2

2018-12-16 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Dec 16 14:08:49 UTC 2018

Modified Files:
src/lib/libc/hash/md2: md2.3

Log Message:
Remove self reference in SEE ALSO
Add references consistent with those in md4(3) and md5(3)

Reported by kamil


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/hash/md2/md2.3

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



CVS commit: src/lib/libtelnet

2018-12-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Dec 16 16:06:39 UTC 2018

Modified Files:
src/lib/libtelnet: auth.c

Log Message:
unifdef RSA_ENCPWD. The matching code does not exist.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libtelnet/auth.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/imx

2018-12-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Dec 16 16:45:12 UTC 2018

Modified Files:
src/sys/arch/arm/imx: imx6_pcie.c

Log Message:
Fix build


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/imx/imx6_pcie.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

2018-12-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Dec 16 16:46:13 UTC 2018

Modified Files:
src/sys/arch/arm/cortex: scu_reg.h
src/sys/arch/evbarm/nitrogen6: nitrogen6_machdep.c

Log Message:
Move register definiton to header


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/cortex/scu_reg.h
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/nitrogen6/nitrogen6_machdep.c

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/net/getaddrinfo

2018-12-16 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Dec 16 17:08:19 UTC 2018

Modified Files:
src/tests/lib/libc/net/getaddrinfo: no_serv_v4.exp

Log Message:
Update error string


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/net/getaddrinfo/no_serv_v4.exp

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/unit-tests

2018-12-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 16 17:30:57 UTC 2018

Modified Files:
src/usr.bin/make/unit-tests: varquote.mk

Log Message:
Use printf instead of echo since we can't portably use \ in string (from sjg@)
http://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/varquote.mk

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



CVS commit: src/sys

2018-12-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 16 17:46:58 UTC 2018

Modified Files:
src/sys/netinet: dccp_usrreq.c tcp_usrreq.c
src/sys/sys: socketvar.h

Log Message:
sbspace() does not return negative values anymore and that broke OOB data
sending. Instead of depending on negative values, account for the 1024
bytes sosend() adds so that it can use all the space here in a separate
function sbspace_oob(). Idea from mlelstv@


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/netinet/dccp_usrreq.c
cvs rdiff -u -r1.221 -r1.222 src/sys/netinet/tcp_usrreq.c
cvs rdiff -u -r1.158 -r1.159 src/sys/sys/socketvar.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/make/unit-tests

2018-12-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 16 18:53:34 UTC 2018

Modified Files:
src/usr.bin/make/unit-tests: varquote.mk

Log Message:
use %s formats to avoid -flag confusion (from sjg)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/varquote.mk

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

2018-12-16 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Dec 16 20:58:00 UTC 2018

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

Log Message:
use ci_ipending instead of ci_istate.ipending, NFC


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/x86/lapic.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-12-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Dec 16 21:03:35 UTC 2018

Modified Files:
src/sys/kern: subr_pool.c
src/sys/sys: pool.h

Log Message:
Add support for detecting use-after-frees in KASAN. We poison each freed
buffer, any subsequent read or write will be detected as illegal.

 * Add POOL_CHECK_MAGIC, which is disabled under KASAN, because the same
   detection is done in a better way.

 * Register the size+redzone in the pool structure, to reduce the overhead.

 * Fix the CTOR/DTOR check in KLEAK, the fields are never NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 src/sys/kern/subr_pool.c
cvs rdiff -u -r1.82 -r1.83 src/sys/sys/pool.h

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



CVS commit: src/usr.sbin/sysinst

2018-12-16 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Mon Dec 17 01:16:49 UTC 2018

Modified Files:
src/usr.sbin/sysinst: Makefile.inc

Log Message:
Fix line continuations in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/Makefile.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/make

2018-12-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 17 02:06:00 UTC 2018

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

Log Message:
PR/53796: Valery Ushakov: make prints wrong makefile path in an error message
Use ${.CURDIR} if ${.PARSEDIR} is not absolute.


To generate a diff of this commit:
cvs rdiff -u -r1.229 -r1.230 src/usr.bin/make/parse.c

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



CVS commit: src/share/man/man4

2018-12-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Dec 17 04:11:34 UTC 2018

Modified Files:
src/share/man/man4: urtwn.4

Log Message:
 Add IO-DATA WN-G150UMW.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/urtwn.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/pci

2018-12-16 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Dec 17 04:14:40 UTC 2018

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

Log Message:
Fix txqueue assignment. Pointed out by yamaguchi@n.o, thanks.

E.g. When ncpu is six and nqueue is four, the sequence error occurs.

XXX pullup-8


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

2018-12-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Dec 17 04:21:45 UTC 2018

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

Log Message:
 When sc->phy.acquire() failed, it's not required to call sc->phy.release().


To generate a diff of this commit:
cvs rdiff -u -r1.606 -r1.607 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/conf

2018-12-16 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Dec 17 04:37:15 UTC 2018

Modified Files:
src/sys/conf: dts.mk

Log Message:
Add support for building overlay DT blobs specified in the kernel
config file like so:

makeoptions DTS_OVERLAYDIR="${THISARM}/conf"
makeoptions DTS_OVERLAYS="
my-cool-overlay.dts
"

The result is my-cool-overlay.dtbo in the kernel compile directory.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/conf/dts.mk

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



CVS commit: src/sys/uvm

2018-12-16 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Dec 17 06:53:01 UTC 2018

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

Log Message:
Raise the fill_vmentries() E2BIG limit from 1MB to 10MB

The previous limit was not enough for libFuzzer as it requires up to 2.5MB
in test-suite.

Alternative approaches to retrieve larger address map during happened to be
worse during the evaluation due to difficulties in locking and atomicity.

Discussed with 


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

2018-12-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Dec 17 06:58:54 UTC 2018

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

Log Message:
Add two pmap fields, will be used by NVMM-VMX. Also apply a few cosmetic
changes.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.313 -r1.314 src/sys/arch/x86/x86/pmap.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

2018-12-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Dec 17 07:10:07 UTC 2018

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

Log Message:
Remove dead checks, they were already pointless when I fixed them a few
years ago, and now they are wrong because the PTE space is randomized.


To generate a diff of this commit:
cvs rdiff -u -r1.314 -r1.315 src/sys/arch/x86/x86/pmap.c

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