Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764393AbcLWPlC (ORCPT ); Fri, 23 Dec 2016 10:41:02 -0500 Received: from mail1.hce-engineering.com ([104.233.86.154]:57348 "EHLO mail1.hce-engineering.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761593AbcLWPlA (ORCPT ); Fri, 23 Dec 2016 10:41:00 -0500 X-Greylist: delayed 2099 seconds by postgrey-1.27 at vger.kernel.org; Fri, 23 Dec 2016 10:41:00 EST To: Matt Ranostay References: Cc: linux-kernel@vger.kernel.org, David Woodhouse From: Rodolfo Giometti Message-ID: <99f30723-d278-4cce-0802-d9812b187afe@enneenne.com> Date: Fri, 23 Dec 2016 16:04:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 95.233.133.27 X-SA-Exim-Mail-From: giometti@enneenne.com Subject: Re: [RFC] pps: fixing CONFIG_COMPAT issues X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on hce1.hce-engineering.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 941 Lines: 27 On 12/22/16 21:39, Matt Ranostay wrote: > > What would be the best way to fix the padding issue without breaking > userspace applications? Just fixing the alignment with explicit > padding is of course the clean easy way, but bashing the data in > compat_ioctl would avoid breakage. Hi Matt, I've no experience in this topic... I'm sorry! :( Maybe is better waiting for David's advices? In the meantime I'm going to study the problem a bit better. Ciao, Rodolfo -- HCE Engineering e-mail: giometti@hce-engineering.com GNU/Linux Solutions giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Cosino Project - the quick prototyping embedded system - www.cosino.io Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it