Re: can we make anonymous memory non-EXECUTABLE?

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Jan 08 2002 - 21:52:13 EST


Rik van Riel wrote:

> On 8 Jan 2002, H. Peter Anvin wrote:
>
>
>>One way to do this would be to create a newbrk() syscall which takes a
>>permission argument (for new pages.)
>>
>
> ITYM mmap(2)
>

That's an idea, too. WTF do we actually need brk() for? If it's only
there to be annoying, let's get rid of it completely and let the C
library implement it -- stating its assumptions explicitly.

        -hpa

-
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/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:25 EST