diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2013-05-15 19:33:01 (GMT) |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-05-17 08:53:07 (GMT) |
commit | 06c9494c0e9bdfcaa14d6d2b096a0ff7abe8494f (patch) | |
tree | 22da52e773d30408d0372eeb20f18821d2834cca /kernel/Kconfig.hz | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | linux-fsl-qoriq-06c9494c0e9bdfcaa14d6d2b096a0ff7abe8494f.tar.xz |
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 <rostedt@goodmis.org>
[catalin.marinas@arm.com: removed unused 'name' variable]
[catalin.marinas@arm.com: collapsed 'if' blocks]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/Kconfig.hz')
0 files changed, 0 insertions, 0 deletions