aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2013-05-15 20:33:01 +0100
committerCatalin Marinas <[email protected]>2013-05-17 09:53:07 +0100
commit06c9494c0e9bdfcaa14d6d2b096a0ff7abe8494f (patch)
tree22da52e773d30408d0372eeb20f18821d2834cca /lib/memory-notifier-error-inject.c
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
kmemleak: Scan all allocated, writeable and not executable module sections
Instead of just picking data sections by name (names that start with .data, .bss or .ref.data), use the section flags and scan all sections that are allocated, writable and not executable. Which should cover all sections of a module that might reference data. Signed-off-by: Steven Rostedt <[email protected]> [[email protected]: removed unused 'name' variable] [[email protected]: collapsed 'if' blocks] Signed-off-by: Catalin Marinas <[email protected]> Acked-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions