Index: kern_prot.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_prot.c,v retrieving revision 1.171 diff -u -r1.171 kern_prot.c --- kern_prot.c 11 Jun 2003 00:56:56 -0000 1.171 +++ kern_prot.c 11 Jun 2003 04:19:05 -0000 @@ -1644,6 +1644,7 @@ /* * Allocate a zeroed cred structure. + * MPSAFE */ struct ucred * crget(void) @@ -1661,6 +1662,7 @@ /* * Claim another reference to a ucred structure. + * MPSAFE */ struct ucred * crhold(struct ucred *cr) @@ -1675,6 +1677,7 @@ /* * Free a cred structure. * Throws away space when ref count gets to 0. + * MPSAFE */ void crfree(struct ucred *cr) @@ -1712,6 +1715,7 @@ /* * Check to see if this ucred is shared. + * MPSAFE */ int crshared(struct ucred *cr) @@ -1726,6 +1730,7 @@ /* * Copy a ucred's contents from a template. Does not block. + * MPSAFE */ void crcopy(struct ucred *dest, struct ucred *src) @@ -1746,6 +1751,7 @@ /* * Dup cred struct to a new held one. + * MPSAFE */ struct ucred * crdup(struct ucred *cr) @@ -1772,6 +1778,7 @@ /* * Fill in a struct xucred based on a struct ucred. + * MPSAFE */ void cru2x(struct ucred *cr, struct xucred *xcr) @@ -1787,6 +1794,7 @@ /* * small routine to swap a thread's current ucred for the correct one * taken from the process. + * MPSAFE */ void cred_update_thread(struct thread *td)