Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ad
Date:           Mon Jul 17 14:37:20 UTC 2006

Modified Files:
        src/sys/kern: kern_auth.c
        src/sys/sys: kauth.h

Log Message:
- Only acquire cr_lock when changing cr_refcnt.
- When freeing, test the value of cr_refcnt from inside the lock perimiter.
- Change some uint16_t/uint32_t types to u_int.
- KASSERT(cr_refcnt > 0) in appropriate places.
- KASSERT(cr_refcnt == 1) when changing the credential.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/kern/kern_auth.c
cvs rdiff -r1.4 -r1.5 src/sys/sys/kauth.h

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




Home | Main Index | Thread Index | Old Index