Re: How does the size field work in IOCTL numbers?

From: Peter Zijlstra
Date: Sat Sep 03 2016 - 08:35:53 EST


On Fri, Sep 02, 2016 at 07:27:27PM -0400, Keno Fischer wrote:
> I don't understand what the rule is for what to put in that third
> argument, or is it ioctl specific? Please let me know if I missed
> something.

You can do whatever you like, but everything that is different between
ILP32 and LP64 requires COMPAT fixups.