Threading and credential changes
Tim Robbins
tjr at FreeBSD.ORG
Thu Apr 24 20:16:50 PDT 2003
I'm trying to understand the way a thread's td_ucred is updated. In ast(),
cred_update_thread() is called to update it when it doesn't match the one
stored in the proc. However, setuid() etc. don't set the TDF_ASTPENDING flag
on any threads, not even the current thread. Am I misunderstanding what ast()
does, does the thread's cred get updated in some other way, or is this a bug?
Tim
More information about the freebsd-threads
mailing list