[lkml]   [2006]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 02/02] Elf: Align elf notes properly
    From: Jeremy Fitzhardinge <>
    Date: Fri, 10 Nov 2006 16:26:46 -0800

    > David Miller wrote:
    > > I think Elf64 notes very much would need 64-bit alignment, especially
    > > if there are u64 objects in there. Otherwise it would not be possible
    > > to directly dereference such objects without taking unaligned faults
    > > on several types of RISC cpus.
    > >
    > That doesn't appear to have been a problem.

    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.

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

     \ /
      Last update: 2006-11-11 01:47    [W:0.022 / U:39.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site