Open
Description
I was trying to call libc::ioctl
but I got type errors with Android aarch64 target. It works fine with x86_64. The second argument request
has different size in these targets: c_ulong
for x86_64 and c_int
for Android aarch64.
I believe it should be c_ulong
for Android aarch64 too, because it works (I'm using FFI now, and I get correct data out), and my request 0xC020660B
(FS_IOC_FIEMAP) doesn't fit into a c_int
.