Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 25 Jun 2014 at 9:39

@GoogleCodeExporter
Copy link
Author

Fixed in the repository.

Original comment by [email protected] on 16 Jul 2014 at 2:17

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Can this be marked as "Fixed"?

Original comment by [email protected] on 22 Jan 2015 at 1:12

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 22 Jan 2015 at 2:08

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant