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

Johannes Hofmann hofmann at blob.baaderstrasse.com
Thu Jul 10 11:20:29 PDT 2008


Aggelos Economopoulos <aoiko at 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






More information about the Commits mailing list