CVS commit: src/tests/net/ndp

2017-01-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Jan 13 08:11:01 UTC 2017

Modified Files:
src/tests/net/ndp: t_ra.sh

Log Message:
Remove a check added wrongly


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/tests/net/ndp/t_ra.sh

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



CVS commit: src/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt

2017-01-13 Thread Hauke Fath
Module Name:src
Committed By:   hauke
Date:   Fri Jan 13 08:41:46 UTC 2017

Modified Files:
src/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt: tpm_nvread.c

Log Message:
Add missing  for open(2) flags.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/tpm_nvread.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-01-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jan 13 10:10:32 UTC 2017

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

Log Message:
Add file-local iterator variant vfs_vnode_iterator_next1() that
waits for vnodes to become reclaimed and use it from vflush().


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/kern/vfs_mount.c

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



CVS commit: src/doc/roadmaps

2017-01-13 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Jan 13 10:14:59 UTC 2017

Modified Files:
src/doc/roadmaps: networking storage system
Added Files:
src/doc/roadmaps: mess mobile ports security verification

Log Message:
Update roadmaps, unilaterally, because most of these hadn't been touched
since the pre-6.0 period and nobody else has been doing the work. There's
a lot of things whose current state I don't know; please fill in. Also the
stuff I've added is necessarily biased towards projects I think about, so
please add more.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/doc/roadmaps/mess src/doc/roadmaps/mobile \
src/doc/roadmaps/ports src/doc/roadmaps/security \
src/doc/roadmaps/verification
cvs rdiff -u -r1.12 -r1.13 src/doc/roadmaps/networking \
src/doc/roadmaps/system
cvs rdiff -u -r1.20 -r1.21 src/doc/roadmaps/storage

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



CVS commit: src/doc/roadmaps

2017-01-13 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Jan 13 10:17:18 UTC 2017

Added Files:
src/doc/roadmaps: desktop

Log Message:
Update roadmaps, unilaterally, because most of these hadn't been touched
since the pre-6.0 period and nobody else has been doing the work. There's
a lot of things whose current state I don't know; please fill in. Also the
stuff I've added is necessarily biased towards projects I think about, so
please add more.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/doc/roadmaps/desktop

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



CVS commit: src/sys/netinet6

2017-01-13 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Jan 13 10:38:37 UTC 2017

Modified Files:
src/sys/netinet6: icmp6.c

Log Message:
Tweak icmp6_input; always use off, not *offp


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/sys/netinet6/icmp6.c

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



CVS commit: src/doc/roadmaps

2017-01-13 Thread Leonardo Taccari
Module Name:src
Committed By:   leot
Date:   Fri Jan 13 10:41:16 UTC 2017

Modified Files:
src/doc/roadmaps: desktop

Log Message:
Fix a typo in a year (s/2007/2017/)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/doc/roadmaps/desktop

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



CVS commit: src/doc/roadmaps

2017-01-13 Thread Leonardo Taccari
Module Name:src
Committed By:   leot
Date:   Fri Jan 13 10:44:27 UTC 2017

Modified Files:
src/doc/roadmaps: desktop

Log Message:
Fix a typo


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/doc/roadmaps/desktop

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



CVS commit: src

2017-01-13 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Fri Jan 13 11:21:47 UTC 2017

Modified Files:
src/distrib/sets/lists/base: mi
src/external/intel-fw-public/iwl7265: Makefile
src/sys/dev/pci: if_iwm.c if_iwmreg.h if_iwmvar.h
Added Files:
src/external/intel-fw-public/iwl7265/dist: iwlwifi-7265D-17.ucode
Removed Files:
src/external/intel-fw-public/iwl7265/dist: iwlwifi-7265D-16.ucode

Log Message:
iwm(4): 3165 works fine with iwlwifi-7265D-17.ucode firmware.

firmware from 
http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=be8a6fcba2e48e00674d1f35e6def56e2268039c


To generate a diff of this commit:
cvs rdiff -u -r1.1149 -r1.1150 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.3 -r1.4 src/external/intel-fw-public/iwl7265/Makefile
cvs rdiff -u -r1.1 -r0 \
src/external/intel-fw-public/iwl7265/dist/iwlwifi-7265D-16.ucode
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl7265/dist/iwlwifi-7265D-17.ucode
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/if_iwm.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/if_iwmreg.h
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/if_iwmvar.h

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



CVS commit: src/sys/dev/raidframe

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 13:01:13 UTC 2017

Modified Files:
src/sys/dev/raidframe: rf_disks.c

Log Message:
more faithful to the original (from coypu)


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/raidframe/rf_disks.c

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



CVS commit: src/common/lib/libc/arch/arm/string

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 13:14:54 UTC 2017

Modified Files:
src/common/lib/libc/arch/arm/string: strcpy_arm.S strcpy_naive.S
strcpy_thumb.S strlcat.S

Log Message:
No need to include namespace.h; no other assembly code does.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/arch/arm/string/strcpy_arm.S
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/arch/arm/string/strcpy_naive.S
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/arm/string/strcpy_thumb.S
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/arch/arm/string/strlcat.S

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



CVS commit: src/doc/roadmaps

2017-01-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jan 13 13:40:44 UTC 2017

Modified Files:
src/doc/roadmaps: ports

Log Message:
The Cheri https:// link is not valid, replace by standard http://


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/doc/roadmaps/ports

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



CVS commit: src/share/mk

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 14:34:58 UTC 2017

Modified Files:
src/share/mk: bsd.sys.mk

Log Message:
enable again system header warnings now amd64 builds.


To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/share/mk/bsd.sys.mk

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



CVS commit: src/lib/libc/include

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 14:41:27 UTC 2017

Modified Files:
src/lib/libc/include: namespace.h

Log Message:
allow overriding snprintf/vsnprintf


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 src/lib/libc/include/namespace.h

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



CVS commit: src/sys/dev/pcmcia

2017-01-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Jan 13 14:48:19 UTC 2017

Modified Files:
src/sys/dev/pcmcia: if_ray.c

Log Message:
Remove more dead code

RAY_DEF_NWID is a constant string and so is the length, it's
pointless the length is larger than zero.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/pcmcia/if_ray.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-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 15:17:00 UTC 2017

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

Log Message:
Don't play with the linked list while holding only a read lock!


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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 18:04:36 UTC 2017

Modified Files:
src/sys/ufs/ext2fs: ext2fs_dinode.h

Log Message:
Fix unsigned


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/ufs/ext2fs/ext2fs_dinode.h

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



CVS commit: src/lib/libarch/arm

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 18:18:20 UTC 2017

Modified Files:
src/lib/libarch/arm: arm_drain_writebuf.c

Log Message:
fix compilation


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libarch/arm/arm_drain_writebuf.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/include

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:10:14 UTC 2017

Modified Files:
src/sys/arch/mips/include: fenv.h

Log Message:
making this use mips assembly is a good start!


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/include/fenv.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/iscsi/dist/include

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:11:16 UTC 2017

Modified Files:
src/external/bsd/iscsi/dist/include: iscsiutil.h

Log Message:
need 


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/iscsi/dist/include/iscsiutil.h

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



CVS commit: src/tests/lib/libm

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:23:40 UTC 2017

Modified Files:
src/tests/lib/libm: t_ilogb.c

Log Message:
PR/51837: Ngie Cooper: add limits.h for INT_MAX


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libm/t_ilogb.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/libm

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:26:03 UTC 2017

Modified Files:
src/tests/lib/libm: t_scalbn.c

Log Message:
PR/51839: Ngie Cooper: reset errno to 0 before calling scalbn*


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libm/t_scalbn.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:27:23 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_write.c

Log Message:
PR/51840: Ngie Cooper: portability fixes for FreeBSD, etc


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_write.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:28:55 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_wait.c

Log Message:
PR/51841: Ngie Cooper: portability fixes for FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/sys/t_wait.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/arm/include

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:30:38 UTC 2017

Modified Files:
src/sys/arch/arm/include: byte_swap.h

Log Message:
elide conversion warning.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/include/byte_swap.h

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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:33:03 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_unlink.c

Log Message:
PR/51842: Ngie Cooper: don't leak fifo file descriptor


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_unlink.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/arm/include

2017-01-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Jan 13 19:33:10 UTC 2017

Modified Files:
src/sys/arch/arm/include: sysarch.h

Log Message:
replace old style declaration


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/include/sysarch.h

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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:34:19 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_umask.c

Log Message:
PR/51843: Ngie Cooper: don't leak file descriptor


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_umask.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/arm/include

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 19:53:10 UTC 2017

Modified Files:
src/sys/arch/arm/include: sysarch.h

Log Message:
this was fine before...


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/include/sysarch.h

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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:03:51 UTC 2017

Modified Files:
src/tests/lib/libc/sys: Makefile t_truncate.c

Log Message:
PR/51844: Ngie Cooper: use root-owned file created during build instead of
/usr/bin/fpr


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/tests/lib/libc/sys/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_truncate.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:04:52 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_socketpair.c

Log Message:
PR/51846: Ngie Cooper: closefrom(3) instead of fcntl(3, F_CLOSEM)
for portability


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_socketpair.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:06:50 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_stat.c

Log Message:
PP/51845: Ngie Cooper: need  for htonl etc and fix  socket leak


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_stat.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:08:38 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_sigaction.c

Log Message:
PR/51848: Ngie Cooper: tests/lib/libc/sys/t_sigaction: mark variables __unused
XXX: h_macros.h needs to be fixed differently.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_sigaction.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:09:48 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_connect.c

Log Message:
PR/51850: Ngie Cooper: add sys/socket.h for socket(2) and don't leak fds


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_connect.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:10:57 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_clock_gettime.c

Log Message:
PR/51849: Ngie Cooper: headers portability fixes


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_clock_gettime.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-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:24:37 UTC 2017

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

Log Message:
convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/sys/compat/linux/common/linux_misc.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/common

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:25:35 UTC 2017

Modified Files:
src/sys/compat/common: vfs_syscalls_43.c

Log Message:
convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/compat/common/vfs_syscalls_43.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:31:06 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_getrusage.c

Log Message:
PR/51852: Ngie Cooper: mark signo __unused


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_getrusage.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:31:53 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_dup.c

Log Message:
PR/51851: Ngie Cooper: add stdbool.h #include for false/true


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/sys/t_dup.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:41:50 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_listen.c

Log Message:
PR/51854: Ngie Cooper: sys/socket.h include and check result from socket(2)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_listen.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:42:36 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_link.c

Log Message:
PR/51853: Ngie Cooper: add limits.h for MAXPATHLEN in FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_link.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:43:11 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_mmap.c

Log Message:
PR/51855: Ngie Cooper: fix leaks


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/sys/t_mmap.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:44:10 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_sigqueue.c

Log Message:
PR/51847: Ngie Cooper: More error checks, add __unused


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/sys/t_sigqueue.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:46:16 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_pipe.c

Log Message:
PR/51858: Ngie Cooper: don't leak buf


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_pipe.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:44:45 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_msgctl.c t_msgrcv.c t_msgsnd.c

Log Message:
PR/51856: Ngie Cooper: add limits.h for INT_MAX


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_msgctl.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_msgrcv.c
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_msgsnd.c

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



CVS commit: xsrc/external/mit/xf86-video-glint/dist/src

2017-01-13 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Fri Jan 13 20:54:48 UTC 2017

Modified Files:
xsrc/external/mit/xf86-video-glint/dist/src: pm3_exa.c

Log Message:
setting offScreenBase once is enough


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
xsrc/external/mit/xf86-video-glint/dist/src/pm3_exa.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/common

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 20:58:59 UTC 2017

Modified Files:
src/sys/compat/common: vfs_syscalls_12.c

Log Message:
convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/compat/common/vfs_syscalls_12.c

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



CVS commit: xsrc/external/mit/xf86-video-suncg14/dist/src

2017-01-13 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Fri Jan 13 20:58:40 UTC 2017

Modified Files:
xsrc/external/mit/xf86-video-suncg14/dist/src: cg14_accel.c

Log Message:
CG14CheckComposite():
- don't crash with SX_DEBUG set
- check destination format


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.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/libm

2017-01-13 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Fri Jan 13 21:00:59 UTC 2017

Modified Files:
src/tests/lib/libm: t_scalbn.c

Log Message:
terminate the statement properly


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libm/t_scalbn.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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:02:05 UTC 2017

Modified Files:
src/sys/compat/linux/common: linux_file64.c
src/sys/compat/linux32/common: linux32_dirent.c

Log Message:
convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/compat/linux/common/linux_file64.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux32/common/linux32_dirent.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/libm

2017-01-13 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Fri Jan 13 21:09:12 UTC 2017

Modified Files:
src/tests/lib/libm: t_scalbn.c

Log Message:
also terminate 2 other statements properly


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libm/t_scalbn.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:15:14 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_nanosleep.c

Log Message:
PR/51857: Ngie Cooper: mark signo __unused for -Wunused


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_nanosleep.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:15:57 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_revoke.c

Log Message:
PR/51860: Ngie Cooper: don't leak fd


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_revoke.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:16:38 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_setrlimit.c

Log Message:
PR/51862: Ngie Cooper: don't leak buf


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_setrlimit.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:18:33 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_select.c

Log Message:
PR/51861: Ngie Cooper: Sprinkle __unused, mark __dead, _exit().


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_select.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/libc/sys

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:19:45 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_pipe2.c

Log Message:
PR/51859: Ngie Cooper: use closefrom/restore RLIMIT_NOFILE when done


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/sys/t_pipe2.c

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



CVS commit: src/tests

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 21:30:43 UTC 2017

Modified Files:
src/tests: Makefile.inc
src/tests/dev/cgd: t_cgd_3des.c t_cgd_aes.c t_cgd_blowfish.c
src/tests/dev/clock_subr: t_clock_subr.c
src/tests/dev/scsipi: t_cd.c
src/tests/dev/sysmon: t_swwdog.c
src/tests/fs/common: h_fsmacros.h
src/tests/fs/ffs: h_quota2_tests.c t_fifos.c t_mount.c t_quota2_1.c
t_quota2_remount.c t_snapshot.c t_snapshot_log.c t_snapshot_v2.c
src/tests/fs/hfs: t_pathconvert.c
src/tests/fs/kernfs: t_basic.c
src/tests/fs/lfs: t_pr.c
src/tests/fs/msdosfs: t_snapshot.c
src/tests/fs/nfs: t_mountd.c
src/tests/fs/nullfs: t_basic.c
src/tests/fs/ptyfs: t_nullpts.c t_ptyfs.c
src/tests/fs/puffs: t_basic.c t_fuzz.c t_io.c
src/tests/fs/tmpfs: t_renamerace.c
src/tests/fs/umapfs: t_basic.c
src/tests/fs/union: t_pr.c
src/tests/fs/vfs: t_full.c t_io.c t_renamerace.c t_ro.c t_union.c
t_unpriv.c t_vfsops.c t_vnops.c
src/tests/include/sys: t_socket.c
src/tests/kernel: t_extent.c t_filedesc.c t_lock.c t_ptrace.c
t_ptrace_wait.c t_pty.c t_rnd.c
src/tests/kernel/arch/amd64: t_ptrace_wait.c
src/tests/kernel/arch/i386: t_ptrace_wait.c
src/tests/kernel/kqueue: t_ioctl.c t_proc1.c t_proc2.c t_proc3.c
t_sig.c
src/tests/kernel/kqueue/read: t_fifo.c t_file.c t_file2.c t_pipe.c
t_ttypty.c
src/tests/kernel/kqueue/write: t_fifo.c t_pipe.c t_ttypty.c
src/tests/lib/libc/gen: t_glob.c
src/tests/lib/libc/sys: t_clock_gettime.c t_pipe.c t_posix_fadvise.c
t_sigaction.c
src/tests/lib/libposix: t_rename.c
src/tests/lib/librefuse: t_refuse_opt.c
src/tests/lib/librumpclient: t_fd.c
src/tests/lib/semaphore: sem.c
src/tests/libexec/ld.elf_so: t_dlerror-cleared.c t_dlerror-false.c
t_dlinfo.c t_ifunc.c
src/tests/modules: t_builtin.c
src/tests/net/bpf: t_bpf.c t_mbuf.c
src/tests/net/bpfilter: t_bpfilter.c
src/tests/net/bpfjit: t_bpfjit.c t_cop.c t_extmem.c t_mbuf.c
src/tests/net/carp: t_basic.c
src/tests/net/config: netconfig.c
src/tests/net/icmp: t_forward.c t_ping.c
src/tests/net/if_loop: t_pr.c
src/tests/net/net: t_raw.c
src/tests/rump/modautoload: t_modautoload.c
src/tests/rump/rumpkern: t_kern.c t_lwproc.c t_modcmd.c t_modlinkset.c
t_signals.c t_threads.c t_tsleep.c t_vm.c
src/tests/rump/rumpvfs: t_basic.c t_etfs.c t_p2kifs.c
Added Files:
src/tests/dev: Makefile.inc

Log Message:
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/Makefile.inc
cvs rdiff -u -r0 -r1.4 src/tests/dev/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/tests/dev/cgd/t_cgd_3des.c \
src/tests/dev/cgd/t_cgd_blowfish.c
cvs rdiff -u -r1.5 -r1.6 src/tests/dev/cgd/t_cgd_aes.c
cvs rdiff -u -r1.2 -r1.3 src/tests/dev/clock_subr/t_clock_subr.c
cvs rdiff -u -r1.7 -r1.8 src/tests/dev/scsipi/t_cd.c
cvs rdiff -u -r1.6 -r1.7 src/tests/dev/sysmon/t_swwdog.c
cvs rdiff -u -r1.40 -r1.41 src/tests/fs/common/h_fsmacros.h
cvs rdiff -u -r1.4 -r1.5 src/tests/fs/ffs/h_quota2_tests.c \
src/tests/fs/ffs/t_quota2_1.c src/tests/fs/ffs/t_quota2_remount.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/ffs/t_fifos.c
cvs rdiff -u -r1.13 -r1.14 src/tests/fs/ffs/t_mount.c
cvs rdiff -u -r1.6 -r1.7 src/tests/fs/ffs/t_snapshot.c
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/ffs/t_snapshot_log.c \
src/tests/fs/ffs/t_snapshot_v2.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/hfs/t_pathconvert.c
cvs rdiff -u -r1.3 -r1.4 src/tests/fs/kernfs/t_basic.c
cvs rdiff -u -r1.6 -r1.7 src/tests/fs/lfs/t_pr.c
cvs rdiff -u -r1.3 -r1.4 src/tests/fs/msdosfs/t_snapshot.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/nfs/t_mountd.c
cvs rdiff -u -r1.3 -r1.4 src/tests/fs/nullfs/t_basic.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/ptyfs/t_nullpts.c
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/ptyfs/t_ptyfs.c
cvs rdiff -u -r1.13 -r1.14 src/tests/fs/puffs/t_basic.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/puffs/t_fuzz.c
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/puffs/t_io.c
cvs rdiff -u -r1.13 -r1.14 src/tests/fs/tmpfs/t_renamerace.c
cvs rdiff -u -r1.4 -r1.5 src/tests/fs/umapfs/t_basic.c
cvs rdiff -u -r1.8 -r1.9 src/tests/fs/union/t_pr.c
cvs rdiff -u -r1.8 -r1.9 src/tests/fs/vfs/t_full.c src/tests/fs/vfs/t_union.c
cvs rdiff -u -r1.16 -r1.17 src/tests/fs/vfs/t_io.c
cvs rdiff -u -r1.33 -r1.34 src/tests/fs/vfs/t_renamerace.c
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/vfs/t_ro.c
cvs rdiff -u -r1.12 -r1.13 src/tests/fs/vfs/t_unpriv.c
cvs rdiff -u -r1.11 -r1.12 src/tests/fs/vfs/t_vfsops.c
cvs rdiff -u -r1.58 -r1.59 src/tests/fs/vfs/t_vnops.c
cvs rdiff -u -r1.4 -r1.5 src/tests/include/sys/t_socket.c
cvs rdiff -u -r1

CVS commit: src/sys/arch/sparc/dev

2017-01-13 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Jan 13 21:49:46 UTC 2017

Modified Files:
src/sys/arch/sparc/dev: sxreg.h

Log Message:
add SX_STBM ( STore Byte Masked ) instruction


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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 22:29:59 UTC 2017

Modified Files:
src/sys/compat/common: vfs_syscalls_12.c

Log Message:
use bdp, to avoid compiler warning.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/compat/common/vfs_syscalls_12.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-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 22:45:15 UTC 2017

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

Log Message:
no namlen on linux


To generate a diff of this commit:
cvs rdiff -u -r1.235 -r1.236 src/sys/compat/linux/common/linux_misc.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-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 13 22:46:44 UTC 2017

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

Log Message:
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/compat/linux/common/linux_file64.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-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Jan 13 23:00:35 UTC 2017

Modified Files:
src/sys/kern: kern_fork.c sys_ptrace_common.c
src/sys/sys: proc.h ptrace.h

Log Message:
Add support for PTRACE_VFORK_DONE and stub for PTRACE_VFORK in ptrace(2)

PTRACE_VFORK is supposed to be used to track vfork(2)-like events, when
parent gives birth to new process child and stops till it exits or calls
exec().
Currently PTRACE_VFORK is a stub.

PTRACE_VFORK_DONE is notification to notify a debugger that a parent has
resumed after vfork(2)-like action.
PTRACE_VFORK_DONE throws SIGTRAP with TRAP_CHLD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.335 -r1.336 src/sys/sys/proc.h
cvs rdiff -u -r1.52 -r1.53 src/sys/sys/ptrace.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-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Jan 13 23:05:24 UTC 2017

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

Log Message:
Welcome to NetBSD 7.99.59 - PTRACE_VFORK and PTRACE_VFORK_DONE in ptrace(2)

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.525 -r1.526 src/sys/sys/param.h

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



CVS commit: src/tests/kernel

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Jan 13 23:22:12 UTC 2017

Modified Files:
src/tests/kernel: t_ptrace_wait.c

Log Message:
Update t_ptrace_wait* tests for added support for PTRACE_VFORK{,_DONE}

PTRACE_VFORK and PTRACE_VFORK_DONE are now parts of .

PTRACE_VFORK tests are still failing as the support for it is currently
a stub.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/tests/kernel/t_ptrace_wait.c

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



CVS commit: src/doc

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Jan 13 23:29:10 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Add new entry for ptrace(2)

Added:
  ptrace(2): Add new options in EVENT_MASK: PTRACE_VFORK and
PTRACE_VFORK_DONE


To generate a diff of this commit:
cvs rdiff -u -r1.2235 -r1.2236 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/lib/libc/sys

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 00:02:40 UTC 2017

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

Log Message:
Document PTRACE_VFORK and PTRACE_VFORK_DONE in ptrace(2)

PTRACE_VFORK - report vfork(2)-like operations and trace child
PTRACE_VFORK_DONE - report unblocking the parent after vfork(2)-like call

Note that PTRACE_VFORK is currently unimplemented and returns ENOTSUP.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/lib/libc/sys/ptrace.2

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



CVS commit: xsrc/external/mit/xf86-video-suncg14/dist/src

2017-01-13 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Sat Jan 14 00:20:16 UTC 2017

Modified Files:
xsrc/external/mit/xf86-video-suncg14/dist/src: cg14_accel.c

Log Message:
handle 8bit pixmaps in CG14PrepareCopy(), now the glyph cache works properly


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c

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



CVS commit: src/tests

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 00:33:19 UTC 2017

Modified Files:
src/tests: Makefile.inc

Log Message:
Do things in a less intrusive way.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/Makefile.inc

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



CVS commit: src/sys/arch/alpha/include

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 00:35:37 UTC 2017

Modified Files:
src/sys/arch/alpha/include: intr.h

Log Message:
fix types.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/alpha/include/intr.h

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

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 00:50:56 UTC 2017

Modified Files:
src/tests/lib/libc/regex: debug.c t_exhaust.c t_regex_att.c

Log Message:
PR/51832: Ngie Cooper:
- limit memory to 64M
- error msg fixes
- includes fixes


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/regex/debug.c
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/regex/t_exhaust.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/regex/t_regex_att.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/sockstat

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 01:01:48 UTC 2017

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

Log Message:
don't do _KERNEL; hides bswap stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/sockstat/sockstat.c

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-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 01:02:08 UTC 2017

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

Log Message:
expose more for _KMEMUSER


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/sys/types.h

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



CVS commit: src/tests

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 01:33:32 UTC 2017

Modified Files:
src/tests: Makefile.inc

Log Message:
better name


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/Makefile.inc

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



CVS commit: src/doc

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 01:36:28 UTC 2017

Modified Files:
src/doc: TODO.ptrace

Log Message:
Update TODO.ptrace

Removed:
  - evaluate equivalent for PTRACE_O_TRACECLONE from Linux

clone(2)-like calls are traced with PTRACE_FORK, PTRACE_VFORK and
PTRACE_VFORK_DONE. VFORK ones block parent till termination or execve(2) of
its child.

Added:
  - add proper implementation of PTRACE_VFORK for vfork(2)-like events

Currently PTRACE_VFORK is a stub.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/doc/TODO.ptrace

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



CVS commit: src/distrib/sets/lists/tests

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 01:44:13 UTC 2017

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
add new test file


To generate a diff of this commit:
cvs rdiff -u -r1.713 -r1.714 src/distrib/sets/lists/tests/mi

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



CVS commit: src/common/lib/libc/arch/arm/string

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 03:00:13 UTC 2017

Modified Files:
src/common/lib/libc/arch/arm/string: strcpy_arm.S strcpy_thumb.S
strlcat.S

Log Message:
fix weak symbols. More work needs to be done for memcpy/strlen etc.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/arch/arm/string/strcpy_arm.S
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/arch/arm/string/strcpy_thumb.S
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/arch/arm/string/strlcat.S

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



CVS commit: src/common/lib/libc/arch/arm/string

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 03:35:21 UTC 2017

Modified Files:
src/common/lib/libc/arch/arm/string: strcpy_arm.S strcpy_naive.S

Log Message:
fix rump


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/arch/arm/string/strcpy_arm.S \
src/common/lib/libc/arch/arm/string/strcpy_naive.S

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

2017-01-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 14 03:59:58 UTC 2017

Modified Files:
src/tests/lib/libc/sys: Makefile

Log Message:
Set FILESBUILD=yes to actually run the creation script for the file.

Should fix the build by creating a file which install can then find.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/tests/lib/libc/sys/Makefile

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



CVS commit: src/tests/kernel

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 04:37:55 UTC 2017

Modified Files:
src/tests/kernel: t_ptrace_wait.c

Log Message:
Add new tests eventmask[34] in t_ptrace_wait{,3,4,6,id,pid}

eventmask3:
Verify that PTRACE_VFORK in EVENT_MASK is preserved

eventmask4:
Verify that PTRACE_VFORK_DONE in EVENT_MASK is preserved

Currently eventmask3 is failing and marked with PR kern/51630

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/tests/kernel/t_ptrace_wait.c

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



CVS commit: src/common/lib/libc/arch/arm/string

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 04:53:25 UTC 2017

Modified Files:
src/common/lib/libc/arch/arm/string: strcpy_naive.S

Log Message:
fix standalone


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/arch/arm/string/strcpy_naive.S

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



CVS commit: src/common/lib/libc/arch/arm/string

2017-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 04:54:42 UTC 2017

Modified Files:
src/common/lib/libc/arch/arm/string: strcpy_naive.S

Log Message:
fix standalone


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/arch/arm/string/strcpy_naive.S

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



CVS commit: src

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 06:36:52 UTC 2017

Modified Files:
src/sys/kern: kern_lwp.c sys_ptrace_common.c
src/sys/sys: proc.h ptrace.h siginfo.h
src/tests/kernel: t_ptrace_wait.c

Log Message:
Introduce PTRACE_LWP_{CREATE,EXIT} in ptrace(2) and TRAP_LWP in siginfo(5)

Add interface in ptrace(2) to track thread (LWP) events:
 - birth,
 - termination.

The purpose of this thread is to keep track of the current thread state in
a tracee and apply e.g. per-thread designed hardware assisted watchpoints.

This interface reuses the EVENT_MASK and PROCESS_STATE interface, and
shares it with PTRACE_FORK, PTRACE_VFORK and PTRACE_VFORK_DONE.

Change the following structure:

typedef struct ptrace_state {
int pe_report_event;
pid_t   pe_other_pid;
} ptrace_state_t;

to

typedef struct ptrace_state {
int pe_report_event;
union {
pid_t   _pe_other_pid;
lwpid_t _pe_lwp;
} _option;
} ptrace_state_t;

#define pe_other_pid_option._pe_other_pid
#define pe_lwp  _option._pe_lwp

This keeps size of ptrace_state_t unchanged as both pid_t and lwpid_t are
defined as int32_t-like integer. This change does not break existing
prebuilt software and has minimal effect on necessity for source-code
changes. In summary, this change should be binary compatible and shouldn't
break build of existing software.

Introduce new siginfo(5) type for LWP events under the SIGTRAP signal:
TRAP_LWP. This change will help debuggers to distinguish exact source of
SIGTRAP.

Add two basic t_ptrace_wait* tests:
lwp_create1:
Verify that 1 LWP creation is intercepted by ptrace(2) with
EVENT_MASK set to PTRACE_LWP_CREATE

lwp_exit1:
Verify that 1 LWP creation is intercepted by ptrace(2) with
EVENT_MASK set to PTRACE_LWP_EXIT

All tests are passing.

Surfing the previous kernel ABI bump to 7.99.59 for PTRACE_VFORK{,_DONE}.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.9 -r1.10 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.336 -r1.337 src/sys/sys/proc.h
cvs rdiff -u -r1.53 -r1.54 src/sys/sys/ptrace.h
cvs rdiff -u -r1.28 -r1.29 src/sys/sys/siginfo.h
cvs rdiff -u -r1.58 -r1.59 src/tests/kernel/t_ptrace_wait.c

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



CVS commit: src/doc

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 06:51:02 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Document the latest ptrace(2) and siginfo(2) additions:

Added new entries:
ptrace(2): Add new options in EVENT_MASK: PTRACE_LWP_CREATE and
PTRACE_LWP_EXIT
siginfo(2): Add new si_code for SIGTRAP: TRAP_LWP

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.2236 -r1.2237 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/share/man/man2

2017-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 06:55:40 UTC 2017

Modified Files:
src/share/man/man2: siginfo.2

Log Message:
Document TRAP_LWP in siginfo(2)

TRAP_LWP - process lwp (thread) traps

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man2/siginfo.2

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-01-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jan 14 07:17:38 UTC 2017

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

Log Message:
Document PTRACE_LWP_CREATE and PTRACE_LWP_EXIT in ptrace(2)

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/lib/libc/sys/ptrace.2

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