CVS commit: src/usr.bin/netstat

2011-07-17 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Jul 17 10:22:08 UTC 2011

Modified Files:
src/usr.bin/netstat: main.c

Log Message:
Use errx() to display kvm_openfiles error message, the provided buffer
already has it.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/usr.bin/netstat/main.c

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



CVS commit: src/sbin/fsck_v7fs

2011-07-17 Thread UCHIYAMA Yasushi
Module Name:src
Committed By:   uch
Date:   Sun Jul 17 12:47:38 UTC 2011

Modified Files:
src/sbin/fsck_v7fs: freeblock.c

Log Message:
fix freeblock counting


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/fsck_v7fs/freeblock.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/amd64/amd64

2011-07-17 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Jul 17 15:16:59 UTC 2011

Modified Files:
src/sys/arch/amd64/amd64: machdep.c

Log Message:
CR4_PAE is always set to 1 under amd64, so indicate that PAE mode is
enabled. Can be useful for 32-bits test runs on amd64 hosts.


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/arch/amd64/amd64/machdep.c

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



CVS commit: [netbsd-5] src

2011-07-17 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sun Jul 17 15:36:05 UTC 2011

Modified Files:
src/distrib/sets/lists/comp [netbsd-5]: mi
src/lib/libc/sys [netbsd-5]: Makefile.inc extattr_get_file.2
src/lib/libpuffs [netbsd-5]: dispatcher.c puffs.c puffs.h
src/sys/fs/puffs [netbsd-5]: puffs_msgif.h puffs_vfsops.c puffs_vnops.c
src/sys/kern [netbsd-5]: vfs_xattr.c vnode_if.c
src/sys/sys [netbsd-5]: Makefile extattr.h vnode_if.h
src/sys/ufs/ffs [netbsd-5]: ffs_vnops.c
src/sys/ufs/ufs [netbsd-5]: ufs_extattr.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1645):
lib/libc/sys/Makefile.inc   1.207 via patch
lib/libc/sys/extattr_get_file.2 patch
lib/libpuffs/dispatcher.c   1.34,1.36 via patch
lib/libpuffs/puffs.c1.107 via patch
lib/libpuffs/puffs.h1.115,1.118 via patch
sys/fs/puffs/puffs_msgif.h  1.71,1.76 via patch
sys/fs/puffs/puffs_vfsops.c 1.88 via patch
sys/fs/puffs/puffs_vnops.c  1.145,1.154 via patch
sys/kern/vfs_xattr.c1.24-1.27 via patch
sys/kern/vnode_if.c 1.87 via patch
sys/sys/Makefile1.133 via patch
sys/sys/extattr.h   1.6 via patch
sys/sys/vnode_if.h  1.81 via patch
sys/ufs/ffs/ffs_vnops.c patch
sys/ufs/ufs/ufs_extattr.c   1.31,1.34 via patch

* support extended attributes
* bump major due to structure growth
* add some spare space
* remove ABI sillyness
Support extended attributes.
Fix multiple non compliances in our Linux-like extattr API, and make it
public so that it can be used.
Improve a bit listxattr(2). It attemps to list both system and user
extended attributes, and it faled if calling user did not have privilege
for reading system EA. Now we just lise user EA and skip system EA in
reading them is not allowed.
Fix bug introduced in previous commuit: Do not vrele() a vnode we did not
obtained.
Improve UFS1 extended attributes usability
- autocreate attribute backing file for new attributes
- autoload attributes when issuing extattrctl start
- when autoloading attributes, do not display garbage warning when looking
up entries that got ENOENT
Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the
filesystem in which format extended attribute shall be listed.
There are currently two formats:
- NUL-terminated strings, used for listxattr(2), this is the default.
- one byte length-pprefixed, non NUL-terminated strings, used for
  extattr_list_file(2), which is obtanined by setting the
  EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)
This approach avoid the need for converting the list back and forth, except
in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may
have requested EXTATTR_LIST_PREFIXLEN.


To generate a diff of this commit:
cvs rdiff -u -r1.1201.2.15 -r1.1201.2.16 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.196.2.1 -r1.196.2.2 src/lib/libc/sys/Makefile.inc
cvs rdiff -u -r1.3 -r1.3.32.1 src/lib/libc/sys/extattr_get_file.2
cvs rdiff -u -r1.32.4.1 -r1.32.4.2 src/lib/libpuffs/dispatcher.c
cvs rdiff -u -r1.92.4.5 -r1.92.4.6 src/lib/libpuffs/puffs.c
cvs rdiff -u -r1.108.4.4 -r1.108.4.5 src/lib/libpuffs/puffs.h
cvs rdiff -u -r1.65.20.2 -r1.65.20.3 src/sys/fs/puffs/puffs_msgif.h
cvs rdiff -u -r1.81.8.1 -r1.81.8.2 src/sys/fs/puffs/puffs_vfsops.c
cvs rdiff -u -r1.129.4.8 -r1.129.4.9 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.19.6.1 -r1.19.6.2 src/sys/kern/vfs_xattr.c
cvs rdiff -u -r1.78 -r1.78.4.1 src/sys/kern/vnode_if.c
cvs rdiff -u -r1.114 -r1.114.4.1 src/sys/sys/Makefile
cvs rdiff -u -r1.4 -r1.4.74.1 src/sys/sys/extattr.h
cvs rdiff -u -r1.72 -r1.72.20.1 src/sys/sys/vnode_if.h
cvs rdiff -u -r1.104.4.7 -r1.104.4.8 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -u -r1.21.14.2 -r1.21.14.3 src/sys/ufs/ufs/ufs_extattr.c

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



CVS commit: [netbsd-5] src/doc

2011-07-17 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sun Jul 17 15:36:33 UTC 2011

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Ticket 1645


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.93 -r1.1.2.94 src/doc/CHANGES-5.2

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



CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64

2011-07-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Jul 17 19:48:31 UTC 2011

Modified Files:
src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: aes.inc

Log Message:
Disable Clang's integrated assembler for the AES-NI files for now.
Somewhere in this mess of .byte streams, corruption happens. Disassembly
only shows slightly different filling of alignment sequences, further
analysis is needed.

XXX This should be rewritten to be proper assembler code


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aes.inc

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



CVS commit: src

2011-07-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Jul 17 20:07:59 UTC 2011

Modified Files:
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/bin/clang: Makefile
src/external/bsd/llvm/bin/llc: Makefile
src/external/bsd/llvm/bin/lli: Makefile
src/external/bsd/llvm/bin/llvm-mc: Makefile
src/external/bsd/llvm/config/llvm/Config: config.h llvm-config.h
src/external/bsd/llvm/lib: Makefile
src/external/bsd/llvm/lib/libLLVMARMCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc: Makefile
src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMPowerPCCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMSparcCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMX86CodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc: Makefile
Added Files:
src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc: Makefile
src/external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc: Makefile
src/external/bsd/llvm/lib/libLLVMSparcMCTargetDesc: Makefile
src/tools/llvm-lib/libLLVMMipsMCTargetDesc: Makefile
src/tools/llvm-lib/libLLVMPowerPCMCTargetDesc: Makefile
src/tools/llvm-lib/libLLVMSparcMCTargetDesc: Makefile

Log Message:
Update to Clang/LLVM r135360. Most importantly, this adjusts the
cc -print-search-dirs output to expand sysroot-prefixed library paths to
make live easier for libtool.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/llvm/bin/clang/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/llvm/bin/llc/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/bin/lli/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/llvm/bin/llvm-mc/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/config/llvm/Config/config.h
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/llvm/config/llvm/Config/llvm-config.h
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/llvm/lib/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libLLVMMipsMCTargetDesc/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libLLVMPowerPCMCTargetDesc/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libLLVMSparcMCTargetDesc/Makefile

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



CVS commit: src/lib/libc/db/btree

2011-07-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 17 20:47:39 UTC 2011

Modified Files:
src/lib/libc/db/btree: bt_debug.c

Log Message:
fix type punned warnings in debugging code.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/db/btree/bt_debug.c

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



CVS commit: src

2011-07-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Jul 17 20:54:55 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: ad.arm ad.armeb ad.hppa ad.m68k ad.mips
ad.mips64eb ad.mips64el ad.powerpc ad.sh3 md.acorn26 md.acorn32
md.algor md.alpha md.amd64 md.amiga md.amigappc md.arc md.atari
md.bebox md.cats md.cesfic md.cobalt md.dreamcast md.emips
md.evbarm md.evbmips md.evbppc md.evbsh3 md.ews4800mips md.hp300
md.hp700 md.hpcarm md.hpcmips md.hpcsh md.i386 md.ibmnws md.iyonix
md.landisk md.luna68k md.mac68k md.macppc md.mipsco md.mmeye
md.mvme68k md.mvmeppc md.netwinder md.news68k md.newsmips
md.next68k md.ofppc md.pmax md.prep md.rs6000 md.sandpoint
md.sbmips md.sgimips md.shark md.sparc md.sparc64 md.sun2 md.sun3
md.vax md.x68k md.zaurus mi
src/external/cddl/osnet/dev/fbt: fbt.c
src/external/cddl/osnet/dev/profile: profile.c
src/external/cddl/osnet/dev/systrace: systrace.c
src/external/cddl/osnet/dist/uts/common/sys: dtrace.h
src/external/cddl/osnet/sys/sys: cmn_err.h types.h varargs.h
zfs_context.h
src/include: Makefile err.h nsswitch.h stdio.h util.h wchar.h
src/include/ssp: stdio.h
src/lib/libc/gen: _err.c _errx.c _verr.c _verrx.c _vwarn.c _vwarnx.c
_warn.c _warnx.c verr.c verrx.c vwarn.c vwarnx.c
src/lib/libc/include: extern.h
src/lib/libc/stdio: local.h vasprintf.c vdprintf.c vprintf.c vscanf.c
vsnprintf.c vsnprintf_ss.c vsprintf.c vsscanf.c
src/lib/libcurses: curses.h printw.c scanw.c
src/share/man/man3: Makefile
src/share/man/man9: kprintf.9
src/sys/arch: Makefile
src/sys/arch/acorn26/include: Makefile
src/sys/arch/acorn32/include: Makefile
src/sys/arch/acorn32/stand/lib: riscosdisk.c
src/sys/arch/algor/include: Makefile
src/sys/arch/alpha/include: Makefile alpha.h ansi.h
src/sys/arch/alpha/stand/netboot: dev_net.c
src/sys/arch/amd64/amd64: db_disasm.c
src/sys/arch/amd64/include: Makefile ansi.h
src/sys/arch/amiga/dev: amidisplaycc.c
src/sys/arch/amiga/include: Makefile
src/sys/arch/amigappc/amigappc: machdep.c
src/sys/arch/arc/include: Makefile
src/sys/arch/arc/stand/boot: disk.c
src/sys/arch/arm/include: Makefile ansi.h
src/sys/arch/arm/ofw: openfirm.c
src/sys/arch/atari/dev: atari5380.c
src/sys/arch/atari/include: Makefile
src/sys/arch/atari/stand/tostools/libtos: libtos.h
src/sys/arch/bebox/stand/boot: sd.c wd.c
src/sys/arch/cats/include: Makefile
src/sys/arch/cesfic/include: Makefile
src/sys/arch/cobalt/include: Makefile
src/sys/arch/cobalt/stand/boot: wd.c
src/sys/arch/dreamcast/include: Makefile
src/sys/arch/emips/include: Makefile
src/sys/arch/emips/stand/common: ace.c printf.c raw.c
src/sys/arch/evbarm/include: Makefile
src/sys/arch/evbmips/include: Makefile
src/sys/arch/evbppc/mpc85xx: machdep.c
src/sys/arch/evbsh3/include: Makefile
src/sys/arch/ews4800mips/include: Makefile
src/sys/arch/hp300/include: Makefile
src/sys/arch/hp300/stand/common: ct.c netio.c rd.c sd.c
src/sys/arch/hp700/include: Makefile
src/sys/arch/hpc/stand/include/machine: ansi.h
src/sys/arch/hpcarm/include: Makefile
src/sys/arch/hpcmips/include: Makefile
src/sys/arch/hpcmips/stand/lcboot: dev_flash.c dev_net.c
src/sys/arch/hpcsh/include: Makefile
src/sys/arch/hppa/include: Makefile ansi.h
src/sys/arch/i386/i386: apmbios.c
src/sys/arch/i386/include: Makefile ansi.h
src/sys/arch/i386/stand/lib: biosdisk.c exec.c
src/sys/arch/i386/stand/netboot: dev_net.c
src/sys/arch/i386/stand/pxeboot: dev_net.c
src/sys/arch/ia64/disasm: disasm_extract.c
src/sys/arch/ia64/include: Makefile ansi.h
src/sys/arch/ia64/stand/common: dev_net.c panic.c
src/sys/arch/ia64/stand/efi/libefi: efifpswa.c efifs.c
src/sys/arch/iyonix/include: Makefile
src/sys/arch/landisk/include: Makefile
src/sys/arch/landisk/stand/boot: biosdisk.c
src/sys/arch/luna68k/include: Makefile
src/sys/arch/m68k/include: Makefile ansi.h
src/sys/arch/mac68k/dev: mac68k5380.c
src/sys/arch/mac68k/include: Makefile
src/sys/arch/macppc/stand/ofwboot: Locore.c
src/sys/arch/mips/include: Makefile ansi.h
src/sys/arch/mipsco/include: Makefile
src/sys/arch/mipsco/stand/common: saio.c
src/sys/arch/mmeye/include: Makefile
src/sys/arch/mmeye/stand/boot: wd.c
src/sys/arch/mvme68k/include: Makefile
src/sys/arch/mvme68k/stand/bootst: dev_tape.c
src/sys/arch/netwinder/include: Makefile
src/s

CVS commit: src/sys/ufs/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 17 22:00:38 UTC 2011

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

Log Message:
Fix typo in ufs_rmdir that causes locking botches. This code should be
unreachable because the FS-independent code contains the same test... but
I'm not sure if that applies if nfsd is involved.


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

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 17 22:02:27 UTC 2011

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

Log Message:
At the end of ufs_rmdir, don't use a dangling vnode pointer to call
fstrans_done. Ok hannken@


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

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 17 22:07:59 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_extern.h ufs_lookup.c ufs_wapbl.c

Log Message:
Provide correct locking for ufs_wapbl_rename. Note that this does not
fix the non-wapbl rename; that will be coming soon. This patch also
leaves a lot of the older locking-related code around in #if 0 blocks,
and there's a lot of leftover redundant logic. All that will be going
away later.

Relates to at least these PRs:

  PR kern/24887
  PR kern/41417
  PR kern/42093
  PR kern/43626

and possibly others.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.110 -r1.111 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/ufs/ufs_wapbl.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/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 17 22:14:47 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_wapbl.c

Log Message:
minor amendment to previous


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/ufs/ufs/ufs_wapbl.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/powerpc/booke/dev

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:08:56 UTC 2011

Modified Files:
src/sys/arch/powerpc/booke/dev: pq3cfi.c pq3nandfcm.c

Log Message:
#include  not .


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/powerpc/booke/dev/pq3cfi.c \
src/sys/arch/powerpc/booke/dev/pq3nandfcm.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/sparc

2011-07-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 17 23:18:23 UTC 2011

Modified Files:
src/sys/arch/sparc/dev: fd.c power.c
src/sys/arch/sparc/sparc: autoconf.c auxreg.c cpu.c cpuunit.c iommu.c
memecc.c timer.c timer_msiiep.c timer_sun4.c timer_sun4m.c
timervar.h

Log Message:
convert all the sparc drivers that attach on my ss20 to use device_t,
cfdata_t and CFATTACH_DECL_NEW().

fd/fdc could use better testing, but i'm pretty sure i got it right.


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/arch/sparc/dev/fd.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc/dev/power.c
cvs rdiff -u -r1.241 -r1.242 src/sys/arch/sparc/sparc/autoconf.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/sparc/sparc/auxreg.c
cvs rdiff -u -r1.232 -r1.233 src/sys/arch/sparc/sparc/cpu.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sparc/sparc/cpuunit.c
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/sparc/sparc/iommu.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sparc/sparc/memecc.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/sparc/sparc/timer.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sparc/sparc/timer_msiiep.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sparc/sparc/timer_sun4.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/sparc/sparc/timer_sun4m.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc/sparc/timervar.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

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:23:54 UTC 2011

Modified Files:
src/sys/arch/evbppc/include: types.h
src/sys/arch/macppc/include: types.h
src/sys/arch/mvmeppc/include: types.h
src/sys/arch/ofppc/include: types.h
src/sys/arch/powerpc/include: types.h
src/sys/arch/powerpc/oea: ofwoea_machdep.c
src/sys/arch/powerpc/powerpc: bus_dma.c
Removed Files:
src/sys/arch/evbppc/include: bus.h
src/sys/arch/macppc/include: bus.h
src/sys/arch/mvmeppc/include: bus.h
src/sys/arch/ofppc/include: bus.h
src/sys/arch/powerpc/include: bus.h

Log Message:
Enable new-style  on several PowerPC ports supporting PCI
buses.  Make non-inline implementations of bus_space(9) and bus_dma(9)
routines and move them to appropriate .c files.

This may leave amigappc in a bad state, sorry.  Fortunately, it will be
easy to repair by imitating the bus.h -> bus_{defs,funcs}.h split in
some other PowerPC port.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r0 src/sys/arch/evbppc/include/bus.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbppc/include/types.h
cvs rdiff -u -r1.26 -r0 src/sys/arch/macppc/include/bus.h
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/macppc/include/types.h
cvs rdiff -u -r1.6 -r0 src/sys/arch/mvmeppc/include/bus.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mvmeppc/include/types.h
cvs rdiff -u -r1.12 -r0 src/sys/arch/ofppc/include/bus.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/ofppc/include/types.h
cvs rdiff -u -r1.21 -r0 src/sys/arch/powerpc/include/bus.h
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/powerpc/include/types.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/powerpc/oea/ofwoea_machdep.c
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/powerpc/powerpc/bus_dma.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

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:27:02 UTC 2011

Modified Files:
src/sys/arch/bebox/include: types.h
src/sys/arch/ibmnws/include: types.h
src/sys/arch/prep/include: types.h
src/sys/arch/sandpoint/include: types.h
Removed Files:
src/sys/arch/bebox/include: bus.h

Log Message:
Switch more PowerPC ports having PCI support to new-style .


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r0 src/sys/arch/bebox/include/bus.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/bebox/include/types.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/ibmnws/include/types.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/prep/include/types.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sandpoint/include/types.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

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:29:10 UTC 2011

Modified Files:
src/sys/arch/sparc/include: types.h
src/sys/arch/sparc/sparc: machdep.c
src/sys/arch/sparc64/include: bus_defs.h bus_funcs.h
src/sys/arch/sparc64/sparc64: machdep.c
Removed Files:
src/sys/arch/sparc/include: bus.h
src/sys/arch/sparc64/include: bus.h

Log Message:
Switch sparc and sparc64 to new-style .


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r0 src/sys/arch/sparc/include/bus.h
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/sparc/include/types.h
cvs rdiff -u -r1.312 -r1.313 src/sys/arch/sparc/sparc/machdep.c
cvs rdiff -u -r1.61 -r0 src/sys/arch/sparc64/include/bus.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/include/bus_defs.h \
src/sys/arch/sparc64/include/bus_funcs.h
cvs rdiff -u -r1.260 -r1.261 src/sys/arch/sparc64/sparc64/machdep.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/hp700/include

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:32:21 UTC 2011

Modified Files:
src/sys/arch/hp700/include: Makefile types.h
Removed Files:
src/sys/arch/hp700/include: bus.h

Log Message:
Switch to new-style . hp700 releases are unbuildable for
reasons not related to my changes here, so I'm not 100% that a release
build will run to completion with these changes in place.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hp700/include/Makefile \
src/sys/arch/hp700/include/types.h
cvs rdiff -u -r1.16 -r0 src/sys/arch/hp700/include/bus.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/sparc/sparc

2011-07-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 17 23:32:37 UTC 2011

Modified Files:
src/sys/arch/sparc/sparc: auxiotwo.c clkctrl.c eeprom.c memreg.c
msiiep.c msiiepvar.h

Log Message:
convert all the "empty softc" (just "struct device") drivers to using
device_t/cfdata_t and CFATTACH_DECL_NEW().

the mspcic driver was also converted since it does not ever touch the
sc_dev it used to have in there.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc/sparc/auxiotwo.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc/sparc/clkctrl.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sparc/sparc/eeprom.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/sparc/sparc/memreg.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/sparc/sparc/msiiep.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sparc/sparc/msiiepvar.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/sparc/sparc

2011-07-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 17 23:34:17 UTC 2011

Modified Files:
src/sys/arch/sparc/sparc: msiiep.c

Log Message:
actually use CFATTACH_DECL_NEW() and device_private() for mspcic.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/sparc/sparc/msiiep.c

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



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

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:37:33 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: md.hp700 md.sparc64

Log Message:
Update set lists for changes related to new-style .

While I'm here, repair sparc64 set list.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/comp/md.hp700
cvs rdiff -u -r1.110 -r1.111 src/distrib/sets/lists/comp/md.sparc64

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



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

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:38:32 UTC 2011

Modified Files:
src/sys/arch/x86/include: Makefile
Removed Files:
src/sys/arch/x86/include: bus.h

Log Message:
Good-bye bus.h.  Don't install .


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/include/Makefile
cvs rdiff -u -r1.20 -r0 src/sys/arch/x86/include/bus.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/algor/conf

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:39:47 UTC 2011

Modified Files:
src/sys/arch/algor/conf: P4032 P5064

Log Message:
Increase SYMTAB_SPACE.  How do we automate this?


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/algor/conf/P4032
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/algor/conf/P5064

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



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

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:40:16 UTC 2011

Modified Files:
src/sys/arch/atari/include: types.h
Removed Files:
src/sys/arch/atari/include: bus.h

Log Message:
Switch to new-style .


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r0 src/sys/arch/atari/include/bus.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/atari/include/types.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/evbmips/conf

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:40:43 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY

Log Message:
Increase SYMTAB_SPACE.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/evbmips/conf/ALCHEMY

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



CVS commit: src/sys/arch

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:46:50 UTC 2011

Modified Files:
src/sys/arch/arm/include: types.h
src/sys/arch/cats/include: Makefile types.h
src/sys/arch/evbarm/include: Makefile types.h
src/sys/arch/iyonix/include: Makefile types.h
src/sys/arch/netwinder/include: types.h
Removed Files:
src/sys/arch/arm/include: bus.h
src/sys/arch/cats/include: bus.h
src/sys/arch/evbarm/include: bus.h
src/sys/arch/iyonix/include: bus.h
src/sys/arch/netwinder/include: bus.h

Log Message:
On ARM-ish ports having PCI support, use new-style .  Do not
install .  Remove various  sources.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r0 src/sys/arch/arm/include/bus.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/include/types.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/cats/include/Makefile
cvs rdiff -u -r1.3 -r0 src/sys/arch/cats/include/bus.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/cats/include/types.h
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/include/Makefile
cvs rdiff -u -r1.1 -r0 src/sys/arch/evbarm/include/bus.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbarm/include/types.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/iyonix/include/Makefile
cvs rdiff -u -r1.2 -r0 src/sys/arch/iyonix/include/bus.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/iyonix/include/types.h
cvs rdiff -u -r1.3 -r0 src/sys/arch/netwinder/include/bus.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/netwinder/include/types.h

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



CVS commit: src/sbin/route

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 17 23:46:54 UTC 2011

Modified Files:
src/sbin/route: route.8

Log Message:
prune stray commas


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sbin/route/route.8

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



CVS commit: src/sys/arch

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:48:35 UTC 2011

Modified Files:
src/sys/arch/landisk/include: types.h
src/sys/arch/sh3/include: types.h
Removed Files:
src/sys/arch/landisk/include: bus.h
src/sys/arch/sh3/include: bus.h

Log Message:
Switch to new-style .


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r0 src/sys/arch/landisk/include/bus.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/landisk/include/types.h
cvs rdiff -u -r1.18 -r0 src/sys/arch/sh3/include/bus.h
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/sh3/include/types.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/sbmips/include

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:49:47 UTC 2011

Modified Files:
src/sys/arch/sbmips/include: types.h
Removed Files:
src/sys/arch/sbmips/include: bus.h

Log Message:
Switch to new-style .


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/sys/arch/sbmips/include/bus.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sbmips/include/types.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/man4

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 17 23:50:05 UTC 2011

Modified Files:
src/share/man/man4: mpls.4

Log Message:
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/mpls.4

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



CVS commit: src/sys/arch

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:52:12 UTC 2011

Modified Files:
src/sys/arch/arm/include: Makefile
src/sys/arch/sh3/include: Makefile

Log Message:
Do not install bus.h.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/arm/include/Makefile
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sh3/include/Makefile

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



CVS commit: src/sys/arch

2011-07-17 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Sun Jul 17 23:53:41 UTC 2011

Modified Files:
src/sys/arch/landisk/include: Makefile
src/sys/arch/netwinder/include: Makefile
src/sys/arch/sbmips/include: Makefile

Log Message:
Do not install bus.h.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/landisk/include/Makefile
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/netwinder/include/Makefile
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sbmips/include/Makefile

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



CVS commit: src/sys/compat/linux/common

2011-07-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 17 23:59:55 UTC 2011

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

Log Message:
fail early on socket domain+type combinations we don't support


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/compat/linux/common/linux_socket.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/sparc/dev

2011-07-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 18 00:05:35 UTC 2011

Modified Files:
src/sys/arch/sparc/dev: cgeight.c cgfour.c cgtwo.c

Log Message:
convert to use device_t, cfdata_t and CFATTACH_DECL_NEW().

XXX: compile time tested only.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/sparc/dev/cgeight.c
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/sparc/dev/cgfour.c
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/sparc/dev/cgtwo.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/sparc/dev

2011-07-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 18 00:31:13 UTC 2011

Modified Files:
src/sys/arch/sparc/dev: bootbus.c cgsix_obio.c ebus.c rtc.c tctrl.c
vme_machdep.c

Log Message:
convert the remaining sparc drivers to CFATTACH_DECL_NEW/cfdata_t/device_t.
(cgsix_obio.c was only partially converted with the rest of the cgsix code
when it was changed some time ago.)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sparc/dev/bootbus.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/sparc/dev/cgsix_obio.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/sparc/dev/ebus.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc/dev/rtc.c
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/sparc/dev/tctrl.c
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/sparc/dev/vme_machdep.c

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



CVS commit: src/external/cddl/osnet/dev/dtrace/amd64

2011-07-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 18 00:42:40 UTC 2011

Modified Files:
src/external/cddl/osnet/dev/dtrace/amd64: dis_tables.c

Log Message:
fix uninitialized gcc variables


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/cddl/osnet/dev/dtrace/amd64/dis_tables.c

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



CVS commit: src/external/cddl/osnet/dist/uts/common/dtrace

2011-07-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 18 00:43:35 UTC 2011

Modified Files:
src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c

Log Message:
fix gcc uninitialized warnings


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.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

2011-07-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 18 00:58:52 UTC 2011

Modified Files:
src/sys/dev/ic: cd18xxvar.h midway.c midwayvar.h
src/sys/dev/pci: if_en_pci.c
src/sys/dev/sbus: if_en.c qe.c sio16.c spif.c spifvar.h stp4020.c
xbox.c

Log Message:
convert the remaining dev/sbus drivers to CFATTACH_DECL_NEW, cfdata_t
and device_t, including the pci frontend and backend for en(4).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/cd18xxvar.h
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/ic/midway.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ic/midwayvar.h
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/if_en_pci.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/sbus/if_en.c
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/sbus/qe.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/sbus/sio16.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/sbus/spif.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/sbus/spifvar.h
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/sbus/stp4020.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/sbus/xbox.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/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 01:13:33 UTC 2011

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

Log Message:
Fix error path for UFS_WAPBL_BEGIN failure to avoid leaking an vnode
(in memory) and inode (on disk). Caution: untested; I have no idea how
to provoke such a failure.


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

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 01:14:04 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_wapbl.c

Log Message:
In ufs_wapbl_rename, remove #if 0 blocks and remove code for
now-impossible cases.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/ufs/ufs/ufs_wapbl.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/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 01:14:27 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_wapbl.c

Log Message:
More rename tidying.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/ufs/ufs/ufs_wapbl.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/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 01:52:55 UTC 2011

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

Log Message:
Add the long essay on rename locking from my earlier patch set as a
big comment, and expand it some for clarity.


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 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/libperfuse

2011-07-17 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Jul 18 02:14:01 UTC 2011

Modified Files:
src/lib/libperfuse: ops.c

Log Message:
ftruncate(2) cause a SETATTR with only va_size set, and some filesystems
(e.g.: glusterfs) will do a custom handling in such a situation. This
breaks because libpuffs folds a metadata (va_atime and va_mtime) update
in each SETATTR. We try to identify SETATTR caused by ftruncate(2) and
remove va_atime and va_mtime in such situation.

This fixes a bug with glusterfs, where parts of a file downloaded by
FTP was filled with zeros because of a ftruncate(2) sent out of order
with write(2) requests. glusterfs behavior depends on the undocumented
FUSE rule that ftruncate(2) will only set va_size in SETATTR.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libperfuse/ops.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/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 02:35:11 UTC 2011

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

Log Message:
ok, it is clear that at least vput(vp) needs to go before fstrans_done().
I hoping vput(dvp) doesn't, because if it does that will vastly complicate
future vfs locking cleanup.


To generate a diff of this commit:
cvs rdiff -u -r1.197 -r1.198 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/external/cddl/osnet/dist/uts/common/dtrace

2011-07-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 18 02:47:52 UTC 2011

Modified Files:
src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c

Log Message:
better fix for gcc uninitialized.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c

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



CVS commit: src/tests/lib/libc/sys

2011-07-17 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 18 04:29:37 UTC 2011

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

Log Message:
Verify that dup2(2) and dup3(2) fail with EBADF if the "new descriptor" is
specified to be larger than RLIMIT_NOFILE.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_dup.c

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



CVS commit: src/share/man/man9

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 04:39:28 UTC 2011

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

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/share/man/man9/vnodeops.9

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



CVS commit: src/lib/libc/stdio

2011-07-17 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 18 05:17:16 UTC 2011

Modified Files:
src/lib/libc/stdio: fopen.3

Log Message:
Use a list for clarity, update standards, etc.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/stdio/fopen.3

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



CVS commit: src/sys/dev/usb

2011-07-17 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 18 05:57:40 UTC 2011

Modified Files:
src/sys/dev/usb: if_zyd.c

Log Message:
Use __arraycount(3).


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/if_zyd.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/usb

2011-07-17 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 18 06:30:49 UTC 2011

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add MSI MegaSky DVB-T dongle.


To generate a diff of this commit:
cvs rdiff -u -r1.582 -r1.583 src/sys/dev/usb/usbdevs

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



CVS commit: src/sys/dev/usb

2011-07-17 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 18 06:31:59 UTC 2011

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.575 -r1.576 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.576 -r1.577 src/sys/dev/usb/usbdevs_data.h

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



CVS commit: src/sys/ufs/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 06:45:28 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_vnops.c ufs_wapbl.c

Log Message:
Move ufs_wapbl_rename to ufs_vnops.c next to the old ufs_rename.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -u -r1.20 -r1.21 src/sys/ufs/ufs/ufs_wapbl.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/ufs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 06:45:47 UTC 2011

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

Log Message:
Eliminate the old ufs_rename. The only reason the WAPBL one was
different is that in order to avoid issues with the WAPBL journal lock
the wrong locking had to be changed to different wrong locking. This
is now moot.

I have not hand-validated that the current two copies of rename are
equivalent, or that the locking fixes merged with the old rename
produce code that is textually identical (modulo WAPBL calls that do
nothing when WAPBL is turned off) to the WAPBL rename... but I did
this check when preparing my previous round of rename patches last
year and all updates since have been applied to both.


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

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 06:46:05 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_wapbl.c

Log Message:
Remove some unneeded rename-related static const data.
(Why didn't gcc warn that this was unused?)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/ufs/ufs_wapbl.c

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



CVS commit: src/tests/fs/vfs

2011-07-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 18 06:47:08 UTC 2011

Modified Files:
src/tests/fs/vfs: t_renamerace.c

Log Message:
ffs and ffslog are no longer xfail.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/tests/fs/vfs/t_renamerace.c

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