Re: [RFC]: madvise(2) and mincore(2) in 2.3.26

Chuck Lever (cel@monkey.org)
Wed, 17 Nov 1999 16:39:38 -0500 (EST)


On Wed, 17 Nov 1999, Pavel Machek wrote:
> > here's a snapshot of madvise, against kernel 2.3.26. i'd like some
> > comments and review, then i'll port it to a stable release of 2.3
> > (probably 2.3.29) for inclusion by Linus.
>
> You seem to split up vma's. Cant that be used by evil looser to eat
> precious kernel ram? (Imagine DoS attack: mmap 1Gig and madvise each
> page separately.)

you can orchestrate the same attack by mmapping 4K files over and over.

- Chuck Lever

--
corporate:	<chuckl@netscape.com>
personal:	<chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/