Subject: Re: Process credentials change
To: Andrew Doran <ad@NetBSD.org>
From: Jason Thorpe <email@example.com>
Date: 07/10/2006 09:22:16
On Jul 10, 2006, at 2:50 AM, Andrew Doran wrote:
> 1. maintain p_cred as the master copy
> 2. hold a reference to creds in each struct lwp
> 3. on syscall / user trap, update l->l_cred if (l->l_cred != p-
> 4. use the LWP creds wherever sane
> 5. make accounting flags per-LWP and collate into struct proc on
> LWP exit
> Any comments?
I think this sounds like a wonderful idea.