cvs commit: src/sys/emulation/linux linux_socket.c src/sys/kern uipc_msg.c uipc_socket.c uipc_syscalls.c
Aggelos Economopoulos
aoiko at cc.ece.ntua.gr
Wed Jul 9 17:29:57 PDT 2008
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
believe the opera issue is fixed as well, but cannot easily test.
Can you guys please update and retest?
Thanks,
Aggelos
More information about the Commits
mailing list