CVS commit: src/sys/netinet

2015-04-20 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Apr 20 07:34:48 UTC 2015

Modified Files:
src/sys/netinet: ip_encap.c

Log Message:
Remove non-USE_RADIX case and USE_RADIX switch

It seems that we have been using ip_encap only with USE_RADIX
for long years. Let's remove unused non-USE_RADIX case.

No objection on tech-kern and tech-net.

Double-checked by knakahara@


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

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



CVS commit: src/sys/dev/ic

2015-04-20 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Apr 20 07:51:36 UTC 2015

Modified Files:
src/sys/dev/ic: spdmemvar.h

Log Message:
Unbreak the build of spdmem

- Get rid of a tab after backslace
- Add a missing semicolon

>From Henning Petersen


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/spdmemvar.h

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



CVS commit: src/sys/arch/evbarm/conf

2015-04-20 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Apr 20 10:09:09 UTC 2015

Modified Files:
src/sys/arch/evbarm/conf: GENERIC.common

Log Message:
Add pseudo-devices crypto, swcrypto, bridge, vlan, ppp, pppoe, tun, tap,
gre, and npf.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/GENERIC.common

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



CVS commit: src/sys

2015-04-20 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Apr 20 10:19:54 UTC 2015

Modified Files:
src/sys/net: if.c if.h if_gif.c if_gre.c if_ppp.c if_spppsubr.c
if_tun.c
src/sys/netinet6: in6.c

Log Message:
Introduce p2p_rtrequest() so that IFF_POINTOPOINT interfaces can work
with RTF_LOCAL.
Fixes PR kern/49829.


To generate a diff of this commit:
cvs rdiff -u -r1.309 -r1.310 src/sys/net/if.c
cvs rdiff -u -r1.187 -r1.188 src/sys/net/if.h
cvs rdiff -u -r1.83 -r1.84 src/sys/net/if_gif.c
cvs rdiff -u -r1.162 -r1.163 src/sys/net/if_gre.c
cvs rdiff -u -r1.146 -r1.147 src/sys/net/if_ppp.c
cvs rdiff -u -r1.131 -r1.132 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.120 -r1.121 src/sys/net/if_tun.c
cvs rdiff -u -r1.186 -r1.187 src/sys/netinet6/in6.c

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



CVS commit: src/sys/dev/ic

2015-04-20 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Apr 20 12:41:38 UTC 2015

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

Log Message:
Backout r1.18.
  Don't change IRQ porality.  The Real-machines encounters interrupt storm.
  OK slp@.

  I assum configured it from boot-loader already.  However need polarity
  information, if not.  Shall we implement to use prop_dictionary_{set,get}?

  Also this case, re-initialized to LAN9118_IRQ_CFG without
  LAN9118_IRQ_CFG_POL in lan9118_init().  I think, again interrupt storm on
  QEMU.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/lan9118.c

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



CVS commit: src/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 13:12:24 UTC 2015

Modified Files:
src/sys/nfs: nfs.h
src/sys/sys: vnode.h

Log Message:
Nix LEASE_READ/LEASE_WRITE from .


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/nfs/nfs.h
cvs rdiff -u -r1.250 -r1.251 src/sys/sys/vnode.h

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



CVS commit: src/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 13:44:16 UTC 2015

Modified Files:
src/sys/fs/adosfs: advfsops.c
src/sys/fs/tmpfs: tmpfs_subr.c
src/sys/fs/udf: udf_subr.c
src/sys/fs/union: union_subr.c
src/sys/kern: vfs_cache.c vfs_mount.c vfs_vnode.c
src/sys/miscfs/specfs: spec_vnops.c
src/sys/miscfs/syncfs: sync_subr.c
src/sys/sys: vnode.h
src/sys/ufs/lfs: lfs_segment.c lfs_syscalls.c ulfs_ihash.c

Log Message:
Make vget always return vnode unlocked.

Convert callers who want locks to use vn_lock afterward.

Add extra argument so the compiler will report stragglers.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/fs/adosfs/advfsops.c
cvs rdiff -u -r1.97 -r1.98 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.129 -r1.130 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.71 -r1.72 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.105 -r1.106 src/sys/kern/vfs_cache.c
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.146 -r1.147 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.49 -r1.50 src/sys/miscfs/syncfs/sync_subr.c
cvs rdiff -u -r1.251 -r1.252 src/sys/sys/vnode.h
cvs rdiff -u -r1.237 -r1.238 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.156 -r1.157 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/lfs/ulfs_ihash.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 13:49:02 UTC 2015

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

Log Message:
Remove declaration of speedup_syncer, removed back in 2011.


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/sys/sys/vnode.h

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



CVS commit: src/share/man/man9

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 14:03:10 UTC 2015

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

Log Message:
Document current state of vget.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/share/man/man9/vnode.9

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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 14:07:25 UTC 2015

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

Log Message:
Rewrite vput(9) description.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/share/man/man9/vnode.9

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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 14:08:52 UTC 2015

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

Log Message:
Fix punctuation.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/share/man/man9/vnode.9

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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 14:09:14 UTC 2015

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

Log Message:
Use Dv, not Li, for EBUSY/ENOENT.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/share/man/man9/vnode.9

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



CVS commit: src/usr.sbin/sysinst

2015-04-20 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Apr 20 14:10:31 UTC 2015

Modified Files:
src/usr.sbin/sysinst: msg.mbr.fr msg.mi.fr

Log Message:
Fix the French translation.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/msg.mbr.fr
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/msg.mi.fr

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



CVS commit: src/sys/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 15:19:00 UTC 2015

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

Log Message:
Fix C arithmetic quirks in roundup2 and avoid multiple evaluation.

Add rounddown2.

Discussed on tech-kern a while ago:

https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html


To generate a diff of this commit:
cvs rdiff -u -r1.470 -r1.471 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/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 15:22:18 UTC 2015

Modified Files:
src/sys/external/bsd/common/include/linux: kernel.h
src/sys/lib/libkern: libkern.h

Log Message:
Add container_of to libkern.

Given x = &c->f, container_of(x, T, f) yields c, where T is the type
of c.

Discussed on tech-kern a while ago:

https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/common/include/linux/kernel.h
cvs rdiff -u -r1.117 -r1.118 src/sys/lib/libkern/libkern.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 15:23:56 UTC 2015

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

Log Message:
Bump kernel version to 7.99.10 for vget(9) change.


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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 15:30:41 UTC 2015

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

Log Message:
First part of reworking vnode(9) man page.  Much more to come.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/share/man/man9/vnode.9

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/drm/dist/bsd-core

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 15:38:13 UTC 2015

Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: drmP.h

Log Message:
Remove old drm's container_of.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/external/bsd/drm/dist/bsd-core/drmP.h

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



CVS commit: src/share/man/man9

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 15:39:38 UTC 2015

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

Log Message:
Use Er, not Dv, for errno E* names.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/share/man/man9/vnode.9

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

2015-04-20 Thread Patrick Welche
Module Name:src
Committed By:   prlw1
Date:   Mon Apr 20 18:01:46 UTC 2015

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

Log Message:
Apply modified version of patch from Wolfgang Stukenbrock in PR bin/41766

This forcibly unmounts tmpfs file systems, so that swapctl doesn't run
out of swap itself, eventually trying to kill pid 1.

No objections since:
  http://mail-index.netbsd.org/current-users/2015/03/16/msg026908.html


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/etc/rc.d/swap1

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/drm2/dist/drm/ttm

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 19:17:04 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/ttm: ttm_bo_util.c

Log Message:
First attempt to make ttm_buffer_object_transfer less bogus.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c

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



CVS commit: src

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 19:36:56 UTC 2015

Modified Files:
src/share/man/man9: vnode.9
src/sys/fs/union: union_subr.c
src/sys/kern: vfs_vnode.c
src/sys/miscfs/genfs: layer_vfsops.c
src/sys/sys: vnode.h
src/usr.sbin/pstat: pstat.8 pstat.c

Log Message:
Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/share/man/man9/vnode.9
cvs rdiff -u -r1.72 -r1.73 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.41 -r1.42 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.45 -r1.46 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.253 -r1.254 src/sys/sys/vnode.h
cvs rdiff -u -r1.40 -r1.41 src/usr.sbin/pstat/pstat.8
cvs rdiff -u -r1.124 -r1.125 src/usr.sbin/pstat/pstat.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/drm2/dist/drm/ttm

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 20:15:22 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/ttm: ttm_bo.c

Log Message:
Make sure mem.bus.is_iomem is initialized.  PR 49833


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.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/cortex

2015-04-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Apr 20 20:19:52 UTC 2015

Modified Files:
src/sys/arch/arm/cortex: gtmr.c

Log Message:
Use physical timer for gtmr_delay();


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/cortex/gtmr.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 21:02:49 UTC 2015

Modified Files:
src/sys/ufs/lfs: ulfs_vnops.c
src/sys/ufs/ufs: ufs_vnops.c

Log Message:
Fix more dvp->v_mount after vput(dvp).


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/ufs/lfs/ulfs_vnops.c
cvs rdiff -u -r1.228 -r1.229 src/sys/ufs/ufs/ufs_vnops.c

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



CVS commit: src/lib/libp2k

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 21:48:47 UTC 2015

Modified Files:
src/lib/libp2k: p2k.c

Log Message:
Release dir after create/mknod/mkdir/symlink as 6.99.29 required.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/lib/libp2k/p2k.c

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



CVS commit: src/etc

2015-04-20 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Apr 20 22:46:35 UTC 2015

Modified Files:
src/etc: security

Log Message:
Set the redirection correctly, so that stderr gets duped to the
already redirected stdout, rather than duping stdout to stderr!

Without this fix, the disklabel output is included in the log file
rather than being discarded as intended.  (The purpose of running
disklabel this first time is only to check for success.)


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/etc/security

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



CVS commit: src/sys/kern

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 22:59:19 UTC 2015

Modified Files:
src/sys/kern: vnode_if.src

Log Message:
Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/kern/vnode_if.src

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



CVS commit: src

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 23:03:09 UTC 2015

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c
src/lib/libp2k: p2k.c
src/sys/coda: coda_vnops.c
src/sys/fs/adosfs: advnops.c
src/sys/fs/cd9660: cd9660_vnops.c
src/sys/fs/filecorefs: filecore_vnops.c
src/sys/fs/nilfs: nilfs_vnops.c
src/sys/fs/puffs: puffs_vnops.c
src/sys/fs/tmpfs: TODO tmpfs_vnops.c
src/sys/fs/udf: udf_vnops.c
src/sys/fs/union: union_vnops.c
src/sys/fs/unionfs: unionfs_vnops.c
src/sys/fs/v7fs: v7fs_vnops.c
src/sys/kern: vfs_syscalls.c vnode_if.c
src/sys/miscfs/deadfs: dead_vnops.c
src/sys/miscfs/fdesc: fdesc_vnops.c
src/sys/miscfs/kernfs: kernfs_vnops.c
src/sys/miscfs/procfs: procfs_vnops.c
src/sys/nfs: nfs_serv.c nfs_vnops.c
src/sys/rump/include/rump: rumpvnode_if.h
src/sys/rump/librump/rumpvfs: rumpvnode_if.c
src/sys/sys: vnode_if.h
src/sys/ufs/chfs: chfs_vnops.c
src/sys/ufs/ext2fs: ext2fs_vnops.c
src/sys/ufs/lfs: lfs_vnops.c ulfs_vnops.c
src/sys/ufs/ufs: ufs_vnops.c

Log Message:
Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
cvs rdiff -u -r1.65 -r1.66 src/lib/libp2k/p2k.c
cvs rdiff -u -r1.101 -r1.102 src/sys/coda/coda_vnops.c
cvs rdiff -u -r1.46 -r1.47 src/sys/fs/adosfs/advnops.c
cvs rdiff -u -r1.51 -r1.52 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -u -r1.43 -r1.44 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.202 -r1.203 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/tmpfs/TODO
cvs rdiff -u -r1.121 -r1.122 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.100 -r1.101 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.62 -r1.63 src/sys/fs/union/union_vnops.c
cvs rdiff -u -r1.8 -r1.9 src/sys/fs/unionfs/unionfs_vnops.c
cvs rdiff -u -r1.20 -r1.21 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.495 -r1.496 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.93 -r1.94 src/sys/kern/vnode_if.c
cvs rdiff -u -r1.57 -r1.58 src/sys/miscfs/deadfs/dead_vnops.c
cvs rdiff -u -r1.125 -r1.126 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -u -r1.154 -r1.155 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -u -r1.192 -r1.193 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.170 -r1.171 src/sys/nfs/nfs_serv.c
cvs rdiff -u -r1.306 -r1.307 src/sys/nfs/nfs_vnops.c
cvs rdiff -u -r1.17 -r1.18 src/sys/rump/include/rump/rumpvnode_if.h
cvs rdiff -u -r1.16 -r1.17 src/sys/rump/librump/rumpvfs/rumpvnode_if.c
cvs rdiff -u -r1.88 -r1.89 src/sys/sys/vnode_if.h
cvs rdiff -u -r1.27 -r1.28 src/sys/ufs/chfs/chfs_vnops.c
cvs rdiff -u -r1.116 -r1.117 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -u -r1.270 -r1.271 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.24 -r1.25 src/sys/ufs/lfs/ulfs_vnops.c
cvs rdiff -u -r1.229 -r1.230 src/sys/ufs/ufs/ufs_vnops.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 23:08:07 UTC 2015

Modified Files:
src/sys/kern: vnode_if.src

Log Message:
Fix comment in vnode_if.src to reflect change to VOP_LINK.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/kern/vnode_if.src

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



CVS commit: src/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 23:11:27 UTC 2015

Modified Files:
src/sys/kern: vnode_if.c
src/sys/rump/include/rump: rumpvnode_if.h
src/sys/rump/librump/rumpvfs: rumpvnode_if.c
src/sys/sys: vnode_if.h

Log Message:
regen for good measure (no functional change)


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/kern/vnode_if.c
cvs rdiff -u -r1.18 -r1.19 src/sys/rump/include/rump/rumpvnode_if.h
cvs rdiff -u -r1.17 -r1.18 src/sys/rump/librump/rumpvfs/rumpvnode_if.c
cvs rdiff -u -r1.89 -r1.90 src/sys/sys/vnode_if.h

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



CVS commit: src/sys/arch/arm/cortex

2015-04-20 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Apr 20 23:12:56 UTC 2015

Modified Files:
src/sys/arch/arm/cortex: a9_mpsubr.S

Log Message:
Restore "#if !defined(CPU_CORTEXA5)" accidentally removed in previous
commit -- hi skrll@


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arm/cortex/a9_mpsubr.S

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



CVS commit: src/sys/miscfs/deadfs

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 20 23:30:58 UTC 2015

Modified Files:
src/sys/miscfs/deadfs: dead_vnops.c

Log Message:
Uncomment the argument struct declarations in deadfs.

We don't actually use them, but this is the only way the vop
versioning mechanism flags code that needs changing.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/miscfs/deadfs/dead_vnops.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:16:30 UTC 2015

Modified Files:
src/sys/sys: namei.src

Log Message:
Cull unused INRENAME and INRELOOKUP.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/sys/namei.src

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



CVS commit: src/sys/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:18:21 UTC 2015

Modified Files:
src/sys/sys: namei.src

Log Message:
Cull unused INRENAME and INRELOOKUP from PARAMASK.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/sys/namei.src

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



CVS commit: src/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:19:03 UTC 2015

Modified Files:
src/sys/kern: vfs_lookup.c vfs_syscalls.c
src/sys/nfs: nfs_serv.c
src/sys/rump/include/rump: rump_namei.h
src/sys/sys: namei.h

Log Message:
Cull unused INRENAME and INRELOOKUP from callers.


To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/sys/kern/vfs_lookup.c
cvs rdiff -u -r1.496 -r1.497 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.171 -r1.172 src/sys/nfs/nfs_serv.c
cvs rdiff -u -r1.26 -r1.27 src/sys/rump/include/rump/rump_namei.h
cvs rdiff -u -r1.92 -r1.93 src/sys/sys/namei.h

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



CVS commit: src/share/man/man9

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:21:54 UTC 2015

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

Log Message:
Cull long-dead flags from namei(9) man page.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man9/namei.9

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



CVS commit: src/sys/kern

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:24:07 UTC 2015

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

Log Message:
Sort includes.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/kern/kern_rndq.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:25:46 UTC 2015

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

Log Message:
Don't need .


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/kern/kern_rndq.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:29:27 UTC 2015

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

Log Message:
Nix some more needless includes.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/kern/kern_rndq.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:30:06 UTC 2015

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

Log Message:
Sort includes.


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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:46:46 UTC 2015

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

Log Message:
Correction: we do need , for membar_*.

(Not clear that these membars actually make sense, but that's a
separate issue.)


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/kern/kern_rndq.c

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



CVS commit: src/sys

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:53:07 UTC 2015

Modified Files:
src/sys/kern: kern_rndq.c
src/sys/sys: rndsource.h

Log Message:
Release rnd_global.lock while calling an rndsource's callback.

Obviates the need for obnoxious double-lock dances in hardware RNG
drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/rndsource.h

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



CVS commit: src/sys/rump/librump/rumpkern

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 03:53:51 UTC 2015

Modified Files:
src/sys/rump/librump/rumpkern: hyperentropy.c

Log Message:
Restore simplicity of rump hyperentropy `hardware RNG'.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/librump/rumpkern/hyperentropy.c

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



CVS commit: src/sys/rump/librump/rumpkern

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 04:05:57 UTC 2015

Modified Files:
src/sys/rump/librump/rumpkern: hyperentropy.c

Log Message:
Revert previous -- a little too quick on the commit trigger.

Ran some tests but not enough.  There is a deadlock against myself:

rndsink_request acquires rndsinks_lock
-> rnd_getmore
-> hyperentropy feedrandom (or any other rndsource callback)
-> rnd_add_data
-> rndsinks_distribute acquires rndsinks_lock

Need to break this cycle before rndsource callbacks can invoke
rnd_add_data.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/librump/rumpkern/hyperentropy.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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 04:19:25 UTC 2015

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

Log Message:
Gather rndsinks global state into a cacheline-aligned struct.


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

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 04:24:16 UTC 2015

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

Log Message:
Save some space: use one condvar for all rndsinks.  Not a hot spot.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/kern_rndsink.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/evbarm/conf

2015-04-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Apr 21 04:24:52 UTC 2015

Modified Files:
src/sys/arch/evbarm/conf: BPI

Log Message:
No need for CPU_CORTEXA7 since it's implied by ALLWINNER_A20


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/conf/BPI

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



CVS commit: src/sys/kern

2015-04-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 21 04:41:36 UTC 2015

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

Log Message:
Turn a kassert into a more appropriately placed ctassert.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/kern_rndpool.c

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



CVS commit: [netbsd-7] src

2015-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 21 04:50:17 UTC 2015

Modified Files:
src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++ [netbsd-7]:
atexit_arm.cc
src/lib/libc/stdlib [netbsd-7]: atexit.c

Log Message:
Pull up following revision(s) (requested by joerg in ticket #712):
lib/libc/stdlib/atexit.c: revision 1.29
external/gpl3/gcc/dist/libstdc++-v3/libsupc++/atexit_arm.cc: revision 
1.2
Redo __aeabi_atexit by shuffling the arguments and dropping the code in
libstdc++.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.4.1 \
src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/atexit_arm.cc
cvs rdiff -u -r1.26.4.1 -r1.26.4.2 src/lib/libc/stdlib/atexit.c

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



CVS commit: [netbsd-7] src/sys

2015-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 21 04:55:15 UTC 2015

Modified Files:
src/sys/dev/ic [netbsd-7]: bwi.c
src/sys/nfs [netbsd-7]: krpc_subr.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #713):
sys/dev/ic/bwi.c: revision 1.26
sys/nfs/krpc_subr.c: revision 1.38
Fix uninitialized variable.
Found by The Brainy Code Scanner in FreeBSD.
--
Fix a double free. "Suggested" by Brainy.
ok rjs@ riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.4.1 src/sys/dev/ic/bwi.c
cvs rdiff -u -r1.37.38.1 -r1.37.38.2 src/sys/nfs/krpc_subr.c

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



CVS commit: [netbsd-7] src

2015-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 21 05:22:58 UTC 2015

Modified Files:
src/distrib/sets/lists/base [netbsd-7]: mi
src/distrib/sets/lists/man [netbsd-7]: mi
src/doc [netbsd-7]: CHANGES
src/usr.sbin [netbsd-7]: Makefile
Added Files:
src/usr.sbin/service [netbsd-7]: Makefile service service.8

Log Message:
Pull up following revision(s) (requested by ast in ticket #636):
distrib/sets/lists/base/mi: revision 1.1098
distrib/sets/lists/man/mi: revision 1.1498
doc/CHANGES: patch
usr.sbin/Makefile: revision 1.270
usr.sbin/service/Makefile: revision 1.1
usr.sbin/service/service: revision 1.1-1.7
usr.sbin/service/service.8: revisions 1.1-1.4
Import a substantially modified service(8) command from FreeBSD to
manage rc.d scripts.  This command is well known on most other Unixes
and should help soften the learning curve for Unix admins coming
to NetBSD.
--
Make the usage appear more standard.
--
Sort options. Use An -nosplit in AUTHORS section.
--
Remove -f option as rc_fast is not set in invocation mode.
Do the load_rc_config *after* option parsing.
Catch conflicting -e + -l option specs.
--
Integrate some feedback gleened from tech-userle...@netbsd.org
Avoid ls -P so that script can also run pre-netbsd-7.
Make sure /etc/rc.conf.d configurations are supported.
--
cosmetic change in man 8 service
use shell quoting in a safe way as suggested by Alan Barrett
--
More shell quoting.  /etc/rc.d/* file names with embedded spaces are
not expected to work, but let's quote them anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.1087.2.3 -r1.1087.2.4 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1485.2.6 -r1.1485.2.7 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.1967.2.11 -r1.1967.2.12 src/doc/CHANGES
cvs rdiff -u -r1.269 -r1.269.2.1 src/usr.sbin/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/usr.sbin/service/Makefile
cvs rdiff -u -r0 -r1.7.2.2 src/usr.sbin/service/service
cvs rdiff -u -r0 -r1.4.2.2 src/usr.sbin/service/service.8

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



CVS commit: src/doc

2015-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 21 05:27:30 UTC 2015

Modified Files:
src/doc: CHANGES CHANGES.prev

Log Message:
move service(8) entry to CHANGES.prev, since it'll be appearing in 7.0


To generate a diff of this commit:
cvs rdiff -u -r1.2069 -r1.2070 src/doc/CHANGES
cvs rdiff -u -r1.126 -r1.127 src/doc/CHANGES.prev

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



CVS commit: [netbsd-7] src/doc

2015-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Apr 21 05:29:50 UTC 2015

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
tickets 636, 712, and 713. wrap a few long lines while here.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.264 -r1.1.2.265 src/doc/CHANGES-7.0

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

2015-04-20 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Apr 21 06:12:41 UTC 2015

Modified Files:
src/sys/arch/mips/ingenic: jziic.c

Log Message:
support interrupt-driven transfers


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/ingenic/jziic.c

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