All of lore.kernel.org
 help / color / mirror / Atom feed
* 32 bit user space compatibility
@ 2014-10-26 12:25 Skidanov, Alexey
  2014-10-28 22:34 ` One Thousand Gnomes
  0 siblings, 1 reply; 3+ messages in thread
From: Skidanov, Alexey @ 2014-10-26 12:25 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-03 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-26 12:25 32 bit user space compatibility Skidanov, Alexey
2014-10-28 22:34 ` One Thousand Gnomes
2014-11-03 12:46   ` Yann Droneaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.