I am writing a Linux kernel module and I would like to highlight an executable page. Plain kmalloc returns a pointer inside a non-executable page, and I get a kernel panic when I execute the code there. It should work on Ubuntu Karmic x86, 2.6.31-20-generic-pae.
linux-kernel executable nx
pts
source share