CVS commit: src/usr.sbin/arp

2016-02-24 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Feb 24 08:01:09 UTC 2016

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

Log Message:
Kill confusable use of SIN_PROXY


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

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 24 09:00:59 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Debug improvements


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.46 -r1.254.2.47 src/sys/dev/usb/ohci.c

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 24 09:06:04 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Move a comment to its own line.


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.47 -r1.254.2.48 src/sys/dev/usb/ohci.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/tic

2016-02-24 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Feb 24 12:01:44 UTC 2016

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

Log Message:
White space police.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/tic/tic.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/infocmp

2016-02-24 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Feb 24 13:31:54 UTC 2016

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

Log Message:
White space police.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/infocmp/infocmp.c

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



CVS commit: src/lib/libedit

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:25:38 UTC 2016

Modified Files:
src/lib/libedit: Makefile chared.c chartype.c common.c eln.c keymacro.c
read.c search.c

Log Message:
Get split el_getc and el_wgetc completely and call el_wgetc internally.
Change some character constants to they wide versions. (Ingo Schwarze)


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/lib/libedit/Makefile
cvs rdiff -u -r1.47 -r1.48 src/lib/libedit/chared.c
cvs rdiff -u -r1.19 -r1.20 src/lib/libedit/chartype.c
cvs rdiff -u -r1.38 -r1.39 src/lib/libedit/common.c src/lib/libedit/search.c
cvs rdiff -u -r1.25 -r1.26 src/lib/libedit/eln.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libedit/keymacro.c
cvs rdiff -u -r1.82 -r1.83 src/lib/libedit/read.c

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



CVS commit: src/lib/libedit

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:29:21 UTC 2016

Modified Files:
src/lib/libedit: chared.c

Log Message:
A very simple, non-intrusive patch to fix a segfault (and a
functional error) in c_gets(), file chared.c.

Run any program using libedit in the default way.  At the el_[w]gets()
prompt, invoke ed-command (for example, in emacs mode, press the
escape key, then type the letter 'x').  You should see a ": " prompt.
Type the letter 'x' again.  Now press the backspace key a few times,
looking at the screen after each key press:

 - The 1st BS deletes the 'x'.
 - The 2nd BS deletes the blank after the prompt.
 - The 3rd BS deletes the colon of the prompt.
 - The 4th BS moves the cursor up one line.
 - The 5th BS gives me "Segmentation fault (core dumped)".

Depending on your platform, it might take a few more or a few less
backspaces for the buffer underrun to trigger the segfault, but
you should be able to hit it sooner or later no matter what.

Run the same program again, connect again and invoke ed-command again.
Now type: 'b', backspace, 'i', backspace, 'n', backspace, 'd', enter.
The "bind" command gets executed, even though you deleted what you
typed before hitting enter.

>From Ingo Schwatze.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/lib/libedit/chared.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

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:35:51 UTC 2016

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

Log Message:
Make sh.1 catch up with reality. Document -h (such as it is...)
and also added doc for some other stuff that was missing.

Take the opportunity to clean up the way the flags are set in the
man page, so every new flag doesn't have to be added 6 times!
(Some of the lists were different from others, in ordering, and
content, for no good reason at all.)

Make a few other cleanups ... Add text about AND-OR lists,
This can be also used to justify closing an open PR:
(that "sh -c 'command &&'" is not a syntax error...).

Add doc for -F, which should default to set if the shell somehow
gets compiled without DO_SHAREDVFORK defined, (to be committed
separately)

XXX: Consider disabling DO_SHAREDVFORK if SMALL is defined?

>From kre


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

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:38:40 UTC 2016

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

Log Message:
If we don't have shared address space vfork fail back to using fork since
we are depending on the shared address space feature (from kre)


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/bin/sh/options.c

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



CVS commit: src/tests/bin/sh

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:42:06 UTC 2016

Modified Files:
src/tests/bin/sh: t_exit.sh t_wait.sh

Log Message:
Test improvements from kre


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/bin/sh/t_exit.sh \
src/tests/bin/sh/t_wait.sh

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



CVS commit: src/tests/bin/sh

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:42:50 UTC 2016

Modified Files:
src/tests/bin/sh: t_wait.sh

Log Message:
uncomment clean up


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/bin/sh/t_wait.sh

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



CVS commit: src/bin/sh

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:51:21 UTC 2016

Added Files:
src/bin/sh: mknodenames.sh

Log Message:
Simple script to create node names for debugging


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

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



CVS commit: src/bin/sh

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 14:57:12 UTC 2016

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

Log Message:
PR/46327: David Mandelberg: Fix exit codes of background jobs (from kre)


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

2016-02-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb 24 15:28:36 UTC 2016

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

Log Message:
file system police.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 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/doc

2016-02-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb 24 16:06:20 UTC 2016

Modified Files:
src/doc: 3RDPARTY

Log Message:
gdb-7.11 is out.


To generate a diff of this commit:
cvs rdiff -u -r1.1307 -r1.1308 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/lib/libedit

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 17:13:22 UTC 2016

Modified Files:
src/lib/libedit: chartype.c chartype.h el.c el.h eln.c read.c read.h
readline.c

Log Message:
Make the read_char function always take a wchar_t * argument (Ingo Schwarze)


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libedit/chartype.c
cvs rdiff -u -r1.21 -r1.22 src/lib/libedit/chartype.h
cvs rdiff -u -r1.82 -r1.83 src/lib/libedit/el.c
cvs rdiff -u -r1.33 -r1.34 src/lib/libedit/el.h
cvs rdiff -u -r1.26 -r1.27 src/lib/libedit/eln.c
cvs rdiff -u -r1.83 -r1.84 src/lib/libedit/read.c
cvs rdiff -u -r1.8 -r1.9 src/lib/libedit/read.h
cvs rdiff -u -r1.125 -r1.126 src/lib/libedit/readline.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/indent

2016-02-24 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Wed Feb 24 17:13:48 UTC 2016

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

Log Message:
Add the [n]ei and [n]eei options to the synopsis; already documented in
description.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 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/lib/libedit

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 17:20:01 UTC 2016

Modified Files:
src/lib/libedit: chartype.c chartype.h read.c

Log Message:
Tuck in mbstate_t to the wide char version only to avoid exposing the zeroing
hack and doing it in the narrow case.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libedit/chartype.c
cvs rdiff -u -r1.22 -r1.23 src/lib/libedit/chartype.h
cvs rdiff -u -r1.84 -r1.85 src/lib/libedit/read.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/indent

2016-02-24 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Wed Feb 24 17:38:15 UTC 2016

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

Log Message:
Remove double space before [.,:] in macro arguments.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 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/lib/libedit

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 18:28:54 UTC 2016

Modified Files:
src/lib/libedit: editline.3

Log Message:
Fixes from OpenBSD via Ingo Schwarze:
1) Missing comma after tok_str in NAME.
   OpenBSD rev. 1.38 Sep 10, 2015 (schwarze)
2) Style: void in argument list.
   OpenBSD rev. 1.39 Sep 14, 2015 (schwarze)
3) English punctuation: stray comma.
   OpenBSD rev. 1.37 Mar 13, 2015 (jmc)


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/lib/libedit/editline.3

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



CVS commit: src/lib/libedit

2016-02-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 24 19:45:48 UTC 2016

Modified Files:
src/lib/libedit: editline.3

Log Message:
Fix el_{w,}getc documentation (Ingo Schwarze)


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/lib/libedit/editline.3

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



CVS commit: src/external/cddl/osnet/dist/lib/libdtrace/common

2016-02-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Feb 24 21:11:35 UTC 2016

Modified Files:
src/external/cddl/osnet/dist/lib/libdtrace/common: dt_open.c

Log Message:
Make the default CPP path a list and check if they are access(2)able.
If no match is found, fallback to looking for cpp in PATH.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c

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



CVS commit: src/sys

2016-02-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 24 22:04:15 UTC 2016

Modified Files:
src/sys/conf: files
src/sys/external/bsd/drm2/drm: files.drmkms
src/sys/external/bsd/drm2/linux: files.drmkms_linux
src/sys/modules/drmkms_linux: Makefile
Added Files:
src/sys/external/bsd/common/include/linux: workqueue.h
src/sys/external/bsd/common/linux: linux_work.c
Removed Files:
src/sys/external/bsd/drm2/include/linux: workqueue.h
src/sys/external/bsd/drm2/linux: linux_work.c

Log Message:
Move linux_work.c and workqueue.h from sys/external/bsd/drm2 to
sys/external/common so that they can be used by others.

LGTM from riastradh@

These should really live outside sys/external, but that can be decided
later


To generate a diff of this commit:
cvs rdiff -u -r1.1152 -r1.1153 src/sys/conf/files
cvs rdiff -u -r0 -r1.1 src/sys/external/bsd/common/include/linux/workqueue.h
cvs rdiff -u -r0 -r1.1 src/sys/external/bsd/common/linux/linux_work.c
cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/drm2/drm/files.drmkms
cvs rdiff -u -r1.4 -r0 src/sys/external/bsd/drm2/include/linux/workqueue.h
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/linux/files.drmkms_linux
cvs rdiff -u -r1.12 -r0 src/sys/external/bsd/drm2/linux/linux_work.c
cvs rdiff -u -r1.6 -r1.7 src/sys/modules/drmkms_linux/Makefile

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

2016-02-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 24 22:09:09 UTC 2016

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Trailing whitespace.


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

2016-02-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 24 22:14:39 UTC 2016

Modified Files:
src/sys/external/bsd/dwc2/dist: dwc2_core.c dwc2_hcdddma.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/dwc2/dist/dwc2_core.c
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/dwc2/dist/dwc2_hcdddma.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/dwc2

2016-02-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb 24 22:17:54 UTC 2016

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c dwc2.h
src/sys/external/bsd/dwc2/conf: files.dwc2
src/sys/external/bsd/dwc2/dist: dwc2_core.c dwc2_core.h dwc2_coreintr.c
dwc2_hcd.c dwc2_hcd.h

Log Message:
Reduce diff to upstream by using

sys/external/bsd/{include/workqueue.h,linux/linux_work.c}

This also fixes CI20 dwctwo start up as reported by macallan@


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/external/bsd/dwc2/dwc2.c
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/dwc2/dwc2.h
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/dwc2/conf/files.dwc2
cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/dwc2/dist/dwc2_core.c \
src/sys/external/bsd/dwc2/dist/dwc2_hcd.h
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/dwc2/dist/dwc2_core.h
cvs rdiff -u -r1.10 -r1.11 src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c
cvs rdiff -u -r1.18 -r1.19 src/sys/external/bsd/dwc2/dist/dwc2_hcd.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/arp

2016-02-24 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Feb 25 03:23:15 UTC 2016

Modified Files:
src/tests/net/arp: t_arp.sh

Log Message:
Add basic tests for Proxy ARP

The tests don't much enough and need more realitic tests, for example
tests for a setup using ppp found in PR 44032.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/net/arp/t_arp.sh

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



CVS commit: xsrc/external/mit/libdrm/dist

2016-02-24 Thread Taylor R Campbell
Module Name:xsrc
Committed By:   riastradh
Date:   Thu Feb 25 04:48:24 UTC 2016

Modified Files:
xsrc/external/mit/libdrm/dist: xf86atomic.h

Log Message:
Use unsigned int, not int, for LIBDRM_ATOMIC_TYPE.

Otherwise we pass int * to atomic_..._uint operations that expect
unsigned int *.

(Not clear to me why GCC doesn't warn about a pointer signedness
issue here but Clang does.)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 xsrc/external/mit/libdrm/dist/xf86atomic.h

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



CVS commit: xsrc/external/mit/libdrm/dist

2016-02-24 Thread Taylor R Campbell
Module Name:xsrc
Committed By:   riastradh
Date:   Thu Feb 25 05:01:21 UTC 2016

Modified Files:
xsrc/external/mit/libdrm/dist: xf86atomic.h

Log Message:
The unsigned int object must be volatile-qualified too.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/libdrm/dist/xf86atomic.h

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



CVS commit: src/sys/netinet

2016-02-24 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Feb 25 06:00:01 UTC 2016

Modified Files:
src/sys/netinet: in.c

Log Message:
Use callout_halt instead of callout_stop


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/sys/netinet/in.c

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