Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 13:16:56 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        freebsd-threads@freebsd.org
Subject:   Threading and credential changes
Message-ID:  <20030425131656.A93380@dilbert.robbins.dropbear.id.au>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030425131656.A93380>