[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 10 Nov 2006 17:20:47 -0800
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: David Miller <davem@...emloft.net>
CC: magnus.damm@...il.com, horms@...ge.net.au, ebiederm@...ssion.com,
magnus@...inux.co.jp, linux-kernel@...r.kernel.org,
vgoyal@...ibm.com, ak@....de, fastboot@...ts.osdl.org,
anderson@...hat.com
Subject: Re: [PATCH 02/02] Elf: Align elf notes properly
David Miller wrote:
> We should be OK with the elf note header since n_namesz, n_descsz, and
> n_type are 32-bit types even on Elf64. But for the contents embedded
> in the note, I am not convinced that there are no potential issues
PT_NOTE segments are not generally mmaped directly, nor are they
generally very large. There should be no problem for a note-using
program to load/copy the notes into memory with appropriate alignment.
I guess a lot of the contents of core elf notes are register dumps and
so on, so debuggers must be already dealing with this.
J
-
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