Re: 4k stacks in 2.6

From: David S. Miller
Date: Wed May 26 2004 - 13:14:08 EST


On Wed, 26 May 2004 14:50:14 +0200
Jörn Engel <joern@xxxxxxxxxxxxxxxxxxxx> wrote:

> Change gcc to catch stack overflows before the fact and disallow
> module load unless modules have those checks as well.

That's easy, just enable profiling then implement a suitable
_mcount that checks for stack overflow. I bet someone has done
this already.

For full coverage, some trap entry handler checks in entry.S
would be necessary too of course.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/