lkml.org 
[lkml]   [2007]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 2/2] kprobes x86_64 quick fix mark-ro-data
    * Arjan van de Ven (arjan@infradead.org) wrote:
    > On Tue, 2007-06-19 at 15:38 +0530, S. P. Prasanna wrote:
    > > This patch is a quick fix for x86_64 to enable kprobes only if DEBUG_RODATA is
    > > not configured. Since DEBUG_RODATA markes the kernel text pages as read-only.
    >
    >
    > it does??
    >
    > I don't seem to be able to find this in the source code.....
    >

    See arch/x86_64/mm/init.c:mark_rodata_ro().

    Mathieu

    --
    Mathieu Desnoyers
    Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
    OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-19 15:37    [W:0.021 / U:61.672 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site