CVS commit: src/sys/net

2017-11-16 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Nov 17 07:52:07 UTC 2017

Modified Files:
src/sys/net: if_bridge.c

Log Message:
Add missing IFEF_NO_LINK_STATE_CHANGE to bridge


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/net/if_bridge.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

2017-11-16 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Nov 17 07:42:29 UTC 2017

Modified Files:
src/share/man/man9: driver.9

Log Message:
Remove superfluous Pp. Fix xref.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/share/man/man9/driver.9

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



CVS commit: src/sys

2017-11-16 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Nov 17 07:37:12 UTC 2017

Modified Files:
src/sys/net: bpf.c if.c if.h if_loop.c if_pppoe.c rtsock.c
src/sys/net/npf: npf_os.c
src/sys/netinet: if_arp.c igmp.c in.c ip_flow.c ip_input.c ip_output.c
src/sys/netinet6: frag6.c in6.c ip6_flow.c ip6_input.c mld6.c nd6.c
nd6_nbr.c
src/sys/netipsec: ipsec_output.c

Log Message:
Provide macros for softnet_lock and KERNEL_LOCK hiding NET_MPSAFE switch

It reduces C&P codes such as "#ifndef NET_MPSAFE KERNEL_LOCK(1, NULL); ..."
scattered all over the source code and makes it easy to identify remaining
KERNEL_LOCK and/or softnet_lock that are held even if NET_MPSAFE.

No functional change


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 src/sys/net/bpf.c
cvs rdiff -u -r1.396 -r1.397 src/sys/net/if.c
cvs rdiff -u -r1.242 -r1.243 src/sys/net/if.h
cvs rdiff -u -r1.98 -r1.99 src/sys/net/if_loop.c
cvs rdiff -u -r1.131 -r1.132 src/sys/net/if_pppoe.c
cvs rdiff -u -r1.229 -r1.230 src/sys/net/rtsock.c
cvs rdiff -u -r1.7 -r1.8 src/sys/net/npf/npf_os.c
cvs rdiff -u -r1.254 -r1.255 src/sys/netinet/if_arp.c
cvs rdiff -u -r1.64 -r1.65 src/sys/netinet/igmp.c
cvs rdiff -u -r1.209 -r1.210 src/sys/netinet/in.c
cvs rdiff -u -r1.80 -r1.81 src/sys/netinet/ip_flow.c
cvs rdiff -u -r1.361 -r1.362 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.284 -r1.285 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.60 -r1.61 src/sys/netinet6/frag6.c
cvs rdiff -u -r1.250 -r1.251 src/sys/netinet6/in6.c
cvs rdiff -u -r1.34 -r1.35 src/sys/netinet6/ip6_flow.c
cvs rdiff -u -r1.182 -r1.183 src/sys/netinet6/ip6_input.c
cvs rdiff -u -r1.89 -r1.90 src/sys/netinet6/mld6.c
cvs rdiff -u -r1.238 -r1.239 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.138 -r1.139 src/sys/netinet6/nd6_nbr.c
cvs rdiff -u -r1.64 -r1.65 src/sys/netipsec/ipsec_output.c

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



CVS commit: src/doc

2017-11-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Nov 17 07:16:06 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Kernel ASLR and XSAVEOPT.


To generate a diff of this commit:
cvs rdiff -u -r1.2331 -r1.2332 src/doc/CHANGES

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



CVS commit: src/sys/arch/amd64/stand/prekern

2017-11-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Nov 17 07:07:52 UTC 2017

Modified Files:
src/sys/arch/amd64/stand/prekern: Makefile console.c elf.c pdir.h
prekern.c

Log Message:
style


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amd64/stand/prekern/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amd64/stand/prekern/console.c \
src/sys/arch/amd64/stand/prekern/pdir.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/amd64/stand/prekern/elf.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/stand/prekern/prekern.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-11-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Nov 16 23:43:48 UTC 2017

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

Log Message:
Use correct combination of mix ring block size and vc playring used low
for signalling the writer or fetching data from the vc play ring filters.

When dealing with the ring buffer sc_mpr.s it is necessary to use the hwvc
or mixring block sizes as they represent the final size of the data to be
played back from the stream vc.

When dealing with sc_pustream when there is play back filters or not one
should use the vc->sc_mpr.blocksize, as this represents the amount of data
before going through play back filters.

This should address PR kern/52685.


To generate a diff of this commit:
cvs rdiff -u -r1.439 -r1.440 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-11-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Nov 16 23:32:12 UTC 2017

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

Log Message:
Add vc to debug messages in audio_mix.
Also add debug message when available data in the vc is less than the mix
ring blocksize.  NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.438 -r1.439 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/usb

2017-11-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov 16 21:54:51 UTC 2017

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

Log Message:
don't lock if we are polling because we are already holding a spin lock
from uhci_poll().


To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.278 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/tests/bin/sh

2017-11-16 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Nov 16 19:41:42 UTC 2017

Modified Files:
src/tests/bin/sh: t_option.sh

Log Message:
Add a test case for "set -X".

Currently (or when testing any shell that does not support -X) the
test will be skipped (also for [m]ksh (but not ksh93 etc) where there
is an absurdly badly named -X option, skip the new test for them as well.)

When -X appears in /bin/sh, this will verify that it is probably working
(the test is MUCH more gruelling than any rational use of -X would be.)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/bin/sh/t_option.sh

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-11-16 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Nov 16 19:41:02 UTC 2017

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

Log Message:
Improve quoting in xtrace (-x) output ... if a string ("word") to be
output includes a single quote (') then see if using double-quotes
to quote it is reasonable (if no chars that are magic in " also appear).
If so, and if the string is not entirely the ' character, then
use " quoting.  This avoids some ugly looking results (occasionally).

Also, fix a bug introduced about 20 months ago where null strings
in xtrace output are dropped, instead of made explicit ('').
To observe this, before you get the fix: set -x; echo ''   (or similar.)

Move a comment from the wrong place to the right place.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/bin/sh/output.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

2017-11-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Nov 16 18:40:28 UTC 2017

Modified Files:
src/share/man/man9: driver.9

Log Message:
Use device_private, not cast, to get at softc.

Someone^TM should turn this wall of prose into a nice itemized list
to make it clearer.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/share/man/man9/driver.9

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



CVS commit: src/usr.bin/config

2017-11-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov 16 17:08:07 UTC 2017

Modified Files:
src/usr.bin/config: defs.h main.c

Log Message:
When deleting orphans detect parent<->child loops and break them.
"active" is not a boolean, use the right comparison.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/config/defs.h
cvs rdiff -u -r1.91 -r1.92 src/usr.bin/config/main.c

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



CVS commit: src/doc

2017-11-16 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Nov 16 14:28:19 UTC 2017

Modified Files:
src/doc: 3RDPARTY

Log Message:
binutils-2.29.1 out.


To generate a diff of this commit:
cvs rdiff -u -r1.1483 -r1.1484 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/external/gpl3/gcc.old/dist/gcc

2017-11-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Nov 16 13:54:58 UTC 2017

Modified Files:
src/external/gpl3/gcc.old/dist/gcc: tree-ssa-ccp.c

Log Message:
Match hppa JEMALLOC_TINY_MIN_2POW


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc.old/dist/gcc/tree-ssa-ccp.c

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



CVS commit: src/lib/libc/stdlib

2017-11-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Nov 16 13:54:00 UTC 2017

Modified Files:
src/lib/libc/stdlib: jemalloc.c

Log Message:
The HPPA architectures (1.1 and 2.0) both define quadruple-word (128-bit)
floating point types.  Adjust alignment to match.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/stdlib/jemalloc.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2017-11-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Nov 16 13:54:42 UTC 2017

Modified Files:
src/external/gpl3/gcc/dist/gcc: tree-ssa-ccp.c

Log Message:
Match hppa JEMALLOC_TINY_MIN_2POW


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c

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



CVS commit: src/sys/sys

2017-11-16 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Nov 16 10:40:30 UTC 2017

Modified Files:
src/sys/sys: param.h

Log Message:
Bump kernel version for IFEF_MPSAFE

Welcome to 8.99.7


To generate a diff of this commit:
cvs rdiff -u -r1.551 -r1.552 src/sys/sys/param.h

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