Re: [RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-26 Thread Steven Rostedt
On Wed, 26 Oct 2016 11:35:18 +1030 Rusty Russell wrote: > Aaron Tomlin writes: > > By default, during the access permission modification of a module's core > > and init pages, we only ignore modules that are malformed. There is no > > reason not to

Re: [RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-26 Thread Steven Rostedt
On Wed, 26 Oct 2016 11:35:18 +1030 Rusty Russell wrote: > Aaron Tomlin writes: > > By default, during the access permission modification of a module's core > > and init pages, we only ignore modules that are malformed. There is no > > reason not to extend this to modules which are going away

Re: [RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-25 Thread Rusty Russell
Aaron Tomlin writes: > By default, during the access permission modification of a module's core > and init pages, we only ignore modules that are malformed. There is no > reason not to extend this to modules which are going away too. Well, it depends on all the callers (ie.

Re: [RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-25 Thread Rusty Russell
Aaron Tomlin writes: > By default, during the access permission modification of a module's core > and init pages, we only ignore modules that are malformed. There is no > reason not to extend this to modules which are going away too. Well, it depends on all the callers (ie. ftrace): is that also

[RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-20 Thread Aaron Tomlin
By default, during the access permission modification of a module's core and init pages, we only ignore modules that are malformed. There is no reason not to extend this to modules which are going away too. This patch makes both set_all_modules_text_rw() and set_all_modules_text_ro() skip modules

[RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-20 Thread Aaron Tomlin
By default, during the access permission modification of a module's core and init pages, we only ignore modules that are malformed. There is no reason not to extend this to modules which are going away too. This patch makes both set_all_modules_text_rw() and set_all_modules_text_ro() skip modules