Re: [PATCH 2/5] module: Refactor section attr into bin attribute

From: Jessica Yu
Date: Wed Jul 08 2020 - 12:11:03 EST


+++ Kees Cook [02/07/20 16:26 -0700]:
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@xxxxxxxxxxxxxxx
Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Hi Kees,

This looks good to me:

Tested-by: Jessica Yu <jeyu@xxxxxxxxxx>
Acked-by: Jessica Yu <jeyu@xxxxxxxxxx>

Thanks!