CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2012-01-28 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jan 28 08:05:03 UTC 2012

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: mips_machdep.c

Log Message:
Fix mm_md_direct_mapped_phys


To generate a diff of this commit:
cvs rdiff -u -r1.205.4.1.2.1.2.61 -r1.205.4.1.2.1.2.62 \
src/sys/arch/mips/mips/mips_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/dev/ic

2012-01-28 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Sat Jan 28 08:29:55 UTC 2012

Modified Files:
src/sys/dev/ic: dm9000.c dm9000reg.h dm9000var.h

Log Message:
- add DM9000 internal PHY manipulating routines.
- now capable of auto-negotiation, use this as default media selection.
- add multicast filter support.
- code cleanup.

Code update from Paul Fleischer.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/dm9000.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/dm9000reg.h \
src/sys/dev/ic/dm9000var.h

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



CVS commit: src/sys

2012-01-28 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Sat Jan 28 08:37:22 UTC 2012

Modified Files:
src/sys/conf: files
Added Files:
src/sys/dev/ic: uda1341.c uda1341reg.h uda1341var.h

Log Message:
Add UDA1341TS audio CODEC support.  Code is written by
Paul Fleischer.


To generate a diff of this commit:
cvs rdiff -u -r1.1039 -r1.1040 src/sys/conf/files
cvs rdiff -u -r0 -r1.1 src/sys/dev/ic/uda1341.c src/sys/dev/ic/uda1341reg.h \
src/sys/dev/ic/uda1341var.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/x86/x86

2012-01-28 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Sat Jan 28 08:57:09 UTC 2012

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
Fix pae xen build.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/x86/x86/pmap.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc/config/vax

2012-01-28 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jan 28 11:24:05 UTC 2012

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/vax: elf.h

Log Message:
Pull in revision 1.4 from src/gnu/dist/gcc4/gcc/config/vax/elf.h:

  Emit DWARF relocation in its expected form

PR toolchain/43314


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/config/vax/elf.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/xen/x86

2012-01-28 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Sat Jan 28 12:15:19 UTC 2012

Modified Files:
src/sys/arch/xen/x86: cpu.c

Log Message:
Update comments to remove references to alternate pte space.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/xen/x86/cpu.c

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



CVS commit: src/lib/csu/arch/sh3

2012-01-28 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jan 28 12:21:14 UTC 2012

Modified Files:
src/lib/csu/arch/sh3: crt0.S

Log Message:
Asm cosmetic.  Add a comment that explains what this trampoline does.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/sh3/crt0.S

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



CVS commit: src/sys

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 12:22:34 UTC 2012

Modified Files:
src/sys/kern: kern_sleepq.c kern_synch.c
src/sys/rump/librump/rumpkern: ltsleep.c
src/sys/sys: proc.h

Log Message:
Remove obsolete ltsleep(9) and wakeup_one(9).


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/kern/kern_sleepq.c
cvs rdiff -u -r1.296 -r1.297 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.28 -r1.29 src/sys/rump/librump/rumpkern/ltsleep.c
cvs rdiff -u -r1.313 -r1.314 src/sys/sys/proc.h

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



CVS commit: src/tests/rump/kernspace

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 12:23:56 UTC 2012

Modified Files:
src/tests/rump/kernspace: tsleep.c

Log Message:
tsleep(9) no more.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/rump/kernspace/tsleep.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

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 12:27:31 UTC 2012

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

Log Message:
Welcome to 5.99.61: major UVM/kmem/vmem changes, tsleep and wakeup_one removal.


To generate a diff of this commit:
cvs rdiff -u -r1.403 -r1.404 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/lib/csu/arch/sh3

2012-01-28 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jan 28 12:44:19 UTC 2012

Modified Files:
src/lib/csu/arch/sh3: crti.S

Log Message:
Add a comment that explains what this code does.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/sh3/crti.S

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



CVS commit: src/lib/csu/arch/sh3

2012-01-28 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jan 28 12:45:43 UTC 2012

Modified Files:
src/lib/csu/arch/sh3: crtn.S

Log Message:
Add a comment that explains what this code does.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/sh3/crtn.S

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

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 13:12:52 UTC 2012

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

Log Message:
Update ltsleep(9) man page.


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

2012-01-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Jan 28 13:26:12 UTC 2012

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

Log Message:
Fix word duplication in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/ltsleep.9

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



CVS commit: src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++

2012-01-28 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jan 28 14:21:52 UTC 2012

Modified Files:
src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++: exception_ptr.h

Log Message:
Merge r171807 from upstream:
exception_ptr.h needs the forward declaration because it's
included from  before  defines std::type_info.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/exception_ptr.h

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



CVS commit: src/external/gpl3/gcc/lib/libgomp

2012-01-28 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jan 28 14:24:53 UTC 2012

Modified Files:
src/external/gpl3/gcc/lib/libgomp: Makefile

Log Message:
Disable -Wconversion for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/libgomp/Makefile

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



CVS commit: src/sys/uvm

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 14:37:35 UTC 2012

Modified Files:
src/sys/uvm: uvm_object.h

Log Message:
Describe UVM object and explain lock sharing a little.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/uvm/uvm_object.h

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



CVS commit: src/sbin/ifconfig

2012-01-28 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sat Jan 28 15:01:44 UTC 2012

Modified Files:
src/sbin/ifconfig: ifconfig.8 ifconfig.c

Log Message:
When ifconfig is invoked without any arguments, display the list of
all network interfaces (equivalent to ifconfig -a), instead of displaying
the usage.  (This is consistent with the behaviour on FreeBSD and OpenBSD.)


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sbin/ifconfig/ifconfig.8
cvs rdiff -u -r1.226 -r1.227 src/sbin/ifconfig/ifconfig.c

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



CVS commit: src/lib/csu/arch/sh3

2012-01-28 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jan 28 15:08:47 UTC 2012

Added Files:
src/lib/csu/arch/sh3: crtend.S

Log Message:
Steal arch/i386/crtend.S


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/lib/csu/arch/sh3/crtend.S

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

2012-01-28 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 28 15:10:24 UTC 2012

Modified Files:
src/distrib/sets/lists/base: mi

Log Message:
Add new directories for trousers to sets lists.  The directories get
created even if they're not populated.

Hello again, christos!


To generate a diff of this commit:
cvs rdiff -u -r1.977 -r1.978 src/distrib/sets/lists/base/mi

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



CVS commit: src/sys/uvm

2012-01-28 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jan 28 15:43:34 UTC 2012

Modified Files:
src/sys/uvm: uvm_page.c

Log Message:
Replace locking checks with uvm_page_locked_p.


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 src/sys/uvm/uvm_page.c

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



CVS commit: src/crypto/external/cpl/tpm-tools/dist/man/man8

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 16:03:46 UTC 2012

Modified Files:
src/crypto/external/cpl/tpm-tools/dist/man/man8: tpm_changeownerauth.8

Log Message:
remove stray .TP


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/cpl/tpm-tools/dist/man/man8/tpm_changeownerauth.8

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



CVS commit: src/crypto/external/cpl/tpm-tools

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 16:04:15 UTC 2012

Added Files:
src/crypto/external/cpl/tpm-tools: Makefile Makefile.inc
src/crypto/external/cpl/tpm-tools/bin: Makefile Makefile.inc
Makefile.prog
src/crypto/external/cpl/tpm-tools/bin/tpm_changeownerauth: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_clear: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_createek: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_getpubek: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_nvdefine: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_nvinfo: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_nvread: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_nvrelease: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_nvwrite: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_resetdalock: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_restrictpubek: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_restrictsrk: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_revokeek: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_sealdata: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_selftest: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_setactive: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_setclearable: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_setenable: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_setoperatorauth: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_setownable: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_setpresence: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_takeownership: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_unsealdata: Makefile
src/crypto/external/cpl/tpm-tools/bin/tpm_version: Makefile
src/crypto/external/cpl/tpm-tools/lib: Makefile Makefile.inc
src/crypto/external/cpl/tpm-tools/lib/libtpm_unseal: Makefile
src/crypto/external/cpl/tpm-tools/lib/libtpm_utils: Makefile

Log Message:
Add build glue: no pkcs11 yes.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/crypto/external/cpl/tpm-tools/Makefile \
src/crypto/external/cpl/tpm-tools/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/crypto/external/cpl/tpm-tools/bin/Makefile \
src/crypto/external/cpl/tpm-tools/bin/Makefile.inc \
src/crypto/external/cpl/tpm-tools/bin/Makefile.prog
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_changeownerauth/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_clear/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_createek/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_getpubek/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_nvdefine/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_nvinfo/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_nvread/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_nvrelease/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_nvwrite/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_resetdalock/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_restrictpubek/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_restrictsrk/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_revokeek/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_sealdata/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_selftest/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_setactive/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_setclearable/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_setenable/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_setoperatorauth/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_setownable/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_setpresence/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_takeownership/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_unsealdata/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/bin/tpm_version/Makefile
cvs rdiff -u -r0 -r1.1 src/crypto/external/cpl/tpm-tools/lib/Makefile \
src/crypto/external/cpl/tpm-tools/lib/Makefile.inc
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools/lib/libtpm_unseal/Makefile
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/cpl/tpm-tools

CVS commit: src/crypto/external/cpl/tpm-tools/include

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 16:05:20 UTC 2012

Added Files:
src/crypto/external/cpl/tpm-tools/include: config.h

Log Message:
Add configuration glue


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/crypto/external/cpl/tpm-tools/include/config.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/arm32

2012-01-28 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jan 28 16:16:41 UTC 2012

Modified Files:
src/sys/arch/arm/arm32: pmap.c

Log Message:
Since we don't do MULTIPROCESSOR, and hence preemption, locking the pvlists
doesn't really matter.


To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/sys/arch/arm/arm32/pmap.c

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



CVS commit: src/sys/fs/hfs

2012-01-28 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jan 28 16:24:35 UTC 2012

Modified Files:
src/sys/fs/hfs: hfs.h

Log Message:
Include sys/malloc.h for MALLOC_DECLARE.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/hfs/hfs.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

2012-01-28 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jan 28 16:30:23 UTC 2012

Modified Files:
src/sys/arch/alpha/alpha: vm_machdep.c
src/sys/arch/powerpc/powerpc: vm_machdep.c

Log Message:
Typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/alpha/alpha/vm_machdep.c
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/powerpc/powerpc/vm_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/kern

2012-01-28 Thread Lars Heidieker
Module Name:src
Committed By:   para
Date:   Sat Jan 28 18:02:56 UTC 2012

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

Log Message:
replacing malloc(9) with kmem(9)
wapbl_entries get there own pool, they are freed from softint context

ok: rmind@


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/kern/vfs_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/uvm

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 19:12:10 UTC 2012

Modified Files:
src/sys/uvm: uvm_page.h

Log Message:
Improve description on struct vm_page and explain locking a little bit more.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/uvm/uvm_page.h

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



CVS commit: src/doc

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 19:43:48 UTC 2012

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
document tpm-tools


To generate a diff of this commit:
cvs rdiff -u -r1.901 -r1.902 src/doc/3RDPARTY
cvs rdiff -u -r1.1656 -r1.1657 src/doc/CHANGES

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



CVS commit: src/doc

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 19:49:33 UTC 2012

Modified Files:
src/doc: CHANGES

Log Message:
Mention direct map for amd64, UVM/kmem/vmem improvements and ltsleep() removal.


To generate a diff of this commit:
cvs rdiff -u -r1.1657 -r1.1658 src/doc/CHANGES

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



CVS commit: src/share/mk

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 21:32:14 UTC 2012

Modified Files:
src/share/mk: bsd.README bsd.lib.mk bsd.sys.mk

Log Message:
Provide a way to override the default objcopy flags for library modules.


To generate a diff of this commit:
cvs rdiff -u -r1.290 -r1.291 src/share/mk/bsd.README
cvs rdiff -u -r1.318 -r1.319 src/share/mk/bsd.lib.mk
cvs rdiff -u -r1.210 -r1.211 src/share/mk/bsd.sys.mk

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



CVS commit: src/lib/libpam/modules

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 21:34:22 UTC 2012

Modified Files:
src/lib/libpam/modules: mod.mk

Log Message:
Use -X so that the link-set symbols are not stripped.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libpam/modules/mod.mk

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



CVS commit: src/distrib/notes/sandpoint

2012-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Jan 28 21:48:01 UTC 2012

Modified Files:
src/distrib/notes/sandpoint: prep

Log Message:
Use MAX3232 instead of MAX232 for the serial converter.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/notes/sandpoint/prep

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



CVS commit: src/distrib/notes/sandpoint

2012-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Jan 28 21:48:32 UTC 2012

Modified Files:
src/distrib/notes/sandpoint: hardware

Log Message:
Update list of supported NAS products.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/notes/sandpoint/hardware

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



CVS commit: src/external/bsd/openpam/dist/include/security

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 21:52:14 UTC 2012

Modified Files:
src/external/bsd/openpam/dist/include/security: openpam.h

Log Message:
fix the link_set name.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/openpam/dist/include/security/openpam.h

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



CVS commit: src/lib/libpam/modules

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 21:54:26 UTC 2012

Modified Files:
src/lib/libpam/modules: mod.mk

Log Message:
remove unneeded change


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libpam/modules/mod.mk

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



CVS commit: src/sys/kern

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 23:05:48 UTC 2012

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

Log Message:
- Make subr_vmem.c compile as standalone again.
- Reduce some #ifdefs.


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

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



CVS commit: src/sys

2012-01-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Jan 28 23:09:07 UTC 2012

Modified Files:
src/sys/kern: kern_malloc.c subr_kmem.c
src/sys/sys: kmem.h

Log Message:
- Instead of kmem_cache_max, calculate max index and avoid a shift.
- Use __read_mostly and __cacheline_aligned.
- Make kmem_{intr_alloc,free} public.
- Misc.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/kern/kern_malloc.c
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/subr_kmem.c
cvs rdiff -u -r1.7 -r1.8 src/sys/sys/kmem.h

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



CVS commit: src/share/mk

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 23:13:24 UTC 2012

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

Log Message:
rename to OBJCOPYLIBFLAGS


To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.320 src/share/mk/bsd.lib.mk

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



CVS commit: src/external/public-domain/sqlite/dist

2012-01-28 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jan 28 23:51:07 UTC 2012

Update of /cvsroot/src/external/public-domain/sqlite/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv21691

Log Message:
Update to sqlite 3.7.10:
- Default schema format changed to version 4
- Various bugfixes and improvements.

Status:

Vendor Tag: SQLITE
Release Tags:   sqlite-3-7-10

U src/external/public-domain/sqlite/dist/sqlite3ext.h
C src/external/public-domain/sqlite/dist/sqlite3.c
U src/external/public-domain/sqlite/dist/shell.c
U src/external/public-domain/sqlite/dist/sqlite3.h

1 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jSQLITE:yesterday -jSQLITE 
src/external/public-domain/sqlite/dist



CVS commit: src/external/public-domain/sqlite/dist

2012-01-28 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jan 28 23:55:37 UTC 2012

Modified Files:
src/external/public-domain/sqlite/dist: sqlite3.c

Log Message:
Merge Sqlite 3.7.10.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/public-domain/sqlite/dist/sqlite3.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/shark/conf

2012-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 29 00:50:59 UTC 2012

Modified Files:
src/sys/arch/shark/conf: GENERIC

Log Message:
Bump SYMTAB_SPACE


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/shark/conf/GENERIC

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



CVS commit: src

2012-01-28 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sun Jan 29 00:58:14 UTC 2012

Modified Files:
src/sbin/fsck_ffs: setup.c
src/sys/ufs/ffs: ffs_vfsops.c

Log Message:
use FS_UFS[12]_MAGIC_SWAPPED instead of bswap32(FS_UFS[12]_MAGIC).


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sbin/fsck_ffs/setup.c
cvs rdiff -u -r1.274 -r1.275 src/sys/ufs/ffs/ffs_vfsops.c

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



CVS commit: src

2012-01-28 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Sun Jan 29 06:22:02 UTC 2012

Modified Files:
src/lib/libperfuse: debug.c ops.c perfuse_priv.h subr.c
src/usr.sbin/perfused: perfused.8 perfused.c perfused.h

Log Message:
Improve FUSE trace facility


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libperfuse/debug.c
cvs rdiff -u -r1.49 -r1.50 src/lib/libperfuse/ops.c
cvs rdiff -u -r1.24 -r1.25 src/lib/libperfuse/perfuse_priv.h
cvs rdiff -u -r1.14 -r1.15 src/lib/libperfuse/subr.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/perfused/perfused.8
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/perfused/perfused.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/perfused/perfused.h

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



CVS commit: src

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:23:21 UTC 2012

Modified Files:
src/sys/compat/common: vfs_syscalls_50.c
src/sys/ufs/ufs: quota1.h quota1_subr.c ufs_quota1.c
src/usr.sbin/edquota: edquota.c

Log Message:
Change dqblk_to_quotaval() from quota1_subr.c to dqblk_to_quotavals(),
and pass in two single quotaval structs (for blocks and inodes)
instead of an array of (implicitly) QUOTA_NLIMITS quotaval structs
indexed by constants from quotaprop.h.

Note: because this code is used by COMPAT_50 as well as ufs, this
change requires a kernel version bump. (The code is also used by
edquota, but via .PATH so it's not ABI-sensitive there.)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/common/vfs_syscalls_50.c
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/ufs/quota1.h
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/ufs/quota1_subr.c \
src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.41 -r1.42 src/usr.sbin/edquota/edquota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:26:55 UTC 2012

Modified Files:
src/sys/conf: files
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs
Added Files:
src/sys/kern: vfs_quotactl.c

Log Message:
Add vfs_quotactl.c. This is where filesystem-independent quota
handling will go.


To generate a diff of this commit:
cvs rdiff -u -r1.1040 -r1.1041 src/sys/conf/files
cvs rdiff -u -r0 -r1.1 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.31 -r1.32 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:29:05 UTC 2012

Modified Files:
src/sys/compat/common: vfs_syscalls_50.c
src/sys/compat/netbsd32: netbsd32_netbsd.c
src/sys/kern: vfs_quotactl.c vfs_syscalls.c
src/sys/sys: mount.h

Log Message:
Add vfs_quotactl() in between the syscall and VFS_QUOTACTL. Call it
from the COMPAT_50 code as well as the current sys_quotactl instead
of going directly to VFS_QUOTACTL. Doesn't actually do anything yet.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/common/vfs_syscalls_50.c
cvs rdiff -u -r1.175 -r1.176 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.442 -r1.443 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.201 -r1.202 src/sys/sys/mount.h

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:32:44 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c vfs_subr.c
src/sys/miscfs/genfs: layer_extern.h layer_vfsops.c
src/sys/sys: mount.h
src/sys/ufs/ufs: ufs_extern.h ufs_vfsops.c

Log Message:
Move the code for iterating over the multiple RPC calls in a quota
proplib XML packet to vfs_quotactl.c out of sys/ufs/ufs.

Add a dummy extra arg to VFS_QUOTACTL for compile safety.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.426 -r1.427 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.29 -r1.30 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -u -r1.34 -r1.35 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.202 -r1.203 src/sys/sys/mount.h
cvs rdiff -u -r1.66 -r1.67 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.43 -r1.44 src/sys/ufs/ufs/ufs_vfsops.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:33:51 UTC 2012

Added Files:
src/sys/sys: quotactl.h

Log Message:
Add sys/quotactl.h. This will hold the definitions for quotactl, which
are not supposed to be exposed to applications. (Only to libquota.)

So far it doesn't actually contain anything yet.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/sys/quotactl.h

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:34:59 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c vfs_subr.c
src/sys/miscfs/genfs: layer_extern.h layer_vfsops.c
src/sys/sys: mount.h quotactl.h
src/sys/ufs/ufs: ufs_extern.h ufs_quota.c ufs_vfsops.c

Log Message:
Move the proplib-based quota command dispatching (that is, the code
that knows the magic string names for the allowed actions) out of
UFS-specific code and to fs-independent code.

This introduces QUOTACTL_* operation codes and changes the signature
of VFS_QUOTACTL() again for compile safety.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.427 -r1.428 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.30 -r1.31 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -u -r1.35 -r1.36 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.203 -r1.204 src/sys/sys/mount.h
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/quotactl.h
cvs rdiff -u -r1.67 -r1.68 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.70 -r1.71 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.44 -r1.45 src/sys/ufs/ufs/ufs_vfsops.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:36:07 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c vfs_subr.c
src/sys/miscfs/genfs: layer_extern.h layer_vfsops.c
src/sys/sys: mount.h quotactl.h
src/sys/ufs/ufs: ufs_extern.h ufs_quota.c ufs_vfsops.c

Log Message:
Introduce struct vfs_quotactl_args. Use it.

This change uglifies vfs_quotactl some in order to make room for
moving operation-specific but FS-independent logic out of ufs_quota.c.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.428 -r1.429 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.31 -r1.32 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -u -r1.36 -r1.37 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.204 -r1.205 src/sys/sys/mount.h
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/quotactl.h
cvs rdiff -u -r1.68 -r1.69 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.71 -r1.72 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.45 -r1.46 src/sys/ufs/ufs/ufs_vfsops.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:36:51 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move proplib frobbing for QUOTACTL_GETVERSION to FS-independent code.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.3 -r1.4 src/sys/sys/quotactl.h
cvs rdiff -u -r1.72 -r1.73 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:37:30 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move first-layer proplib frobbing for QUOTACTL_GET to FS-independent code.
(step 1 of several)

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.4 -r1.5 src/sys/sys/quotactl.h
cvs rdiff -u -r1.73 -r1.74 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:38:24 UTC 2012

Modified Files:
src/include: quota.h
src/sys/sys: quota.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Move second-layer proplib frobbing within ufs quota code up to the
first layer. (Step 2 of several for QUOTACTL_GET.)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/include/quota.h
cvs rdiff -u -r1.7 -r1.8 src/sys/sys/quota.h
cvs rdiff -u -r1.74 -r1.75 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:39:37 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move what was second-layer proplib frobbing for QUOTACTL_GET to
FS-independent code. (Step 3 of probably 5 for QUOTACTL_GET.)

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.5 -r1.6 src/sys/sys/quotactl.h
cvs rdiff -u -r1.75 -r1.76 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:40:58 UTC 2012

Modified Files:
src/include: quota.h
src/sys/kern: vfs_quotactl.c
src/sys/sys: quota.h quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Per the FS-independent schema, get one quotaval at a time from the
filesystem, instead of blocks and files together.

This results in fetching each FS-level quota entry twice and therefore
doing slightly more work, but (1) quota access isn't a critical path
and (2) after fetching the block values the file values will be hot in
the cache, so it won't add much total time.

Also move more of the FS-independent defintions from  to
 so we can use them internally.

Step 4 of 5 for QUOTACTL_GET.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/include/quota.h
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/quota.h
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/quotactl.h
cvs rdiff -u -r1.76 -r1.77 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.8 -r1.9 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:41:42 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Use struct quotakey with QUOTACTL_GET. Tidy up accordingly.

Step 5 of 5 for QUOTACTL_GET.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.7 -r1.8 src/sys/sys/quotactl.h
cvs rdiff -u -r1.77 -r1.78 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.9 -r1.10 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:42:14 UTC 2012

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

Log Message:
Whitespace.


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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:43:34 UTC 2012

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

Log Message:
Improve comments.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/sys/quota.h

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:44:33 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move the top level iteration for QUOTACTL_SET from ufs to vfs_quotactl.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/quotactl.h
cvs rdiff -u -r1.79 -r1.80 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:45:26 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota1.c

Log Message:
Provide quota info to QUOTACTL_SET as two struct quotaval points
as well as via proplib.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.9 -r1.10 src/sys/sys/quotactl.h
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/ufs/ufs_quota1.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:46:17 UTC 2012

Modified Files:
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c

Log Message:
For QUOTACTL_SET in quota1, use the quotaval data instead of proplib.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.11 -r1.12 src/sys/ufs/ufs/ufs_quota1.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:46:50 UTC 2012

Modified Files:
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
For QUOTACTL_SET in quota2, use the quotaval data instead of proplib.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:47:38 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Pass only one objtype and its quotaval to QUOTACTL_SET at one time.

(The backend code to handle this is a lot tidier than I expected given
that the proplib code doesn't allow setting blocks and files
independently; I was afraid there would turn out to be a reason for
that...)

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.10 -r1.11 src/sys/sys/quotactl.h
cvs rdiff -u -r1.82 -r1.83 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.8 -r1.9 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:48:51 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Combine the miscellaneous QUOTACTL_SET args into a struct quotakey.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.11 -r1.12 src/sys/sys/quotactl.h
cvs rdiff -u -r1.83 -r1.84 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.8 -r1.9 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.13 -r1.14 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.9 -r1.10 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:49:44 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Rename QUOTACTL_SET to QUOTACTL_PUT, to match future intended API.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.12 -r1.13 src/sys/sys/quotactl.h
cvs rdiff -u -r1.84 -r1.85 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.9 -r1.10 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:50:15 UTC 2012

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

Log Message:
Whitespace.


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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:50:54 UTC 2012

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

Log Message:
Tidy up a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:51:43 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move toplevel proplib iteration of QUOTACTL_CLEAR to fs-independent code.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.13 -r1.14 src/sys/sys/quotactl.h
cvs rdiff -u -r1.87 -r1.88 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:52:39 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
The handling of QUOTACTL_CLEAR does not use the proplib data
dictionary, so don't pass it.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/quotactl.h
cvs rdiff -u -r1.88 -r1.89 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.11 -r1.12 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:53:36 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Improve the quota2 QUOTACTL_CLEAR code to allow clearing blocks and
files independently.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.15 -r1.16 src/sys/sys/quotactl.h
cvs rdiff -u -r1.89 -r1.90 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.11 -r1.12 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:54:34 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
QUOTACTL_CLEAR -> QUOTACTL_DELETE to match intended API and user API.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.16 -r1.17 src/sys/sys/quotactl.h
cvs rdiff -u -r1.90 -r1.91 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.13 -r1.14 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:55:45 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Package up the args of QUOTACTL_DELETE as a struct quotakey.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.17 -r1.18 src/sys/sys/quotactl.h
cvs rdiff -u -r1.91 -r1.92 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.13 -r1.14 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 06:57:15 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Begin adding quota cursor/iteration interface to VFS_QUOTACTL.

Add struct quotakcursor.
Add QUOTACTL_CURSOROPEN and QUOTACTL_CURSORCLOSE operations.
Implement the plumbing for them.
Add trivial implementations of them for quota2.
(iteration is not supported on quota1 for the time being, just as
getall isn't)
Have the proplib interpreter open and close a cursor around doing
QUOTACTL_GETALL.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.18 -r1.19 src/sys/sys/quotactl.h
cvs rdiff -u -r1.92 -r1.93 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.15 -r1.16 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:00:40 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Pass the cursor to QUOTACTL_GETALL. Don't pass unused proplib items.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.19 -r1.20 src/sys/sys/quotactl.h
cvs rdiff -u -r1.93 -r1.94 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.15 -r1.16 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:02:07 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Hack QUOTACTL_GETALL to return results without using proplib.

(this interface is abusive and is going to be cleaned up in the
immediate future)

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.20 -r1.21 src/sys/sys/quotactl.h
cvs rdiff -u -r1.94 -r1.95 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.17 -r1.18 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:03:47 UTC 2012

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

Log Message:
Teach quota2 QUOTACTL_GETALL to start in the middle, step 1.


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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:04:22 UTC 2012

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

Log Message:
Teach quota2 QUOTACTL_GETALL to start in the middle, step 2.


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

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:05:13 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota2.c

Log Message:
Teach quota2 QUOTACTL_GETALL to acecpt a limit on how much it sends back.
Pass in a dummy limit for now.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.21 -r1.22 src/sys/sys/quotactl.h
cvs rdiff -u -r1.20 -r1.21 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:06:02 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota2.c

Log Message:
Stop treating the default values specially in QUOTACTL_GETALL.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.22 -r1.23 src/sys/sys/quotactl.h
cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:06:37 UTC 2012

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

Log Message:
Rearrange result processing for QUOTACTL_GETALL.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/vfs_quotactl.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:07:22 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Call QUOTACTL_GETALL in a loop to get results 8 at a time. Make
the QUOTACTL_GETALL interface less abusive.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.23 -r1.24 src/sys/sys/quotactl.h
cvs rdiff -u -r1.95 -r1.96 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.17 -r1.18 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.22 -r1.23 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:08:00 UTC 2012

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

Log Message:
Fix a preexisting array overrun and a preexisting free twice exposed
by cleanup and testing.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:08:58 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Don't pass the idtype to QUOTACTL_GETALL. Instead, iterate both users
and groups.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.24 -r1.25 src/sys/sys/quotactl.h
cvs rdiff -u -r1.96 -r1.97 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.18 -r1.19 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.24 -r1.25 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:09:53 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c

Log Message:
Add QUOTACTL_CURSORSKIPIDTYPE, QUOTACTL_CURSORATEND, QUOTACTL_CURSORREWIND.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.25 -r1.26 src/sys/sys/quotactl.h
cvs rdiff -u -r1.97 -r1.98 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.19 -r1.20 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:10:25 UTC 2012

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

Log Message:
Use QUOTACTL_CURSORSKIPIDTYPE and QUOTACTL_CURSORATEND in
vfs_quotactl. Have it restart from the beginning if it receives
EDEADLK, which requires QUOTACTL_CURSORREWIND.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/kern/vfs_quotactl.c

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




CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:11:12 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move the proplib bits for QUOTACTL_QUOTAON out of the ufs code.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.26 -r1.27 src/sys/sys/quotactl.h
cvs rdiff -u -r1.98 -r1.99 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:11:55 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Move proplib bits for QUOTACTL_QUOTAOFF out of the ufs code.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.27 -r1.28 src/sys/sys/quotactl.h
cvs rdiff -u -r1.99 -r1.100 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:12:41 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Change QUOTACTL_GETVERSION to QUOTACTL_STAT. Add struct quotastat.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.28 -r1.29 src/sys/sys/quotactl.h
cvs rdiff -u -r1.100 -r1.101 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:13:43 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c vfs_subr.c
src/sys/sys: quotactl.h
src/sys/ufs/ufs: ufs_quota.c

Log Message:
Tidy up the VFS_QUOTACTL interface. Renumber the command codes in a
logical order (as opposed to the previous order, which accumulated
arbitrarily), remove the separate codes for argument encoding as
there's now a 1-1 mapping between ops and argument substructures,
and assert in VFS_QUOTACTL() itself that the op in the args structure
matches the op passed directly.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.429 -r1.430 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.29 -r1.30 src/sys/sys/quotactl.h
cvs rdiff -u -r1.101 -r1.102 src/sys/ufs/ufs/ufs_quota.c

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



CVS commit: src/sys

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:14:39 UTC 2012

Modified Files:
src/sys/kern: vfs_quotactl.c vfs_subr.c
src/sys/miscfs/genfs: layer_extern.h layer_vfsops.c
src/sys/sys: mount.h
src/sys/ufs/ufs: ufs_extern.h ufs_quota.c ufs_vfsops.c

Log Message:
Remove the extra op argument to VFS_QUOTACTL() - the op is now stored
purely in the args structure.

This change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.430 -r1.431 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.32 -r1.33 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -u -r1.37 -r1.38 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.205 -r1.206 src/sys/sys/mount.h
cvs rdiff -u -r1.69 -r1.70 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.102 -r1.103 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.46 -r1.47 src/sys/ufs/ufs/ufs_vfsops.c

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



CVS commit: src

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:16:01 UTC 2012

Modified Files:
src/sys/compat/common: vfs_syscalls_50.c
src/sys/ufs/ufs: quota.h
src/usr.sbin/edquota: edquota.c

Log Message:
Rename static inline "helper" functions:
   ufsclass2qtype -> quota_idtype_to_ufs
   qtype2ufsclass -> quota_idtype_from_ufs

The reason for the direction of "ufs" changing is that the old names
were among the symbols using "ufs" to mean "fs-independent". So the
old names were for translating "ufsclass" (fs-independent quota id
type) to "qtype" (ufs-specific quota id type) and vice versa.

These functions are used in only two places, both of which are
inappropriate, so at some point they should probably be removed.
They're also identity transformations so not particularly helpful,
unless one were to make a careful and concerted effort to distinguish
the ufs quota code numbers from the fs-independent ones. This has not
been done and is probably impossible without support from a program
verifier, and maybe not even then.

They are static inline, so no compat concerns arise.

Also adjust the symbols they use to avoid .


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/common/vfs_syscalls_50.c
cvs rdiff -u -r1.28 -r1.29 src/sys/ufs/ufs/quota.h
cvs rdiff -u -r1.42 -r1.43 src/usr.sbin/edquota/edquota.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:16:54 UTC 2012

Modified Files:
src/sys/ufs/ufs: quota2.h ufs_quota.c ufs_quota1.c ufs_quota2.c
ufs_vfsops.c

Log Message:
Remove references to  in src/sys/ufs.
The remaining references in the kernel are in vfs_quotactl.c, the
compat_50 code for the old quotactl (to be fixed up), and the
code compiled from src/common/lib/libquota.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/ufs/quota2.h
cvs rdiff -u -r1.103 -r1.104 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.15 -r1.16 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.26 -r1.27 src/sys/ufs/ufs/ufs_quota2.c
cvs rdiff -u -r1.47 -r1.48 src/sys/ufs/ufs/ufs_vfsops.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:17:41 UTC 2012

Modified Files:
src/sys/ufs/ufs: quota2.h

Log Message:
Remove now-unused declarations from quota2.h.


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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:18:17 UTC 2012

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

Log Message:
Remove #if 0'd proplib-related code.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/ufs/ufs/ufs_quota2.c

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



CVS commit: src/sys/compat/common

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:19:04 UTC 2012

Modified Files:
src/sys/compat/common: vfs_syscalls_50.c

Log Message:
Remove the proplib goop from the COMPAT_50 code for the old quotactl;
use the new VFS_QUOTACTL instead.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/common/vfs_syscalls_50.c

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



CVS commit: src/sys/compat/common

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:19:48 UTC 2012

Modified Files:
src/sys/compat/common: vfs_syscalls_50.c

Log Message:
Some further tidying for the COMPAT_50 quotactl code. Mostly cosmetic,
but also use PNBUF_GET() and PNBUF_PUT() for a path buffer instead of
malloc with M_TEMP.


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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:20:27 UTC 2012

Modified Files:
src/sys/ufs/ufs: quota2.h ufs_quota2.c

Log Message:
quota2_check_limit() is used in only one place, so don't stuff it in a
header file.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/ufs/quota2.h
cvs rdiff -u -r1.28 -r1.29 src/sys/ufs/ufs/ufs_quota2.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

2012-01-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 29 07:21:00 UTC 2012

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

Log Message:
Clean up quota2 cursoring, as promised earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/ufs/ufs/ufs_quota2.c

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



  1   2   >