CVS commit: src

2017-03-21 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Tue Mar 21 07:04:30 UTC 2017

Modified Files:
src/share/man/man4: audio.4
src/sys/dev: audio.c
src/sys/sys: audioio.h
src/usr.bin/audio/ctl: ctl.c

Log Message:
Renane ioctl AUDIO_SETPROC to AUDIO_SETCHAN.

Add an ioctl to return channel number (AUDIO_GETCHAN). This can be used
on audio/sound/audioctl devices.

Return EIO in read/write/ioctl/poll/stat if fp has been closed or is
invalid.

Update audio.4, audioio.h and audioctl(1) to reflect these changes.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/share/man/man4/audio.4
cvs rdiff -u -r1.316 -r1.317 src/sys/dev/audio.c
cvs rdiff -u -r1.36 -r1.37 src/sys/sys/audioio.h
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/audio/ctl/ctl.c

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



CVS commit: src/sys/ufs/lfs

2017-03-21 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Mar 21 09:53:01 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_inode.c

Log Message:
Update mtime even if oip->i_size == length

PR kern/51762, LFS version.


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/sys/ufs/lfs/lfs_inode.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-03-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Mar 21 10:12:28 UTC 2017

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

Log Message:
Add width argument to list.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/share/man/man9/namei.9

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



CVS commit: src/sys

2017-03-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Mar 21 10:20:38 UTC 2017

Modified Files:
src/sys/rump/include/rump: rump_namei.h
src/sys/sys: namei.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/rump/include/rump/rump_namei.h
cvs rdiff -u -r1.96 -r1.97 src/sys/sys/namei.h

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



CVS commit: src/sys/sys

2017-03-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Mar 21 10:20:12 UTC 2017

Modified Files:
src/sys/sys: namei.src

Log Message:
Tiny fix for namecache locking rules.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/sys/namei.src

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

2017-03-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue Mar 21 10:39:52 UTC 2017

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

Log Message:
fix PR kern/52068 (82574 Tx csum offload bug in not only i386 but also amd64).

The packets sent from txq[1] could not be enabled any tx offload.
This has been enbugged since r1.454.


To generate a diff of this commit:
cvs rdiff -u -r1.497 -r1.498 src/sys/dev/pci/if_wm.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-03-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Mar 21 10:46:49 UTC 2017

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

Log Message:
Use brelsel while the bufcache_lock is held rather than dropping it
and re-taking / dropping it in brelse


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

2017-03-21 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Mar 21 10:52:46 UTC 2017

Modified Files:
src/bin/sh: shell.h

Log Message:
Add includes guards since we can include the header twice and typedef
redefinitions are a C11 feature.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/bin/sh/shell.h

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



CVS commit: src/sys/sys

2017-03-21 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Tue Mar 21 11:54:46 UTC 2017

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

Log Message:
Whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/sys/syslog.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/unbound

2017-03-21 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Tue Mar 21 13:49:03 UTC 2017

Modified Files:
src/external/bsd/unbound: TODO

Log Message:
Now builds with libevent.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/unbound/TODO

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



CVS commit: src/usr.bin/vndcompress

2017-03-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Mar 21 13:56:38 UTC 2017

Modified Files:
src/usr.bin/vndcompress: utils.c

Log Message:
Simplify.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/vndcompress/utils.c

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



CVS import: src/external/public-domain/tz/dist

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Mar 21 19:22:57 UTC 2017

Update of /cvsroot/src/external/public-domain/tz/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv7621

Log Message:
Import tzdata2017b from ftp://ftp.iana.org/tz/releases/tzdata2017b.tar.gz

Summary of changes in tzdata2017b (2017-03-17 07:30:38 -0700):
Haiti resumed observance of DST in 2017 (on Mar 12)

Liberia changed from -004430 to +00 on 1972-01-07, not 1972-05-01.
Use "MMT" to abbreviate Liberia's time zone before 1972,
as "-004430" (tzdata2016a) is one byte over the POSIX limit.

Status:

Vendor Tag: TZDATA
Release Tags:   TZDATA2017B

U src/external/public-domain/tz/dist/leap-seconds.list
U src/external/public-domain/tz/dist/CONTRIBUTING
U src/external/public-domain/tz/dist/LICENSE
U src/external/public-domain/tz/dist/Makefile
U src/external/public-domain/tz/dist/NEWS
U src/external/public-domain/tz/dist/README
U src/external/public-domain/tz/dist/Theory
U src/external/public-domain/tz/dist/version
U src/external/public-domain/tz/dist/africa
U src/external/public-domain/tz/dist/antarctica
U src/external/public-domain/tz/dist/asia
U src/external/public-domain/tz/dist/australasia
U src/external/public-domain/tz/dist/europe
U src/external/public-domain/tz/dist/northamerica
U src/external/public-domain/tz/dist/southamerica
U src/external/public-domain/tz/dist/pacificnew
U src/external/public-domain/tz/dist/etcetera
U src/external/public-domain/tz/dist/backward
U src/external/public-domain/tz/dist/systemv
U src/external/public-domain/tz/dist/factory
U src/external/public-domain/tz/dist/backzone
U src/external/public-domain/tz/dist/iso3166.tab
U src/external/public-domain/tz/dist/leapseconds
U src/external/public-domain/tz/dist/zone1970.tab
U src/external/public-domain/tz/dist/zone.tab
U src/external/public-domain/tz/dist/yearistype.sh
U src/external/public-domain/tz/dist/checklinks.awk
U src/external/public-domain/tz/dist/checktab.awk
U src/external/public-domain/tz/dist/leapseconds.awk
U src/external/public-domain/tz/dist/zoneinfo2tdf.pl

No conflicts created by this import



CVS commit: src/external/public-domain/tz/dist

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Mar 21 19:24:22 UTC 2017

Modified Files:
src/external/public-domain/tz/dist: TZDATA_VERSION

Log Message:
Merge tzdata2017b


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/public-domain/tz/dist/TZDATA_VERSION

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



CVS commit: src/doc

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Mar 21 19:26:40 UTC 2017

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
tzdata updated to 2017b.


To generate a diff of this commit:
cvs rdiff -u -r1.1424 -r1.1425 src/doc/3RDPARTY
cvs rdiff -u -r1.2265 -r1.2266 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/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Mar 21 20:06:27 UTC 2017

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
PR lib/52101

Add 6 extra tests for the 12am/12pm bug - all currently expected to fail.
(That is, 6 subtests of the "times" test will fail, all new ones)>

While here, when parsedate() fails (returns -1) avoid converting that
failure value (-1) to a struct tm (1969-12-31T23:59:59 UTC) and then
comparing the values with those expected by the test, and complaining
about all of those (where ANY was not permitted) that don't match...


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/tests/lib/libutil/t_parsedate.c

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



CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Mar 21 21:42:18 UTC 2017

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
Fix a typo - it doesn't matter now, as the test fails anyway, but
it will matter when parsedate is fixed and the test is supposed to
succeed.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/tests/lib/libutil/t_parsedate.c

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



CVS commit: src/etc

2017-03-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Mar 21 22:52:10 UTC 2017

Modified Files:
src/etc: rc.subr

Log Message:
Clear rc variables that contain state that is gone after the boot process
is complete, so that scripts invoked from powerd don't think that they
are still invoked by the rc system and fail.
Reported by rudolf @ tech-userlevel


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/etc/rc.subr

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



CVS commit: src/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Mar 22 00:59:06 UTC 2017

Modified Files:
src/lib/libutil: parsedate.y

Log Message:
Fix PR lib/52101 -- 12:30 am is 00:30:00 and 12:30 pm is 12:30:00


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libutil/parsedate.y

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



CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Mar 22 01:00:19 UTC 2017

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
Since PR lib/52101 is now fixed, the tests for its bug should no longer fail.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/tests/lib/libutil/t_parsedate.c

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



CVS commit: src/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Mar 22 01:49:37 UTC 2017

Modified Files:
src/lib/libutil: parsedate.3 parsedate.y

Log Message:
Make parsedate handle "12 noon" and "12 midnight" (including when
the time is "12:00" or "12:00:00) - but only for exactly 12 o'clock.
"12:00:01" is am or pm, not noon or midnight.

"12 am" remains as an alias for "12 midnight", and "12 pm" for midnight,
though both are strictly invalid (and meaningless.)

Note that "12 pm" means 00:00:00 (ie: midnight at the start of the
day, not at the end.)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libutil/parsedate.3
cvs rdiff -u -r1.30 -r1.31 src/lib/libutil/parsedate.y

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



CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Mar 22 01:50:22 UTC 2017

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
Add tests for "12 noon", "12 midnight".


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

2017-03-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Wed Mar 22 02:56:12 UTC 2017

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

Log Message:
missing M_CSUM_IPv4 checking. It does not cause problems, but it is wrong.

The implementations of M_CSUM_DATA_IPv4_IPHL() and M_CSUM_DATA_IPv6_HL()
is the same, so that does not cause problems.


To generate a diff of this commit:
cvs rdiff -u -r1.498 -r1.499 src/sys/dev/pci/if_wm.c

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



CVS commit: src

2017-03-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Wed Mar 22 03:32:09 UTC 2017

Modified Files:
src/share/man/man4: wm.4
src/sys/dev/pci: files.pci

Log Message:
make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man4/wm.4
cvs rdiff -u -r1.386 -r1.387 src/sys/dev/pci/files.pci

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



CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Mar 22 05:35:33 UTC 2017

Modified Files:
src/tests/lib/libutil: t_parsedate.c

Log Message:
Fix typo in a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/tests/lib/libutil/t_parsedate.c

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



CVS commit: src/tests/net/route

2017-03-21 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Mar 22 06:30:01 UTC 2017

Modified Files:
src/tests/net/route: t_change.sh

Log Message:
Add some tests to change flags of routes


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/net/route/t_change.sh

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