[PATCH 07/17] prmem: lkdtm tests for memory protection

2018-10-23 Thread Igor Stoppa
Various cases meant to verify that illegal operations on protected memory will either BUG() or WARN(). The test cases fall into 2 main categories: - trying to overwrite (directly) something that is write protected - trying to use write rare functions on something that is not write rare

[PATCH 07/17] prmem: lkdtm tests for memory protection

2018-10-23 Thread Igor Stoppa
Various cases meant to verify that illegal operations on protected memory will either BUG() or WARN(). The test cases fall into 2 main categories: - trying to overwrite (directly) something that is write protected - trying to use write rare functions on something that is not write rare