CVS commit: src/sys/dev/raidframe

2011-04-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun May  1 06:49:43 UTC 2011

Modified Files:
src/sys/dev/raidframe: rf_debugMem.c rf_debugMem.h

Log Message:
convert rf_debug_mem_mutex to a kmutex, and fix RF_DEBUG_MEM option.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/raidframe/rf_debugMem.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/raidframe/rf_debugMem.h

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

2011-04-30 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun May  1 06:42:29 UTC 2011

Modified Files:
src/tests/lib/libc/gen: t_nice.c

Log Message:
PR lib/42587 was fixed; remove xfail.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/gen/t_nice.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/raidframe

2011-04-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun May  1 06:22:54 UTC 2011

Modified Files:
src/sys/dev/raidframe: rf_acctrace.c rf_acctrace.h rf_netbsdkintf.c

Log Message:
convert rf_tracing_mutex to a kmutex.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/raidframe/rf_acctrace.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/raidframe/rf_acctrace.h
cvs rdiff -u -r1.287 -r1.288 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe

2011-04-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun May  1 05:44:47 UTC 2011

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
convert the (unused) rf_sparet_wait_mutex to a real mutex/cv.


To generate a diff of this commit:
cvs rdiff -u -r1.286 -r1.287 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/lib/libc/gen

2011-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May  1 02:54:22 UTC 2011

Modified Files:
src/lib/libc/gen: nice.3

Log Message:
Start eliminating "super-user" from the documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/nice.3

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



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

2011-04-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun May  1 02:52:42 UTC 2011

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

Log Message:
More lim_free() fallout


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/rump/librump/rumpkern/lwproc.c

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



CVS commit: src/lib/libc/gen

2011-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May  1 02:49:55 UTC 2011

Modified Files:
src/lib/libc/gen: nice.c

Log Message:
nice should always return EPERM, not EACCES


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/nice.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

2011-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May  1 02:46:19 UTC 2011

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

Log Message:
if donice fails, don't keep going with the next process.


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/kern/kern_resource.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/netbsd32

2011-04-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun May  1 02:08:15 UTC 2011

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c

Log Message:
Catch up with lim_privatise() change (missed in previous commit).


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/compat/netbsd32/netbsd32_netbsd.c

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



CVS commit: src/sys

2011-04-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun May  1 01:15:18 UTC 2011

Modified Files:
src/sys/kern: kern_acct.c kern_fork.c kern_proc.c kern_resource.c
src/sys/sys: proc.h resourcevar.h

Log Message:
- Remove FORK_SHARELIMIT and PL_SHAREMOD, simplify lim_privatise().
- Use kmem(9) for struct plimit::pl_corename.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/kern/kern_acct.c
cvs rdiff -u -r1.182 -r1.183 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.178 -r1.179 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.160 -r1.161 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.305 -r1.306 src/sys/sys/proc.h
cvs rdiff -u -r1.50 -r1.51 src/sys/sys/resourcevar.h

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



CVS commit: src/sys/dev/raidframe

2011-04-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun May  1 01:09:05 UTC 2011

Modified Files:
src/sys/dev/raidframe: rf_copyback.c rf_mcpair.c rf_mcpair.h
rf_parityscan.c rf_raid1.c

Log Message:
convert mcpair to kmutex.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/raidframe/rf_copyback.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/raidframe/rf_mcpair.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/raidframe/rf_mcpair.h
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/raidframe/rf_parityscan.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/raidframe/rf_raid1.c

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



CVS commit: src/sys

2011-04-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun May  1 00:22:37 UTC 2011

Modified Files:
src/sys/kern: kern_proc.c kern_resource.c
src/sys/sys: resourcevar.h

Log Message:
Merge duplicate code fragments into a new lim_setcorename() routine.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.159 -r1.160 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.49 -r1.50 src/sys/sys/resourcevar.h

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



CVS commit: src/sys

2011-04-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun May  1 00:11:52 UTC 2011

Modified Files:
src/sys/kern: kern_exit.c kern_proc.c kern_resource.c
src/sys/sys: resourcevar.h

Log Message:
Rename limfree() to lim_free(), misc clean up.  No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.176 -r1.177 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.158 -r1.159 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.48 -r1.49 src/sys/sys/resourcevar.h

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



CVS commit: src/sys/kern

2011-04-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat Apr 30 23:41:17 UTC 2011

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

Log Message:
sysctl_proc_corename: improve comments, clean up, move a check for
KAUTH_REQ_PROCESS_CORENAME_SET earlier, do not bother to strcmp().


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/kern/kern_resource.c

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



CVS commit: src/lib/libc/arch/sparc/gen

2011-04-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr 30 23:41:13 UTC 2011

Modified Files:
src/lib/libc/arch/sparc/gen: _setjmp.S longjmp.c setjmp.S

Log Message:
Save a few global registers during set/longjmp - at least the application
registers and the only currently used system register (%g7).
Sparc now passes the setjmp tests (and should be able to build perl again).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/arch/sparc/gen/_setjmp.S
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/sparc/gen/longjmp.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/arch/sparc/gen/setjmp.S

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



CVS commit: src/lib/libc/arch/sparc64/gen

2011-04-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr 30 23:39:08 UTC 2011

Modified Files:
src/lib/libc/arch/sparc64/gen: longjmp.c

Log Message:
Fix previous: the way we calculate, we need to test the size of sigjmp_buf


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/sparc64/gen/longjmp.c

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



CVS commit: src/lib/libc/arch/sparc64/gen

2011-04-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr 30 23:30:27 UTC 2011

Modified Files:
src/lib/libc/arch/sparc64/gen: longjmp.c

Log Message:
Add another compile time assert: catch overflows of jmp_buf


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/sparc64/gen/longjmp.c

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



CVS commit: src/lib/libc/arch/sparc64/gen

2011-04-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr 30 19:43:17 UTC 2011

Modified Files:
src/lib/libc/arch/sparc64/gen: _setjmp.S

Log Message:
Save/restore some global registers (sigsetjmp compatible). Does not realy
make a difference currently, but is a hard to spot blackhole if something
ever starts using the application registers.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/arch/sparc64/gen/_setjmp.S

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



CVS commit: src/lib/libc/arch/sparc64/gen

2011-04-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr 30 19:39:38 UTC 2011

Modified Files:
src/lib/libc/arch/sparc64/gen: longjmp.c setjmp.S sigsetjmp.S

Log Message:
Rearange jmp_buf content again: storing the sigsetjmp() save_mask midway
inside the environment is not a good idea, we may overwrite it when
fetching other details of the sigjmp environment.
Instead move it to the very end again.
Do not bother to save volatile (caller saved) global registers.
Fixes PR port-sparc64/44918.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/sparc64/gen/longjmp.c
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/arch/sparc64/gen/setjmp.S
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/arch/sparc64/gen/sigsetjmp.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/man3

2011-04-30 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sat Apr 30 19:34:11 UTC 2011

Modified Files:
src/share/man/man3: bits.3

Log Message:
Small typo fix.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man3/bits.3

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



CVS commit: src/sys/conf

2011-04-30 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Sat Apr 30 19:21:09 UTC 2011

Modified Files:
src/sys/conf: Makefile.kern.inc

Log Message:
correct comment


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/conf/Makefile.kern.inc

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-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 30 16:58:35 UTC 2011

Modified Files:
src/sys/arch/x86/include: db_machdep.h

Log Message:
add a define for pcb_sp


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/include/db_machdep.h

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



CVS commit: src/usr.sbin/crash

2011-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 30 16:57:59 UTC 2011

Modified Files:
src/usr.sbin/crash: Makefile
Added Files:
src/usr.sbin/crash/arch: x86.c
Removed Files:
src/usr.sbin/crash/arch: i386.c

Log Message:
Share the amd64 and i386 files.
XXX: Is there a better way to get the cpu family?


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/crash/Makefile
cvs rdiff -u -r1.1 -r0 src/usr.sbin/crash/arch/i386.c
cvs rdiff -u -r0 -r1.1 src/usr.sbin/crash/arch/x86.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-04-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr 30 14:24:27 UTC 2011

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

Log Message:
ufs_mknod: change vnode type to VNON before it gets unlocked.  Closes a small
window where the vnode could have type VCHR but op vector ffs_vnodeop_p.


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 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/librumpclient

2011-04-30 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Sat Apr 30 12:25:05 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Save/restore errno in error path in dupgood. Check that n>0 before
accessing banner[n-1].

Approved a while ago by pooka@


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/librumpclient/rumpclient.c

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



CVS commit: src/tests/util/awk

2011-04-30 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Sat Apr 30 11:24:14 UTC 2011

Modified Files:
src/tests/util/awk: Makefile

Log Message:
Add new files.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/util/awk/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/sandpoint/sandpoint

2011-04-30 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Apr 30 11:14:04 UTC 2011

Modified Files:
src/sys/arch/sandpoint/sandpoint: iic_eumb.c

Log Message:
Add Iomega Storcenter dsrtc device (DS1337).


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sandpoint/sandpoint/iic_eumb.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/sandpoint/pci

2011-04-30 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Apr 30 11:12:59 UTC 2011

Modified Files:
src/sys/arch/sandpoint/pci: pci_machdep.c

Log Message:
Detect QNAP board last, because a Realtek chip at pci device 15 is used
on several boards.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/sandpoint/pci/pci_machdep.c

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