Messages in this thread | | | From | "Skidanov, Alexey" <> | Subject | 32 bit user space compatibility | Date | Sun, 26 Oct 2014 12:25:08 +0000 |
| |
Hi,
Running 32 bit user space needs some work to be done with ioctls. I understand that there are two options to implement: 1. Use only fixed size types. Pad IOCTLS params to multiple of 64 bits - simple; don't know if it covers all compatibility issues; 2. 32 bit compatibility layer (through compat_ioctl, just like many drivers in kernel implement) - just a little bit simple code with some translations; really covers all issues; Which one is preferred by kernel community?
Thanks Alexey
| |