[OpenAFS-devel] Re: PAGs/tokens/threads
Andrew Deason
adeason@sinenomine.net
Fri, 7 Aug 2009 10:17:52 -0500
On Fri, 07 Aug 2009 10:47:45 -0400
"Chas Williams (CONTRACTOR)" <chas@cmf.nrl.navy.mil> wrote:
> i was thinking that it should be something like set_ag(.., CONTEXT,
> ...) where context is thread, session (process) or whatever. some
> operating systems will not (or currently do not) support thread
> context, so you would fall back to the next highest context, like
> process or session.
Er, fall back in the application or in the kernel? I would have thought
you'd give ENOSYS or something when you don't support it, so an
application doesn't accidentally stomp over the creds of other threads.
--
Andrew Deason
adeason@sinenomine.net