On Jul 11, 2006, at 4:26 AM, Andrew Doran wrote: > On the platforms I'm aware of we should be able to do the test > before the > lock, because only the current thread can modify l->l_cred and the > read of > p->p_cred is atomic. Assuming that l_cred has retained the creds, then yah, that ought to be safe. -- thorpej