RE: Question: Memory change request

From: David Schwartz (davids@webmaster.com)
Date: Wed Jan 24 2001 - 03:47:53 EST


> mprotect the page(s) you are interested in so you can't write to them
> and catch SEGV -- when someone attempts to write you can pull apart
> the stack frame mark the page(s) RO and continue.
>
> if you are really stuck i think i have example code to do this
> somewhere for ia32 (stack frame is arch. dependent)

        I bet ElectricFence would serve as example code.

        DS

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



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:17 EST