Re: can we make anonymous memory non-EXECUTABLE?

Erik Andersen (andersen@codepoet.org)
Wed, 9 Jan 2002 02:40:10 -0700


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/