nitturis-linux / kedr

Automatically exported from code.google.com/p/kedr
0 stars 1 forks source link

Instrumentation facilities do not work for kernel 3.16-rc2: RO/NX issue #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Instrumentation facilities do not work for kernel 3.16-rc2 because the code of 
a kernel module now becomes read-only earlier (if 
CONFIG_DEBUG_SET_MODULE_RONX=y).

That is, earlier than the notifier is called and the instrumentation starts.

Here is the commit: 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49822
23e51e8ea9d09bb33c8323b5ec1877b2b51

We need to either do the instrumentation earlier (see how Ftrace got around 
this) or remove RO before and restore it after instrumentation if needed.

Original issue reported on code.google.com by euspec...@gmail.com on 25 Jun 2014 at 9:39

GoogleCodeExporter commented 9 years ago
Fixed in the repository.

Original comment by euspec...@gmail.com on 16 Jul 2014 at 2:17

GoogleCodeExporter commented 9 years ago
Can this be marked as "Fixed"?

Original comment by tsy...@gmail.com on 22 Jan 2015 at 1:12

GoogleCodeExporter commented 9 years ago
Will be marked as "fixed" when we release the version of KEDR containing this 
fix. Until then, it will be kept open.

Original comment by euspec...@gmail.com on 22 Jan 2015 at 2:08