tech-kern archive

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

Re: amd64: USER_LDT (and wine)



On Sun, Feb 05, 2017 at 12:30:42PM +0100, Maxime Villard wrote:
> I have written a patch [1] that adds support for USER_LDT on amd64.

Cool! I've given it a try (I don't know enough to review it).
I've built emulators/wine-devel in a 32bit chroot.

Running it outside as follows:
% env LD_LIBRARY_PATH=/emul/n32/usr/pkg/lib ktruss -i /emul/n32/usr/pkg/bin/winecfg
shows that it is dying with:
  8998      1 wine     netbsd32_sysarch(0x1, 0xfffffffffff2a698) Err#22 EINVAL

I imagine the MD syscall needs to be added to netbsd32 or something?


Home | Main Index | Thread Index | Old Index