linux/fs/smb
Christophe JAILLET 051d469be1 ksmbd: Constify struct ksmbd_transport_ops
'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@wanadoo.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-07-14 18:00:35 -05:00
..
client cifs: fix setting SecurityFlags to true 2024-07-13 09:24:27 -05:00
common ksmbd: return FILE_DEVICE_DISK instead of super magic 2024-07-03 23:21:41 -05:00
server ksmbd: Constify struct ksmbd_transport_ops 2024-07-14 18:00:35 -05:00
Kconfig
Makefile