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: <1d4245fb-c48f-4e0a-8c69-c18f23b0fd5a@suse.com>
Date: Mon, 3 Nov 2025 14:25:55 +0100
From: Jürgen Groß <jgross@...e.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
 xen-devel@...ts.xenproject.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH] xen/usb: Constify struct hc_driver

On 26.10.25 11:51, Christophe JAILLET wrote:
> 'struct hc_driver' is not modified in this driver.
> 
> Constifying this structure moves some data to a read-only section, so
> increases overall security, especially when the structure holds some
> function pointers.
> 
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
>     text	   data	    bss	    dec	    hex	filename
>    52065	  23176	    256	  75497	  126e9	drivers/usb/host/xen-hcd.o
> 
> After:
> =====
>     text	   data	    bss	    dec	    hex	filename
>    52897	  22344	    256	  75497	  126e9	drivers/usb/host/xen-hcd.o
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>

Reviewed-by: Juergen Gross <jgross@...e.com>


Juergen

Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3684 bytes)

Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (496 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ