Re: [PATCH 2/5] s390/ipl: Constify 'struct bin_attribute'
From: Alexander Gordeev
Date: Fri Jan 03 2025 - 09:12:51 EST
On Wed, Dec 11, 2024 at 06:54:40PM +0100, Thomas Weißschuh wrote:
> The sysfs core now allows instances of 'struct bin_attribute' to be
> moved into read-only memory. Make use of that to protect them against
> accidental or malicious modifications.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
> arch/s390/kernel/ipl.c | 142 ++++++++++++++++++++++++-------------------------
> 1 file changed, 71 insertions(+), 71 deletions(-)
Acked-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>