Current-Users archive

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

Re: linux emulation take two



In article <20150602134017.GC10950%quark.internal.precedence.co.uk@localhost>,
Patrick Welche  <prlw1%cam.ac.uk@localhost> wrote:
>Starting again... On the same -current/amd64 computer, with suse 13.2
>installed, /emul/linux32/usr/bin/xeyes fails with:

There is no chance those will work under linux32. You need to
convert the msghdr structures and the iov's... Copying the
sendmsg/recvmsg code from linux/common/linux_socket.c to
linux32/common/linux32_socket.c, adjusting the structs, and then
doing the iov conversions like they are done in
netbsd32/netbsd32_socket.c is what needs to be done to get those
working. Give it a try! It should not be too hard, all the bits
are there.

christos



Home | Main Index | Thread Index | Old Index