Re: [PATCH 02/02] Elf: Align elf notes properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux