Subject: Re: CVS commit: src/sys
To: Martin Husemann <martin@NetBSD.org>
From: Andrew Doran <ad@NetBSD.org>
List: tech-kern
Date: 07/26/2006 17:56:23
Hi Martin,

On Mon, Jul 24, 2006 at 07:58:04PM +0000, Martin Husemann wrote:

> > Log Message:
> > Use the LWP cached credentials where sane.
> 
> Why did you change the first arg of falloc(9)? It seems completely
> unrelated (and I'm not sure if it is a sensible change)

We want the current thread's credentials, plus its proc pointer. I didn't
see a situation where we allocate files on behalf of other processes, and
can't think of one where we'd need to do that. Did I miss something?

Thanks,
Andrew