[lkml]   [2021]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/9] kallsyms: Fix address-checks for kernel related range
On Sat 2021-06-26 15:34:32, Kefeng Wang wrote:
> The is_kernel_inittext/is_kernel_text/is_kernel function should not
> include the end address(the labels _einittext, _etext and _end) when
> check the address range.

Great catch!

> Cc: Arnd Bergmann <>
> Cc: Sergey Senozhatsky <>
> Cc: Petr Mladek <>
> Fixes: 04b8eb7a4ccd ("symbol lookup: introduce dereference_symbol_descriptor()")

This commit just moved the code from kernel/kallsyms.c. It was broken
even before the git history ;-)

> Signed-off-by: Kefeng Wang <>

Reviewed-by: Petr Mladek <>

Best Regards,

 \ /
  Last update: 2021-07-07 14:43    [W:0.164 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site