2017-03-04 07:41:24

by Rodolfo Giometti

[permalink] [raw]
Subject: Re: [PATCH 1/2] pps: add ioctl_compat function to correct ioctl definitions

On 02/24/17 21:23, Matt Ranostay wrote:
> ioctl definitions use the pointer size of the architecture which
> is fine when userspace and kernel are the same bitsize. This
> patchset workarounds an issue with mixed bitsize kernel + userspace
> by rewriting the cmd to the kernelspace architecture pointer size.
>
> Cc: Rodolfo Giometti <[email protected]>
> Cc: Moritz Fischer <[email protected]>
> Cc: George McCollister <[email protected]>
> Signed-off-by: Matt Ranostay <[email protected]>
> ---
> drivers/pps/pps.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)

Acked-by: Rodolfo Giometti <[email protected]>

--

HCE Engineering e-mail: [email protected]
GNU/Linux Solutions [email protected]
Linux Device Driver [email protected]
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
Cosino Project - the quick prototyping embedded system - http://www.cosino.io
Freelance ICT Italia - Consulente ICT Italia - http://www.consulenti-ict.it