[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F42B0A1.9030007@zytor.com>
Date: Mon, 20 Feb 2012 12:44:17 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
CC: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
mingo@...nel.org, tglx@...utronix.de,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
hjl.tools@...il.com
Subject: Re: [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@...or.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists