diff options
author | Kees Cook <keescook@chromium.org> | 2020-07-02 13:47:20 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-07-08 16:00:17 -0700 |
commit | ed66f991bb19d94cae5d38f77de81f96aac7813f (patch) | |
tree | 621a73d7bc1c207fb11e9724e2e1cfff438aeacd /lib/test_ubsan.c | |
parent | 160251842cd35a75edfb0a1d76afa3eb674ff40a (diff) |
module: Refactor section attr into bin attribute
In order to gain access to the open file's f_cred for kallsym visibility
permission checks, refactor the module section attributes to use the
bin_attribute instead of attribute interface. Additionally removes the
redundant "name" struct member.
Cc: stable@vger.kernel.org
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Jessica Yu <jeyu@kernel.org>
Acked-by: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/test_ubsan.c')
0 files changed, 0 insertions, 0 deletions