CVS commit: src/usr.sbin/pstat

2012-11-10 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sat Nov 10 11:01:52 UTC 2012

Modified Files:
src/usr.sbin/pstat: pstat.c

Log Message:
The number of active vnodes may grow in between the sysctl call
that figures out the size, and the sysctl call that fetches the data.

Previously, any growth at all would have resulted in this error message:

pstat: sysctl: KERN_VNODE: Cannot allocate memory

Now allow for growth of 100 vnodes, or 5%, or both.  Growth in
excess of 2% or 6000 vnodeshas been observed in practice.  Also
ignore ENOMEM from the second sysctl call, in case the growth was
even more than we anticipated.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/usr.sbin/pstat/pstat.c

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



CVS commit: src/etc/rc.d

2012-11-10 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sat Nov 10 15:08:36 UTC 2012

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

Log Message:
Make /etc/rc.d/ttys run after /etc/rc.d/bootconf.sh,
because bootconf could conceivably change /etc/ttys.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/etc/rc.d/ttys

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



CVS commit: src/etc/rc.d

2012-11-10 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sat Nov 10 15:10:22 UTC 2012

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

Log Message:
Cause /etc/rc.d/random_seed to be the first script to run
after mountcritlocal.  Everything else that runs after
mountcritlocal depends directly or indirectly on bootconf, so
making random_seed run before bootconf has the desired result.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/random_seed

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



CVS commit: src/lib/libm/man

2012-11-10 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Nov 10 15:59:58 UTC 2012

Modified Files:
src/lib/libm/man: math.3

Log Message:
Add No macro to ensure that "and" word is not taken as function
argument.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libm/man/math.3

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



CVS commit: src/bin/cat

2012-11-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov 10 16:18:41 UTC 2012

Modified Files:
src/bin/cat: cat.1 cat.c

Log Message:
Add an option to read with a different buffer size, and document the
buffer size we use. This allows us to cat -B 1000 /proc//maps
for example which cannot handle seeking.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/bin/cat/cat.1
cvs rdiff -u -r1.48 -r1.49 src/bin/cat/cat.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

2012-11-10 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Sat Nov 10 16:28:06 UTC 2012

Modified Files:
src/sys/arch/amd64/amd64: spl.S
src/sys/arch/i386/i386: spl.S
src/sys/arch/xen/x86: hypervisor_machdep.c

Log Message:
Remove e a redundant layer of function calling in the event handling path


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amd64/amd64/spl.S
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/i386/spl.S
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/x86/hypervisor_machdep.c

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



CVS commit: src

2012-11-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 10 17:40:09 UTC 2012

Modified Files:
src/distrib/x68k/floppies/ramdisk: Makefile
src/sys/arch/x68k/conf: INSTALL

Log Message:
- add dhcpcd support to x68k install ramdisk
- enable bpf(4) in INSTALL kernel for dhcpcd
- bump ramdisk size from 1400k to 1440k
No objection on port-x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/distrib/x68k/floppies/ramdisk/Makefile
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/x68k/conf/INSTALL

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



CVS commit: src/bin/cat

2012-11-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Nov 10 18:41:10 UTC 2012

Modified Files:
src/bin/cat: cat.1

Log Message:
Sort options (no-argument ones first, then argument-taking ones).


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/bin/cat/cat.1

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



CVS commit: src/bin/cat

2012-11-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Nov 10 18:42:22 UTC 2012

Modified Files:
src/bin/cat: cat.c

Log Message:
Sync usage with man page.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/bin/cat/cat.c

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



CVS commit: src/sys/net

2012-11-10 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Sat Nov 10 22:12:31 UTC 2012

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

Log Message:
Add RCSID and fix -Wsign-compare warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/net/bpfjit.c

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



CVS commit: src/lib/libpthread

2012-11-10 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Nov 10 23:12:36 UTC 2012

Modified Files:
src/lib/libpthread: pthread_attr.3

Log Message:
Each get function "has" a set counterpart, it doesn't "contain" it.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libpthread/pthread_attr.3

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