CVS commit: src/sys/kern

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr  5 01:10:32 UTC 2019

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

Log Message:
we need it for non-kernel builds (rump)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/subr_disklabel.c

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



CVS commit: src/sys/rump/dev/lib/libdisk

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr  5 01:09:33 UTC 2019

Modified Files:
src/sys/rump/dev/lib/libdisk: Makefile

Log Message:
need subr_disklabel.c


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/dev/lib/libdisk/Makefile

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



CVS commit: src/sys/kern

2019-04-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Apr  5 00:33:22 UTC 2019

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

Log Message:
avoid underflow in user/system time.


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

2019-04-04 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Apr  4 22:49:46 UTC 2019

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

Log Message:
Consistently use db_printf() instead of printf() for machine specific
commands.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/mips/mips/db_interface.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/time

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 22:03:23 UTC 2019

Modified Files:
src/lib/libc/time: private.h

Log Message:
deal with zic that's not part of libc.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/lib/libc/time/private.h

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



CVS commit: src/usr.bin/indent

2019-04-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Apr  4 22:02:06 UTC 2019

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

Log Message:
New sentence, new line.  Whitespace fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/indent/indent.1

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



CVS commit: src

2019-04-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr  4 21:31:28 UTC 2019

Modified Files:
src/external/gpl3/gcc: README.gcc7
src/share/mk: bsd.own.mk

Log Message:
switch hppa to GCC 7.

note vax atf fails same as GCC 6.  hppa mostly works but has an
atf issue also unrelated to the compiler version

note ia64 mostly builds, but the kernel fails earlier than GCC 6.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/README.gcc7
cvs rdiff -u -r1.1123 -r1.1124 src/share/mk/bsd.own.mk

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



CVS commit: src/distrib

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 21:00:20 UTC 2019

Modified Files:
src/distrib/amiga/miniroot: install.md
src/distrib/atari/floppies/prepare: install.md
src/distrib/hp300/miniroot: install.md
src/distrib/mvme68k/miniroot: install.md
src/distrib/sparc: install.md
src/distrib/sun2/miniroot: install.md
src/distrib/sun3/miniroot: install.md

Log Message:
modernize, and avoid -a -o


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/amiga/miniroot/install.md
cvs rdiff -u -r1.4 -r1.5 src/distrib/atari/floppies/prepare/install.md
cvs rdiff -u -r1.15 -r1.16 src/distrib/hp300/miniroot/install.md
cvs rdiff -u -r1.6 -r1.7 src/distrib/mvme68k/miniroot/install.md
cvs rdiff -u -r1.22 -r1.23 src/distrib/sparc/install.md
cvs rdiff -u -r1.3 -r1.4 src/distrib/sun2/miniroot/install.md
cvs rdiff -u -r1.3 -r1.4 src/distrib/sun3/miniroot/install.md

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



CVS commit: src/distrib/miniroot

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 20:51:35 UTC 2019

Modified Files:
src/distrib/miniroot: install.sh install.sub upgrade.sh

Log Message:
eXorcize and `` -> $()


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/distrib/miniroot/install.sh
cvs rdiff -u -r1.46 -r1.47 src/distrib/miniroot/install.sub
cvs rdiff -u -r1.23 -r1.24 src/distrib/miniroot/upgrade.sh

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



CVS import: src/usr.bin/indent

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 20:39:17 UTC 2019

Update of /cvsroot/src/usr.bin/indent
In directory ivanova.netbsd.org:/tmp/cvs-serv28959

Log Message:
FreeBSD indent r340138

Status:

Vendor Tag: FREEBSD
Release Tags:   r340138

C src/usr.bin/indent/indent.c
C src/usr.bin/indent/lexi.c
C src/usr.bin/indent/indent_globs.h
C src/usr.bin/indent/parse.c
C src/usr.bin/indent/indent.h
C src/usr.bin/indent/args.c
C src/usr.bin/indent/indent.1
C src/usr.bin/indent/io.c
C src/usr.bin/indent/pr_comment.c
C src/usr.bin/indent/indent_codes.h
C src/usr.bin/indent/Makefile
C src/usr.bin/indent/README
I src/usr.bin/indent/.svn

12 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jFREEBSD:yesterday -jFREEBSD src/usr.bin/indent



CVS commit: src/doc

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 20:21:45 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
Document indent in doc/3RDPARTY


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

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 20:19:07 UTC 2019

Modified Files:
src/sys/kern: files.kern subr_disk.c
Added Files:
src/sys/kern: subr_disklabel.c

Log Message:
move setdisklabel(9) into a separate file.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/files.kern
cvs rdiff -u -r1.126 -r1.127 src/sys/kern/subr_disk.c
cvs rdiff -u -r0 -r1.1 src/sys/kern/subr_disklabel.c

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



CVS commit: src/etc/mtree

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 19:50:47 UTC 2019

Modified Files:
src/etc/mtree: NetBSD.dist.tests

Log Message:
Register ./usr/tests/usr.bin/indent


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/etc/mtree/NetBSD.dist.tests

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

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 19:42:39 UTC 2019

Modified Files:
src/lib/libc/time: Makefile.inc

Log Message:
ALL_STATE was bought by STATE_FARM.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/time/Makefile.inc

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

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 19:27:28 UTC 2019

Modified Files:
src/lib/libc/time: localtime.c private.h strftime.c

Log Message:
Make strftime_{l,z} re-entrant and always require a non-NULL timezone to be
passed in so that we can use the current timezone in all evaluations (mktime
tzgetname). Reported by Hamilton Slye.


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.53 -r1.54 src/lib/libc/time/private.h
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/time/strftime.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/time

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 19:25:38 UTC 2019

Modified Files:
src/lib/libc/time: difftime.c

Log Message:
explicitly promote to double.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/time/difftime.c

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



CVS commit: src/doc

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 18:19:41 UTC 2019

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new tzcode


To generate a diff of this commit:
cvs rdiff -u -r1.1606 -r1.1607 src/doc/3RDPARTY
cvs rdiff -u -r1.2514 -r1.2515 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/lib/libc/time

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 18:18:31 UTC 2019

Modified Files:
src/lib/libc/time: Makefile NEWS README theory.html tz-art.html
tz-link.html tzfile.5 version zic.8 zic.c

Log Message:
merge 2019a

  Changes to code

zic now has an -r option to limit the time range of output data.
For example, 'zic -r @10' limits the output data to
timestamps starting 10 seconds after the Epoch.
This helps shrink output size and can be useful for applications
not needing the full timestamp history, such as TZDIST truncation;
see Internet RFC 8536 section 5.1.  (Inspired by a feature request
from Christopher Wong, helped along by bug reports from Wong and
from Tim Parenti.)

  Changes to documentation

Mention Internet RFC 8536 (February 2019), which documents TZif.

tz-link.html now cites tzdata-meta
.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/time/Makefile
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/time/NEWS src/lib/libc/time/tzfile.5
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/time/README
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/time/theory.html
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/time/tz-art.html
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/time/tz-link.html
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/time/version
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/time/zic.8
cvs rdiff -u -r1.73 -r1.74 src/lib/libc/time/zic.c

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



CVS commit: src/include

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 18:18:52 UTC 2019

Modified Files:
src/include: tzfile.h

Log Message:
merge tzcode 2019a


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/include/tzfile.h

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



CVS commit: src/lib/libnvmm

2019-04-04 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Apr  4 17:33:47 UTC 2019

Modified Files:
src/lib/libnvmm: libnvmm.3 libnvmm.c libnvmm_x86.c nvmm.h

Log Message:
Check the GPA permissions too in the Assists, because it is possible that
the guest traps on a page the virtualizer marked as read-only (even if it
appears as read-write in the HVA).


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libnvmm/libnvmm.3
cvs rdiff -u -r1.7 -r1.8 src/lib/libnvmm/libnvmm.c
cvs rdiff -u -r1.27 -r1.28 src/lib/libnvmm/libnvmm_x86.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libnvmm/nvmm.h

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



CVS commit: src/doc

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 15:53:44 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
indent(1): Upraded to the FreeBSD HEAD checkout


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

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 15:27:35 UTC 2019

Added Files:
src/tests/usr.bin/indent: Makefile binary.0 binary.0.stdout comments.0
comments.0.pro comments.0.stdout cs.0 cs.0.pro cs.0.stdout
declarations.0 declarations.0.stdout elsecomment.0
elsecomment.0.pro elsecomment.0.stdout f_decls.0 f_decls.0.stdout
float.0 float.0.stdout label.0 label.0.pro label.0.stdout
list_head.0 list_head.0.stdout ncs.0 ncs.0.pro ncs.0.stdout
offsetof.0 offsetof.0.stdout parens.0 parens.0.pro parens.0.stdout
pcs.0 pcs.0.pro pcs.0.stdout struct.0 struct.0.stdout surplusbad.0
surplusbad.0.pro surplusbad.0.stdout t_indent.sh types_from_file.0
types_from_file.0.list types_from_file.0.pro
types_from_file.0.stdout wchar.0 wchar.0.stdout
src/usr.bin/indent: indent.h

Log Message:
Upgrade indent(1)

Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and 
opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.

Part II, checkin new files.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/indent/Makefile \
src/tests/usr.bin/indent/binary.0 \
src/tests/usr.bin/indent/binary.0.stdout \
src/tests/usr.bin/indent/comments.0 \
src/tests/usr.bin/indent/comments.0.pro \
src/tests/usr.bin/indent/comments.0.stdout src/tests/usr.bin/indent/cs.0 \
src/tests/usr.bin/indent/cs.0.pro src/tests/usr.bin/indent/cs.0.stdout \
src/tests/usr.bin/indent/declarations.0 \
src/tests/usr.bin/indent/declarations.0.stdout \
src/tests/usr.bin/indent/elsecomment.0 \
src/tests/usr.bin/indent/elsecomment.0.pro \
src/tests/usr.bin/indent/elsecomment.0.stdout \
src/tests/usr.bin/indent/f_decls.0 \
src/tests/usr.bin/indent/f_decls.0.stdout \
src/tests/usr.bin/indent/float.0 src/tests/usr.bin/indent/float.0.stdout \
src/tests/usr.bin/indent/label.0 src/tests/usr.bin/indent/label.0.pro \
src/tests/usr.bin/indent/label.0.stdout \
src/tests/usr.bin/indent/list_head.0 \
src/tests/usr.bin/indent/list_head.0.stdout \
src/tests/usr.bin/indent/ncs.0 src/tests/usr.bin/indent/ncs.0.pro \
src/tests/usr.bin/indent/ncs.0.stdout src/tests/usr.bin/indent/offsetof.0 \
src/tests/usr.bin/indent/offsetof.0.stdout \
src/tests/usr.bin/indent/parens.0 src/tests/usr.bin/indent/parens.0.pro \
src/tests/usr.bin/indent/parens.0.stdout src/tests/usr.bin/indent/pcs.0 \
src/tests/usr.bin/indent/pcs.0.pro src/tests/usr.bin/indent/pcs.0.stdout \
src/tests/usr.bin/indent/struct.0 \
src/tests/usr.bin/indent/struct.0.stdout \
src/tests/usr.bin/indent/surplusbad.0 \
src/tests/usr.bin/indent/surplusbad.0.pro \
src/tests/usr.bin/indent/surplusbad.0.stdout \
src/tests/usr.bin/indent/t_indent.sh \
src/tests/usr.bin/indent/types_from_file.0 \
src/tests/usr.bin/indent/types_from_file.0.list \
src/tests/usr.bin/indent/types_from_file.0.pro \
src/tests/usr.bin/indent/types_from_file.0.stdout \
src/tests/usr.bin/indent/wchar.0 src/tests/usr.bin/indent/wchar.0.stdout
cvs rdiff -u -r0 -r1.1 src/usr.bin/indent/indent.h

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



CVS commit: src

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 15:22:13 UTC 2019

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin: Makefile
src/usr.bin/indent: Makefile README args.c indent.1 indent.c
indent_codes.h indent_globs.h io.c lexi.c parse.c pr_comment.c

Log Message:
Upgrade indent(1)

Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and 
opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.


To generate a diff of this commit:
cvs rdiff -u -r1.809 -r1.810 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.26 -r1.27 src/tests/usr.bin/Makefile
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/indent/Makefile
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/indent/README
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/indent/args.c
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/indent/indent.1
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/indent/indent_codes.h
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/indent/indent_globs.h \
src/usr.bin/indent/pr_comment.c
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/indent/io.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/indent/lexi.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/indent/parse.c

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



CVS commit: src/etc/mtree

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 15:10:58 UTC 2019

Modified Files:
src/etc/mtree: NetBSD.dist.tests

Log Message:
Sort ./usr/tests/usr.bin/netpgpverify


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/etc/mtree/NetBSD.dist.tests

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



CVS commit: src/distrib/utils/embedded/files

2019-04-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Apr  4 14:26:40 UTC 2019

Modified Files:
src/distrib/utils/embedded/files: armv7_boot.cmd

Log Message:
Re-enable efiboot for armv7 (thanks skrll@)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/utils/embedded/files/armv7_boot.cmd

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

2019-04-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr  4 14:24:20 UTC 2019

Modified Files:
src/sys/arch/arm/arm: armv6_start.S

Log Message:
Restructure so that storing of uboot args (including FDT address) and
virtual to physical offset is done after armv[67]_init where we ensure
MMU and caches are off, and cache is invalidated.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/arm/armv6_start.S

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



CVS commit: src/sbin/gpt

2019-04-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr  4 14:03:40 UTC 2019

Modified Files:
src/sbin/gpt: destroy.c

Log Message:
PR bin/54088: make "destroy" remove the protective MBR too.
We could make this optional if someone comes up with a good reason
to leave it intact.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sbin/gpt/destroy.c

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



CVS commit: src/sbin/gpt

2019-04-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr  4 13:58:20 UTC 2019

Modified Files:
src/sbin/gpt: destroy.c

Log Message:
Ignore -f with the "destroy" command completely (it was effectively
ignored already, so no functional change). Leave it as valid option
for compatibility.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sbin/gpt/destroy.c

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



CVS commit: src/sbin/gpt

2019-04-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr  4 13:55:40 UTC 2019

Modified Files:
src/sbin/gpt: biosboot.c gpt.8

Log Message:
Allow specifying the partition via -b startsec for the biosboot cmd.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sbin/gpt/biosboot.c
cvs rdiff -u -r1.67 -r1.68 src/sbin/gpt/gpt.8

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

2019-04-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr  4 12:38:28 UTC 2019

Modified Files:
src/sys/dev/pci: if_bnxreg.h

Log Message:
No functional change. This change reduces diff against DragonFly:
- Fix BNX_PCI_GRC_WINDOW_ADDR_VALUE's name. Note that this macro is not used.
- Whitespace change.
- Sort some lines.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/if_bnxreg.h

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



CVS commit: src/external/bsd/llvm

2019-04-04 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Apr  4 12:34:32 UTC 2019

Modified Files:
src/external/bsd/llvm: Makefile.inc

Log Message:
Use right definitions in src/tools/llvm.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/external/bsd/llvm/Makefile.inc

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



CVS commit: src/sys/kern

2019-04-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Apr  4 12:26:45 UTC 2019

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

Log Message:
Don't validate buffer size for tape I/O, this is already done by
the tape driver. Using MAXBSIZE as limit was also wrong on sun2 where
MAXBSIZE < MAXPHYS.


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

2019-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 11:49:06 UTC 2019

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

Log Message:
one more __func__


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/kern/subr_disk.c

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



CVS commit: src/tests/modules

2019-04-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Apr  4 10:53:20 UTC 2019

Modified Files:
src/tests/modules: t_kcov.c

Log Message:
Fix flaky check for the /dev/kcov device in t_kcov

Add a top-level check for the KCOV device, instead of deferring it ot each
thread. The thread-based solution was flaky.

PR kern/54064 by Andreas Gustafsson


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

2019-04-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr  4 08:16:24 UTC 2019

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

Log Message:
 0 -> NULL.


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

2019-04-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Apr  4 07:51:54 UTC 2019

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

Log Message:
Fix a typo in a comment: s/avissory/advisory/

NFCI


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/sys/mman.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

2019-04-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr  4 07:09:55 UTC 2019

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

Log Message:
Make the DEBUG version compile


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/kern/subr_disk.c

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