lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240715132950.GA673219@nvidia.com>
Date: Mon, 15 Jul 2024 10:29:50 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>,
	Leon Romanovsky <leon@...nel.org>, linux-kernel@...r.kernel.org,
	kernel-janitors@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH] IB/hfi1: Constify struct flag_table

On Sun, Jul 14, 2024 at 02:15:25PM +0200, Christophe JAILLET wrote:
> 'struct flag_table' are not modified in this driver.
> 
> Constifying this structure moves some data to a read-only section, so
> increase overall security.
> 
> On a x86_64, with allmodconfig:
> Before:
> ======
>    text	   data	    bss	    dec	    hex	filename
>  302932	  40271	    112	 343315	  53d13	drivers/infiniband/hw/hfi1/chip.o
> 
> After:
> =====
>    text	   data	    bss	    dec	    hex	filename
>  311636	  31567	    112	 343315	  53d13	drivers/infiniband/hw/hfi1/chip.o
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> Compile tested-only.
> ---
>  drivers/infiniband/hw/hfi1/chip.c | 30 +++++++++++++++---------------
>  1 file changed, 15 insertions(+), 15 deletions(-)

Applied to for-next

Thanks,
Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ