Arjan van de Ven
edeed30589
x86: add testcases for RODATA and NX protections/attributes
...
Latest update; I now have 4 NX tests, but 2 fail so they're #if 0'd.
I also cleaned up the NX test code quite a bit, and got rid of the ugly
exception table sorting stuff.
From: Arjan van de Ven <arjan@linux.intel.com >
This patch adds testcases for the CONFIG_DEBUG_RODATA configuration option
as well as the NX CPU feature/mappings. Both testcases can move to tests/
once that patch gets merged into mainline.
(I'm half considering moving the rodata test into mm/init.c but I'll
wait with that until init.c is unified)
As part of this I had to fix a not-quite-right alignment in the vmlinux.lds.h
for the RODATA sections, which lead to 1 page less being marked read only.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
2008-01-30 13:34:08 +01:00
..
2008-01-30 13:32:54 +01:00
2008-01-30 13:33:58 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:21 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:32:31 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:33:23 +01:00
2007-10-19 11:53:33 -07:00
2007-12-03 17:17:10 +01:00
2008-01-30 13:31:31 +01:00
2008-01-30 13:32:03 +01:00
2008-01-30 13:33:32 +01:00
2008-01-30 13:33:17 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:44 +01:00
2008-01-30 13:33:55 +01:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:34:06 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:32:08 +01:00
2008-01-30 13:33:11 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:33:54 +01:00
2008-01-30 13:33:28 +01:00
2008-01-30 13:33:06 +01:00
2008-01-30 13:33:31 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:31:55 +01:00
2008-01-24 20:40:40 -08:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:32:19 +01:00
2008-01-30 13:30:05 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:31:17 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:32:51 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:30:47 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-24 20:40:04 -08:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:32:10 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:30:32 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:34:07 +01:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:30:18 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:32:54 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:36 +01:00
2008-01-30 13:33:25 +01:00
2008-01-30 13:32:40 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:44 +01:00
2008-01-30 13:33:38 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:18 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:32:01 +01:00
2008-01-30 13:33:53 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:31:13 +01:00
2008-01-30 13:33:44 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:12 +01:00
2007-10-20 01:13:56 +02:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:31:07 +01:00
2008-01-30 13:34:08 +01:00
2008-01-30 13:34:08 +01:00
2008-01-30 13:30:56 +01:00
2008-01-30 13:33:35 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:33:37 +01:00
2008-01-30 13:33:49 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:20 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-01-30 13:33:39 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:32:50 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:24 +01:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00