Re: Init data debugging

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 6 Apr 2002 18:52:11 +0100 (BST)


> 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/