]> git.baikalelectronics.ru Git - kernel.git/commit
kallsyms: generalize address range checking
authorKees Cook <keescook@chromium.org>
Mon, 17 Mar 2014 02:48:27 +0000 (13:18 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Mar 2014 04:24:50 +0000 (14:54 +1030)
commit11a1597494eeaba09c80df4d03d29ef2f5077411
tree41e5d7a99e28239d8e04856edc02e34e3d963c96
parent6e0094d3095c39b00b525dc7a1028023d066f3e9
kallsyms: generalize address range checking

This refactors the address range checks to be generalized instead of
specific to text range checks, in preparation for other range checks.
Also extracts logic for "is the symbol absolute" into a function.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/kallsyms.c