00001 /* This program attempts to read kernel memory. 00002 This should terminate the process with a -1 exit code. */ 00003 00004 #include "tests/lib.h" 00005 #include "tests/main.h" 00006 00007 void 00008 test_main (void) 00009 { 00010 msg ("Congratulations - you have successfully read kernel memory: %d", 00011 *(int *)0xC0000000); 00012 fail ("should have exited with -1"); 00013 }