-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
E-mediumE-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.O-androidO-arm
Milestone
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
.
Metadata
Metadata
Assignees
Labels
E-mediumE-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.O-androidO-arm