Init data debugging
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 ?
P.
Quoted 3 lines
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