module: Pass struct load_info into symbol checks
authorKees Cook <keescook@chromium.org>
Fri, 21 Apr 2017 22:35:26 +0000 (15:35 -0700)
committerJessica Yu <jeyu@redhat.com>
Tue, 23 May 2017 21:08:18 +0000 (14:08 -0700)
commit490194269665d6d4915a4a5774f002885c5a2d8f
tree02f07a7542e5875a64102de0e99d4689df61f0d8
parent08332893e37af6ae779367e78e444f8f9571511d
module: Pass struct load_info into symbol checks

Since we're already using values from struct load_info, just pass this
pointer in directly and use what's needed as we need it. This allows us
to access future fields in struct load_info too.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jessica Yu <jeyu@redhat.com>
kernel/module.c