diff options
| author | Kees Cook <keescook@chromium.org> | 2020-07-02 13:47:20 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-16 08:13:29 +0200 |
| commit | be163232ad51d8280f310bcf99429327ba8166e9 (patch) | |
| tree | ba1449ca4e97f7423b2ca4abe747214fa80e99a9 /kernel/livepatch/Kconfig | |
| parent | 27801485039d491539d29c262e8927ccff6cf477 (diff) | |
module: Refactor section attr into bin attribute
commit ed66f991bb19d94cae5d38f77de81f96aac7813f upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/livepatch/Kconfig')
0 files changed, 0 insertions, 0 deletions
