diff options
author | Aaron Tomlin <[email protected]> | 2016-10-27 10:36:06 +0100 |
---|---|---|
committer | Jessica Yu <[email protected]> | 2016-11-26 11:18:03 -0800 |
commit | 905dd707fc856bae57de144dcf873583881f9489 (patch) | |
tree | 44b86285a362094c40916410c761f4778f8c30e3 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 885a78d4a5b3ad2d7c41d1819b001d7957f442cd (diff) |
module: When modifying a module's text ignore modules which are going away too
By default, during the access permission modification of a module's core
and init pages, we only ignore modules that are malformed. Albeit for a
module which is going away, it does not make sense to change its text to
RO since the module should be RW, before deallocation.
This patch makes set_all_modules_text_ro() skip modules which are going
away too.
Signed-off-by: Aaron Tomlin <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[[email protected]: add comment as suggested by Steven Rostedt]
Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions