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)
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

Simple merge