[lkml]   [2004]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch
    Ulrich Drepper wrote:
    > You got to be kidding. Some object fixed in the address space which can
    > perform system calls. Nothing is more welcome to somebody trying to
    > exploit some bugs.

    Two approaches to randomising the vdso address:

    1. Selecting a random address at boot time. All tasks have the same
    vdso for that run of the kernel. Advantages: no MSR write at
    each context switch; could patch at boot time with
    address if we were fanatical about optimisation (i.e. other
    libcs, not Glibc :) Disadvantages: the attacker may eventually
    learn the address.

    2. Select a random address for every new task. Advantages: harder
    to guess from studying a machine for a long time. Disadvantages:
    slower context switches; the gain from randomising each task is
    nothing if all the tasks are very long lived anyway.

    -- Jamie
    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: 2005-03-22 14:00    [W:0.023 / U:15.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site