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: <CAPhsuW5=sZTm2Uwmz7dZ-4v2vqPbS=RygDeZ535ef7yk4NCjsg@mail.gmail.com>
Date: Thu, 4 Jul 2024 15:07:49 +0800
From: Song Liu <song@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Yu Kuai <yukuai3@...wei.com>, linux-kernel@...r.kernel.org, 
	kernel-janitors@...r.kernel.org, linux-raid@...r.kernel.org
Subject: Re: [PATCH] md-cluster: Constify struct md_cluster_operations

On Mon, Jun 24, 2024 at 4:18 AM Christophe JAILLET
<christophe.jaillet@...adoo.fr> wrote:
>
> 'struct md_cluster_operations' is 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, as an example:
> Before:
> ======
>    text    data     bss     dec     hex filename
>   51941    1442      80   53463    d0d7 drivers/md/md-cluster.o
>
> After:
> =====
>    text    data     bss     dec     hex filename
>   52133    1246      80   53459    d0d3 drivers/md/md-cluster.o
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>

Applied to md-6.11. Thanks!

Song

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ