CVS commit: src/sys/modules/lua

2017-05-11 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Thu May 11 07:34:27 UTC 2017

Modified Files:
src/sys/modules/lua: lua.c

Log Message:
Avoid possible null pointer dereferencing.
Fixes PR kern/52225.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/modules/lua/lua.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/evbmips/conf

2017-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu May 11 07:56:43 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
COPY_SYMTAB=1 so ddb commands ps, bt work


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbmips/conf/LOONGSON

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



CVS commit: src/sys/arch/mips/mips

2017-05-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 11 09:09:54 UTC 2017

Modified Files:
src/sys/arch/mips/mips: vm_machdep.c

Log Message:
Fix non-DIAGNOSTIC build


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/arch/mips/mips/vm_machdep.c

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



CVS commit: src/lib/librumpuser

2017-05-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu May 11 10:21:56 UTC 2017

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
Evil hack to fix the build: provide PRIxREGISTER here.
Sevan, please check and fix correctly ;-)


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/lib/librumpuser/rumpuser_port.h

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



CVS commit: src/distrib/amd64

2017-05-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu May 11 10:49:19 UTC 2017

Modified Files:
src/distrib/amd64/installimage: Makefile
src/distrib/amd64/uefi-installimage: Makefile

Log Message:
Try to make images big enough for debug sets


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/distrib/amd64/installimage/Makefile
cvs rdiff -u -r1.1 -r1.2 src/distrib/amd64/uefi-installimage/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

2017-05-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu May 11 13:20:02 UTC 2017

Modified Files:
src/usr.bin/rump_dhcpclient: Makefile
src/usr.bin/rump_halt: Makefile

Log Message:
Remove more _KERNTYPES definitions in rump components.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/rump_dhcpclient/Makefile
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/rump_halt/Makefile

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



CVS commit: src/bin/sh

2017-05-11 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 11 14:57:14 UTC 2017

Modified Files:
src/bin/sh: jobs.c

Log Message:
Avoid truncating the command string saved with background jobs if
one of the words happens to contain ${#var}.  (This is the command
string shown by the "jobs" command, and when a background job completes)

While here, undo the LINENO hack when building that string.
And one ot two other foibles...


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/bin/sh/jobs.c

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



CVS commit: src/bin/sh

2017-05-11 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu May 11 15:07:37 UTC 2017

Modified Files:
src/bin/sh: parser.c

Log Message:
Fix some parser weirdness...
${#VAR:-foo} (or any other modifier on ${#VAR} is a syntax error.
On the other hand ${##} is not, nor is ${##13} though they mean
quite different things (the latter is an idiom everyone should learn,
... $# except we refuse to admit the possibility that it is 13...
Even I cannot explain what ${#-foo} used to do, but it wasn't sane!
(It should be just $# as $# is never unset, but ...)
Shell syntax is truly a wondrous thing!


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/bin/sh/parser.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/amd64/conf

2017-05-11 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Thu May 11 15:42:15 UTC 2017

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
Add commented out carp and mpls pseudo-devices to be consistent with
GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/amd64/conf/XEN3_DOMU

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



CVS commit: src/lib/librumpclient

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 17:47:22 UTC 2017

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
Don't depend on stars in order to define things.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpclient/rumpclient.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/include/rump

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 18:08:10 UTC 2017

Modified Files:
src/sys/rump/include/rump: rump.h

Log Message:
Use the same exposure rules for register_t as  does.
Eventually we could remove -D_KERNTYPES from all the rump libraries...


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/rump/include/rump/rump.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/include/rump

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 18:16:00 UTC 2017

Modified Files:
src/sys/rump/include/rump: rump.h

Log Message:
... but define RUMP_REGISTER_T if not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/rump/include/rump/rump.h

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



CVS commit: src/lib/librumpclient

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 18:44:50 UTC 2017

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
make it the same as rump.h


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/librumpclient/rumpclient.h

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



CVS commit: [prg-localcount2] src/sys/kern

2017-05-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu May 11 21:31:12 UTC 2017

Modified Files:
src/sys/kern [prg-localcount2]: subr_localcount.c

Log Message:
Use kpreempt_{dis,en}able() rather than splsoftserial() for blocking
the local execution of the low-priority xcall.

Thanks to Kengo NAKAHARA for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.1.6.3 -r1.1.6.4 src/sys/kern/subr_localcount.c

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



CVS commit: src/share/misc

2017-05-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu May 11 21:59:28 UTC 2017

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add new entries for wtf(6)

CCNUMA cache-coherent non-uniform memory access
PILPriority Interrut Level
RMORelaxed Memory Ordering
TSOTotal Store Ordering


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/share/misc/acronyms.comp

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



CVS commit: src/share/misc

2017-05-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu May 11 22:19:29 UTC 2017

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Document SPL in wtf(6)

SPLsystem interrupt priority level
SPLspinlock

The former is documented in spl(9) in the NetBSD context.
The latter is used in some spinlock implementations.


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/share/misc/acronyms.comp

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-05-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu May 11 22:38:56 UTC 2017

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

Log Message:
Explicitly set the flags instead of masking set values in.

This fixes FNONBLOCK weirdness seen in audio.c

OK christos@ and martin@.


To generate a diff of this commit:
cvs rdiff -u -r1.229 -r1.230 src/sys/kern/kern_descrip.c

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



CVS commit: src/sys/dev

2017-05-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu May 11 23:20:38 UTC 2017

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

Log Message:
Revert FNONBLOCK logic to that from rev 1.335.

Ok riastradh@.


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

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



CVS commit: src/sys/dev

2017-05-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu May 11 23:26:48 UTC 2017

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

Log Message:
Improved overflow test for audio_mmap.

Ok riastradh@.


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

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



CVS commit: src/sys/dev

2017-05-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu May 11 23:32:27 UTC 2017

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

Log Message:
If silence is inserted into hw ring directly the free space in the hw ring
not mix ring is needed.


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

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



CVS commit: src/sys/dev

2017-05-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu May 11 23:39:15 UTC 2017

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

Log Message:
UVM_ADV_NORMAL-> UVM_ADV_RANDOM as this reflects the usage more acurately.

Ok riastradh@.


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

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



CVS commit: src/sys/kern

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 23:50:17 UTC 2017

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

Log Message:
protect against NULL, from PaulG


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/kern/kern_event.c

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



CVS commit: src/sys/dev/rasops

2017-05-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 12 00:41:25 UTC 2017

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

Log Message:
rasops_reconfig(): don't clear flags we won't set here


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/rasops/rasops.c

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



CVS commit: src/tests/net/ipsec

2017-05-11 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri May 12 02:34:46 UTC 2017

Modified Files:
src/tests/net/ipsec: algorithms.sh t_ipsec_gif.sh t_ipsec_l2tp.sh
t_ipsec_transport.sh t_ipsec_tunnel.sh t_ipsec_tunnel_odd.sh

Log Message:
Dedup some routines


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/net/ipsec/algorithms.sh \
src/tests/net/ipsec/t_ipsec_transport.sh
cvs rdiff -u -r1.4 -r1.5 src/tests/net/ipsec/t_ipsec_gif.sh \
src/tests/net/ipsec/t_ipsec_l2tp.sh
cvs rdiff -u -r1.7 -r1.8 src/tests/net/ipsec/t_ipsec_tunnel.sh
cvs rdiff -u -r1.1 -r1.2 src/tests/net/ipsec/t_ipsec_tunnel_odd.sh

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-05-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Fri May 12 04:15:40 UTC 2017

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

Log Message:
Blksize is now calculated on sc_pustream/sc_rustream.
Don't allow hw ring buffer to be saturated and data overwritten.

It should help PR kern/52175.


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

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



CVS commit: [netbsd-7] src/sys/dev/pci/hdaudio

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 04:59:12 UTC 2017

Modified Files:
src/sys/dev/pci/hdaudio [netbsd-7]: hdaudio_pci.c

Log Message:
Pull up following revision(s) (requested by khorben in ticket #1369):
sys/dev/pci/hdaudio/hdaudio_pci.c: patch based on revision 1.6 of 
sys/dev/pci/hdaudio_pci.c
Always allow hdaudio(4) to suspend
Sometimes hdaudio(4) can fail to attach, but the device remains in the
tree. Even though the PMF registration is performed, it is explicitly
de-registered in the code path for errors - therefore preventing suspending
later. This patch makes sure PMF registration is performed accordingly upon
errors as well.
No objection on tech-kern@.
Tested on a Lenovo ThinkPad T440s (amd64).


To generate a diff of this commit:
cvs rdiff -u -r1.12.4.2 -r1.12.4.3 src/sys/dev/pci/hdaudio/hdaudio_pci.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/usr.sbin/rtadvd

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:05:17 UTC 2017

Modified Files:
src/usr.sbin/rtadvd [netbsd-7]: config.c rtadvd.h

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #1373):
usr.sbin/rtadvd/config.c: revision 1.36
usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.33.8.1 src/usr.sbin/rtadvd/config.c
cvs rdiff -u -r1.13 -r1.13.6.1 src/usr.sbin/rtadvd/rtadvd.h

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



CVS commit: [netbsd-7-1] src/usr.sbin/rtadvd

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:08:00 UTC 2017

Modified Files:
src/usr.sbin/rtadvd [netbsd-7-1]: config.c rtadvd.h

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #1373):
usr.sbin/rtadvd/config.c: revision 1.36
usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.33.14.1 src/usr.sbin/rtadvd/config.c
cvs rdiff -u -r1.13 -r1.13.12.1 src/usr.sbin/rtadvd/rtadvd.h

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/usr.sbin/rtadvd

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:09:47 UTC 2017

Modified Files:
src/usr.sbin/rtadvd [netbsd-7-0]: config.c rtadvd.h

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #1373):
usr.sbin/rtadvd/config.c: revision 1.36
usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.33.10.1 src/usr.sbin/rtadvd/config.c
cvs rdiff -u -r1.13 -r1.13.8.1 src/usr.sbin/rtadvd/rtadvd.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/distrib/utils/embedded

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:12:59 UTC 2017

Modified Files:
src/distrib/utils/embedded [netbsd-7]: mkimage

Log Message:
Pull up following revision(s) (requested by sevan in ticket #1386):
distrib/utils/embedded/mkimage: revision 1.62
Mark the msdos parition active for boards like the BeagleBone Black


To generate a diff of this commit:
cvs rdiff -u -r1.48.4.6 -r1.48.4.7 src/distrib/utils/embedded/mkimage

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/arm/omap

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:17:40 UTC 2017

Modified Files:
src/sys/arch/arm/omap [netbsd-7]: omap_edma.c

Log Message:
Pull up following revision(s) (requested by sevan in ticket #1387):
sys/arch/arm/omap/omap_edma.c: revision 1.4 via patch
PR/51380: Mutex error: mutex_vector_enter: locking against myself
Change the interrupt handler IPL level to IPL_VM (aka IPL_BIO aka
IPL_SDMMC) so that the sdhc_host_lock prevents edma_intr from running


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/arm/omap/omap_edma.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/sbin/ping

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:20:27 UTC 2017

Modified Files:
src/sbin/ping [netbsd-7]: ping.c

Log Message:
Pull up following revision(s) (requested by ryo in ticket #1390):
sbin/ping/ping.c: revision 1.116
Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.


To generate a diff of this commit:
cvs rdiff -u -r1.107.4.2 -r1.107.4.3 src/sbin/ping/ping.c

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



CVS commit: [netbsd-7-1] src/sbin/ping

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:21:01 UTC 2017

Modified Files:
src/sbin/ping [netbsd-7-1]: ping.c

Log Message:
Pull up following revision(s) (requested by ryo in ticket #1390):
sbin/ping/ping.c: revision 1.116
Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.


To generate a diff of this commit:
cvs rdiff -u -r1.107.4.2 -r1.107.4.2.2.1 src/sbin/ping/ping.c

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/sbin/ping

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:21:43 UTC 2017

Modified Files:
src/sbin/ping [netbsd-7-0]: ping.c

Log Message:
Pull up following revision(s) (requested by ryo in ticket #1390):
sbin/ping/ping.c: revision 1.116
Fix cksum calculation for clearing the cached route.
In ping.c:r1.104, the size of echoreply packet was changed to ICMP_MINLEN,
Therefore also calculation size must be ICMP_MINLEN.


To generate a diff of this commit:
cvs rdiff -u -r1.107.4.1.2.1 -r1.107.4.1.2.2 src/sbin/ping/ping.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/share/misc

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:28:23 UTC 2017

Modified Files:
src/share/misc [netbsd-7]: bsd-family-tree

Log Message:
Pull up following revision(s) (requested by sevan in ticket #1392):
share/misc/bsd-family-tree: revision 1.59
Sync with r316082 from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.56.2.1 -r1.56.2.2 src/share/misc/bsd-family-tree

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

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:32:12 UTC 2017

Modified Files:
src/sys/net/npf [netbsd-7]: npf_inet.c npf_mbuf.c npf_nat.c

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #1394):
sys/net/npf/npf_inet.c: revisions 1.34, 1.35 via patch
sys/net/npf/npf_mbuf.c: revision 1.16
sys/net/npf/npf_nat.c: revision 1.40
minimal changes necessary to link into an INET6-less kernel.
--
fixup misplaced #endif


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.2.1 src/sys/net/npf/npf_inet.c
cvs rdiff -u -r1.13.2.2 -r1.13.2.3 src/sys/net/npf/npf_mbuf.c
cvs rdiff -u -r1.32.2.5 -r1.32.2.6 src/sys/net/npf/npf_nat.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/sbin/luactl

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:33:37 UTC 2017

Modified Files:
src/sbin/luactl [netbsd-7]: luactl.8

Log Message:
Pull up following revision(s) (requested by sevan in ticket #1401):
sbin/luactl/luactl.8: revision 1.7
Direct reader to intro(9lua), lua(9) does not exist.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.6.1 src/sbin/luactl/luactl.8

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

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:44:10 UTC 2017

Modified Files:
src/sys/net [netbsd-7]: route.c
src/sys/netinet [netbsd-7]: ip_flow.c
src/sys/netinet6 [netbsd-7]: ip6_flow.c nd6.c

Log Message:
Pull up following revision(s) (requested by skrll/ozaki-r in ticket #1402):
sys/net/route.c: revision 1.170 via patch
sys/netinet/ip_flow.c: revision 1.73 via patch
sys/netinet6/ip6_flow.c: revision 1.28 via patch
sys/netinet6/nd6.c: revision 1.203 via patch
Run timers in workqueue
Timers (such as nd6_timer) typically free/destroy some data in callout
(softint). If we apply psz/psref for such data, we cannot do free/destroy
process in there because synchronization of psz/psref cannot be used in
softint. So run timer callbacks in workqueue works (normal LWP context).
Doing workqueue_enqueue a work twice (i.e., call workqueue_enqueue before
a previous task is scheduled) isn't allowed. For nd6_timer and
rt_timer_timer, this doesn't happen because callout_reset is called only
from workqueue's work. OTOH, ip{,6}flow_slowtimo's callout can be called
before its work starts and completes because the callout is periodically
called regardless of completion of the work. To avoid such a situation,
add a flag for each protocol; the flag is set true when a work is
enqueued and set false after the work finished. workqueue_enqueue is
called only if the flag is false.
Proposed on tech-net and tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.132.2.1 src/sys/net/route.c
cvs rdiff -u -r1.64 -r1.64.2.1 src/sys/netinet/ip_flow.c
cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/netinet6/ip6_flow.c
cvs rdiff -u -r1.152.2.3 -r1.152.2.4 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/sys/uvm/pmap

2017-05-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 12 05:45:59 UTC 2017

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

Log Message:
Sprinkle some KASSERTs


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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/arm/arm

2017-05-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 12 05:46:39 UTC 2017

Modified Files:
src/sys/arch/arm/arm: ast.c

Log Message:
KASSERT -> MASSERTMSG


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/arm/ast.c

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

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:50:20 UTC 2017

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

Log Message:
1373, 1390


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.40 -r1.1.2.41 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.



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

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 05:55:07 UTC 2017

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

Log Message:
1373, 1390


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

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



CVS commit: [netbsd-7] src

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 06:17:00 UTC 2017

Modified Files:
src/sys/sys [netbsd-7]: exec_ecoff.h
src/tools [netbsd-7]: Makefile.nbincludes
src/tools/mips-elf2ecoff [netbsd-7]: Makefile
src/tools/mips-elf2ecoff/machine [netbsd-7]: ecoff_machdep.h
src/usr.bin/elf2ecoff [netbsd-7]: elf2ecoff.c
Removed Files:
src/tools/mips-elf2ecoff/sys [netbsd-7]: exec_ecoff.h exec_elf.h

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1406):
sys/arch/mips/include/ecoff_machdep.h: revision 1.23
sys/sys/exec_ecoff.h: revision 1.21
tools/Makefile.nbincludes: revision 1.5
tools/mips-elf2ecoff/Makefile: revision 1.3
tools/mips-elf2ecoff/machine/ecoff_machdep.h: revision 1.3
tools/mips-elf2ecoff/sys/exec_elf.h: file removal
tools/mips-elf2ecoff/sys/exec_ecoff.h: file removal
usr.bin/elf2ecoff/elf2ecoff.c: revision 1.30-1.33
use the nbcompat copies for those files
--
ignore the abiflags section
--
Add exec_ecoff.h
--
provide ecoff 32 defines.
--
This only works with 32 bit Elf and COFF files, make it specific this way
and use sized types so that it works on 64 bit systems (so it can become
a tool).
--
Provided sized definitions for ecoff 32 bit headers.
--
refresh
--
fix printf format.
--
fix printf format


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.38.1 src/sys/sys/exec_ecoff.h
cvs rdiff -u -r1.3.10.1 -r1.3.10.2 src/tools/Makefile.nbincludes
cvs rdiff -u -r1.2 -r1.2.74.1 src/tools/mips-elf2ecoff/Makefile
cvs rdiff -u -r1.2 -r1.2.76.1 \
src/tools/mips-elf2ecoff/machine/ecoff_machdep.h
cvs rdiff -u -r1.1 -r0 src/tools/mips-elf2ecoff/sys/exec_ecoff.h
cvs rdiff -u -r1.5 -r0 src/tools/mips-elf2ecoff/sys/exec_elf.h
cvs rdiff -u -r1.29 -r1.29.4.1 src/usr.bin/elf2ecoff/elf2ecoff.c

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



CVS commit: [netbsd-7] src/doc

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 06:19:33 UTC 2017

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

Log Message:
1396, 1373, 1386, 1387, 1390, 1392, 1394, 1401, 1402, 1406


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.14 -r1.1.2.15 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: [netbsd-7] src/sys/arch/mips/include

2017-05-11 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri May 12 06:23:29 UTC 2017

Modified Files:
src/sys/arch/mips/include [netbsd-7]: ecoff_machdep.h

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1406):
sys/arch/mips/include/ecoff_machdep.h: revision 1.23
sys/sys/exec_ecoff.h: revision 1.21
tools/Makefile.nbincludes: revision 1.5
tools/mips-elf2ecoff/Makefile: revision 1.3
tools/mips-elf2ecoff/machine/ecoff_machdep.h: revision 1.3
tools/mips-elf2ecoff/sys/exec_elf.h: file removal
tools/mips-elf2ecoff/sys/exec_ecoff.h: file removal
usr.bin/elf2ecoff/elf2ecoff.c: revision 1.30-1.33
use the nbcompat copies for those files
--
ignore the abiflags section
--
Add exec_ecoff.h
--
provide ecoff 32 defines.
--
This only works with 32 bit Elf and COFF files, make it specific this way
and use sized types so that it works on 64 bit systems (so it can become
a tool).
--
Provided sized definitions for ecoff 32 bit headers.
--
refresh
--
fix printf format.
--
fix printf format


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

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



CVS commit: [prg-localcount2] src/share/man/man9

2017-05-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri May 12 06:24:53 UTC 2017

Modified Files:
src/share/man/man9 [prg-localcount2]: locking.9

Log Message:
Add info for localcount(9)

Sort SEE ALSO

Sort the usage table

XXX This man-page is a work in progress.  Notably, it is still missing
XXX a section on psref(9).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.6.1 src/share/man/man9/locking.9

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



CVS commit: src/sys/arch/mips/mips

2017-05-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 12 06:38:18 UTC 2017

Modified Files:
src/sys/arch/mips/mips: pmap_machdep.c

Log Message:
Don't access pg before the KASSERT it's not NULL


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/mips/mips/pmap_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/arch/mips/mips

2017-05-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 12 06:43:42 UTC 2017

Modified Files:
src/sys/arch/mips/mips: pmap_machdep.c

Log Message:
Code style and add a comment


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/mips/pmap_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/arch/mips/mips

2017-05-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 12 06:49:31 UTC 2017

Modified Files:
src/sys/arch/mips/mips: pmap_machdep.c

Log Message:
Sprinkle some KASSERTs


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/mips/pmap_machdep.c

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