CVS commit: src

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 08:15:20 UTC 2016

Modified Files:
src/sys/uvm: uvm_physseg.c uvm_physseg.h
src/tests/sys/uvm: t_uvm_physseg.c t_uvm_physseg_load.c

Log Message:
convention about function names for predicate checking:
s/uvm_physseg_valid()/uvm_physseg_valid_p()/

per. matt@


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/uvm_physseg.c src/sys/uvm/uvm_physseg.h
cvs rdiff -u -r1.1 -r1.2 src/tests/sys/uvm/t_uvm_physseg.c \
src/tests/sys/uvm/t_uvm_physseg_load.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/mountd

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Dec 22 09:44:56 UTC 2016

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
Add xrefs to ipsec_set_policy(3) and signal(7)


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/mountd/mountd.8

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



CVS commit: src/sys/rump/net/lib/libshmif

2016-12-22 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 22 10:13:09 UTC 2016

Modified Files:
src/sys/rump/net/lib/libshmif: if_shmem.c

Log Message:
Fix handling return value of rumpcomp_shmif_watchwait


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/rump/net/lib/libshmif/if_shmem.c

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



CVS commit: othersrc/usr.bin/guest2core

2016-12-22 Thread Michael van Elst
Module Name:othersrc
Committed By:   mlelstv
Date:   Thu Dec 22 10:31:17 UTC 2016

Added Files:
othersrc/usr.bin/guest2core: Makefile README main.c

Log Message:
Translates the dump of qemu guest memory to a NetBSD core file.
So far x86_64 only.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/usr.bin/guest2core/Makefile \
othersrc/usr.bin/guest2core/README othersrc/usr.bin/guest2core/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/dev/scsipi

2016-12-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Dec 22 11:19:21 UTC 2016

Modified Files:
src/sys/dev/scsipi: scsipi_base.c

Log Message:
fix comment. request_sense is called unlocked.


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/sys/dev/scsipi/scsipi_base.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/man9

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 11:46:48 UTC 2016

Modified Files:
src/share/man/man9: Makefile

Log Message:
Add the uvm_hotplug.9 manpage to the build tree.


To generate a diff of this commit:
cvs rdiff -u -r1.398 -r1.399 src/share/man/man9/Makefile

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



CVS commit: src/usr.bin/finger

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Dec 22 12:39:40 UTC 2016

Modified Files:
src/usr.bin/finger: finger.1

Log Message:
Instead of saying "The finger displays information..." say "The finger utility"
(not sure if it was intentionally written like that :)

Also, add an xref to fingerd(8)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/finger/finger.1

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



CVS commit: src/libexec/fingerd

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Dec 22 12:42:25 UTC 2016

Modified Files:
src/libexec/fingerd: fingerd.8

Log Message:
We don't have any ``name'' program, so remove its reference
and use markup to refer finger(1).

ok wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/libexec/fingerd/fingerd.8

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



CVS commit: src/sys/rump/net/lib/libshmif

2016-12-22 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 22 12:55:28 UTC 2016

Modified Files:
src/sys/rump/net/lib/libshmif: if_shmem.c

Log Message:
Fix that rump.ifconfig shmifN destroy hangs up

rump.ifconfig shmifN destroy sometimes hangs up on closing a file
descriptor of kqueue under heavy load. It seems it happens because of
a race condition between closing a fd and kevent to the same fd on
another kthread for packet Rx. Fix it by executing the close operation
after the kthread left.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/rump/net/lib/libshmif/if_shmem.c

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



CVS commit: src/sys/uvm

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 12:55:21 UTC 2016

Modified Files:
src/sys/uvm: uvm_extern.h uvm_init.c

Log Message:
Add a new function called uvm_md_init() that can be called at the
appropriate time in the boot path by MD code.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.46 -r1.47 src/sys/uvm/uvm_init.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/comp

2016-12-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Dec 22 12:57:18 UTC 2016

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

Log Message:
fix release build after the addition of uvm_hotplug man9 page
by adding it to the set lists.


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

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 13:26:25 UTC 2016

Modified Files:
src/sys/uvm: Makefile uvm.h uvm_extern.h uvm_page.c

Log Message:
Use uvm_physseg.h:uvm_page_physload() instead of uvm_extern.h

For this, include uvm_physseg.h in the build and include tree, make a
cosmetic modification to the prototype for uvm_page_physload().


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/uvm/Makefile
cvs rdiff -u -r1.66 -r1.67 src/sys/uvm/uvm.h
cvs rdiff -u -r1.199 -r1.200 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.187 -r1.188 src/sys/uvm/uvm_page.c

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



CVS commit: src/sys

2016-12-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Dec 22 13:42:15 UTC 2016

Modified Files:
src/sys/dev: dksubr.c dkvar.h
src/sys/sys: param.h

Log Message:
Fix race condition in dksubr, where a dk_start from another thread
or interrupt was ignored while the queue was processed.

Bump kernel revision for changed dk_softc.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/dksubr.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/dkvar.h
cvs rdiff -u -r1.518 -r1.519 src/sys/sys/param.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

2016-12-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Dec 22 14:11:58 UTC 2016

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

Log Message:
When balancing threads over multiple CPUs, use fixpoint arithmetic
for averages. Otherwise the decisions can be heavily biased by rounding
errors.

Add sysctl kern.sched_average_weight to change the weight of
historical data, the default is 50%.


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

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 14:48:00 UTC 2016

Modified Files:
src/sys/arch/acorn26/acorn26: start.c
src/sys/arch/acorn32/acorn32: rpc_machdep.c
src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c
src/sys/arch/algor/algor: machdep.c
src/sys/arch/alpha/alpha: machdep.c
src/sys/arch/amd64/amd64: machdep.c
src/sys/arch/amiga/amiga: pmap_bootstrap.c
src/sys/arch/amigappc/amigappc: machdep.c
src/sys/arch/arc/arc: machdep.c
src/sys/arch/arm/arm32: arm32_boot.c
src/sys/arch/arm/at91: at91bus.c
src/sys/arch/atari/atari: pmap_bootstrap.c
src/sys/arch/cobalt/cobalt: machdep.c
src/sys/arch/emips/emips: machdep.c
src/sys/arch/epoc32/epoc32: machdep.c
src/sys/arch/evbarm/adi_brh: brh_machdep.c
src/sys/arch/evbarm/armadillo: armadillo9_machdep.c
src/sys/arch/evbarm/g42xxeb: g42xxeb_machdep.c
src/sys/arch/evbarm/gemini: gemini_machdep.c
src/sys/arch/evbarm/hdl_g: hdlg_machdep.c
src/sys/arch/evbarm/imx31: imx31lk_machdep.c
src/sys/arch/evbarm/iq80310: iq80310_machdep.c
src/sys/arch/evbarm/iq80321: iq80321_machdep.c
src/sys/arch/evbarm/ixdp425: ixdp425_machdep.c
src/sys/arch/evbarm/ixm1200: ixm1200_machdep.c
src/sys/arch/evbarm/lubbock: lubbock_machdep.c
src/sys/arch/evbarm/mini2440: mini2440_machdep.c
src/sys/arch/evbarm/npwr_fc: npwr_fc_machdep.c
src/sys/arch/evbarm/nslu2: nslu2_machdep.c
src/sys/arch/evbarm/osk5912: osk5912_machdep.c
src/sys/arch/evbarm/smdk2xx0: smdk2410_machdep.c smdk2800_machdep.c
src/sys/arch/evbarm/tisdp24xx: sdp24xx_machdep.c
src/sys/arch/evbarm/tsarm: tsarm_machdep.c
src/sys/arch/evbarm/viper: viper_machdep.c
src/sys/arch/evbmips/adm5120: machdep.c
src/sys/arch/evbmips/alchemy: machdep.c
src/sys/arch/evbmips/atheros: machdep.c
src/sys/arch/evbmips/cavium: machdep.c
src/sys/arch/evbmips/gdium: machdep.c
src/sys/arch/evbmips/ingenic: machdep.c
src/sys/arch/evbmips/loongson: machdep.c
src/sys/arch/evbmips/malta: machdep.c
src/sys/arch/evbmips/rasoc: machdep.c
src/sys/arch/evbmips/rmixl: machdep.c
src/sys/arch/evbppc/ev64260: machdep.c
src/sys/arch/evbppc/mpc85xx: machdep.c
src/sys/arch/evbppc/pmppc: machdep.c
src/sys/arch/ews4800mips/ews4800mips: machdep.c
src/sys/arch/hpcarm/hpcarm: pxa2x0_hpc_machdep.c sa11x0_hpc_machdep.c
src/sys/arch/hpcmips/hpcmips: machdep.c
src/sys/arch/hppa/hppa: pmap.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/ia64/ia64: machdep.c
src/sys/arch/iyonix/iyonix: iyonix_machdep.c
src/sys/arch/m68k/m68k: pmap_motorola.c
src/sys/arch/mipsco/mipsco: machdep.c
src/sys/arch/netwinder/netwinder: netwinder_machdep.c
src/sys/arch/newsmips/newsmips: machdep.c
src/sys/arch/playstation2/playstation2: machdep.c
src/sys/arch/pmax/pmax: machdep.c
src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c pmap.c
src/sys/arch/powerpc/oea: ofwoea_machdep.c prep_machdep.c
src/sys/arch/rs6000/rs6000: machdep.c
src/sys/arch/sandpoint/sandpoint: machdep.c
src/sys/arch/sbmips/sbmips: machdep.c
src/sys/arch/sgimips/sgimips: machdep.c
src/sys/arch/sh3/sh3: sh3_machdep.c
src/sys/arch/shark/ofw: ofw.c
src/sys/arch/sparc/sparc: pmap.c
src/sys/arch/sparc64/sparc64: pmap.c
src/sys/arch/sun2/sun2: pmap.c
src/sys/arch/sun3/sun3: pmap.c
src/sys/arch/sun3/sun3x: pmap.c
src/sys/arch/usermode/usermode: machdep.c
src/sys/arch/vax/vax: pmap.c
src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/acorn26/acorn26/start.c
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/acorn32/acorn32/rpc_machdep.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/algor/algor/machdep.c
cvs rdiff -u -r1.347 -r1.348 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -u -r1.240 -r1.241 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amiga/amiga/pmap_bootstrap.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amigappc/amigappc/machdep.c
cvs rdiff -u -r1.129 -r1.130 src/sys/arch/arc/arc/machdep.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/arm32/arm32_boot.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/at91/at91bus.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/atari/atari/pmap_bootstrap.c
cvs rdiff -u -r1.118 -r1.119 src/sys/arch/cobalt/cobalt/machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/emips/emips/machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/epoc32/epoc32/mac

CVS commit: src/sys/uvm

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 15:54:35 UTC 2016

Modified Files:
src/sys/uvm: uvm_physseg.h

Log Message:
Turn off uvm_hotplug option selection until we actually have it.

Should fix the build.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/uvm/uvm_physseg.h

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



CVS commit: src/sys

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Thu Dec 22 16:05:15 UTC 2016

Modified Files:
src/sys/arch/cesfic/cesfic: machdep.c
src/sys/arch/luna68k/luna68k: pmap_bootstrap.c
src/sys/arch/netwinder/netwinder: netwinder_machdep.c
src/sys/arch/x68k/x68k: pmap_bootstrap.c
src/sys/rump/librump/rumpkern: emul.c
src/sys/sys: systm.h
src/sys/uvm: uvm_page.c

Log Message:
physmem should be of type psize_t

Also, use PRIxPSIZE when printf(9)ing physmem.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/cesfic/cesfic/machdep.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/luna68k/luna68k/pmap_bootstrap.c
cvs rdiff -u -r1.84 -r1.85 \
src/sys/arch/netwinder/netwinder/netwinder_machdep.c
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/x68k/x68k/pmap_bootstrap.c
cvs rdiff -u -r1.179 -r1.180 src/sys/rump/librump/rumpkern/emul.c
cvs rdiff -u -r1.271 -r1.272 src/sys/sys/systm.h
cvs rdiff -u -r1.188 -r1.189 src/sys/uvm/uvm_page.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

2016-12-22 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Dec 22 16:29:05 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: machdep.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/x86/x86: pmap.c

Log Message:
Xen doens't need lapic so don't allocate a lapic VA/PA for Xen.
As a side effect this makes XEN3PAE boot again but I don't know why ...


To generate a diff of this commit:
cvs rdiff -u -r1.241 -r1.242 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.771 -r1.772 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.234 -r1.235 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/distrib/sets/lists/comp

2016-12-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Dec 22 16:32:31 UTC 2016

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

Log Message:
add new header (uvm_physseg.h) to set list.


To generate a diff of this commit:
cvs rdiff -u -r1.2082 -r1.2083 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/lib/libc/time

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Dec 22 17:27:02 UTC 2016

Modified Files:
src/lib/libc/time: ctime.3

Log Message:
Grammar fixes at few places
Also, don't use .D1 inside .Bd (mandoc -Tlint was complaining)
Remove whitespace at the end of a sentence


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/lib/libc/time/ctime.3

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



CVS commit: src/lib/libc/time

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Dec 22 17:39:29 UTC 2016

Modified Files:
src/lib/libc/time: ctime.3

Log Message:
Remove trailing comma at the end of the last .Nm entry in the NAME section


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/lib/libc/time/ctime.3

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



CVS commit: src/sys/dev

2016-12-22 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Dec 22 20:57:33 UTC 2016

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

Log Message:
The cgd(4) module requires des and blowfish symbols

This has been exposed with the MODULAR kernel.

kobj_checksyms, 979: [cgd]: linker error: symbol `BF_set_key' not found
kobj_checksyms, 979: [cgd]: linker error: symbol `des_key_sched' not found
kobj_checksyms, 979: [cgd]: linker error: symbol `des_ede3_cbc_encrypt' not 
found
WARNING: module error: unable to affix module `cgd', error 8

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/cgd.c

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



CVS commit: xsrc/external/mit/xorg-server/dist/exa

2016-12-22 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Thu Dec 22 21:31:08 UTC 2016

Modified Files:
xsrc/external/mit/xorg-server/dist/exa: exa_glyphs.c

Log Message:
fix tpyo - now fallback to ARGB masks when rendering glyphs actually works


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
xsrc/external/mit/xorg-server/dist/exa/exa_glyphs.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/pmap

2016-12-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Dec 22 22:41:02 UTC 2016

Modified Files:
src/usr.bin/pmap: pmap.h

Log Message:
add the member name to an error string so we know what object failed
while being requested.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/pmap/pmap.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/sys/dev/pci

2016-12-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 23 05:57:40 UTC 2016

Modified Files:
src/sys/dev/pci [netbsd-7]: if_vioif.c virtio.c

Log Message:
Pull up following revision(s) (requested by bsiegert in ticket #1337):
sys/dev/pci/if_vioif.c: revision 1.21
sys/dev/pci/virtio.c: revision 1.14
PR/50636: Ryo ONODERA: Fix incorrect kmem_free()
--
PR/50636: Ryo ONODERA: Reduce memory use


To generate a diff of this commit:
cvs rdiff -u -r1.7.2.2 -r1.7.2.3 src/sys/dev/pci/if_vioif.c
cvs rdiff -u -r1.6 -r1.6.2.1 src/sys/dev/pci/virtio.c

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



CVS commit: src/lib/libutil

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Dec 23 06:01:42 UTC 2016

Modified Files:
src/lib/libutil: parsedate.3

Log Message:
Complete a sentence
and replace full stop with a comma at one place as the sentence wasn't finished


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libutil/parsedate.3

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



CVS commit: src/usr.bin/netstat

2016-12-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Dec 23 06:22:00 UTC 2016

Modified Files:
src/usr.bin/netstat: inet.c

Log Message:
in getpcblist_sysctl() if sysctlnametomib() fails, return NULL and
set *len = 0, rather than bailing.  now "netstat" doesn't give up
early on kernels without INET6.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/usr.bin/netstat/inet.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/sys

2016-12-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 23 06:33:56 UTC 2016

Modified Files:
src/sys/arch/amd64/conf [netbsd-7]: GENERIC
src/sys/dev/pci [netbsd-7]: files.pci virtioreg.h
Added Files:
src/sys/dev/pci [netbsd-7]: vioscsi.c vioscsireg.h

Log Message:
Pull up following revision(s) (requested by bsiegert in ticket #1338):
sys/arch/amd64/conf/GENERIC: revision 1.418
sys/dev/pci/files.pci: revision 1.379
sys/dev/pci/vioscsi.c: revisions 1.1-1.8
sys/dev/pci/vioscsireg.h: revision 1.1
sys/dev/pci/virtioreg.h: revisions 1.5, 1.6
add the common flag bits
--
Add vioscsi, compile tested only (toxic)
--
this is working now, remove debugging.
--
add vioscsi
--
kill some more debugging.
--
Fake mode sense data for illegal targets. qemu reports 256 targets...
--
fix the status return.
--
Use SCSIPI_CHAN_NOSETTLE.
--
vioscsi_req_get()/virtio_enqueue_prep() failing is actually perfectly
normal - observed failures included 10, 27, 61 in-flight commands,
so probably depends on particular command mix; return with
XS_RESOURCE_SHORTAGE rather then panic
do vioscsi_req_put() when initial bus_dmamap_load() fails, as suggested
by the XXX; the vq_done hook is called by virtio, but in that case we
never get to commit the request to it
--
react on ADAPTER_REQ_SET_XFER_MODE so that we set tagged queuing
pass tag type and set id


To generate a diff of this commit:
cvs rdiff -u -r1.392.2.8 -r1.392.2.9 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.371.4.3 -r1.371.4.4 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.8.2.2 src/sys/dev/pci/vioscsi.c
cvs rdiff -u -r0 -r1.1.6.2 src/sys/dev/pci/vioscsireg.h
cvs rdiff -u -r1.2 -r1.2.4.1 src/sys/dev/pci/virtioreg.h

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



CVS commit: xsrc/external/mit/xf86-video-glint/dist/src

2016-12-22 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Fri Dec 23 06:52:17 UTC 2016

Modified Files:
xsrc/external/mit/xf86-video-glint/dist/src: glint.h glint_driver.c
glint_regs.h pm2_common.c pm2_exa.c

Log Message:
add xrender acceleration for Permedia 2. Needs some EXA change to be useful
though, a patch has been sent to xorg-devel@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xf86-video-glint/dist/src/glint.h
cvs rdiff -u -r1.10 -r1.11 \
xsrc/external/mit/xf86-video-glint/dist/src/glint_driver.c
cvs rdiff -u -r1.1.1.3 -r1.2 \
xsrc/external/mit/xf86-video-glint/dist/src/glint_regs.h
cvs rdiff -u -r1.2 -r1.3 \
xsrc/external/mit/xf86-video-glint/dist/src/pm2_common.c
cvs rdiff -u -r1.5 -r1.6 \
xsrc/external/mit/xf86-video-glint/dist/src/pm2_exa.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/distrib/sets/lists/xdebug

2016-12-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 23 06:56:52 UTC 2016

Modified Files:
src/distrib/sets/lists/xdebug [netbsd-7]: md.amd64 md.i386

Log Message:
Apply patch (requested by mrg in ticket #1305):
Add missing debug entry to set amd64/i386 xdebug set lists.


To generate a diff of this commit:
cvs rdiff -u -r1.6.4.4 -r1.6.4.5 src/distrib/sets/lists/xdebug/md.amd64
cvs rdiff -u -r1.6.4.5 -r1.6.4.6 src/distrib/sets/lists/xdebug/md.i386

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



CVS commit: src/sys

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Fri Dec 23 07:15:28 UTC 2016

Modified Files:
src/sys/arch/acorn26/acorn26: pmap.c
src/sys/arch/alpha/alpha: machdep.c pmap.c
src/sys/arch/amd64/amd64: machdep.c
src/sys/arch/arm/arm32: bus_dma.c pmap.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/ia64/ia64: machdep.c pmap.c
src/sys/arch/m68k/m68k: pmap_motorola.c
src/sys/arch/mips/include: pmap.h
src/sys/arch/mips/mips: mips_machdep.c pmap_machdep.c
src/sys/arch/powerpc/ibm4xx: pmap.c
src/sys/arch/powerpc/isa: isadma_machdep.c
src/sys/arch/powerpc/oea: pmap.c
src/sys/arch/powerpc/powerpc: bus_dma.c
src/sys/arch/sh3/sh3: pmap.c vm_machdep.c
src/sys/arch/vax/vax: ka650.c pmap.c
src/sys/arch/x68k/x68k: machdep.c
src/sys/uvm: files.uvm uvm_init.c uvm_page.c uvm_page.h uvm_pglist.c
uvm_physseg.h
src/sys/uvm/pmap: pmap.c

Log Message:
"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/acorn26/acorn26/pmap.c
cvs rdiff -u -r1.348 -r1.349 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -u -r1.260 -r1.261 src/sys/arch/alpha/alpha/pmap.c
cvs rdiff -u -r1.242 -r1.243 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/arm/arm32/bus_dma.c
cvs rdiff -u -r1.341 -r1.342 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.772 -r1.773 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/ia64/ia64/machdep.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/ia64/ia64/pmap.c
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/m68k/m68k/pmap_motorola.c
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/mips/include/pmap.h
cvs rdiff -u -r1.275 -r1.276 src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/mips/mips/pmap_machdep.c
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/powerpc/ibm4xx/pmap.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/powerpc/isa/isadma_machdep.c
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/powerpc/oea/pmap.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/powerpc/powerpc/bus_dma.c
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/sh3/sh3/pmap.c
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/sh3/sh3/vm_machdep.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/vax/vax/ka650.c
cvs rdiff -u -r1.183 -r1.184 src/sys/arch/vax/vax/pmap.c
cvs rdiff -u -r1.194 -r1.195 src/sys/arch/x68k/x68k/machdep.c
cvs rdiff -u -r1.27 -r1.28 src/sys/uvm/files.uvm
cvs rdiff -u -r1.47 -r1.48 src/sys/uvm/uvm_init.c
cvs rdiff -u -r1.189 -r1.190 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.80 -r1.81 src/sys/uvm/uvm_page.h
cvs rdiff -u -r1.67 -r1.68 src/sys/uvm/uvm_pglist.c
cvs rdiff -u -r1.3 -r1.4 src/sys/uvm/uvm_physseg.h
cvs rdiff -u -r1.25 -r1.26 src/sys/uvm/pmap/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/amiga/amiga

2016-12-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Dec 23 07:40:05 UTC 2016

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

Log Message:
Remove conflicting declaration of physmem


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/arch/amiga/amiga/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/uvm

2016-12-22 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Fri Dec 23 07:42:32 UTC 2016

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

Log Message:
Omitted assigning handle return value for the case:
(VM_PHYSSEG_STRAT == VM_PSTRAT_RANDOM)

Fix this.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/uvm/uvm_physseg.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/libexec/httpd

2016-12-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 23 07:42:09 UTC 2016

Modified Files:
src/libexec/httpd [netbsd-7]: CHANGES bozohttpd.8 bozohttpd.c
bozohttpd.h cgi-bozo.c content-bozo.c main.c
src/libexec/httpd/testsuite [netbsd-7]: Makefile test-bigfile
Added Files:
src/libexec/httpd/testsuite [netbsd-7]: test-simple

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1309):
libexec/httpd/CHANGES: revisions 1.23, 1.24
libexec/httpd/bozohttpd.8: revisions 1.60-1.62
libexec/httpd/bozohttpd.c: revisions 1.81-1.84
libexec/httpd/bozohttpd.h: revision 1.46
libexec/httpd/cgi-bozo.c: revision 1.35
libexec/httpd/content-bozo.c: revision 1.14
libexec/httpd/main.c: revisions 1.14-1.16
libexec/httpd/testsuite/Makefile: revision 1.6
libexec/httpd/testsuite/test-bigfile: revision 1.3
libexec/httpd/testsuite/test-simple: revisions 1.1, 1.2
update bozohttpd to 2016072:
- fix memory leak
- addd -G option to display version
- fix some content type issues
- fix issues in testsuite


To generate a diff of this commit:
cvs rdiff -u -r1.19.2.3 -r1.19.2.4 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.46.4.6 -r1.46.4.7 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.56.2.6 -r1.56.2.7 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.33.2.4 -r1.33.2.5 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.25.2.5 -r1.25.2.6 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.10.2.3 -r1.10.2.4 src/libexec/httpd/content-bozo.c
cvs rdiff -u -r1.8.2.1 -r1.8.2.2 src/libexec/httpd/main.c
cvs rdiff -u -r1.4.24.1 -r1.4.24.2 src/libexec/httpd/testsuite/Makefile
cvs rdiff -u -r1.1.1.1.30.1 -r1.1.1.1.30.2 \
src/libexec/httpd/testsuite/test-bigfile
cvs rdiff -u -r0 -r1.2.4.2 src/libexec/httpd/testsuite/test-simple

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



CVS commit: [netbsd-7-0] src/libexec/httpd

2016-12-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 23 07:47:40 UTC 2016

Modified Files:
src/libexec/httpd [netbsd-7-0]: CHANGES bozohttpd.8 bozohttpd.c
bozohttpd.h cgi-bozo.c content-bozo.c main.c
src/libexec/httpd/testsuite [netbsd-7-0]: Makefile test-bigfile
Added Files:
src/libexec/httpd/testsuite [netbsd-7-0]: test-simple

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1309):
libexec/httpd/CHANGES: revisions 1.23, 1.24
libexec/httpd/bozohttpd.8: revisions 1.60-1.62
libexec/httpd/bozohttpd.c: revisions 1.81-1.84
libexec/httpd/bozohttpd.h: revision 1.46
libexec/httpd/cgi-bozo.c: revision 1.35
libexec/httpd/content-bozo.c: revision 1.14
libexec/httpd/main.c: revisions 1.14-1.16
libexec/httpd/testsuite/Makefile: revision 1.6
libexec/httpd/testsuite/test-bigfile: revision 1.3
libexec/httpd/testsuite/test-simple: revisions 1.1, 1.2
update bozohttpd to 2016072:
- fix memory leak
- addd -G option to display version
- fix some content type issues
- fix issues in testsuite


To generate a diff of this commit:
cvs rdiff -u -r1.19.2.1.2.1 -r1.19.2.1.2.2 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.46.4.4.2.1 -r1.46.4.4.2.2 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.56.2.4.2.1 -r1.56.2.4.2.2 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.33.2.2.2.1 -r1.33.2.2.2.2 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.25.2.2.2.2 -r1.25.2.2.2.3 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.10.2.2.2.1 -r1.10.2.2.2.2 src/libexec/httpd/content-bozo.c
cvs rdiff -u -r1.8.4.1 -r1.8.4.2 src/libexec/httpd/main.c
cvs rdiff -u -r1.4.26.1 -r1.4.26.2 src/libexec/httpd/testsuite/Makefile
cvs rdiff -u -r1.1.1.1.32.1 -r1.1.1.1.32.2 \
src/libexec/httpd/testsuite/test-bigfile
cvs rdiff -u -r0 -r1.2.6.2 src/libexec/httpd/testsuite/test-simple

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



CVS commit: [netbsd-7-0] src/doc

2016-12-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Dec 23 07:52:53 UTC 2016

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

Log Message:
1309


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.15 -r1.1.2.16 src/doc/CHANGES-7.0.3

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