Rust seems to live in an ideal world where all ioctls have correct _IOR/W annotations. They don't.
Had a similar issue before with Raw Gadget: github.com/xairy/raw-gadg
Quote Tweet
My words went from my brain to my keyboard to my computer to the internet! Check it out:
"How Rust’s Type Checker Helped Find a Bug in a Linux Kernel ioctl Definition" #rustlang
codeofconnor.com/how-rusts-type

