[lkml]   [2009]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: mmap_min_addr and your local LSM (ok, just SELinux)
    > Could the page table flags be used to mask this region?  i.e. force
    > PROT_NONE (with the "desired" flags stored elsewhere) and in the segv
    > handler check if it is kernel or user space, and then fix-up the flags and
    > continue if it's userspace? (I really don't know the internals on this,
    > but it would need to restore PROT_NONE on task-switch or something...)

    That's racy with multiple threads.

    -- -- Speaking for myself only.

     \ /
      Last update: 2009-07-28 18:27    [W:0.018 / U:6.176 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site