Q: ioctl files for x32

Dmitry V. Levin ldv at altlinux.org
Sat Feb 28 18:50:08 UTC 2015


On Sat, Feb 28, 2015 at 12:58:24PM -0500, Mike Frysinger wrote:
> On 28 Feb 2015 18:24, Dmitry V. Levin wrote:
> > On Fri, Feb 27, 2015 at 01:06:22AM -0500, Mike Frysinger wrote:
> > > vFAIL: test; x86_64/32-bit/LSB linux-3.18.4 kernel-headers-3.19.0 glibc-2.21 gcc-4.9.2
> > > FAIL: ioctl
> > 
> > Could you generate ioctls_{inc,arch}0.h files natively on x32?
> > I suppose they would differ both from x86 and x86_64 versions.
> 
> ioctl on x32 runs through the compat_sys_ioctl entry point like x86.  attached 
> is the generated header -- ioctls_arch.h was the same as x86_64/ioctls_arch0.h.

Thanks.  It differs from 32/ioctls_inc.h by 45 entries and from
linux/64/ioctls_inc.h by 322 entries, while the last two differ between
each other by 358 entries.  I think it justifies replacing
linux/x32/ioctls_inc0.h with this generated file.

> one thing to note with the tracing of the ioctl ABI is that the kernel might be 
> broken and need fixing in some cases.  x32 is not widely deployed, so it hasn't 
> been fully vetted yet :).

:)


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150228/0214e0cd/attachment.bin>


More information about the Strace-devel mailing list