CVS commit: src/sys/dev/pci

2016-11-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Nov 14 08:48:03 UTC 2016

Modified Files:
src/sys/dev/pci: if_wmreg.h

Log Message:
Sort registers. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/pci/if_wmreg.h

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



CVS commit: src/sys

2016-11-14 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Nov 14 08:55:51 UTC 2016

Modified Files:
src/sys/kern: kern_proc.c
src/sys/miscfs/procfs: procfs_status.c

Log Message:
Return the "true" parent's pid as the parent pid (ppid) via the
various sysctl/procfs interfaces that allow it to be interrogated.
(This is rather than the temporary parent's pid when a process is
being traced and has been reparented.)

XXX The ppid in elf32 core files has not been similarly adjusted,
XXX Should it be ?


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.36 -r1.37 src/sys/miscfs/procfs/procfs_status.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/sys

2016-11-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Nov 14 10:40:59 UTC 2016

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

Log Message:
Whitespace.


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

2016-11-14 Thread Masatake Daimon
Module Name:src
Committed By:   pho
Date:   Mon Nov 14 16:10:31 UTC 2016

Modified Files:
src/tests/lib: Makefile
Added Files:
src/tests/lib/librefuse: Makefile t_refuse_opt.c

Log Message:
Add some tests for librefuse


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/tests/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/librefuse/Makefile \
src/tests/lib/librefuse/t_refuse_opt.c

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



CVS commit: src

2016-11-14 Thread Masatake Daimon
Module Name:src
Committed By:   pho
Date:   Mon Nov 14 17:19:29 UTC 2016

Modified Files:
src/lib/librefuse: fuse_opt.h refuse.3 refuse_opt.c
src/tests/lib/librefuse: t_refuse_opt.c

Log Message:
Implement missing fuse_opt_add_opt(3) and fuse_opt_add_opt_escaped(3)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librefuse/fuse_opt.h
cvs rdiff -u -r1.9 -r1.10 src/lib/librefuse/refuse.3
cvs rdiff -u -r1.15 -r1.16 src/lib/librefuse/refuse_opt.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/librefuse/t_refuse_opt.c

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



CVS commit: src/lib/librefuse

2016-11-14 Thread Masatake Daimon
Module Name:src
Committed By:   pho
Date:   Mon Nov 14 17:48:57 UTC 2016

Modified Files:
src/lib/librefuse: refuse.3

Log Message:
Add missing macros


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/librefuse/refuse.3

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



CVS commit: src/sys/arch

2016-11-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Nov 14 19:22:52 UTC 2016

Modified Files:
src/sys/arch/mipsco/mipsco: mips_3x30.c
src/sys/arch/newsmips/newsmips: news3400.c

Log Message:
correct nofitication tpyo in comments.

from miod


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mipsco/mipsco/mips_3x30.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/newsmips/newsmips/news3400.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

2016-11-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Nov 14 19:24:23 UTC 2016

Modified Files:
src/sys/arch/mipsco/mipsco: mips_3x30.c
src/sys/arch/newsmips/newsmips: news3400.c

Log Message:
actually correct tyop now...


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mipsco/mipsco/mips_3x30.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/newsmips/newsmips/news3400.c

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



CVS commit: src/share/mk

2016-11-14 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Nov 14 20:42:46 UTC 2016

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

Log Message:
Drop remarks about AArch64 ABI being PIC following a discussion with Tim
Northover. The default code model is small and globals are expected to
be within the lower 4GB if not explicitly using -fPIC.


To generate a diff of this commit:
cvs rdiff -u -r1.986 -r1.987 src/share/mk/bsd.own.mk

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



CVS commit: src/tests/lib/librefuse

2016-11-14 Thread Masatake Daimon
Module Name:src
Committed By:   pho
Date:   Tue Nov 15 00:32:42 UTC 2016

Modified Files:
src/tests/lib/librefuse: t_refuse_opt.c

Log Message:
lib


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/librefuse/t_refuse_opt.c

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



CVS commit: src/lib/librefuse

2016-11-14 Thread Masatake Daimon
Module Name:src
Committed By:   pho
Date:   Tue Nov 15 00:34:19 UTC 2016

Modified Files:
src/lib/librefuse: refuse.3 refuse_opt.c

Log Message:
fuse_opt_match(3): Support every form of templates, not just the simple strcmp 
case

Also it should return 1 for successful matches, not the way around.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librefuse/refuse.3
cvs rdiff -u -r1.16 -r1.17 src/lib/librefuse/refuse_opt.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/librefuse

2016-11-14 Thread Masatake Daimon
Module Name:src
Committed By:   pho
Date:   Tue Nov 15 00:37:18 UTC 2016

Modified Files:
src/tests/lib/librefuse: t_refuse_opt.c

Log Message:
Rename test functions


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/librefuse/t_refuse_opt.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-11-14 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Nov 15 01:50:06 UTC 2016

Modified Files:
src/sys/net: if.c radix.c radix.h route.c route.h rtbl.c
src/sys/netinet6: nd6_rtr.c
src/sys/nfs: nfs_boot.c

Log Message:
Don't use rt_walktree to delete routes

Some functions use rt_walktree to scan the routing table and delete
matched routes. However, we shouldn't use rt_walktree to delete
routes because rt_walktree is recursive to the routing table (radix
tree) and isn't friendly to MP-ification. rt_walktree allows a caller
to pass a callback function to delete an matched entry. The callback
function is called from an API of the radix tree (rn_walktree) but
also calls an API of the radix tree to delete an entry.

This change adds a new API of the radix tree, rn_search_matched,
which returns a matched entry that is selected by a callback
function passed by a caller and the caller itself deletes the
entry. By using the API, we can avoid the recursive form.


To generate a diff of this commit:
cvs rdiff -u -r1.361 -r1.362 src/sys/net/if.c
cvs rdiff -u -r1.45 -r1.46 src/sys/net/radix.c
cvs rdiff -u -r1.22 -r1.23 src/sys/net/radix.h
cvs rdiff -u -r1.181 -r1.182 src/sys/net/route.c
cvs rdiff -u -r1.106 -r1.107 src/sys/net/route.h
cvs rdiff -u -r1.3 -r1.4 src/sys/net/rtbl.c
cvs rdiff -u -r1.119 -r1.120 src/sys/netinet6/nd6_rtr.c
cvs rdiff -u -r1.86 -r1.87 src/sys/nfs/nfs_boot.c

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



CVS commit: src/tests/kernel

2016-11-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Nov 15 02:20:50 UTC 2016

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

Log Message:
Clean up t_ptrace_wait.c

Remove trailing white space
Remove fflush(3) calls [previously added for debugging purposes]
Correct comment /proc/curproc/stat -> /proc/curpros/status
The status file is native for NetBSD, stat for Linux compatibility

No functional change.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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/tests/kernel

2016-11-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Nov 15 02:53:32 UTC 2016

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

Log Message:
Add eventmask1 and eventmask2 in t_ptrace_wait*

Add basic tests verifying that value between PT_SET_EVENT_MASK and
PT_GET_EVENT_MASK is preserved between two ptrace(2) calls.

eventmask1: Verify that empty EVENT_MASK is preserved
eventmask2: Verify that PTRACE_FORK in EVENT_MASK is preserved

Currently the only supported event in ptrace(2) is PTRACE_FORK.

These tests are appropriate for all wait(2)-like functions.

Sponsored by 


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