[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKYAXd9TrTeQh4Ee=NwdS_Nsjm9Wzswwpo5YOWKdbZNY1VRP7w@mail.gmail.com>
Date: Mon, 24 Jun 2024 08:22:21 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Steve French <sfrench@...ba.org>, Sergey Senozhatsky <senozhatsky@...omium.org>,
Tom Talpey <tom@...pey.com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-cifs@...r.kernel.org
Subject: Re: [PATCH] ksmbd: Constify struct ksmbd_transport_ops
2024년 6월 24일 (월) 오전 3:09, Christophe JAILLET
<christophe.jaillet@...adoo.fr>님이 작성:
>
> 'struct ksmbd_transport_ops' is not modified in these drivers.
>
> Constifying this structure moves some data to a read-only section, so
> increase overall security.
>
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
> text data bss dec hex filename
> 52184 2085 256 54525 d4fd fs/smb/server/transport_rdma.o
>
> After:
> =====
> text data bss dec hex filename
> 52260 2021 256 54537 d509 fs/smb/server/transport_rdma.o
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied it to #ksmbd-for-next-next.
Thanks for your patch!
Powered by blists - more mailing lists