]> Git Repo - linux.git/commit
module: Refactor section attr into bin attribute
authorKees Cook <[email protected]>
Thu, 2 Jul 2020 20:47:20 +0000 (13:47 -0700)
committerKees Cook <[email protected]>
Wed, 8 Jul 2020 23:00:17 +0000 (16:00 -0700)
commited66f991bb19d94cae5d38f77de81f96aac7813f
tree621a73d7bc1c207fb11e9724e2e1cfff438aeacd
parent160251842cd35a75edfb0a1d76afa3eb674ff40a
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: [email protected]
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Tested-by: Jessica Yu <[email protected]>
Acked-by: Jessica Yu <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
kernel/module.c
This page took 0.043752 seconds and 4 git commands to generate.