Affects Version/s: None
Fix Version/s: None
Lnux ioctl macoses _IOR _IOW are taking a struvture argument.
That argument is then sized to determine the actual ioctl number.
Should the structure change, actual ioctl number changes too without any visibility. If you only test with tools built against the same tree, you would never notice that much like what happens with same-version network testing.
For network structures we have wirecheck/wiretest, I guess we need something similar for IOCTLs.
The complication here is because structures used are actually somewhat different on different architectures, we might want to be a bit more smart about it,
or we might need to have a per-architecture check.
Alternatively we can just record the actual generated ioctl numbers and ensure thoe never change - then we'll catch other changes too, not just in structure sizes but when a type of the ioctl changes for example.
Currently these include:
struct lu_ladvise << This one is going to change to llapi_something with an upcoming patch.