CVS commit: src/external/gpl3/gdb/dist/bfd
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. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.8 src/external/gpl3/gdb/dist/bfd/configure:1.9 --- src/external/gpl3/gdb/dist/bfd/configure:1.8 Sat Nov 19 07:52:49 2016 +++ src/external/gpl3/gdb/dist/bfd/configure Sat Nov 19 07:54:19 2016 @@ -12163,7 +12163,7 @@ if test "${enable_secureplt+set}" = set; *)as_fn_error "bad value ${enableval} for secureplt option" "$LINENO" 5 ;; esac else - use_secureplt=true + use_secureplt=false fi if test $use_secureplt = true; then
CVS commit: src/external/gpl3/gdb/dist/bfd
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. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.7 src/external/gpl3/gdb/dist/bfd/configure:1.8 --- src/external/gpl3/gdb/dist/bfd/configure:1.7 Wed Oct 12 20:20:33 2016 +++ src/external/gpl3/gdb/dist/bfd/configure Sat Nov 19 07:52:49 2016 @@ -14706,7 +14706,7 @@ if test "${target}" = "${host}"; then ;; arm-*-freebsd* | arm-*-kfreebsd*-gnu) COREFILE='' ;; - arm-*-netbsd* | arm-*-openbsd*) + arm*-*-netbsd* | arm-*-openbsd*) COREFILE=netbsd-core.lo ;; arm-*-riscix) COREFILE=trad-core.lo ;; @@ -14776,7 +14776,7 @@ if test "${target}" = "${host}"; then COREFILE=trad-core.lo TRAD_HEADER='"hosts/i860mach3.h"' ;; - mips-*-netbsd* | mips*-*-openbsd*) + mips*-*-netbsd* | mips*-*-openbsd*) COREFILE=netbsd-core.lo ;; mips-dec-*)
CVS commit: src/tests/lib/libpthread_dbg
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. Modified files: Index: src/tests/lib/libpthread_dbg/h_common.h diff -u src/tests/lib/libpthread_dbg/h_common.h:1.1 src/tests/lib/libpthread_dbg/h_common.h:1.2 --- src/tests/lib/libpthread_dbg/h_common.h:1.1 Fri Nov 18 22:50:19 2016 +++ src/tests/lib/libpthread_dbg/h_common.h Sat Nov 19 02:30:54 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: h_common.h,v 1.1 2016/11/18 22:50:19 kamil Exp $ */ +/* $NetBSD: h_common.h,v 1.2 2016/11/19 02:30:54 kamil Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. @@ -90,7 +90,7 @@ dummy_proc_setregs(void *arg, int regset static int __used basic_proc_read(void *arg, caddr_t addr, void *buf, size_t size) { - memcpy(addr, buf, size); + memcpy(buf, addr, size); return TD_ERR_OK; }
CVS commit: src/etc/rc.d
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. Modified files: Index: src/etc/rc.d/rtadvd diff -u src/etc/rc.d/rtadvd:1.9 src/etc/rc.d/rtadvd:1.10 --- src/etc/rc.d/rtadvd:1.9 Fri Nov 18 23:10:05 2016 +++ src/etc/rc.d/rtadvd Sat Nov 19 01:14:58 2016 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: rtadvd,v 1.9 2016/11/18 23:10:05 kre Exp $ +# $NetBSD: rtadvd,v 1.10 2016/11/19 01:14:58 kre Exp $ # # PROVIDE: rtadvd @@ -56,7 +56,7 @@ rtadvd_prereload() # Make sure /var/run exists in the chroot mkdir -p "${chdir}/var/run" - # Provide links to the chrooted dump & pid files + # Provide a link to the chrooted dump file ln -snf "${chdir}/var/run/${name}.dump" /var/run # Note: actual chroot is done by rtadvd itself
CVS commit: src/etc/rc.d
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. Modified files: Index: src/etc/rc.d/rtadvd diff -u src/etc/rc.d/rtadvd:1.8 src/etc/rc.d/rtadvd:1.9 --- src/etc/rc.d/rtadvd:1.8 Tue Jul 9 09:34:58 2013 +++ src/etc/rc.d/rtadvd Fri Nov 18 23:10:05 2016 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: rtadvd,v 1.8 2013/07/09 09:34:58 roy Exp $ +# $NetBSD: rtadvd,v 1.9 2016/11/18 23:10:05 kre Exp $ # # PROVIDE: rtadvd @@ -21,28 +21,47 @@ rtadvd_prereload() { local chdir="$(getent passwd _rtadvd | cut -d: -f6)" local conf=/etc/rtadvd.conf myflags o confdir + local cflag=false - [ -z "$chdir" -o "$chdir" = / ] && return 0 + [ -z "${chdir}" ] || [ "/${chdir}" = // ] && return 0 - if [ -n "$flags" ]; then - myflags=$flags + if [ -n "${flags}" ]; then + myflags=${flags} else eval myflags=\$${name}_flags fi set -- ${myflags} while getopts c:dDfM:Rs o; do - case "$1" in - -c) conf="$OPTARG";; + # ignore other args, they are processed by rtadvd itself + case "${o}" in + c) conf="${OPTARG}" + case "${conf}" in + /*) ;; + *) echo "${name}: config file (${conf}) must be" \ + "full pathname" +return 1 +;; + esac + cflag=true;; esac - shift done - confdir=$(dirname "$conf") - - echo "$name: copying $conf to $chdir$conf" - cp "$conf" "$chdir$conf" - # Provide a link to the chrooted dump file - ln -snf "$chdir/var/run/$name.dump" /var/run + ${cflag} || test -f "${conf}" && { + confdir=$(dirname "${conf}") + echo "${name}: copying ${conf} to ${chdir}${conf}" + mkdir -p "${chdir}${confdir}" + cp "${conf}" "${chdir}${conf}" || return 1 + } + + # Make sure /var/run exists in the chroot + mkdir -p "${chdir}/var/run" + + # Provide links to the chrooted dump & pid files + ln -snf "${chdir}/var/run/${name}.dump" /var/run + + # Note: actual chroot is done by rtadvd itself + + return 0 } rtadvd_prestart()
CVS commit: src/sys/fs/nfs/client
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. Modified files: Index: src/sys/fs/nfs/client/nfs_clbio.c diff -u src/sys/fs/nfs/client/nfs_clbio.c:1.3 src/sys/fs/nfs/client/nfs_clbio.c:1.4 --- src/sys/fs/nfs/client/nfs_clbio.c:1.3 Fri Nov 18 08:31:30 2016 +++ src/sys/fs/nfs/client/nfs_clbio.c Fri Nov 18 22:58:08 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_clbio.c,v 1.3 2016/11/18 08:31:30 pgoyette Exp $ */ +/* $NetBSD: nfs_clbio.c,v 1.4 2016/11/18 22:58:08 pgoyette Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -35,11 +35,10 @@ #include /* __FBSDID("FreeBSD: head/sys/fs/nfsclient/nfs_clbio.c 304026 2016-08-12 22:44:59Z rmacklem "); */ -__RCSID("$NetBSD: nfs_clbio.c,v 1.3 2016/11/18 08:31:30 pgoyette Exp $"); +__RCSID("$NetBSD: nfs_clbio.c,v 1.4 2016/11/18 22:58:08 pgoyette Exp $"); #include #include -#include #include #include #include @@ -47,19 +46,11 @@ __RCSID("$NetBSD: nfs_clbio.c,v 1.3 2016 #include #include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include extern int newnfs_directio_allow_mmap; extern struct nfsstatsv1 nfsstatsv1; Index: src/sys/fs/nfs/client/nfs_clcomsubs.c diff -u src/sys/fs/nfs/client/nfs_clcomsubs.c:1.1.1.2 src/sys/fs/nfs/client/nfs_clcomsubs.c:1.2 --- src/sys/fs/nfs/client/nfs_clcomsubs.c:1.1.1.2 Fri Nov 18 07:49:10 2016 +++ src/sys/fs/nfs/client/nfs_clcomsubs.c Fri Nov 18 22:58:08 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_clcomsubs.c,v 1.1.1.2 2016/11/18 07:49:10 pgoyette Exp $ */ +/* $NetBSD: nfs_clcomsubs.c,v 1.2 2016/11/18 22:58:08 pgoyette Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -34,7 +34,7 @@ #include /* __FBSDID("FreeBSD: head/sys/fs/nfsclient/nfs_clcomsubs.c 304026 2016-08-12 22:44:59Z rmacklem "); */ -__RCSID("$NetBSD: nfs_clcomsubs.c,v 1.1.1.2 2016/11/18 07:49:10 pgoyette Exp $"); +__RCSID("$NetBSD: nfs_clcomsubs.c,v 1.2 2016/11/18 22:58:08 pgoyette Exp $"); /* * These functions support the macros and help fiddle mbuf chains for @@ -42,7 +42,7 @@ __RCSID("$NetBSD: nfs_clcomsubs.c,v 1.1. * copy data between mbuf chains and uio lists. */ #ifndef APPLEKEXT -#include +#include extern struct nfsstatsv1 nfsstatsv1; extern struct nfsv4_opflag nfsv4_opflag[NFSV41_NOPS]; Index: src/sys/fs/nfs/client/nfs_clnode.c diff -u src/sys/fs/nfs/client/nfs_clnode.c:1.1.1.2 src/sys/fs/nfs/client/nfs_clnode.c:1.2 --- src/sys/fs/nfs/client/nfs_clnode.c:1.1.1.2 Fri Nov 18 07:49:11 2016 +++ src/sys/fs/nfs/client/nfs_clnode.c Fri Nov 18 22:58:08 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_clnode.c,v 1.1.1.2 2016/11/18 07:49:11 pgoyette Exp $ */ +/* $NetBSD: nfs_clnode.c,v 1.2 2016/11/18 22:58:08 pgoyette Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -35,7 +35,7 @@ #include /* __FBSDID("FreeBSD: head/sys/fs/nfsclient/nfs_clnode.c 302210 2016-06-26 14:18:28Z kib "); */ -__RCSID("$NetBSD: nfs_clnode.c,v 1.1.1.2 2016/11/18 07:49:11 pgoyette Exp $"); +__RCSID("$NetBSD: nfs_clnode.c,v 1.2 2016/11/18 22:58:08 pgoyette Exp $"); #include #include @@ -68,7 +68,7 @@ uma_zone_t newnfsnode_zone; const char nfs_vnode_tag[] = "nfs"; -static void nfs_freesillyrename(void *arg, __unused int pending); +static void nfs_freesillyrename(void *arg); void ncl_nhinit(void) @@ -191,7 +191,7 @@ ncl_nget(struct mount *mntp, u_int8_t *f * deadlock because of a LOR when vrele() locks the directory vnode. */ static void -nfs_freesillyrename(void *arg, __unused int pending) +nfs_freesillyrename(void *arg) { struct sillyrename *sp; @@ -222,8 +222,7 @@ ncl_releasesillyrename(struct vnode *vp, */ ncl_removeit(sp, vp); crfree(sp->s_cred); - TASK_INIT(>s_task, 0, nfs_freesillyrename, sp); - taskqueue_enqueue(taskqueue_thread, >s_task); + sysmon_task_queue_sched(0, nfs_freesillyrename, sp); mtx_lock(>n_mtx); } } Index: src/sys/fs/nfs/client/nfsnode.h diff -u src/sys/fs/nfs/client/nfsnode.h:1.1.1.2 src/sys/fs/nfs/client/nfsnode.h:1.2 --- src/sys/fs/nfs/client/nfsnode.h:1.1.1.2 Fri Nov 18 07:49:11 2016 +++
CVS commit: src
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. Modified files: Index: src/distrib/sets/lists/debug/mi diff -u src/distrib/sets/lists/debug/mi:1.178 src/distrib/sets/lists/debug/mi:1.179 --- src/distrib/sets/lists/debug/mi:1.178 Wed Nov 16 21:36:22 2016 +++ src/distrib/sets/lists/debug/mi Fri Nov 18 22:50:19 2016 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.178 2016/11/16 21:36:22 kamil Exp $ +# $NetBSD: mi,v 1.179 2016/11/18 22:50:19 kamil Exp $ ./etc/mtree/set.debug comp-sys-root ./usr/lib comp-sys-usr compatdir ./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile @@ -2174,6 +2174,7 @@ ./usr/libdata/debug/usr/tests/lib/libpthread/t_swapcontext.debug tests-lib-tests debug,atf,compattestfile ./usr/libdata/debug/usr/tests/lib/libpthread/t_timedmutex.debug tests-lib-tests debug,atf,compattestfile ./usr/libdata/debug/usr/tests/lib/libpthread_dbg/t_dummy.debug tests-lib-tests debug,atf,compattestfile +./usr/libdata/debug/usr/tests/lib/libpthread_dbg/t_threads.debug tests-lib-tests debug,atf,compattestfile ./usr/libdata/debug/usr/tests/lib/librt/t_sched.debug tests-lib-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/lib/librt/t_sem.debug tests-lib-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/lib/librefuse/t_refuse_opt.debug tests-lib-debug debug,atf,compattestfile Index: src/distrib/sets/lists/tests/mi diff -u src/distrib/sets/lists/tests/mi:1.701 src/distrib/sets/lists/tests/mi:1.702 --- src/distrib/sets/lists/tests/mi:1.701 Wed Nov 16 21:36:23 2016 +++ src/distrib/sets/lists/tests/mi Fri Nov 18 22:50:19 2016 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.701 2016/11/16 21:36:23 kamil Exp $ +# $NetBSD: mi,v 1.702 2016/11/18 22:50:19 kamil Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -3020,6 +3020,7 @@ ./usr/tests/lib/libpthread_dbg/Atffile tests-lib-tests compattestfile,atf ./usr/tests/lib/libpthread_dbg/Kyuafile tests-lib-tests compattestfile,atf,kyua ./usr/tests/lib/libpthread_dbg/t_dummy tests-lib-tests compattestfile,atf +./usr/tests/lib/libpthread_dbg/t_threads tests-lib-tests compattestfile,atf ./usr/tests/lib/librttests-lib-tests compattestfile,atf ./usr/tests/lib/librt/Atffile tests-lib-tests compattestfile,atf ./usr/tests/lib/librt/Kyuafile tests-lib-tests compattestfile,atf,kyua Index: src/tests/lib/libpthread_dbg/Makefile diff -u src/tests/lib/libpthread_dbg/Makefile:1.1 src/tests/lib/libpthread_dbg/Makefile:1.2 --- src/tests/lib/libpthread_dbg/Makefile:1.1 Wed Nov 16 21:36:23 2016 +++ src/tests/lib/libpthread_dbg/Makefile Fri Nov 18 22:50:19 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/11/16 21:36:23 kamil Exp $ +# $NetBSD: Makefile,v 1.2 2016/11/18 22:50:19 kamil Exp $ NOMAN= # defined @@ -9,5 +9,6 @@ LDADD+= -lpthread LDADD+= -lpthread_dbg TESTS_C+= t_dummy +TESTS_C+= t_threads .include Index: src/tests/lib/libpthread_dbg/t_dummy.c diff -u src/tests/lib/libpthread_dbg/t_dummy.c:1.4 src/tests/lib/libpthread_dbg/t_dummy.c:1.5 --- src/tests/lib/libpthread_dbg/t_dummy.c:1.4 Thu Nov 17 17:30:22 2016 +++ src/tests/lib/libpthread_dbg/t_dummy.c Fri Nov 18 22:50:19 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: t_dummy.c,v 1.4 2016/11/17 17:30:22 kamil Exp $ */ +/* $NetBSD: t_dummy.c,v 1.5 2016/11/18 22:50:19 kamil Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. @@ -28,91 +28,14 @@ #include -__RCSID("$NetBSD: t_dummy.c,v 1.4 2016/11/17 17:30:22 kamil Exp $"); +__RCSID("$NetBSD: t_dummy.c,v 1.5 2016/11/18 22:50:19 kamil Exp $"); -#include -#include +#include "h_common.h" #include #include #include -static int -dummy_proc_read(void *arg, caddr_t addr, void *buf, size_t size) -{ - return TD_ERR_ERR; -} - -static int -dummy_proc_write(void *arg, caddr_t addr, void *buf, size_t size) -{ - return TD_ERR_ERR; -} - -static int -dummy_proc_lookup(void *arg, const char *sym, caddr_t *addr) -{ -
CVS commit: src/sys/fs/nfs
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. Modified files: Index: src/sys/fs/nfs/files.newnfs diff -u src/sys/fs/nfs/files.newnfs:1.5 src/sys/fs/nfs/files.newnfs:1.6 --- src/sys/fs/nfs/files.newnfs:1.5 Fri Nov 18 09:58:38 2016 +++ src/sys/fs/nfs/files.newnfs Fri Nov 18 22:41:18 2016 @@ -1,4 +1,4 @@ -# $NetBSD: files.newnfs,v 1.5 2016/11/18 09:58:38 pgoyette Exp $ +# $NetBSD: files.newnfs,v 1.6 2016/11/18 22:41:18 pgoyette Exp $ deffs NEW_NFSCLIENT defflag opt_newnfs.h DTRACEALL @@ -10,6 +10,7 @@ defflag opt_newnfs.h DTRACEALL # XXX define new_nfsclient: vfs, net +file fs/nfs/client/nfs_clmodule.c new_nfsclient file fs/nfs/client/nfs_clbio.c new_nfsclient file fs/nfs/client/nfs_clcomsubs.c new_nfsclient file fs/nfs/client/nfs_clkdtrace.c new_nfsclient & (dtnfscl | dtraceall) @@ -24,6 +25,7 @@ file fs/nfs/client/nfs_clvfsops.c new_n file fs/nfs/client/nfs_clvnops.c new_nfsclient file fs/nfs/common/bootp_subr.c new_nfs_boot_bootp & new_nfsclient file fs/nfs/common/krpc_subr.c new_nfs_boot_bootp & new_nfsclient +file fs/nfs/common/nfs_module.c new_nfsclient | new_nfsserver file fs/nfs/common/nfs_commonacl.c new_nfsclient | new_nfsserver file fs/nfs/common/nfs_commonkrpc.c new_nfsclient | new_nfsserver file fs/nfs/common/nfs_commonport.c new_nfsclient | new_nfsserver @@ -39,6 +41,7 @@ file fs/nfs/nlm/nlm_prot_server.c new_n file fs/nfs/nlm/nlm_prot_svc.c new_nfslockd | new_nfsserver file fs/nfs/nlm/nlm_prot_xdr.c new_nfslockd | new_nfsserver file fs/nfs/nlm/sm_inter_xdr.c new_nfslockd | new_nfsserver +file fs/nfs/server/nfs_nfsdmodule.c new_nfsserver file fs/nfs/server/nfs_fha_new.c new_nfsserver file fs/nfs/server/nfs_nfsdcache.c new_nfsserver file fs/nfs/server/nfs_nfsdkrpc.c new_nfsserver Added files: Index: src/sys/fs/nfs/client/nfs_clmodule.c diff -u /dev/null src/sys/fs/nfs/client/nfs_clmodule.c:1.1 --- /dev/null Fri Nov 18 22:41:19 2016 +++ src/sys/fs/nfs/client/nfs_clmodule.c Fri Nov 18 22:41:19 2016 @@ -0,0 +1,48 @@ +/* $NetBSD: nfs_clmodule.c,v 1.1 2016/11/18 22:41:19 pgoyette Exp $ */ + +/*- + * Copyright (c) 2016 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Paul Goyette + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + *notice, this list of conditions and the following disclaimer in the + *documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include + +MODULE(MODULE_CLASS_MISC, nfs_client, "nfs_common,sysmon_taskq"); + +static int +nfs_client_modcmd(modcmd_t cmd, void *opaque) +{ + + switch (cmd) { + case MODULE_CMD_INIT: + case MODULE_CMD_FINI: + return 0; + default: + return ENOTTY; + } +} Index: src/sys/fs/nfs/common/nfs_module.c diff -u /dev/null src/sys/fs/nfs/common/nfs_module.c:1.1 --- /dev/null Fri Nov 18 22:41:19 2016 +++ src/sys/fs/nfs/common/nfs_module.c Fri Nov 18 22:41:19 2016 @@ -0,0 +1,48 @@ +/* $NetBSD: nfs_module.c,v 1.1 2016/11/18 22:41:19 pgoyette Exp $ */ + +/*- + * Copyright (c) 2016 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD
CVS commit: src/sys/fs/nfs/common
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. Modified files: Index: src/sys/fs/nfs/common/bootp_subr.c diff -u src/sys/fs/nfs/common/bootp_subr.c:1.1.1.2 src/sys/fs/nfs/common/bootp_subr.c:1.2 --- src/sys/fs/nfs/common/bootp_subr.c:1.1.1.2 Fri Nov 18 07:49:12 2016 +++ src/sys/fs/nfs/common/bootp_subr.c Fri Nov 18 22:37:50 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: bootp_subr.c,v 1.1.1.2 2016/11/18 07:49:12 pgoyette Exp $ */ +/* $NetBSD: bootp_subr.c,v 1.2 2016/11/18 22:37:50 pgoyette Exp $ */ /*- * Copyright (c) 1995 Gordon Ross, Adam Glass * Copyright (c) 1992 Regents of the University of California. @@ -43,16 +43,15 @@ #include /* __FBSDID("FreeBSD: head/sys/nfs/bootp_subr.c 297326 2016-03-27 23:16:37Z ian "); */ -__RCSID("$NetBSD: bootp_subr.c,v 1.1.1.2 2016/11/18 07:49:12 pgoyette Exp $"); +__RCSID("$NetBSD: bootp_subr.c,v 1.2 2016/11/18 22:37:50 pgoyette Exp $"); -#include "opt_bootp.h" -#include "opt_nfs.h" -#include "opt_rootdevname.h" +#ifdef _KERNEL_OPT +#include "opt_newnfs.h" +#endif #include #include #include -#include #include #include #include @@ -66,7 +65,6 @@ __RCSID("$NetBSD: bootp_subr.c,v 1.1.1.2 #include #include -#include #include #ifdef BOOTP_DEBUG #include @@ -76,13 +74,12 @@ __RCSID("$NetBSD: bootp_subr.c,v 1.1.1.2 #include #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #define BOOTP_MIN_LEN 300 /* Minimum size of bootp udp packet */ Index: src/sys/fs/nfs/common/nfsport.h diff -u src/sys/fs/nfs/common/nfsport.h:1.1.1.2 src/sys/fs/nfs/common/nfsport.h:1.2 --- src/sys/fs/nfs/common/nfsport.h:1.1.1.2 Fri Nov 18 07:49:13 2016 +++ src/sys/fs/nfs/common/nfsport.h Fri Nov 18 22:37:50 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: nfsport.h,v 1.1.1.2 2016/11/18 07:49:13 pgoyette Exp $ */ +/* $NetBSD: nfsport.h,v 1.2 2016/11/18 22:37:50 pgoyette Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * FreeBSD: head/sys/fs/nfs/nfsport.h 304026 2016-08-12 22:44:59Z rmacklem - * $NetBSD: nfsport.h,v 1.1.1.2 2016/11/18 07:49:13 pgoyette Exp $ + * $NetBSD: nfsport.h,v 1.2 2016/11/18 22:37:50 pgoyette Exp $ */ #ifndef _NFS_NFSPORT_H_ @@ -51,7 +51,6 @@ #include #include #include -#include #include #include #include @@ -68,24 +67,19 @@ #include #include #include -#include #include #include #include -#include #include -#include #include -#include #include -#include #include -#include + #include -#include #include #include #include + #include #include #include @@ -97,11 +91,9 @@ #include #include #include -#include + #include #include -#include -#include /* * For Darwin, these functions should be "static" when built in a kext. @@ -113,13 +105,13 @@ #include #include #include -#include -#include -#include -#include -#include -#include "opt_nfs.h" -#include "opt_ufs.h" + +#ifdef _KERNEL_OPT +#include "opt_newnfs.h" +#include "opt_ffs.h" +#endif + +#include /* * These types must be defined before the nfs includes. @@ -495,20 +487,23 @@ struct ext_nfsstats { #define NFS_NPROCS NFSV4_NPROCS #endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if 0 #include -#include +#endif /* * Just to keep nfs_var.h happy. @@ -543,7 +538,7 @@ struct nfsvattr { #define na_filerev na_vattr.va_filerev #define na_vaflags na_vattr.va_vaflags -#include +#include /* * This is the header structure used for the lists, etc. (It has the Index: src/sys/fs/nfs/common/krpc_subr.c diff -u src/sys/fs/nfs/common/krpc_subr.c:1.5 src/sys/fs/nfs/common/krpc_subr.c:1.6 --- src/sys/fs/nfs/common/krpc_subr.c:1.5 Fri Nov 18 08:31:30 2016 +++ src/sys/fs/nfs/common/krpc_subr.c Fri Nov 18 22:37:50 2016 @@ -44,11 +44,10 @@ #include /* __FBSDID("FreeBSD: head/sys/nfs/krpc_subr.c 298788 2016-04-29 16:07:25Z pfg "); */ -__RCSID("$NetBSD: krpc_subr.c,v 1.5 2016/11/18 08:31:30 pgoyette Exp $"); +__RCSID("$NetBSD: krpc_subr.c,v 1.6 2016/11/18 22:37:50 pgoyette Exp $"); #include #include -#include #include #include #include @@ -57,15 +56,11 @@ __RCSID("$NetBSD: krpc_subr.c,v 1.5 2016 #include
CVS commit: src/sys/arch/mips/mips
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. Modified files: Index: src/sys/arch/mips/mips/spl.S diff -u src/sys/arch/mips/mips/spl.S:1.15 src/sys/arch/mips/mips/spl.S:1.16 --- src/sys/arch/mips/mips/spl.S:1.15 Fri Nov 18 13:50:36 2016 +++ src/sys/arch/mips/mips/spl.S Fri Nov 18 16:23:40 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: spl.S,v 1.15 2016/11/18 13:50:36 macallan Exp $ */ +/* $NetBSD: spl.S,v 1.16 2016/11/18 16:23:40 skrll Exp $ */ /*- * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #include -RCSID("$NetBSD: spl.S,v 1.15 2016/11/18 13:50:36 macallan Exp $") +RCSID("$NetBSD: spl.S,v 1.16 2016/11/18 16:23:40 skrll Exp $") #include "assym.h" @@ -159,6 +159,7 @@ STATIC_XLEAF(_splsw_splx_noprof) # does PTR_ADDU v1, a2# add to table addr INT_L a1, (v1) # load SR bits for this IPL mfc0 v1, MIPS_COP_0_STATUS + MFC0_HAZARD# load delay and v1, MIPS_INT_MASK xor a1, MIPS_INT_MASK 3: bne a1, v1, 3b @@ -197,6 +198,7 @@ END(_splsw_spl0) STATIC_LEAF(_splsw_setsoftintr) mfc0 v1, MIPS_COP_0_STATUS # save status register #if !defined(__mips_o32) + MFC0_HAZARD# load delay or v0, v1, MIPS_SR_INT_IE # xor v0, MIPS_SR_INT_IE # clear interrupt enable bit mtc0 v0, MIPS_COP_0_STATUS ## disable interrupts @@ -216,6 +218,7 @@ END(_splsw_setsoftintr) STATIC_LEAF(_splsw_clrsoftintr) mfc0 v1, MIPS_COP_0_STATUS # save status register #if !defined(__mips_o32) + MFC0_HAZARD# load delay or v0, v1, MIPS_SR_INT_IE # xor v0, MIPS_SR_INT_IE # clear interrupt enable bit mtc0 v0, MIPS_COP_0_STATUS ## disable interrupts @@ -271,6 +274,7 @@ STATIC_XLEAF(_splsw_splhigh_noprof) 1: #ifdef PARANOIA mfc0 v1, MIPS_COP_0_STATUS # fetch status register + MFC0_HAZARD# load delay and v1, MIPS_INT_MASK # any int bits set? 2: bnez v1, 2b# loop forever. nop # branch delay @@ -370,6 +374,7 @@ STATIC_LEAF(_splsw_splcheck) INT_L t1, CPU_INFO_CPL(t0) # get current priority level mfc0 t0, MIPS_COP_0_STATUS # get current status + MFC0_HAZARD# load delay and t0, MIPS_INT_MASK # just want INT bits PTR_LA t2, _C_LABEL(ipl_sr_map)
CVS commit: src/sys/arch/mips/mips
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. Modified files: Index: src/sys/arch/mips/mips/spl.S diff -u src/sys/arch/mips/mips/spl.S:1.14 src/sys/arch/mips/mips/spl.S:1.15 --- src/sys/arch/mips/mips/spl.S:1.14 Fri Nov 11 16:49:30 2016 +++ src/sys/arch/mips/mips/spl.S Fri Nov 18 13:50:36 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: spl.S,v 1.14 2016/11/11 16:49:30 maya Exp $ */ +/* $NetBSD: spl.S,v 1.15 2016/11/18 13:50:36 macallan Exp $ */ /*- * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #include -RCSID("$NetBSD: spl.S,v 1.14 2016/11/11 16:49:30 maya Exp $") +RCSID("$NetBSD: spl.S,v 1.15 2016/11/18 13:50:36 macallan Exp $") #include "assym.h" @@ -80,8 +80,9 @@ _splraise: or v1, MIPS_INT_MASK # enable all interrupts xor a0, v1# disable ipl's masked bits DYNAMIC_STATUS_MASK(a0,v0) # machine dependent masking -#if !defined(__mips_o32) && defined(MULTIPROCESSOR) - li v1, MIPS3_SR_KX # keep 64-bit addressing on +#if !defined(__mips_o32) + or v1, MIPS_SR_INT_IE # + xor v1, MIPS_SR_INT_IE # clear interrupt enable bit mtc0 v1, MIPS_COP_0_STATUS ## disable interrupts #else mtc0 zero, MIPS_COP_0_STATUS ## disable interrupts @@ -136,7 +137,13 @@ STATIC_XLEAF(_splsw_splx_noprof) # does xor a1, MIPS_INT_MASK # invert SR bits or v1, a1# set any bits for this IPL DYNAMIC_STATUS_MASK(v1,t0) # machine dependent masking +#if !defined(__mips_o32) + or v0, v1, MIPS_SR_INT_IE # + xor v0, MIPS_SR_INT_IE # clear interrupt enable bit + mtc0 v0, MIPS_COP_0_STATUS ## disable interrupts +#else mtc0 zero, MIPS_COP_0_STATUS ## disable interrupts +#endif COP0_SYNC INT_S a0, CPU_INFO_CPL(a3) ## save IPL in cpu_info (KSEG0) mtc0 v1, MIPS_COP_0_STATUS ## store back @@ -170,7 +177,13 @@ STATIC_LEAF(_splsw_spl0) MFC0_HAZARD# load delay or v0, a0, v1 DYNAMIC_STATUS_MASK(v0,t0) # machine dependent masking +#if !defined(__mips_o32) + or v1, v0, MIPS_SR_INT_IE # + xor v1, MIPS_SR_INT_IE # clear interrupt enable bit + mtc0 v1, MIPS_COP_0_STATUS ## disable interrupts +#else mtc0 zero, MIPS_COP_0_STATUS ## disable interrupts +#endif COP0_SYNC #if IPL_NONE == 0 INT_S zero, CPU_INFO_CPL(a3) ## set ipl to 0 @@ -183,7 +196,13 @@ END(_splsw_spl0) STATIC_LEAF(_splsw_setsoftintr) mfc0 v1, MIPS_COP_0_STATUS # save status register - mtc0 zero, MIPS_COP_0_STATUS # disable interrupts (2 cycles) +#if !defined(__mips_o32) + or v0, v1, MIPS_SR_INT_IE # + xor v0, MIPS_SR_INT_IE # clear interrupt enable bit + mtc0 v0, MIPS_COP_0_STATUS ## disable interrupts +#else + mtc0 zero, MIPS_COP_0_STATUS ## disable interrupts +#endif COP0_SYNC mfc0 v0, MIPS_COP_0_CAUSE # fetch cause register MFC0_HAZARD# load delay @@ -196,7 +215,13 @@ END(_splsw_setsoftintr) STATIC_LEAF(_splsw_clrsoftintr) mfc0 v1, MIPS_COP_0_STATUS # save status register - mtc0 zero, MIPS_COP_0_STATUS # disable interrupts (2 cycles) +#if !defined(__mips_o32) + or v0, v1, MIPS_SR_INT_IE # + xor v0, MIPS_SR_INT_IE # clear interrupt enable bit + mtc0 v0, MIPS_COP_0_STATUS ## disable interrupts +#else + mtc0 zero, MIPS_COP_0_STATUS ## disable interrupts +#endif COP0_SYNC mfc0 v0, MIPS_COP_0_CAUSE # fetch cause register nor a0, zero, a0 # bitwise inverse of A0
CVS commit: src/external/gpl3/gdb/lib/libgdb/arch
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. Modified files: Index: src/external/gpl3/gdb/lib/libgdb/arch/arm/defs.mk diff -u src/external/gpl3/gdb/lib/libgdb/arch/arm/defs.mk:1.10 src/external/gpl3/gdb/lib/libgdb/arch/arm/defs.mk:1.11 --- src/external/gpl3/gdb/lib/libgdb/arch/arm/defs.mk:1.10 Sun Oct 23 18:51:55 2016 +++ src/external/gpl3/gdb/lib/libgdb/arch/arm/defs.mk Fri Nov 18 12:42:10 2016 @@ -3,5 +3,5 @@ # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp # G_INTERNAL_CFLAGS=-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS-I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-write-strings -Wno-narrowing -Wformat-nonliteral -G_LIBGDB_OBS=arm.o arm-get-next-pcs.o arm-tdep.o armbsd-tdep.o armnbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o nbsd-nat.o armnbsd-nat.o bsd-kvm.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o tracefile.o tracefile-tfile.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o rust-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o break-catch-syscall.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symfile-debug.o symmisc.o linespec.o dictionary.o namespace.o location.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o tid-parse.o thread.o thread-fsm.o exceptions.o extension.o filesystem.o filestuff.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o target-dcache.o parse.o language.o build-id.o buildsym.o findcmd .o std-regs.o signals-state-save-restore.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o c-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o selftest.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o ser-event.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o d-namespace.o reggroups.o rust- lang.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o
CVS commit: src/usr.bin/at
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. Modified files: Index: src/usr.bin/at/at.1 diff -u src/usr.bin/at/at.1:1.28 src/usr.bin/at/at.1:1.29 --- src/usr.bin/at/at.1:1.28 Fri Nov 18 10:11:34 2016 +++ src/usr.bin/at/at.1 Fri Nov 18 12:16:48 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: at.1,v 1.28 2016/11/18 10:11:34 abhinav Exp $ +.\" $NetBSD: at.1,v 1.29 2016/11/18 12:16:48 abhinav Exp $ .\" $OpenBSD: at.1,v 1.6 1998/06/05 00:47:46 deraadt Exp $ .\" $FreeBSD: at.man,v 1.6 1997/02/22 19:54:05 peter Exp $ .Dd March 10, 2008 @@ -315,9 +315,9 @@ utilities conform to .An -nosplit .Nm was mostly written by -.An Thomas Koenig Mt i...@rz.uni-karlsruhe.de . +.An Thomas Koenig Aq Mt i...@rz.uni-karlsruhe.de . The time parsing routines are implemented by -.An David Parsons Mt o...@pell.chi.il.us . +.An David Parsons Aq Mt o...@pell.chi.il.us . .Sh BUGS If the file .Pa /var/run/utmp
CVS commit: src/sys/dev/pci
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. Modified files: Index: src/sys/dev/pci/if_wm.c diff -u src/sys/dev/pci/if_wm.c:1.451 src/sys/dev/pci/if_wm.c:1.452 --- src/sys/dev/pci/if_wm.c:1.451 Fri Nov 18 06:55:00 2016 +++ src/sys/dev/pci/if_wm.c Fri Nov 18 11:46:04 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: if_wm.c,v 1.451 2016/11/18 06:55:00 msaitoh Exp $ */ +/* $NetBSD: if_wm.c,v 1.452 2016/11/18 11:46:04 joerg Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc. @@ -84,7 +84,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.451 2016/11/18 06:55:00 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.452 2016/11/18 11:46:04 joerg Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -11977,7 +11977,7 @@ wm_smbustopci(struct wm_softc *sc) break; /* FALLTHROUGH */ case WM_T_PCH: - if ((sc->sc_type == WM_T_PCH)) + if (sc->sc_type == WM_T_PCH) if ((fwsm & FWSM_FW_VALID) != 0) break;
CVS commit: src/sys
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. Modified files: Index: src/sys/net/if_spppsubr.c diff -u src/sys/net/if_spppsubr.c:1.156 src/sys/net/if_spppsubr.c:1.157 --- src/sys/net/if_spppsubr.c:1.156 Sat Oct 8 17:37:32 2016 +++ src/sys/net/if_spppsubr.c Fri Nov 18 10:38:55 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: if_spppsubr.c,v 1.156 2016/10/08 17:37:32 joerg Exp $ */ +/* $NetBSD: if_spppsubr.c,v 1.157 2016/11/18 10:38:55 knakahara Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. @@ -41,12 +41,13 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.156 2016/10/08 17:37:32 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.157 2016/11/18 10:38:55 knakahara Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" #include "opt_modular.h" #include "opt_compat_netbsd.h" +#include "opt_net_mpsafe.h" #endif @@ -4915,9 +4916,14 @@ found: LIST_REMOVE(ifatoia(ifa), ia_hash); IN_ADDRHASH_WRITER_REMOVE(ifatoia(ifa)); +#ifdef NET_MPSAFE + pserialize_perform(in_ifaddrhash_psz); +#endif + IN_ADDRHASH_ENTRY_DESTROY(ifatoia(ifa)); error = in_ifinit(ifp, ifatoia(ifa), _sin, _dst, 0); + IN_ADDRHASH_ENTRY_INIT(ifatoia(ifa)); LIST_INSERT_HEAD(_IFADDR_HASH(ifatoia(ifa)->ia_addr.sin_addr.s_addr), ifatoia(ifa), ia_hash); IN_ADDRHASH_WRITER_INSERT_HEAD(ifatoia(ifa)); @@ -4977,9 +4983,14 @@ found: LIST_REMOVE(ifatoia(ifa), ia_hash); IN_ADDRHASH_WRITER_REMOVE(ifatoia(ifa)); +#ifdef NET_MPSAFE + pserialize_perform(in_ifaddrhash_psz); +#endif + IN_ADDRHASH_ENTRY_DESTROY(ifatoia(ifa)); error = in_ifinit(ifp, ifatoia(ifa), _sin, _dst, 0); + IN_ADDRHASH_ENTRY_INIT(ifatoia(ifa)); LIST_INSERT_HEAD(_IFADDR_HASH(ifatoia(ifa)->ia_addr.sin_addr.s_addr), ifatoia(ifa), ia_hash); IN_ADDRHASH_WRITER_INSERT_HEAD(ifatoia(ifa)); Index: src/sys/netinet/in.c diff -u src/sys/netinet/in.c:1.187 src/sys/netinet/in.c:1.188 --- src/sys/netinet/in.c:1.187 Tue Oct 18 07:30:31 2016 +++ src/sys/netinet/in.c Fri Nov 18 10:38:55 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: in.c,v 1.187 2016/10/18 07:30:31 ozaki-r Exp $ */ +/* $NetBSD: in.c,v 1.188 2016/11/18 10:38:55 knakahara Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -91,7 +91,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.187 2016/10/18 07:30:31 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.188 2016/11/18 10:38:55 knakahara Exp $"); #include "arp.h" @@ -193,6 +193,7 @@ u_longin_ifaddrhash; struct in_ifaddrhead in_ifaddrhead; static kmutex_t in_ifaddr_lock; +pserialize_t in_ifaddrhash_psz; struct pslist_head * in_ifaddrhashtbl_pslist; u_longin_ifaddrhash_pslist; struct pslist_head in_ifaddrhead_pslist; @@ -208,6 +209,7 @@ in_init(void) in_ifaddrhashtbl = hashinit(IN_IFADDR_HASH_SIZE, HASH_LIST, true, _ifaddrhash); + in_ifaddrhash_psz = pserialize_create(); in_ifaddrhashtbl_pslist = hashinit(IN_IFADDR_HASH_SIZE, HASH_PSLIST, true, _ifaddrhash_pslist); mutex_init(_ifaddr_lock, MUTEX_DEFAULT, IPL_NONE); @@ -600,6 +602,10 @@ in_control0(struct socket *so, u_long cm LIST_REMOVE(ia, ia_hash); IN_ADDRHASH_WRITER_REMOVE(ia); mutex_exit(_ifaddr_lock); +#ifdef NET_MPSAFE + pserialize_perform(in_ifaddrhash_psz); +#endif + IN_ADDRHASH_ENTRY_DESTROY(ia); need_reinsert = true; } error = in_ifinit(ifp, ia, satocsin(ifreq_getaddr(cmd, ifr)), @@ -617,6 +623,10 @@ in_control0(struct socket *so, u_long cm LIST_REMOVE(ia, ia_hash); IN_ADDRHASH_WRITER_REMOVE(ia); mutex_exit(_ifaddr_lock); +#ifdef NET_MPSAFE + pserialize_perform(in_ifaddrhash_psz); +#endif + IN_ADDRHASH_ENTRY_DESTROY(ia); need_reinsert = true; } error = in_ifinit(ifp, ia, NULL, NULL, 0); @@ -643,6 +653,10 @@ in_control0(struct socket *so, u_long cm LIST_REMOVE(ia, ia_hash); IN_ADDRHASH_WRITER_REMOVE(ia); mutex_exit(_ifaddr_lock); +#ifdef NET_MPSAFE +pserialize_perform(in_ifaddrhash_psz); +#endif +IN_ADDRHASH_ENTRY_DESTROY(ia); need_reinsert = true; } error = in_ifinit(ifp, ia, >ifra_addr, @@ -709,6 +723,7 @@ in_control0(struct socket *so, u_long cm mutex_enter(_ifaddr_lock); LIST_INSERT_HEAD(_IFADDR_HASH(ia->ia_addr.sin_addr.s_addr), ia, ia_hash); +
CVS commit: src/usr.bin/at
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. Modified files: Index: src/usr.bin/at/at.1 diff -u src/usr.bin/at/at.1:1.27 src/usr.bin/at/at.1:1.28 --- src/usr.bin/at/at.1:1.27 Fri Nov 18 09:06:35 2016 +++ src/usr.bin/at/at.1 Fri Nov 18 10:11:34 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: at.1,v 1.27 2016/11/18 09:06:35 abhinav Exp $ +.\" $NetBSD: at.1,v 1.28 2016/11/18 10:11:34 abhinav Exp $ .\" $OpenBSD: at.1,v 1.6 1998/06/05 00:47:46 deraadt Exp $ .\" $FreeBSD: at.man,v 1.6 1997/02/22 19:54:05 peter Exp $ .Dd March 10, 2008 @@ -312,11 +312,12 @@ and utilities conform to .St -p1003.2-92 . .Sh AUTHORS +.An -nosplit .Nm was mostly written by -.An Thomas Koenig Aq i...@rz.uni-karlsruhe.de . +.An Thomas Koenig Mt i...@rz.uni-karlsruhe.de . The time parsing routines are implemented by -.An David Parsons Aq o...@pell.chi.il.us . +.An David Parsons Mt o...@pell.chi.il.us . .Sh BUGS If the file .Pa /var/run/utmp
CVS commit: src/sys/fs/nfs
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. Modified files: Index: src/sys/fs/nfs/files.newnfs diff -u src/sys/fs/nfs/files.newnfs:1.4 src/sys/fs/nfs/files.newnfs:1.5 --- src/sys/fs/nfs/files.newnfs:1.4 Fri Nov 18 08:31:29 2016 +++ src/sys/fs/nfs/files.newnfs Fri Nov 18 09:58:38 2016 @@ -1,11 +1,9 @@ -# $NetBSD: files.newnfs,v 1.4 2016/11/18 08:31:29 pgoyette Exp $ +# $NetBSD: files.newnfs,v 1.5 2016/11/18 09:58:38 pgoyette Exp $ deffs NEW_NFSCLIENT defflag opt_newnfs.h DTRACEALL NEW_NFS_BOOT_BOOTP NEW_NFSSERVER - COMPILE-WITH - "${CDDL_C}" NEW_NFSLOCKD DTNFSCL NEW_NFS_BOOT @@ -14,7 +12,7 @@ defflag opt_newnfs.h DTRACEALL define new_nfsclient: vfs, net file fs/nfs/client/nfs_clbio.c new_nfsclient file fs/nfs/client/nfs_clcomsubs.c new_nfsclient -file fs/nfs/client/nfs_clkdtrace.c dtnfscl & new_nfsclient | dtraceall & new_nfsclient compile-with & "${CDDL_C}" +file fs/nfs/client/nfs_clkdtrace.c new_nfsclient & (dtnfscl | dtraceall) file fs/nfs/client/nfs_clkrpc.c new_nfsclient file fs/nfs/client/nfs_clnfsiod.c new_nfsclient file fs/nfs/client/nfs_clnode.c new_nfsclient
CVS commit: src/external/gpl3/gdb/dist/gdb
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. Modified files: Index: src/external/gpl3/gdb/dist/gdb/alphanbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/alphanbsd-tdep.c:1.12 src/external/gpl3/gdb/dist/gdb/alphanbsd-tdep.c:1.13 --- src/external/gpl3/gdb/dist/gdb/alphanbsd-tdep.c:1.12 Sat Oct 29 17:02:06 2016 +++ src/external/gpl3/gdb/dist/gdb/alphanbsd-tdep.c Fri Nov 18 09:52:33 2016 @@ -22,7 +22,6 @@ #include "defs.h" #include "frame.h" #include "gdbcore.h" -#include "objfiles.h" #include "osabi.h" #include "regcache.h" #include "regset.h" @@ -37,19 +36,6 @@ #include "tramp-frame.h" #include "target.h" -/* from obsd-tdep.c with symbol name adjusted to ours */ -static CORE_ADDR -alphanbsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) -{ - struct bound_minimal_symbol msym; - - msym = lookup_minimal_symbol("_rtld_bind_start", NULL, NULL); - if (msym.minsym && BMSYMBOL_VALUE_ADDRESS (msym) == pc) -return frame_unwind_caller_pc (get_current_frame ()); - else -return find_solib_trampoline_target (get_current_frame (), pc); -} - /* Core file support. */ /* Even though NetBSD/alpha used ELF since day one, it used the @@ -347,7 +333,7 @@ alphanbsd_init_abi (struct gdbarch_info /* NetBSD/alpha has SVR4-style shared libraries. */ set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); - set_gdbarch_skip_solib_resolver (gdbarch, alphanbsd_skip_solib_resolver); + set_gdbarch_skip_solib_resolver (gdbarch, nbsd_skip_solib_resolver); #ifdef notyet tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset; Index: src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.7 src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.8 --- src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.7 Sun Oct 23 07:40:08 2016 +++ src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Fri Nov 18 09:52:33 2016 @@ -19,10 +19,10 @@ #include "defs.h" #include "osabi.h" -#include "objfiles.h" #include "arch/arm.h" #include "arm-tdep.h" +#include "nbsd-tdep.h" #include "solib-svr4.h" /* Description of the longjmp buffer. */ @@ -36,19 +36,6 @@ static const gdb_byte arm_nbsd_arm_be_br static const gdb_byte arm_nbsd_thumb_le_breakpoint[] = {0xfe, 0xde}; static const gdb_byte arm_nbsd_thumb_be_breakpoint[] = {0xde, 0xfe}; -/* from obsd-tdep.c with symbol name adjusted to ours */ -static CORE_ADDR -armnbsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) -{ - struct bound_minimal_symbol msym; - - msym = lookup_minimal_symbol("_rtld_bind", NULL, NULL); - if (msym.minsym && BMSYMBOL_VALUE_ADDRESS (msym) == pc) -return frame_unwind_caller_pc (get_current_frame ()); - else -return find_solib_trampoline_target (get_current_frame (), pc); -} - static void arm_netbsd_init_abi_common (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -114,7 +101,7 @@ arm_netbsd_elf_init_abi (struct gdbarch_ (gdbarch, svr4_ilp32_fetch_link_map_offsets); /* for single stepping; see PR/50773 */ - set_gdbarch_skip_solib_resolver (gdbarch, armnbsd_skip_solib_resolver); + set_gdbarch_skip_solib_resolver (gdbarch, nbsd_skip_solib_resolver); } static enum gdb_osabi Index: src/external/gpl3/gdb/dist/gdb/configure.tgt diff -u src/external/gpl3/gdb/dist/gdb/configure.tgt:1.13 src/external/gpl3/gdb/dist/gdb/configure.tgt:1.14 --- src/external/gpl3/gdb/dist/gdb/configure.tgt:1.13 Sun Oct 23 07:33:15 2016 +++ src/external/gpl3/gdb/dist/gdb/configure.tgt Fri Nov 18 09:52:33 2016 @@ -109,7 +109,7 @@ arm*-*-linux*) arm*-*-netbsd* | arm*-*-knetbsd*-gnu) # Target: NetBSD/arm gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armbsd-tdep.o \ - armnbsd-tdep.o solib-svr4.o" + armnbsd-tdep.o nbsd-tdep.o solib-svr4.o" ;; arm*-*-openbsd*) # Target: OpenBSD/arm Index: src/external/gpl3/gdb/dist/gdb/nbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/nbsd-tdep.c:1.1.1.6 src/external/gpl3/gdb/dist/gdb/nbsd-tdep.c:1.2 --- src/external/gpl3/gdb/dist/gdb/nbsd-tdep.c:1.1.1.6 Wed Oct 12 16:47:14 2016 +++ src/external/gpl3/gdb/dist/gdb/nbsd-tdep.c Fri Nov 18 09:52:33 2016 @@ -3,9 +3,9 @@
CVS commit: src/usr.bin/at
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. Modified files: Index: src/usr.bin/at/at.1 diff -u src/usr.bin/at/at.1:1.26 src/usr.bin/at/at.1:1.27 --- src/usr.bin/at/at.1:1.26 Sat Mar 12 22:37:32 2016 +++ src/usr.bin/at/at.1 Fri Nov 18 09:06:35 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: at.1,v 1.26 2016/03/12 22:37:32 dholland Exp $ +.\" $NetBSD: at.1,v 1.27 2016/11/18 09:06:35 abhinav Exp $ .\" $OpenBSD: at.1,v 1.6 1998/06/05 00:47:46 deraadt Exp $ .\" $FreeBSD: at.man,v 1.6 1997/02/22 19:54:05 peter Exp $ .Dd March 10, 2008 @@ -312,8 +312,11 @@ and utilities conform to .St -p1003.2-92 . .Sh AUTHORS -At was mostly written by Thomas Koenig \*[Lt]i...@rz.uni-karlsruhe.de\*[Gt]. -The time parsing routines are by David Parsons \*[Lt]o...@pell.chi.il.us\*[Gt]. +.Nm +was mostly written by +.An Thomas Koenig Aq i...@rz.uni-karlsruhe.de . +The time parsing routines are implemented by +.An David Parsons Aq o...@pell.chi.il.us . .Sh BUGS If the file .Pa /var/run/utmp
CVS commit: src/share/man/man9
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. Modified files: Index: src/share/man/man9/bufq.9 diff -u src/share/man/man9/bufq.9:1.21 src/share/man/man9/bufq.9:1.22 --- src/share/man/man9/bufq.9:1.21 Thu Nov 17 01:16:27 2016 +++ src/share/man/man9/bufq.9 Fri Nov 18 08:29:43 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: bufq.9,v 1.21 2016/11/17 01:16:27 pgoyette Exp $ +.\" $NetBSD: bufq.9,v 1.22 2016/11/18 08:29:43 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -79,7 +79,11 @@ subsystem is a set of operations for the Various strategies for ordering of entries in the buffer queues can be provided by loadable kernel modules (see .Xr module 9 ) . -By default, the BUFQ_FCFS and BUFQ_DISKSORT strategies are included in +By default, the +.Dv BUFQ_FCFS +and +.Dv BUFQ_DISKSORT +strategies are included in the kernel; see .Xr options 4 for more details.
CVS commit: src/sys/net
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. Modified files: Index: src/sys/net/if_pppoe.c diff -u src/sys/net/if_pppoe.c:1.118 src/sys/net/if_pppoe.c:1.119 --- src/sys/net/if_pppoe.c:1.118 Mon Oct 3 11:06:06 2016 +++ src/sys/net/if_pppoe.c Fri Nov 18 08:13:02 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: if_pppoe.c,v 1.118 2016/10/03 11:06:06 ozaki-r Exp $ */ +/* $NetBSD: if_pppoe.c,v 1.119 2016/11/18 08:13:02 knakahara Exp $ */ /*- * Copyright (c) 2002, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.118 2016/10/03 11:06:06 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.119 2016/11/18 08:13:02 knakahara Exp $"); #ifdef _KERNEL_OPT #include "pppoe.h" @@ -284,8 +284,10 @@ pppoe_clone_create(struct if_clone *ifc, sc->sc_sppp.pp_tlf = pppoe_tlf; sc->sc_sppp.pp_framebytes = PPPOE_HEADERLEN; /* framing added to ppp packets */ - if_attach(>sc_sppp.pp_if); + if_initialize(>sc_sppp.pp_if); + sc->sc_sppp.pp_if.if_percpuq = if_percpuq_create(>sc_sppp.pp_if); sppp_attach(>sc_sppp.pp_if); + if_register(>sc_sppp.pp_if); bpf_attach(>sc_sppp.pp_if, DLT_PPP_ETHER, 0); if (LIST_EMPTY(_softc_list)) {