Q: ioctl files for x32

Mike Frysinger vapier at gentoo.org
Sat Feb 28 17:58:24 UTC 2015


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.

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 :).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ioctls_inc.h.gz
Type: application/octet-stream
Size: 26979 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150228/5c55ff3a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150228/5c55ff3a/attachment.bin>


More information about the Strace-devel mailing list