CVS commit: src/lib/libc/sys

2017-02-03 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Feb  3 08:14:58 UTC 2017

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

Log Message:
Remove comma after the last Nm entry.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/sys/stat.2

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

2017-02-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Feb  3 08:39:30 UTC 2017

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

Log Message:
Wrap a long line


To generate a diff of this commit:
cvs rdiff -u -r1.22.2.30 -r1.22.2.31 src/sys/dev/usb/if_smsc.c

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



CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Feb  3 08:43:02 UTC 2017

Modified Files:
src/sys/compat/linux/common: linux_socket.c

Log Message:
Do not compile accept4 on i386, there is no such syscall in Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/compat/linux/common/linux_socket.c

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



CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 13:08:08 UTC 2017

Modified Files:
src/sys/compat/linux/common: linux_socket.c linux_socketcall.c
linux_socketcall.h

Log Message:
handle accept4 for i386


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.45 -r1.46 src/sys/compat/linux/common/linux_socketcall.c
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/linux/common/linux_socketcall.h

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-02-03 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Fri Feb  3 13:23:37 UTC 2017

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

Log Message:
update for addition (a while ago) of features2 page


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/bluetooth.4

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



CVS commit: src/sys

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:06:45 UTC 2017

Modified Files:
src/sys/kern: uipc_syscalls.c
src/sys/sys: socketvar.h

Log Message:
expose sendmsg_so and recvmsg_so.


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/sys/kern/uipc_syscalls.c
cvs rdiff -u -r1.143 -r1.144 src/sys/sys/socketvar.h

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



CVS commit: src/sys/compat/linux/arch/alpha

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:17:17 UTC 2017

Modified Files:
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.103 -r1.104 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.105 -r1.106 src/sys/compat/linux/arch/alpha/linux_syscalls.c

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



CVS commit: src/sys/compat/linux/arch/alpha

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:17:08 UTC 2017

Modified Files:
src/sys/compat/linux/arch/alpha: syscalls.master

Log Message:
add send/recv mmsg and comment on the unimpl ones.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/linux/arch/alpha/syscalls.master

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



CVS commit: src/sys/compat/linux/arch/amd64

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:18:19 UTC 2017

Modified Files:
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
syscalls.master

Log Message:
add sendmmsg and recvmmsg


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.9 -r1.10 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.59 -r1.60 src/sys/compat/linux/arch/amd64/syscalls.master

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



CVS commit: src/sys/compat/linux/arch/amd64

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:18:39 UTC 2017

Modified Files:
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.10 -r1.11 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c

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



CVS commit: src/sys/compat/linux/arch/arm

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:28:34 UTC 2017

Modified Files:
src/sys/compat/linux/arch/arm: syscalls.master

Log Message:
add send recv mmsg and unimpl
XXX: fix base?


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/arch/arm/syscalls.master

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



CVS commit: src/sys/compat/linux/arch/arm

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:28:42 UTC 2017

Modified Files:
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.10 -r1.11 \
src/sys/compat/linux/arch/arm/linux_systrace_args.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/i386/stand/efiboot

2017-02-03 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Feb  3 16:42:26 UTC 2017

Modified Files:
src/sys/arch/i386/stand/efiboot: boot.c efimemory.c

Log Message:
rows is a uint ... it will always be greater than or equal to 0.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/efiboot/boot.c \
src/sys/arch/i386/stand/efiboot/efimemory.c

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



CVS commit: src/sys/compat/linux/arch/m68k

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:44:21 UTC 2017

Modified Files:
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.102 -r1.103 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h

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



CVS commit: src/sys/compat/linux/arch/m68k

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:44:12 UTC 2017

Modified Files:
src/sys/compat/linux/arch/m68k: syscalls.master

Log Message:
and send and recv mmsg and unimpl


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/m68k/syscalls.master

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



CVS commit: src/sys/compat/linux/arch/mips

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:49:19 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c

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



CVS commit: src/sys/compat/linux/arch/mips

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:49:08 UTC 2017

Modified Files:
src/sys/compat/linux/arch/mips: syscalls.master

Log Message:
add missing unimpl and sendmmsg and recvmmsg


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/compat/linux/arch/mips/syscalls.master

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



CVS commit: src/sys/compat/linux/arch/powerpc

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:56:55 UTC 2017

Modified Files:
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.80 -r1.81 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

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



CVS commit: src/sys/compat/linux/arch/powerpc

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:56:46 UTC 2017

Modified Files:
src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
add unimple sendmmsg secvmmsg


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/linux/arch/powerpc/syscalls.master

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



CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 16:57:39 UTC 2017

Modified Files:
src/sys/compat/linux/common: linux_socket.c linux_socket.h
linux_socketcall.c linux_socketcall.h

Log Message:
add sendmmsg and recvmmsg


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/linux/common/linux_socket.h
cvs rdiff -u -r1.46 -r1.47 src/sys/compat/linux/common/linux_socketcall.c
cvs rdiff -u -r1.18 -r1.19 src/sys/compat/linux/common/linux_socketcall.h

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



CVS commit: src/sys/arch/i386/stand/efiboot

2017-02-03 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Feb  3 17:24:43 UTC 2017

Modified Files:
src/sys/arch/i386/stand/efiboot: Makefile.efiboot

Log Message:
Fix build with clang.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/efiboot/Makefile.efiboot

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



CVS commit: src/sys/lib/libgnuefi

2017-02-03 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Feb  3 17:28:58 UTC 2017

Modified Files:
src/sys/lib/libgnuefi: Makefile

Log Message:
Fix build with clang.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/lib/libgnuefi/Makefile

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



CVS commit: src/sys/dev

2017-02-03 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Fri Feb  3 20:07:55 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Improved drain function for vc[0].
No need to drain vc[0] for drivers written with start_output.


To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/sys/dev/audio.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/ic

2017-02-03 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Feb  3 20:09:49 UTC 2017

Modified Files:
src/sys/dev/ic: ct65550.c

Log Message:
some bugs in chipsfb_putchar_aa():
- fix 64bit padding for scanlines
- clean out latch for every scanline
now fonts with odd widths look right


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/ct65550.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

2017-02-03 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Fri Feb  3 20:13:52 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Don't check hardware precision in autoconfig as some drivers e.g vs(4) the
hardware precision is 4 bits.

Addresses PR/kern 51879: vs(4) audio attach failed.


To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 src/sys/dev/audio.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/yp

2017-02-03 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Feb  3 21:03:05 UTC 2017

Modified Files:
src/lib/libc/yp: ypclnt.3

Log Message:
Insert comma between two Nm entries.
Remove Pp before Bd


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/yp/ypclnt.3

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-02-03 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Feb  3 21:10:22 UTC 2017

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

Log Message:
Add posix_madvise(2) in the NAME section.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/madvise.2

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



CVS commit: src/sbin/mount_nfs

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 21:56:01 UTC 2017

Modified Files:
src/sbin/mount_nfs: getnfsargs.c

Log Message:
use the netid value because it could be udp6...


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/mount_nfs/getnfsargs.c

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



CVS commit: src/sys/compat/linux/common

2017-02-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 22:29:51 UTC 2017

Modified Files:
src/sys/compat/linux/common: linux_socketcall.h

Log Message:
New versions of linux on arm and others have both socketcall and separate
syscalls...


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/compat/linux/common/linux_socketcall.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-02-03 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Feb  3 23:16:38 UTC 2017

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

Log Message:
Fiddle the (new) fdflags implementation:

Remove some unnecessary cuteness that limited error reporting.
Permit just one -s arg to fdflags
Be deterministic in the case of fdflags -s +cloexec,-cloexec 0
(and similar) - use the last specified, always.
Allow:
FD_0_FLAGS=$( fdflags -v 0 )
# do stuff, manipulating the flags
fdflags -s "FD_0_FLAGS" 0
to save/restore flags for a fd.
Correctly mask result of fcntl(fd, F_GETFD) with FD_CLOEXEC as the
specs require before deciding close on exec is set.

Improve portability as a tool, don't assume strtoi(), nor __arraycount()
and avoid needlessly requiring recent C versions (ie: there's no need to
sprinkle declarations in the middle of the code, it just makes them hard
to find, and benefits nothing.)

Still to do:  As currently implemented, both user, and shell internal fds
are reported, and can be manipulated.  Allowing users to touch the shell's
internal fds is bogus, and providing this easy way to allow users to
discover which values they have is poor.   Fixing this means getting rid
of the use of fcntl(F_MAXFD) and replacing it with a shell maintained
memory of what fds the user (script) has allocated.   The shell's fd
manipulation really still needs major work (including properly fixing
bin/48875)


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/bin/sh/redir.c

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



CVS commit: src/libexec/httpd/libbozohttpd

2017-02-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb  4 01:32:54 UTC 2017

Modified Files:
src/libexec/httpd/libbozohttpd: libbozohttpd.3

Log Message:
fix the prototype for bozo_set_pref().  from cfkoch


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/libexec/httpd/libbozohttpd/libbozohttpd.3

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