CVS commit: src/distrib

2017-12-13 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Dec 14 06:29:15 UTC 2017

Modified Files:
src/distrib/evbarm/instkernel/instkernel: Makefile
src/distrib/utils/embedded/conf: rpi_inst.conf

Log Message:
Build fix (really this time) from Harold Gutch


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/distrib/evbarm/instkernel/instkernel/Makefile
cvs rdiff -u -r1.10 -r1.11 src/distrib/utils/embedded/conf/rpi_inst.conf

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



CVS commit: src/sys/net

2017-12-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 14 05:49:00 UTC 2017

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

Log Message:
Fix a bug that tries to psref_acquire ifa with a psref used before

This fixes ATF tests that started to fail by a recent change to psref.


To generate a diff of this commit:
cvs rdiff -u -r1.233 -r1.234 src/sys/net/rtsock.c

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



CVS commit: src/sys/net

2017-12-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 14 05:47:45 UTC 2017

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

Log Message:
Protect ifp returned from route_output_get_ifa surely

An ifp returned from route_output_get_ifa was supposed to be protected
by a returned ifa; if the ifa belongs to ifp, holding the ifa prevents
the ifp from being freed. However route_output_get_ifa can return an ifp
to which a returned ifa doesn't belong. So we need to take a reference
to a returning ifp separately.


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 src/sys/net/rtsock.c

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



CVS commit: src/sys/net

2017-12-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 14 05:46:54 UTC 2017

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

Log Message:
Reorder some destruction routines in if_detach

- Destroy if_ioctl_lock at the end of the if_detach because it's used in various
  destruction routines
- Move psref_target_destroy after pr_purgeif because we want to use psref in
  pr_purgeif (otherwise destruction procedures can be tricky)


To generate a diff of this commit:
cvs rdiff -u -r1.413 -r1.414 src/sys/net/if.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-12-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 14 05:45:55 UTC 2017

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

Log Message:
Improve debugging functions

- Make psref_check_duplication check just if a given psref is on the list
  - It checked both psref and target
  - Suggested by riastradh@ some time ago
- Add psref_check_existence that checks a releasing psref is surely on the list


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_psref.c

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



CVS commit: src/sys/net

2017-12-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Dec 14 05:43:14 UTC 2017

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

Log Message:
Spinkle __noinline to some non-performance-sensitive functions for debugging


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/sys/net/rtsock.c

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



CVS commit: src/share/dict

2017-12-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Dec 14 00:10:34 UTC 2017

Modified Files:
src/share/dict: web2

Log Message:
Add missing words beginning with 'm' from FreeBSD's copy of src/share/dict/web2.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/share/dict/web2

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



CVS commit: src/share/dict

2017-12-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Dec 13 23:42:04 UTC 2017

Modified Files:
src/share/dict: web2

Log Message:
Add missing words beginning with 'l' and 'm' from FreeBSD's copy of 
src/share/dict/web2.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/share/dict/web2

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



CVS commit: src/share/dict

2017-12-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Dec 13 22:39:10 UTC 2017

Modified Files:
src/share/dict: web2

Log Message:
Add missing words beginning with 'h' to 'j' from FreeBSD's copy of 
src/share/dict/web2.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/dict/web2

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



CVS commit: src/external/gpl3/gdb

2017-12-13 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Dec 13 21:52:55 UTC 2017

Modified Files:
src/external/gpl3/gdb/bin/gdb: Makefile
src/external/gpl3/gdb/bin/gdbtui: Makefile
src/external/gpl3/gdb/lib/libgdb: Makefile

Log Message:
Improve CFLAGS definition for clang. Use more tabs.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/bin/gdb/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb/bin/gdbtui/Makefile
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gdb/lib/libgdb/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/arm/sunxi

2017-12-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec 13 21:37:10 UTC 2017

Modified Files:
src/sys/arch/arm/sunxi: sunxi_thermal.c

Log Message:
Fix regression introduced in r1.2


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_thermal.c

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



CVS commit: src/games/fortune/datfiles

2017-12-13 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed Dec 13 21:11:27 UTC 2017

Modified Files:
src/games/fortune/datfiles: fortunes fortunes-o.real fortunes2
fortunes2-o.real

Log Message:
move offensive quotes per board@


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/games/fortune/datfiles/fortunes
cvs rdiff -u -r1.12 -r1.13 src/games/fortune/datfiles/fortunes-o.real
cvs rdiff -u -r1.61 -r1.62 src/games/fortune/datfiles/fortunes2
cvs rdiff -u -r1.17 -r1.18 src/games/fortune/datfiles/fortunes2-o.real

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



CVS commit: src/sys/net

2017-12-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 13 17:43:10 UTC 2017

Modified Files:
src/sys/net: route.h

Log Message:
Add bit definitions for flags so that route(8) can use them.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/net/route.h

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



CVS commit: src/sbin/route

2017-12-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 13 17:42:44 UTC 2017

Modified Files:
src/sbin/route: Makefile route.c

Log Message:
Use the definitions from the standard header files and replace homebrew
snprintb with the libutil one.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sbin/route/Makefile
cvs rdiff -u -r1.157 -r1.158 src/sbin/route/route.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/ia64

2017-12-13 Thread Sean Cole
Module Name:src
Committed By:   scole
Date:   Wed Dec 13 16:50:46 UTC 2017

Modified Files:
src/sys/arch/ia64/ia64: interrupt.c
src/sys/arch/ia64/include: intr.h

Log Message:
add intr_string() stub for acpi_util.c:acpi_intr_string() so kernel will still 
compile


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/ia64/ia64/interrupt.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/ia64/include/intr.h

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



CVS commit: src/sys/arch

2017-12-13 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Dec 13 16:30:18 UTC 2017

Modified Files:
src/sys/arch/x86/isa: isa_machdep.c
src/sys/arch/x86/x86: intr.c ioapic.c
src/sys/arch/xen/include: intr.h
src/sys/arch/xen/x86: pintr.c
src/sys/arch/xen/xen: evtchn.c

Log Message:
Fixes for physical interrupts on Xen:
- do not cast int * to intr_handle_t *, they're not the same size
- legacy_irq is not always -1 for ioapic interrupts, test pic_type instead
- change irq2port[] to hold (port + 1) so that 0 is an invalid value
- add KASSERTs to make sure vect, port or irq values extracted from arrays are
  valid (or that they are invalid before write)
- for the !ioapic case, we still need to do PHYSDEVOP_ASSIGN_VECTOR and
  bind_pirq_to_evtch().

now XEN3_DOM0 boots again


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/x86/isa/isa_machdep.c
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/x86/x86/ioapic.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/xen/include/intr.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/xen/x86/pintr.c
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/xen/xen/evtchn.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/evbarm/conf

2017-12-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec 13 13:52:13 UTC 2017

Modified Files:
src/sys/arch/evbarm/conf: mk.exynos mk.sunxi mk.ti mk.vexpress

Log Message:
Revert compressed uimg change, it is causing problems with overlapping
$kernel_addr_r vs. kernel load address.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/mk.exynos
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/mk.sunxi
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/mk.ti
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/conf/mk.vexpress

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



CVS commit: src/doc

2017-12-13 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Wed Dec 13 13:03:23 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Note Lua bugfix.


To generate a diff of this commit:
cvs rdiff -u -r1.2338 -r1.2339 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/external/mit/lua/dist/src

2017-12-13 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Wed Dec 13 13:00:14 UTC 2017

Modified Files:
src/external/mit/lua/dist/src: lapi.c

Log Message:
Apply a bugfix from lua.org/bugs,html:
lua_pushcclosure should not call the garbage collector when n is zero.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/mit/lua/dist/src/lapi.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

2017-12-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Dec 13 12:12:35 UTC 2017

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

Log Message:
New sentence, new line. Fix xref. Sort SEE ALSO.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/wbsio.4

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



CVS commit: src/distrib/evbarm/instkernel/instkernel

2017-12-13 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Dec 13 11:37:37 UTC 2017

Modified Files:
src/distrib/evbarm/instkernel/instkernel: Makefile

Log Message:
Fix evbarm build - patch from Harold Gutch on port-arm


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/evbarm/instkernel/instkernel/Makefile

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



CVS commit: src/sbin/route

2017-12-13 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Dec 13 11:31:42 UTC 2017

Modified Files:
src/sbin/route: route.c

Log Message:
Fix typo in flag name.  We should probably just use IFFBITS string
that  defines.

PR bin/52815


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sbin/route/route.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-12-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Dec 13 11:17:54 UTC 2017

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
bsd-family-tree: update freebsd rcsid, too.

Reminded by wiz, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 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: src/sys/dev/ata

2017-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Dec 13 10:24:31 UTC 2017

Modified Files:
src/sys/dev/ata: wd.c

Log Message:
Fix build for WD_SOFTBADSECT option.  PR kern/52814

XXX No clue if this option actually works.  This fix just makes it
XXX compile without error.


To generate a diff of this commit:
cvs rdiff -u -r1.436 -r1.437 src/sys/dev/ata/wd.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/macppc/dev

2017-12-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Dec 13 09:46:05 UTC 2017

Modified Files:
src/sys/arch/macppc/dev: pbms.c

Log Message:
Catch up with hid.h header location change

Fixes macppc kernels build


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/macppc/dev/pbms.c

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