DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/emulation/linux linux_socket.c src/sys/kern uipc_msg.c uipc_socket.c uipc_syscalls.c


From: Johannes Hofmann <hofmann@xxxxxxxxxxxxxxxxxxxxxx>
Date: 10 Jul 2008 18:20:29 GMT

Aggelos Economopoulos <aoiko@cc.ece.ntua.gr> wrote:
> On Thursday 10 July 2008, Aggelos Economopoulos wrote:
>> aggelos     2008/07/09 17:19:27 PDT
>> 
>> DragonFly src repository
>> 
>>   Modified files:
>>     sys/emulation/linux  linux_socket.c 
>>     sys/kern             uipc_msg.c uipc_socket.c uipc_syscalls.c 
>>   Log:
>>   Fix sockopt syscalls for the Nth time.
>>   
>>   - update linux sys_{g,s}etsockopt to do copy{in,out}
>>   - make sure we don't try to kmalloc(0) (use NULL)
>>   - only test non-NULL addresses with kva_p()
> 
> This fixes the issue reported by Johannes Hofmann in my vkernel. I

Confirmed on real hardware too!

Thanks,
Johannes




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]