CVS commit: src/sys/uvm/pmap

2017-06-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jun  7 07:06:26 UTC 2017

Modified Files:
src/sys/uvm/pmap: vmpagemd.h

Log Message:
Use __BIT().  No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/uvm/pmap/vmpagemd.h

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-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Jun  7 08:06:22 UTC 2017

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

Log Message:
Unbreak (at least) i386 build  I have no idea why this built for me on
amd64 (problem was missing prototype for snprintf witout )

While here, add some (DEBUG mode only) tracing that proved useful in
solving another problem.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/bin/sh/var.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-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Jun  7 08:07:51 UTC 2017

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

Log Message:
Set the line number before expanding args, not after.   As the line_number
would have usually been set earlier, this change is mostly an effective
no-op, but it is better this way (just in case) - not observed to have
caused any problems.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/bin/sh/expand.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-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Jun  7 08:10:31 UTC 2017

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

Log Message:
Undo some over agressive fixes for a (pre-commit) bug that did not
need these changes to be fixed - and these cause problems in another
absurd use case.   Either of these issues is unlikely to be seen by
anyone who isn't an idiot masochist...


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

2017-06-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jun  7 08:45:51 UTC 2017

Modified Files:
src/sys/arch/mips/mips: locore_mips1.S

Log Message:
fix tlb_record_asids 2nd arg to match usage - it's a maximum asid value
and not a mask


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/mips/mips/locore_mips1.S

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



CVS commit: src/distrib/notes/macppc

2017-06-07 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Wed Jun  7 09:14:32 UTC 2017

Modified Files:
src/distrib/notes/macppc: prep.OPENFIRMWARE

Log Message:
Change the deprecation notice about ofwboot.elf to say that it may
still be required in some cases, as observed by some MacMini users.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/macppc/prep.OPENFIRMWARE

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-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Jun  7 09:31:30 UTC 2017

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

Log Message:
PR bin/52280

removescapes_nl in expari() even when not quoted,
CRTNONL's appear regardless of quoting (unlike CTLESC).


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/bin/sh/expand.c

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



CVS commit: src/tools

2017-06-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jun  7 10:38:34 UTC 2017

Modified Files:
src/tools: Makefile

Log Message:
Hook in dtc/libfdt now that it builds for me


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/tools/Makefile

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-06-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  7 13:49:48 UTC 2017

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

Log Message:
New sentence, new line. Whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 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/external/bsd/blacklist/bin

2017-06-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  7 13:50:57 UTC 2017

Modified Files:
src/external/bsd/blacklist/bin: blacklistd.conf.5

Log Message:
Add missing argument to macro.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/blacklist/bin/blacklistd.conf.5

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



CVS commit: src/sbin

2017-06-07 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Wed Jun  7 15:24:50 UTC 2017

Modified Files:
src/sbin/dump_lfs: dump_lfs.8
src/sbin/mount_cd9660: mount_cd9660.8
src/sbin/mount_union: mount_union.8
src/sbin/umount: umount.8

Log Message:
s/filesystem/file system/


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/dump_lfs/dump_lfs.8
cvs rdiff -u -r1.28 -r1.29 src/sbin/mount_cd9660/mount_cd9660.8
cvs rdiff -u -r1.19 -r1.20 src/sbin/mount_union/mount_union.8
cvs rdiff -u -r1.17 -r1.18 src/sbin/umount/umount.8

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-06-07 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jun  7 20:54:59 UTC 2017

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

Log Message:
EV_SET(2) - simplify description

Note only the information that it does not evaluate multiple times its
parameters.

Suggested by .


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/libc/sys/kqueue.2

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

2017-06-07 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jun  7 22:59:42 UTC 2017

Modified Files:
src/tests/lib/libc/locale: t_sprintf.c

Log Message:
Change t_sprintf to an expected failure, since we don't respect the empty
thousands separator of the C/POSIX locale (PR standards/52282).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/t_sprintf.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-06-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun  8 00:17:02 UTC 2017

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

Log Message:
Put back crypto_checkdriver(); use it when we need to make sure that we
get back a cryptocap that has been initialized.


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

2017-06-07 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Thu Jun  8 01:09:52 UTC 2017

Modified Files:
src/sys/kern: kern_condvar.c
src/sys/sys: lwp.h

Log Message:
allow cv_signal() immediately followed by cv_destroy().
this sequence is used by ZFS in a couple places and by supporting it
natively we can undo our local ZFS changes that avoided it.
note that this is only legal when all of the waiters use cv_wait()
and not any of the other variations, and lockdebug will catch
any violations of this rule.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/kern_condvar.c
cvs rdiff -u -r1.174 -r1.175 src/sys/sys/lwp.h

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



CVS commit: src/sys

2017-06-07 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Thu Jun  8 01:23:01 UTC 2017

Modified Files:
src/sys/kern: vfs_bio.c vfs_wapbl.c
src/sys/sys: buf.h
src/sys/ufs/lfs: lfs_balloc.c lfs_bio.c lfs_extern.h lfs_inode.h
lfs_subr.c ulfs_inode.h

Log Message:
move some buffer cache internals declarations from buf.h to vfs_bio.c.
this is needed to avoid name conflicts with ZFS and also
makes it clearer that other code shouldn't be messing with these.
remove the LFS debug code that poked around in bufqueues and
remove the BQ_EMPTY bufqueue since nothing uses it anymore.
provide a function to let LFS and wapbl read the value of nbuf for now.


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/sys/kern/vfs_bio.c
cvs rdiff -u -r1.96 -r1.97 src/sys/kern/vfs_wapbl.c
cvs rdiff -u -r1.128 -r1.129 src/sys/sys/buf.h
cvs rdiff -u -r1.92 -r1.93 src/sys/ufs/lfs/lfs_balloc.c \
src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -u -r1.139 -r1.140 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/lfs/lfs_inode.h
cvs rdiff -u -r1.22 -r1.23 src/sys/ufs/lfs/ulfs_inode.h

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-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun  8 02:23:52 UTC 2017

Modified Files:
src/bin/sh: Makefile eval.c sh.1

Log Message:
Improve the (new) LINENO section, markup changes (with thanks to wiz@ for
assistace) and some better wording in a few placed.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/bin/sh/Makefile
cvs rdiff -u -r1.143 -r1.144 src/bin/sh/eval.c
cvs rdiff -u -r1.150 -r1.151 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/bin/sh

2017-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun  8 02:25:43 UTC 2017

Modified Files:
src/bin/sh: Makefile eval.c

Log Message:
I am an idiot...  revert the previous unintended commit.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/bin/sh/Makefile
cvs rdiff -u -r1.144 -r1.145 src/bin/sh/eval.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

2017-06-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun  8 02:27:30 UTC 2017

Modified Files:
src/sys/net: if_media.h

Log Message:
- Add some missing baudrate entries
- Add 1000BASE-KX and 2500BASE-KX


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/net/if_media.h

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-06-07 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Jun  8 03:02:26 UTC 2017

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

Log Message:
sanitize count used for kmem_alloc size.

Hmm, who uses CIOCNGSESSION, CIOCNFSESSION, CIOCNCRYPTM or CIOCNFKEYM?


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/opencrypto/cryptodev.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/rpc.lockd

2017-06-07 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Thu Jun  8 03:25:03 UTC 2017

Modified Files:
src/usr.sbin/rpc.lockd: lockd_lock.c

Log Message:
this file uses the  macros so it should include
that header itself, rather than relying on getting it indirectly
by including some other header (which will soon be changed
to not do that anymore).


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/rpc.lockd/lockd_lock.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-06-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun  8 03:39:18 UTC 2017

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

Log Message:
 For the Target Link Speed in LCSR2, 0 is allowed for a device which supports
2.5GT/s only (and this check also works for devices which compliant to
versions of the base specification prior to 3.0.

Tested with BCM5709:
-  Target Link Speed: unknown value (0)
+  Target Link Speed: 2.5GT/s


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/sys/dev/pci/pci_subr.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-06-07 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun  8 03:42:37 UTC 2017

Modified Files:
src/etc: MAKEDEV.tmpl

Log Message:
As (briefly) discussed on current-users, change the way that MAKEDEV checks
for more than one of the  -m -p -s -t args (and checks whether any were given
to pick one if not) to be more shell friendly.

Note that while the method here is the same as was discussed on the list,
the actual implementation is free of the typos, and just pure lunacy that
was in the code that was shown there.

Also note these changes are intended to be completely internal, there
should be no visible impact upon the way that MAKEDEV works.

ok:christos.   Thanks to pgoyette for the code review.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/etc/MAKEDEV.tmpl

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-06-07 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Thu Jun  8 04:00:01 UTC 2017

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

Log Message:
add some pool_allocators for pool item sizes larger than PAGE_SIZE.
needed by dtrace.


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

2017-06-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jun  8 05:46:57 UTC 2017

Modified Files:
src/sys/arch/mips/mips: locore_mips1.S

Log Message:
Add a missing ".set at" to make previous build


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/mips/mips/locore_mips1.S

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