Subject: Re: CVS commit: src/sys
To: Andrew Doran <ad@netbsd.org>
From: Elad Efrat <elad@NetBSD.org>
List: source-changes
Date: 12/18/2007 17:41:39
Hi Andrew,

Andrew Doran wrote:
> On Sun, Dec 16, 2007 at 09:26:00PM +0000, Elad Efrat wrote:
> 
>> Modified Files:
>> 	src/sys/kern: uipc_socket.c uipc_syscalls.c
>> 	src/sys/sys: socketvar.h
>>
>> Log Message:
>> Make solisten() take an lwp pointer like the rest, so it can be passed down
>> to pr_usrreq.
> 
> We have been trying to eliminate the passing of lwp/proc pointers for a
> variety of reasons. As mentioned a credential might be better but there
> could be other solutions. What are you planning to do?

Incremental changes. The pr_usrreq function pointer cannot be changed
to take credentials (like it should) without dragging a lot of other
code along with it. So for now I contained the change and just made
solisten() take an lwp.

-e.