Aggelos Economopoulos <[EMAIL PROTECTED]> 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