CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Apr 23 09:16:35 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: TODO.ncq

Log Message:
note possible problem with ata_exec_xfer()


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/dev/ata/TODO.ncq

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-23 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sun Apr 23 10:46:55 UTC 2017

Modified Files:
src/doc: 3RDPARTY

Log Message:
Upstream Lua is at version 5.3.4.


To generate a diff of this commit:
cvs rdiff -u -r1.1435 -r1.1436 src/doc/3RDPARTY

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



CVS commit: [bouyer-socketcan] src/sys/rump/librump/rumpkern

2017-04-23 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Apr 23 11:17:25 UTC 2017

Modified Files:
src/sys/rump/librump/rumpkern [bouyer-socketcan]: threads.c

Log Message:
Sync with HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.24.4.1 -r1.24.4.2 src/sys/rump/librump/rumpkern/threads.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-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 23 11:37:29 UTC 2017

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

Log Message:
Use more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man9/file.9

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



CVS commit: src/lib/libc/sys

2017-04-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 23 11:38:53 UTC 2017

Modified Files:
src/lib/libc/sys: _lwp_create.2

Log Message:
Sort errors.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/sys/_lwp_create.2

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

2017-04-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Apr 23 12:31:38 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: files.tegra soc_tegra124.c
Added Files:
src/sys/arch/arm/nvidia: tegra124_cpu.c

Log Message:
Split cpufreq driver out into a separate module.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/nvidia/files.tegra
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/nvidia/soc_tegra124.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/nvidia/tegra124_cpu.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/gen

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

Modified Files:
src/lib/libc/gen: vis.3

Log Message:
fix typo (Leonardo Taccari)


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/lib/libc/gen/vis.3

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-23 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 23 13:52:57 UTC 2017

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

Log Message:
Better handle MLINKS in apropos(1).

apropos(1) only indexes the first .Nm entry from the NAME section in the full
text index. Rest of the .Nm entries are stored in a separate table: mandb_links.

Till now apropos(1) did not use the mandb_links table. So whenever a query
was being made for one of the man page links, such as realloc(3), it was showing
malloc(3) in the results but not as the first result. And, also the result would
show up as malloc(3), rather than realloc(3) (which can be confusing).

With this change, for single keyword queries, apropos(1) would now utilise the
mandb_links table as well. If the query is for one of the links of a man page,
it would show as the first result. Also, the result would show up as the name
of the link rather than the original man page name. For example, if the query
was for realloc, the output would be realloc(3), rather than malloc(3).

Following are some example queries showing difference in the output before this
change and after this change:

#Before changes
$ apropos -n 5 -M realloc
reallocarr (3)reallocate array
reallocarray (3)  reallocate memory for an array of elements checking
for overflow
fgetwln (3)   get a line of wide characters from a stream
fgetln (3)get a line from a stream
posix_memalign (3)aligned memory allocation

#After changes
$ ./apropos -n 5 -M realloc
realloc (3)   general memory allocation operations
realloc (3)   general purpose memory allocation functions
realloc (9)   general-purpose kernel memory allocator
reallocarr (3)reallocate array
reallocarray (3)  reallocate memory for an array of elements checking
for overflow

#Before changes
$ apropos -n 5 -M TAILQ_REMOVE
SLIST_HEAD (3) implementations of singly-linked lists, lists, simple
queues, tail queues, and singly-linked tail queues

#After changes
$ ./apropos -n 5 -M TAILQ_REMOVE
TAILQ_REMOVE (3)  implementations of singly-linked lists, lists,
simple queues, tail queues, and singly-linked tail queues

#Before changes
$ apropos -n 5 -M falloc
filedesc (9)  file descriptor tables and operations
file (9)  operations on file entries

#After changes
$ ./apropos -n 5 -M falloc
falloc (9)file descriptor tables and operations
file (9)  operations on file entries

ok christos@


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

2017-04-23 Thread Marc Balmer
Module Name:external
Committed By:   mbalmer
Date:   Sun Apr 23 14:16:17 UTC 2017

Update of /cvsroot/external/mit/lua/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv29339

Log Message:
Lua 5.3.4

Status:

Vendor Tag: LUA
Release Tags:   LUA_5_3_4

N external/mit/lua/dist/Makefile
N external/mit/lua/dist/README
N external/mit/lua/dist/doc/manual.html
N external/mit/lua/dist/doc/luac.1
N external/mit/lua/dist/doc/contents.html
N external/mit/lua/dist/doc/manual.css
N external/mit/lua/dist/doc/index.css
N external/mit/lua/dist/doc/lua.css
N external/mit/lua/dist/doc/logo.gif
N external/mit/lua/dist/doc/lua.1
N external/mit/lua/dist/doc/osi-certified-72x60.png
N external/mit/lua/dist/doc/readme.html
N external/mit/lua/dist/src/lmathlib.c
N external/mit/lua/dist/src/ldblib.c
N external/mit/lua/dist/src/loadlib.c
N external/mit/lua/dist/src/loslib.c
N external/mit/lua/dist/src/lvm.c
N external/mit/lua/dist/src/ldo.h
N external/mit/lua/dist/src/lua.h
N external/mit/lua/dist/src/lgc.h
N external/mit/lua/dist/src/ltm.h
N external/mit/lua/dist/src/luaconf.h
N external/mit/lua/dist/src/lmem.c
N external/mit/lua/dist/src/lstate.h
N external/mit/lua/dist/src/Makefile
N external/mit/lua/dist/src/lzio.h
N external/mit/lua/dist/src/lstring.c
N external/mit/lua/dist/src/lzio.c
N external/mit/lua/dist/src/lopcodes.c
N external/mit/lua/dist/src/lua.c
N external/mit/lua/dist/src/lundump.h
N external/mit/lua/dist/src/lbaselib.c
N external/mit/lua/dist/src/ltable.c
N external/mit/lua/dist/src/ldump.c
N external/mit/lua/dist/src/liolib.c
N external/mit/lua/dist/src/llimits.h
N external/mit/lua/dist/src/lfunc.h
N external/mit/lua/dist/src/lualib.h
N external/mit/lua/dist/src/lctype.c
N external/mit/lua/dist/src/lmem.h
N external/mit/lua/dist/src/llex.h
N external/mit/lua/dist/src/ltable.h
N external/mit/lua/dist/src/lbitlib.c
N external/mit/lua/dist/src/ldebug.h
N external/mit/lua/dist/src/lprefix.h
N external/mit/lua/dist/src/llex.c
N external/mit/lua/dist/src/linit.c
N external/mit/lua/dist/src/lobject.h
N external/mit/lua/dist/src/lapi.h
N external/mit/lua/dist/src/ldebug.c
N external/mit/lua/dist/src/ldo.c
N external/mit/lua/dist/src/lvm.h
N external/mit/lua/dist/src/lauxlib.c
N external/mit/lua/dist/src/luac.c
N external/mit/lua/dist/src/lctype.h
N external/mit/lua/dist/src/lstring.h
N external/mit/lua/dist/src/lcorolib.c
N external/mit/lua/dist/src/lutf8lib.c
N external/mit/lua/dist/src/lgc.c
N external/mit/lua/dist/src/lstate.c
N external/mit/lua/dist/src/lundump.c
N external/mit/lua/dist/src/ltablib.c
N external/mit/lua/dist/src/lauxlib.h
N external/mit/lua/dist/src/ltm.c
N external/mit/lua/dist/src/lparser.c
N external/mit/lua/dist/src/lcode.h
N external/mit/lua/dist/src/lobject.c
N external/mit/lua/dist/src/lcode.c
N external/mit/lua/dist/src/lopcodes.h
N external/mit/lua/dist/src/lfunc.c
N external/mit/lua/dist/src/lapi.c
N external/mit/lua/dist/src/lparser.h
N external/mit/lua/dist/src/lua.hpp
N external/mit/lua/dist/src/lstrlib.c

No conflicts created by this import



CVS commit: [jdolecek-ncq] src/sys/dev/ic

2017-04-23 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Apr 23 14:25:03 UTC 2017

Modified Files:
src/sys/dev/ic [jdolecek-ncq]: siisata.c

Log Message:
Use ata_kill_active() in siisata_reset_channel() so as to ensure all
in-flight xfers are taken care of.


To generate a diff of this commit:
cvs rdiff -u -r1.30.4.9 -r1.30.4.10 src/sys/dev/ic/siisata.c

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



CVS commit: [jdolecek-ncq] src/sys/dev/ic

2017-04-23 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Apr 23 14:33:28 UTC 2017

Modified Files:
src/sys/dev/ic [jdolecek-ncq]: siisata.c

Log Message:
Allocate a full compliment of queue slots for each channel.


To generate a diff of this commit:
cvs rdiff -u -r1.30.4.10 -r1.30.4.11 src/sys/dev/ic/siisata.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-04-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Apr 23 14:34:23 UTC 2017

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

Log Message:
xref also mvsata(4), siisata(4)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/ata.4

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-23 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 23 16:56:49 UTC 2017

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

Log Message:
Teach whatis(1) to handle MLINKS

Similar to apropos(1), whatis did not utilise the mandb_links table till now.
Therefore, if it was asked about one of the links to a man page, it would
error out. This change teaches whatis(1) to look up both the FTS table
as well as the links table, thus ensuring that it is able to answer queries
about MLINKS as well.

Comparision between outputs before this change and after this change:

#Before change
$ whatis realloc
realloc: not found

#after change
$ ./whatis realloc
realloc(3) - general memory allocation operations
realloc(3) - general purpose memory allocation functions
realloc(9) - general-purpose kernel memory allocator


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

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

Modified Files:
src/external/bsd/tmux/usr.bin/tmux: Makefile

Log Message:
Add our utempter since it now everything works.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/external/bsd/tmux/usr.bin/tmux/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-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 23 18:23:32 UTC 2017

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new tmux.


To generate a diff of this commit:
cvs rdiff -u -r1.1436 -r1.1437 src/doc/3RDPARTY
cvs rdiff -u -r1.2275 -r1.2276 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/external/bsd/ipf/netinet

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

Modified Files:
src/sys/external/bsd/ipf/netinet: ip_frag.c

Log Message:
Free the right fragment (Cy Schubert @ FreeBSD). This will cause use after free
issues and eventually panic.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/ipf/netinet/ip_frag.c

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



CVS commit: src/sys/external/bsd/ipf/netinet

2017-04-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 23 20:47:22 UTC 2017

Modified Files:
src/sys/external/bsd/ipf/netinet: fil.c ip_state.c

Log Message:
Disconnect maintaining fragment state from keeping session state. The user
now must specify keep frags along with keep state to have ipfilter do what
it did before, as documented in ipf.conf.5. (Cy Schubert @ FreeBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/external/bsd/ipf/netinet/fil.c
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/ipf/netinet/ip_state.c

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



CVS commit: [bouyer-socketcan] src/sys/netcan

2017-04-23 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Apr 23 21:05:09 UTC 2017

Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_pcb.c can_pcb.h

Log Message:
Add locking and refcounting to canpcb.
Store the canpcb in the in the mbuf tag on send instead of the socket's address.
This should protect against a race where the socket cloud be closed before
we get back the mbuf from the adapter's driver.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/netcan/can.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/netcan/can_pcb.c \
src/sys/netcan/can_pcb.h

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

2017-04-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Apr 23 23:39:42 UTC 2017

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

Log Message:
Add luareadhappy to the list.


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

2017-04-23 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Apr 24 01:42:00 UTC 2017

Modified Files:
src/sys/opencrypto: crypto.c

Log Message:
refactor crypto_unblock(). No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/opencrypto/crypto.c

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



CVS commit: src/sys/opencrypto

2017-04-23 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Apr 24 02:04:55 UTC 2017

Modified Files:
src/sys/opencrypto: crypto.c

Log Message:
reduce crypto_q_mtx lock regions.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/opencrypto/crypto.c

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



CVS commit: src/sys/opencrypto

2017-04-23 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Apr 24 03:29:37 UTC 2017

Modified Files:
src/sys/opencrypto: crypto.c cryptodev.c cryptodev.h
cryptodev_internal.h

Log Message:
separate crypto_drv_mtx from crypto_mtx.

crypto_mtx is used only for cryptodev.c and ocryptodev.c now.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/opencrypto/crypto.c
cvs rdiff -u -r1.88 -r1.89 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.30 -r1.31 src/sys/opencrypto/cryptodev.h
cvs rdiff -u -r1.1 -r1.2 src/sys/opencrypto/cryptodev_internal.h

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