Messages in this thread | | | Date | Mon, 20 Feb 2012 12:44:17 -0800 | From | "H. Peter Anvin" <> | 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@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.
| |