lkml.org 
[lkml]   [2012]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [tip:x86/x32] x32: Fix alignment fail in struct compat_siginfo
From
On Wed, Apr 18, 2012 at 5:09 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 04/18/2012 04:54 PM, H.J. Lu wrote:
>>>
>>> We could.  If we want to align the substructures then we need some major
>>> surgery to the compat_siginfo handling though.
>>>
>>
>> Since there will be no x32 kernel, align struct siginfo to 8byte for x32
>> will only be for user space code.  It shouldn't be a problem for kernel.
>>
>
> Well, for aligning the whole structure I don't think there is any change
> to the kernel at all...
>

That is true. This is only by user codes to pass 8bye aligned
struct siginfo pointer to kernel.

--
H.J.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-04-19 02:17    [from the cache]
©2003-2011 Jasper Spaans