lkml.org 
[lkml]   [2002]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: can we make anonymous memory non-EXECUTABLE?
    On Wed Jan 09, 2002 at 03:11:22AM +0000, Alan Cox wrote:
    > > One way to do this would be to create a newbrk() syscall which takes a
    > > permission argument (for new pages.)
    >
    > brk(), mmap().
    >
    > Welcome to libc 8)

    Umm. How can libc implement mmap without the kernel
    handing out the pages? I don't get it.

    -Erik

    --
    Erik B. Andersen http://codepoet-consulting.com/
    --This message was written using 73% post-consumer electrons--
    -
    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: 2005-03-22 13:15    [W:0.025 / U:0.148 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site