CVS commit: [prg-localcount2] src/sys/rump/librump/rumpkern

2017-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 30 07:07:56 UTC 2017

Modified Files:
src/sys/rump/librump/rumpkern [prg-localcount2]: locks.c

Log Message:
Use the right conditional to enable/disable LOCKDEBUG within RUMP


To generate a diff of this commit:
cvs rdiff -u -r1.73.4.1 -r1.73.4.2 src/sys/rump/librump/rumpkern/locks.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/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 08:41:18 UTC 2017

Modified Files:
src/usr.sbin/makemandb: makemandb.c

Log Message:
Avoid a call to strncmp when comparing only the first character of the string.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/makemandb/makemandb.c

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



CVS commit: src/usr.bin/sortinfo

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 09:00:49 UTC 2017

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

Log Message:
Add missing words.


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

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/dev/pci

2017-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 30 10:17:26 UTC 2017

Modified Files:
src/sys/dev/pci [prg-localcount2]: twa.c twe.c

Log Message:
More DEVSW_MODULE_INIT for modular drivers


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.55.6.1 src/sys/dev/pci/twa.c
cvs rdiff -u -r1.106 -r1.106.6.1 src/sys/dev/pci/twe.c

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

2017-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 30 10:27:16 UTC 2017

Modified Files:
src/sys/dev/ata [prg-localcount2]: wd.c
src/sys/dev/ic [prg-localcount2]: mlx.c nvme.c

Log Message:
And a few more DEVSW_MODULE_INIT for modular drivers


To generate a diff of this commit:
cvs rdiff -u -r1.429 -r1.429.2.1 src/sys/dev/ata/wd.c
cvs rdiff -u -r1.65 -r1.65.6.1 src/sys/dev/ic/mlx.c
cvs rdiff -u -r1.26 -r1.26.4.1 src/sys/dev/ic/nvme.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-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 30 12:30:00 UTC 2017

Modified Files:
src/share/man/man9: Makefile devsw_attach.9

Log Message:
Make the primary name for this man-page devsw


To generate a diff of this commit:
cvs rdiff -u -r1.409 -r1.410 src/share/man/man9/Makefile
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/devsw_attach.9

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

2017-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 30 12:30:55 UTC 2017

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

Log Message:
Add new primary entry for devsw(9) man page


To generate a diff of this commit:
cvs rdiff -u -r1.2126 -r1.2127 src/distrib/sets/lists/comp/mi

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-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 30 12:32:40 UTC 2017

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

Log Message:
Add a cross-ref to devsw(9)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 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/sortinfo

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 13:45:06 UTC 2017

Modified Files:
src/usr.bin/sortinfo: sortinfo.c

Log Message:
Free the buffer allocated by getline(3).

ok christos.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/sortinfo/sortinfo.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/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 14:49:26 UTC 2017

Modified Files:
src/usr.sbin/makemandb: apropos-utils.c

Log Message:
Use sqlite3_mprintf() to generate SQL query instead of asprintf.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/makemandb/apropos-utils.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/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 14:53:58 UTC 2017

Modified Files:
src/usr.sbin/makemandb: apropos-utils.c

Log Message:
Update the comment to be in sync with the code.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/makemandb/apropos-utils.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/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 15:27:24 UTC 2017

Modified Files:
src/usr.sbin/makemandb: apropos-utils.c

Log Message:
Instead of dereferencing the pointer passed in as function argument, use a
temporary local buffer. Saves the cost of pointer dereferencing at so many 
places.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/makemandb/apropos-utils.c

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



CVS commit: src/sbin/nvmectl

2017-04-30 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 30 15:59:18 UTC 2017

Modified Files:
src/sbin/nvmectl: nvmectl.8

Log Message:
Remove unnecessary Pp. Add missing plural-s. More markup.


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

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-04-30 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 30 16:02:48 UTC 2017

Modified Files:
src/bin/sh: sh.1

Log Message:
Uppercase UID. Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/bin/sh/sh.1

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



CVS commit: src/sys/dev/ofw

2017-04-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Apr 30 16:46:09 UTC 2017

Modified Files:
src/sys/dev/ofw: ofw_subr.c openfirm.h

Log Message:
Rename of_getprop_bool to of_hasprop and make of_getprop_bool an alias.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ofw/ofw_subr.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/ofw/openfirm.h

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



CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 30 16:56:30 UTC 2017

Modified Files:
src/usr.sbin/makemandb: apropos-utils.c

Log Message:
Simplify


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/makemandb/apropos-utils.c

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



CVS commit: src/bin/ksh

2017-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 30 17:34:29 UTC 2017

Modified Files:
src/bin/ksh: misc.c

Log Message:
Use backtracking for regular patterns, but not ksh-specific ones [*?!+@](...)
which still use recursion.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/bin/ksh/misc.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/man8

2017-04-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Apr 30 20:05:30 UTC 2017

Modified Files:
src/share/man/man8: compat_freebsd.8

Log Message:
Direct reader solely to ftp.FreeBSD.org.
The mirror list is no longer publish on FTP and the main mirror now uses geodns
to guide visitors to nearest mirror.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man8/compat_freebsd.8

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



CVS commit: src/share/man/man8

2017-04-30 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 30 20:28:53 UTC 2017

Modified Files:
src/share/man/man8: compat_freebsd.8

Log Message:
Use URL and appropriate macro for pointing to ftp.freebsd.org.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man8/compat_freebsd.8

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



CVS import: src/sys/external/bsd/acpica/dist

2017-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 30 20:57:28 UTC 2017

Update of /cvsroot/src/sys/external/bsd/acpica/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv8498

Log Message:

03 March 2017. Summary of changes for version 20170303:


0) ACPICA licensing:

The licensing information at the start of each source code module has 
been updated. In addition to the Intel license, the dual GPLv2/BSD 
license has been added for completeness. Now, a single version of the 
source code should be suitable for all ACPICA customers. This is the 
major change for this release since it affects all source code modules.


1) ACPICA kernel-resident subsystem: 

Fixed two issues with the common asltypes.h header that could cause 
problems in some environments: (Kim Jung-uk)
Removed typedef for YY_BUFFER_STATE ?
   Fixes an error with earlier versions of Flex.
Removed use of FILE typedef (which is only defined in stdio.h)


2) iASL Compiler/Disassembler and Tools: 

Disassembler: fixed a regression introduced in 20170224. A fix for a 
memory leak related to resource descriptor tags (names) could fault when 
the disassembler was generated with 64-bit compilers.

The ASLTS test suite has been updated to implement a new testing 
architecture. During generation of the suite from ASL source, both the 
ASL and ASL+ compilers are now validated, as well as the disassembler 
itself (Erik Schmauss). The architecture executes as follows:

For every ASL source module:
Compile (legacy ASL compilation)
Disassemble the resulting AML to ASL+ source code
Compile the new ASL+ module
Perform a binary compare on the legacy AML and the new ASL+ AML
The ASLTS suite then executes normally using the AML binaries.


24 February 2017. Summary of changes for version 20170224:


1) ACPICA kernel-resident subsystem:

Interpreter: Fixed two issues with the control method return value auto-
repair feature, where an attempt to double-delete an internal object 
could result in an ACPICA warning (for _CID repair and others). No fault 
occurs, however, because the attempted deletion (actually a release to an 
internal cache) is detected and ignored via object poisoning.

Debugger: Fixed an AML interpreter mutex issue during the single stepping 
of control methods. If certain debugger commands are executed during 
stepping, a mutex aquire/release error could occur. Lv Zheng.

Fixed some issues generating ACPICA with the Intel C compiler by 
restoring the original behavior and compiler-specific include file in 
acenv.h. Lv Zheng.

Example Code and Data Size: These are the sizes for the OS-independent 
acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
debug version of the code includes the debug output trace mechanism and 
has a much larger code and data size.

  Current Release:
Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
  Previous Release:
Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
Debug Version: 201.5K Code, 82.2K Data, 283.7K Total


2) iASL Compiler/Disassembler and Tools:

iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
tool has been designed, implemented, and included in this release. The 
key feature of this utility is that the original comments within the 
input ASL file are preserved during the conversion process, and included 
within the converted ASL+ file -- thus creating a transparent conversion 
of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.

Usage: iasl -ca   // Output is a .dsl file with 
converted code

iASL/Disassembler: Improved the detection and correct disassembly of 
Switch/Case operators. This feature detects sequences of if/elseif/else 
operators that originated from ASL Switch/Case/Default operators and 
emits the original operators. David Box.

iASL: Improved the IORT ACPI table support in the following areas. Lv 
Zheng:
Clear MappingOffset if the MappingCount is zero.
Fix the disassembly of the SMMU GSU interrupt offset.
Update the template file for the IORT table.

Disassembler: Enhanced the detection and disassembly of resource 
template/descriptor within a Buffer object. An EndTag descriptor is now 
required to have a zero second byte, since all known ASL compilers emit 
this. This helps eliminate incorrect decisions when a buffer is 
disassembled (false positives on resource templates).

Status:

Vendor Tag: intel
Release Tags:   acpica-20170303

U src/sys/external/bsd/acpica/dist/changes.txt
U src/sys/external/bsd/acpica/dist/Makefile
U src/sys/external/bsd/acpica/dist/generate/lint/files.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/lint.bat
U src/sys/external/bsd/acpica/dist/generate/lint/lset.bat
U src/sys/external/bsd/acpica/dist/generate/lint/options.lnt
U src/sys/

CVS commit: src/sys/external/bsd/acpica/dist

2017-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 30 23:13:37 UTC 2017

Modified Files:
src/sys/external/bsd/acpica/dist/common: dmtbinfo.c
src/sys/external/bsd/acpica/dist/compiler: aslcompile.c aslcompiler.h
aslcompiler.l aslfiles.c asloptions.c aslsupport.l asltree.c
aslwalks.c
src/sys/external/bsd/acpica/dist/debugger: dbmethod.c
src/sys/external/bsd/acpica/dist/disassembler: dmcstyle.c dmwalk.c
src/sys/external/bsd/acpica/dist/dispatcher: dscontrol.c dsopcode.c
dsutils.c
src/sys/external/bsd/acpica/dist/include: acdisasm.h acglobal.h
aclocal.h acmacros.h acpixf.h
src/sys/external/bsd/acpica/dist/namespace: nsaccess.c nsrepair2.c
src/sys/external/bsd/acpica/dist/parser: psopcode.c psopinfo.c
src/sys/external/bsd/acpica/dist/utilities: utcache.c utdebug.c

Log Message:
merge conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/acpica/dist/common/dmtbinfo.c
cvs rdiff -u -r1.10 -r1.11 \
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c
cvs rdiff -u -r1.7 -r1.8 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h \
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l \
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c
cvs rdiff -u -r1.8 -r1.9 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l \
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c \
src/sys/external/bsd/acpica/dist/compiler/asltree.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/bsd/acpica/dist/compiler/asloptions.c
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/acpica/dist/debugger/dbmethod.c
cvs rdiff -u -r1.7 -r1.8 \
src/sys/external/bsd/acpica/dist/disassembler/dmcstyle.c \
src/sys/external/bsd/acpica/dist/disassembler/dmwalk.c
cvs rdiff -u -r1.7 -r1.8 \
src/sys/external/bsd/acpica/dist/dispatcher/dscontrol.c \
src/sys/external/bsd/acpica/dist/dispatcher/dsutils.c
cvs rdiff -u -r1.8 -r1.9 \
src/sys/external/bsd/acpica/dist/dispatcher/dsopcode.c
cvs rdiff -u -r1.12 -r1.13 \
src/sys/external/bsd/acpica/dist/include/acdisasm.h \
src/sys/external/bsd/acpica/dist/include/aclocal.h \
src/sys/external/bsd/acpica/dist/include/acmacros.h
cvs rdiff -u -r1.14 -r1.15 \
src/sys/external/bsd/acpica/dist/include/acglobal.h \
src/sys/external/bsd/acpica/dist/include/acpixf.h
cvs rdiff -u -r1.10 -r1.11 \
src/sys/external/bsd/acpica/dist/namespace/nsaccess.c \
src/sys/external/bsd/acpica/dist/namespace/nsrepair2.c
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/acpica/dist/parser/psopcode.c
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/acpica/dist/parser/psopinfo.c
cvs rdiff -u -r1.10 -r1.11 \
src/sys/external/bsd/acpica/dist/utilities/utcache.c
cvs rdiff -u -r1.13 -r1.14 \
src/sys/external/bsd/acpica/dist/utilities/utdebug.c

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



CVS commit: src/external/bsd/acpica/bin/iasl

2017-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 30 23:18:07 UTC 2017

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Adjust for 20170303


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/acpica/bin/iasl/Makefile

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



CVS commit: src/doc

2017-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 30 23:19:11 UTC 2017

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.1439 -r1.1440 src/doc/3RDPARTY
cvs rdiff -u -r1.2278 -r1.2279 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/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon May  1 05:28:00 UTC 2017

Modified Files:
src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c

Log Message:
Simplify handling of the section arguments in apropos(1).

Earlier, a white space separated string was generated containing all the section
numbers passed through command line arguments. Later on that would have to be
tokenized and processed. Instead of that, use a NULL terminated array of 
strings.

Thanks to christos@ for reviewing and suggesting further improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/makemandb/apropos-utils.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/makemandb/apropos-utils.h
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/makemandb/apropos.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/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon May  1 05:52:33 UTC 2017

Modified Files:
src/usr.sbin/makemandb: makemandb.c

Log Message:
Avoid copying strings where it is not needed.


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

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon May  1 06:43:56 UTC 2017

Modified Files:
src/usr.sbin/makemandb: makemandb.c

Log Message:
Remove the table name parameter from the check_md5 function.

There is only one table storing the md5 checksums, so we can hardcode the table
name instead of passing it as a function argument.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/makemandb/makemandb.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/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon May  1 06:56:00 UTC 2017

Modified Files:
src/usr.sbin/makemandb: makemandb.c

Log Message:
Avoid dereferencing pointer at multiple places, instead use a local variable.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/makemandb/makemandb.c

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