Re: can we make anonymous memory non-EXECUTABLE?

H. Peter Anvin (hpa@zytor.com)
Tue, 08 Jan 2002 18:52:13 -0800


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/