lkml.org 
[lkml]   [2012]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/30] sysinfo: Use explicit types in <linux/sysinfo.h>
On 02/20/2012 12:01 PM, Geert Uytterhoeven wrote:
> On Mon, Feb 20, 2012 at 18:29, H. Peter Anvin <hpa@zytor.com> wrote:
>> Not really... it comes down to "implicit padding in kernel ABI structures is bad". They can easily become security holes.
>
> On 64-bit platforms with natural alignment of long, there's an implicit padding.
>

We should try to make those explicit, but it sometimes gets hard
retroactively. Note that the particular patch you're pointing to is
just an identity patch.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



\
 
 \ /
  Last update: 2012-02-20 21:47    [W:0.123 / U:1.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site