CVS commit: src/usr.bin/locate/locate

2020-02-06 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Feb  6 08:45:44 UTC 2020

Modified Files:
src/usr.bin/locate/locate: locate.updatedb.8 updatedb.sh

Log Message:
Add support for specifying an alternate locate.updatedb config file.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/locate/locate/locate.updatedb.8
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/locate/locate/updatedb.sh

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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 10:42:06 UTC 2020

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

Log Message:
bootxx_name() - fix oversight in previous change (do not assume first
partition is the root partition)


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/usr.sbin/sysinst/disks.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/arch/i386

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 10:47:33 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/i386: md.c

Log Message:
PR install/54934: always use -f on the installboot invocation. We come
here post-newfs (and maybe should have dd'd zeros to the start of the
disk before newfs instead).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/sysinst/arch/i386/md.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 11:46:35 UTC 2020

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

Log Message:
Remove a bogus assert: when reading disklabel partitions and the outer
(MBR) partitioning has changed, but the changes have not yet been written
back to disk, we need to ignore the kernels idea of the disklabel and
instead continue with an empty one.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/sysinst/disklabel.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 11:55:18 UTC 2020

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

Log Message:
Deal with partitioning schemes having no inner counterpart.
Avoid NULL derefs.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/sysinst/partman.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/xcomp

2020-02-06 Thread Yuuki Enomoto
Module Name:src
Committed By:   uki
Date:   Thu Feb  6 12:13:45 UTC 2020

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

Log Message:
Fix incorrect package name in xcomp


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 src/distrib/sets/lists/xcomp/mi

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/c063

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 12:18:06 UTC 2020

Modified Files:
src/tests/lib/libc/c063: t_o_search.c

Log Message:
Add a few O_SEARCH tests, currently only run on FreeBSD.
Patch from Kyle Evans.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/c063/t_o_search.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

2020-02-06 Thread Yuuki Enomoto
Module Name:src
Committed By:   uki
Date:   Thu Feb  6 12:36:38 UTC 2020

Modified Files:
src/distrib/sets: regpkgset

Log Message:
Building X11 system packages by "build.sh syspkgs"


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/regpkgset

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

2020-02-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Feb  6 12:50:00 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: RPI2

Log Message:
Sort DTS


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/conf/RPI2

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

2020-02-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Feb  6 12:51:14 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: RPI2

Log Message:
Add bcm2837-rpi-3-a-plus.dts to DTS.  Requested by logix


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

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

2020-02-06 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb  6 13:31:30 UTC 2020

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

Log Message:
sent PMF events when (un)blanking so things like lmu can turn their lights on
or off as well


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/dev/pci/radeonfb.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 15:08:04 UTC 2020

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

Log Message:
Do not assum a partitioning scheme that supports innner partitions always
needs to actually have such partitions defined.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/target.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 16:28:10 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disks.c txtwalk.c

Log Message:
PR bin/54944: deal with escaped spaces in NAME= syntax in /etc/fstab.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/txtwalk.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 18:07:22 UTC 2020

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

Log Message:
PR bin/54944: explicitly reject GPT protective MBRs.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/sysinst/mbr.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 19:08:38 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disks.c upgrade.c

Log Message:
PR bin/54944: make the "explicit single wedge" selection also work for
upgrades.


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

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



CVS commit: src/sbin/devpubd

2020-02-06 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb  6 19:20:21 UTC 2020

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

Log Message:
Stop including unused header 


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/devpubd/devpubd.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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 19:41:57 UTC 2020

Modified Files:
src/usr.sbin/sysinst: msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl

Log Message:
Reformat a query to add an automatically detected swap partition
so it fits on narrow screens.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/msg.mi.en
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/msg.mi.pl

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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 19:50:04 UTC 2020

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

Log Message:
Make re-install sets also work for an explicit selected root wedge


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

2020-02-06 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Feb  6 19:52:09 UTC 2020

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

Log Message:
Fix previous brainfart.

Don't use the uninitialized trng node as the root node -- derp.
Instead, use the root node as the root node, and initialize the trng
node here.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/sunxi/sun8i_crypto.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

2020-02-06 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Feb  6 19:51:59 UTC 2020

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

Log Message:
If we are invoked with SIGCHLD ignored, we fail badly, as we assume
that we can always wait(2) for our children, and an ignored SIGCHLD
prevents that.   Recent versions of bash can be convinced (due to a
bug most likely) to invoke us that way.   Always return SIGCHLD to
SIG_DFL during init - we already prevent scripts from fiddling it.

All ash derived shells apparently have this problem (observed by
Martijn Dekker, and notified on the bash-bug list).  Actual issue
diagnosed by Harald van Dijk (same list).


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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 19:53:10 UTC 2020

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

Log Message:
Fix copy&pasto in previous - from kre.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/txtwalk.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

2020-02-06 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Feb  6 20:08:28 UTC 2020

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

Log Message:
Actually, the issue with bash (in previous) is more likely that the
SIGCHLD is blocked rather than ignored.   We want neither.   Make sure
SIGCHLD is unblocked as well as SIG_DFL.

XXX pullup -9


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

2020-02-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb  6 20:17:04 UTC 2020

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

Log Message:
Only a single partition can ever have the "extend" flag (grow to available
size).


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/sysinst/bsddisklabel.c

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



CVS commit: src/games/battlestar

2020-02-06 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Thu Feb  6 22:09:43 UTC 2020

Modified Files:
src/games/battlestar: parse.c

Log Message:
games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/games/battlestar/parse.c

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



CVS commit: src/sys/modules/examples

2020-02-06 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb  6 22:52:26 UTC 2020

Modified Files:
src/sys/modules/examples: README

Log Message:
Document what does ping_block.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/modules/examples/README

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



CVS commit: src/sys

2020-02-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Feb  6 23:30:20 UTC 2020

Modified Files:
src/sys/net: if.c if.h
src/sys/netinet: ip_carp.c

Log Message:
Perform link state change processing on a work queue, rather than in a
softint.


To generate a diff of this commit:
cvs rdiff -u -r1.470 -r1.471 src/sys/net/if.c
cvs rdiff -u -r1.280 -r1.281 src/sys/net/if.h
cvs rdiff -u -r1.109 -r1.110 src/sys/netinet/ip_carp.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

2020-02-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb  7 00:04:28 UTC 2020

Modified Files:
src/sys/dev/pci: if_bce.c if_bge.c if_bnx.c if_cas.c if_ena.c if_jme.c
if_pcn.c if_sip.c if_ste.c if_stge.c if_vr.c if_vte.c

Log Message:
Use callout_setfunc() / callout_schedule().


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/if_bce.c
cvs rdiff -u -r1.344 -r1.345 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/pci/if_bnx.c
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/pci/if_cas.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_ena.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/pci/if_jme.c
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/pci/if_pcn.c
cvs rdiff -u -r1.177 -r1.178 src/sys/dev/pci/if_sip.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pci/if_ste.c
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/pci/if_stge.c
cvs rdiff -u -r1.132 -r1.133 src/sys/dev/pci/if_vr.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/if_vte.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/acpi

2020-02-06 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Feb  7 00:35:00 UTC 2020

Modified Files:
src/sys/arch/arm/acpi: acpi_iort.c

Log Message:
Single mappings are translated to OutputBase, not InputBase


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/acpi/acpi_iort.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/ic

2020-02-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb  7 00:56:49 UTC 2020

Modified Files:
src/sys/dev/ic: aic6915.c elinkxl.c gem.c hme.c i82557.c rtl8169.c
rtl81x9.c smc83c170.c smc91cxx.c

Log Message:
Use callout_setfunc() / callout_schedule().


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/ic/aic6915.c
cvs rdiff -u -r1.135 -r1.136 src/sys/dev/ic/elinkxl.c
cvs rdiff -u -r1.127 -r1.128 src/sys/dev/ic/gem.c
cvs rdiff -u -r1.106 -r1.107 src/sys/dev/ic/hme.c
cvs rdiff -u -r1.158 -r1.159 src/sys/dev/ic/i82557.c
cvs rdiff -u -r1.163 -r1.164 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.109 -r1.110 src/sys/dev/ic/rtl81x9.c
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/ic/smc83c170.c
cvs rdiff -u -r1.105 -r1.106 src/sys/dev/ic/smc91cxx.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

2020-02-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb  7 01:14:55 UTC 2020

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

Log Message:
IPL_SOFTNET -> IPL_NET in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.471 -r1.472 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/dev/ic

2020-02-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb  7 01:19:46 UTC 2020

Modified Files:
src/sys/dev/ic: elink3.c

Log Message:
Use callout_setfunc() / callout_schedule().


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/dev/ic/elink3.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

2020-02-06 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Fri Feb  7 01:25:08 UTC 2020

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

Log Message:
bin/sh: Fixes -Werror=shadow causing build breaks.

Conflicting variable name, sigset_t sigs has been renamed to sigset_t mask

Reviewed by: kamil@


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

2020-02-06 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Feb  7 02:06:13 UTC 2020

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

Log Message:
Avoid a core dump if a child process that is not one of our
children happens to exit while we are waiting for another child
to exit.

This can happen with code like

sh -c '
sleep 5 &
exec sh -c "sleep 10 & wait !$"
  '

when the inner "sh" is waiting for the 10 second sleep to be
done, the 5 second sleep started earlier terminates.   It is
a child of our process, as the inner shell is the same process
as the outer one, but not a known child (the inner shell has no
idea what the outer one did before it started).

This was observed in the wild by Martijn Dekker (where the outer
shell was bash but that's irrelevant).

XXX pullup -9


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

2020-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  7 07:16:32 UTC 2020

Modified Files:
src/external/gpl3/gcc: README.gcc8

Log Message:
powerpc switched.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/README.gcc8

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