Re: Init data debugging

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Apr 06 2002 - 12:52:11 EST


> Would it be feasible to add a kernel debugging option which rather than
> discarding init data/code sections just marked the pages as not
> accessible, so illegal accesses could be caught ?

Not efficiently. You can memset the pages to an illegal instruction which
does seem to help
-
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 : Sun Apr 07 2002 - 22:00:19 EST