qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 48/49] linux-user: Split out ioctl


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH v6 48/49] linux-user: Split out ioctl
Date: Thu, 9 May 2019 17:44:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 10/04/2019 03:55, Richard Henderson wrote:
On 4/9/19 1:30 PM, Richard Henderson wrote:
On 4/9/19 1:15 PM, Richard Henderson wrote:
On 2/13/19 3:46 AM, Laurent Vivier wrote:
In fact it happens with sid, with ppc64 too, but not with m68k and sh4.

And only with "unshare --pid --fork".

Without "unshare", the result is:

   Unsupported ioctl: cmd=0x80047476
   bash: cannot set terminal process group (11507): Function not implemented
   bash: no job control in this shell
   Unsupported ioctl: cmd=0x80087467
   Unsupported ioctl: cmd=0x80087467
   Unsupported ioctl: cmd=0x802c7415

I'm just now getting back to this, and cannot replicate the issue

... Oh nevermind.  I should be expecting no "unsupported" at all, since that's
what we get with master.

The cause is that "cmd" accidentally changed from "int" in the do_ioctl
parameter list to "abi_ulong" as a local variable in impl_ioctl.  This caused a
table lookup failure on any ioctl with bit 31 set, for 64-bit guests.

Do you plan to send a new version of this series?

Thanks,
Laurent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]