CVS commit: src/sys/net

2016-11-18 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Nov 18 08:13:02 UTC 2016

Modified Files:
src/sys/net: if_pppoe.c

Log Message:
if_register() must be called after ifp->if_dl initialized.

There may be similar problems. I will fix step by step...


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sys/net/if_pppoe.c

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



CVS commit: src/share/man/man9

2016-11-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Nov 18 08:29:43 UTC 2016

Modified Files:
src/share/man/man9: bufq.9

Log Message:
Use more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man9/bufq.9

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



CVS commit: src/sys/fs/nfs

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 08:31:30 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs
src/sys/fs/nfs/client: nfs_clbio.c nfs_clstate.c nfs_clvnops.c
src/sys/fs/nfs/common: krpc_subr.c nfs_fha.h nfsm_subs.h
src/sys/fs/nfs/nlm: nlm_prot_impl.c
src/sys/fs/nfs/server: nfs_nfsdcache.c nfs_nfsdkrpc.c nfs_nfsdserv.c
nfs_nfsdstate.c nfs_nfsdsubs.c

Log Message:
Resolve conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/files.newnfs
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/client/nfs_clbio.c \
src/sys/fs/nfs/client/nfs_clstate.c src/sys/fs/nfs/client/nfs_clvnops.c
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nfs/common/krpc_subr.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/common/nfs_fha.h \
src/sys/fs/nfs/common/nfsm_subs.h
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/nlm/nlm_prot_impl.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/server/nfs_nfsdcache.c \
src/sys/fs/nfs/server/nfs_nfsdkrpc.c src/sys/fs/nfs/server/nfs_nfsdserv.c \
src/sys/fs/nfs/server/nfs_nfsdstate.c \
src/sys/fs/nfs/server/nfs_nfsdsubs.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/at

2016-11-18 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Nov 18 09:06:35 UTC 2016

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

Log Message:
Use more markup and complete a sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/at/at.1

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



CVS commit: src/external/gpl3/gdb/dist/gdb

2016-11-18 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov 18 09:52:33 UTC 2016

Modified Files:
src/external/gpl3/gdb/dist/gdb: alphanbsd-tdep.c armnbsd-tdep.c
configure.tgt nbsd-tdep.c nbsd-tdep.h

Log Message:
Provide a generic nbsd_skip_solib_resolver and use it in alpha and arm.
Others should follow suit.

I even tested it.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/dist/gdb/alphanbsd-tdep.c
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gdb/dist/gdb/configure.tgt
cvs rdiff -u -r1.1.1.6 -r1.2 src/external/gpl3/gdb/dist/gdb/nbsd-tdep.c
cvs rdiff -u -r1.1.1.5 -r1.2 src/external/gpl3/gdb/dist/gdb/nbsd-tdep.h

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



CVS commit: src/sys/fs/nfs

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 09:58:38 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs

Log Message:
Clean up after the import auto-generate.

At least now it doesn't cause config(1) any problems.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nfs/files.newnfs

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



CVS commit: src/usr.bin/at

2016-11-18 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Nov 18 10:11:34 UTC 2016

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

Log Message:
Use .An -nosplit
Also, use Mt for email addresses.

(Thanks wiz)


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/at/at.1

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-18 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Nov 18 10:38:55 UTC 2016

Modified Files:
src/sys/net: if_spppsubr.c
src/sys/netinet: in.c in_var.h

Log Message:
We must use PSLIST_ENTRY_DESTROY after PSLIST_WRITER_REMOVE and waiting all 
readers done.

And then, if we want to re-insert the removed pslist element, we need to
call PSLIST_ENTERY_INIT again.

advised by riastradh@n.o and reviewed by ozaki-r@n.o, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.187 -r1.188 src/sys/netinet/in.c
cvs rdiff -u -r1.88 -r1.89 src/sys/netinet/in_var.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/pci

2016-11-18 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Nov 18 11:46:04 UTC 2016

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

Log Message:
Remove extra pair of braces.


To generate a diff of this commit:
cvs rdiff -u -r1.451 -r1.452 src/sys/dev/pci/if_wm.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/at

2016-11-18 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Fri Nov 18 12:16:48 UTC 2016

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

Log Message:
Oops, it should be Aq Mt email@address

(Thanks again wiz :-)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/at/at.1

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



CVS commit: src/external/gpl3/gdb/lib/libgdb/arch

2016-11-18 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov 18 12:42:10 UTC 2016

Modified Files:
src/external/gpl3/gdb/lib/libgdb/arch/arm: defs.mk
src/external/gpl3/gdb/lib/libgdb/arch/armeb: defs.mk

Log Message:
(simulate) mknative re-run


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gdb/lib/libgdb/arch/arm/defs.mk
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/lib/libgdb/arch/armeb/defs.mk

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



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

2016-11-18 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Nov 18 13:50:36 UTC 2016

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

Log Message:
don't blindly zero STATUS in order to disable interrupts, instead take care
to preserve bits like KX in case we catch an interrupt between mtc0 and the
write actually taking effect
now n32 kernels on my O2 are (mostly) stable again
ok skrll@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/mips/spl.S

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



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

2016-11-18 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Nov 18 16:23:40 UTC 2016

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

Log Message:
Sprinkle MFC0_HAZARD for previous and PARANOIA


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/mips/spl.S

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



CVS commit: src/sys/fs/nfs/common

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 22:37:50 UTC 2016

Modified Files:
src/sys/fs/nfs/common: bootp_subr.c krpc_subr.c nfsport.h

Log Message:
Clean up some #includes


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/common/bootp_subr.c \
src/sys/fs/nfs/common/nfsport.h
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nfs/common/krpc_subr.c

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



CVS commit: src/sys/fs/nfs

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 22:41:19 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs
Added Files:
src/sys/fs/nfs/client: nfs_clmodule.c
src/sys/fs/nfs/common: nfs_module.c
src/sys/fs/nfs/server: nfs_nfsdmodule.c

Log Message:
Add the initial module(9) infrastructure


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nfs/files.newnfs
cvs rdiff -u -r0 -r1.1 src/sys/fs/nfs/client/nfs_clmodule.c
cvs rdiff -u -r0 -r1.1 src/sys/fs/nfs/common/nfs_module.c
cvs rdiff -u -r0 -r1.1 src/sys/fs/nfs/server/nfs_nfsdmodule.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-18 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Nov 18 22:50:20 UTC 2016

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/lib/libpthread_dbg: Makefile t_dummy.c
Added Files:
src/tests/lib/libpthread_dbg: h_common.h t_threads.c

Log Message:
Add new test file lib/libpthread_dbg/t_threads

This test contains threads1 test that:
Asserts that td_thr_iter() call without extra logic works

This tests fails and is linked with gnats:
PR lib/51635: td_thr_iter in  seems broken

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.701 -r1.702 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread_dbg/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libpthread_dbg/h_common.h \
src/tests/lib/libpthread_dbg/t_threads.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libpthread_dbg/t_dummy.c

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



CVS commit: src/sys/fs/nfs/client

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 22:58:08 UTC 2016

Modified Files:
src/sys/fs/nfs/client: nfs_clbio.c nfs_clcomsubs.c nfs_clkdtrace.c
nfs_clnode.c nfsmount.h nfsnode.h

Log Message:
More clean-up of #includes


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/client/nfs_clbio.c
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/client/nfs_clcomsubs.c \
src/sys/fs/nfs/client/nfs_clnode.c src/sys/fs/nfs/client/nfsnode.h
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/fs/nfs/client/nfs_clkdtrace.c \
src/sys/fs/nfs/client/nfsmount.h

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



CVS commit: src/etc/rc.d

2016-11-18 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Nov 18 23:10:05 UTC 2016

Modified Files:
src/etc/rc.d: rtadvd

Log Message:
The config file is not required to exist (unless specified via -d).
(reported by rhia...@falu.nl)  Don't fail to start if it doesn't.

Make sure the directory for the config file exists inside the chroot before
attempting to copy into it ("confdir" was calculated, but never used...)

While here, fix getopts usage (obviously only ever previously tested when
the -c arg was the first option...) and don't use test(1)'s -o operator
(especially not when one of the other args is an unknown string).
If -c is given (and we will chroot), require filename to be full path.

Misc minor style cleanups.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/etc/rc.d/rtadvd

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



CVS commit: src/etc/rc.d

2016-11-18 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Nov 19 01:14:58 UTC 2016

Modified Files:
src/etc/rc.d: rtadvd

Log Message:
Undo change to a comment made when I thought another change to the
script was needed ... the unnecessary script change was never committed,
but the comment that described it was...No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/etc/rc.d/rtadvd

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



CVS commit: src/tests/lib/libpthread_dbg

2016-11-18 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Nov 19 02:30:54 UTC 2016

Modified Files:
src/tests/lib/libpthread_dbg: h_common.h

Log Message:
Fix basic_proc_read in pthread_dbg functions

Source and destination were swapped. The source of this confusion was that
running these tests under gdb(1) will generate false positives as it will
initialize pthread__dbg to PID of the debugger. This means that it is
currently not possible to debug pthread_dbg code under a full-stack
debugger using NetBSD debugging library for threads.

This should address:
PR lib/51633 tests/lib/libpthread_dbg/t_dummy unreliable
PR lib/51635: td_thr_iter in  seems broken

After applying the fix I'm able to run all pthread_dbg tests without
indeterminism. The indeterminism was caused by overwritting source of data
with trash.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread_dbg/h_common.h

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



CVS commit: src/external/gpl3/gdb/dist/bfd

2016-11-18 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Nov 19 07:52:49 UTC 2016

Modified Files:
src/external/gpl3/gdb/dist/bfd: configure

Log Message:
Add in netbsd-core.lo for all arm/mips


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/bfd/configure

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



CVS commit: src/external/gpl3/gdb/dist/bfd

2016-11-18 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Nov 19 07:54:19 UTC 2016

Modified Files:
src/external/gpl3/gdb/dist/bfd: configure

Log Message:
Mark the alpha options use_secureplt as false... we don't do secure plt
on alpha (yet)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/configure

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