Re: [PATCH v5 07/12] KEYS: trusted: TEE: Disable sysfs bind attributes
From: Jarkko Sakkinen
Date: Mon Nov 09 2026 - 10:20:55 EST
On Mon, Nov 09, 2026 at 12:57:49PM +0530, Sumit Garg wrote:
> On Mon, 09 Nov 2026 at 00:27:13 +0200, Jarkko Sakkinen wrote:
> > Suppress sysfs bind and unbind attributes on trusted_key_driver so that
> > userspace cannot unbind the driver and unregister key_type_trusted while
> > the trusted module remains loaded.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
> > ---
> > security/keys/trusted-keys/trusted_tee.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
>
> Sounds reasonable to me, FWIW:
>
> Reviewed-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
Thank you (for both).
Br, Jarkko