summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-07-02 23:47:20 +0300
committerKees Cook <keescook@chromium.org>2020-07-09 02:00:17 +0300
commited66f991bb19d94cae5d38f77de81f96aac7813f (patch)
tree621a73d7bc1c207fb11e9724e2e1cfff438aeacd /lib/mpi/mpi-sub-ui.c
parent160251842cd35a75edfb0a1d76afa3eb674ff40a (diff)
downloadlinux-ed66f991bb19d94cae5d38f77de81f96aac7813f.tar.xz
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/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions