diff options
author | SeongJae Park <sj@kernel.org> | 2022-01-14 14:10:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 16:30:33 +0200 |
commit | 962fe7a6b1b2f9deb1b31b3344afa3b11afdf7ab (patch) | |
tree | a2010d80ce1cc4e351121aaee92acb700b03b370 /include/linux/kasan.h | |
parent | 251403f19aab6a122f4dcfb14149814e85564202 (diff) | |
download | lwn-962fe7a6b1b2f9deb1b31b3344afa3b11afdf7ab.tar.gz lwn-962fe7a6b1b2f9deb1b31b3344afa3b11afdf7ab.zip |
mm/damon/vaddr: hide kernel pointer from damon_va_three_regions() failure log
The failure log message for 'damon_va_three_regions()' prints the target
id, which is a 'struct pid' pointer in the case. To avoid exposing the
kernel pointer via the log, this makes the log to use the index of the
target in the context's targets list instead.
Link: https://lkml.kernel.org/r/20211229131016.23641-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kasan.h')
0 files changed, 0 insertions, 0 deletions