Re: [PATCH 1/5] s390/crypto/cpacf: Constify 'struct bin_attribute'

From: Finn Callies
Date: Thu Dec 12 2024 - 07:04:07 EST


On 11/12/2024 18:54, 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/cpacf.c | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)

[ snip ]

Tested-by: Finn Callies <fcallies@xxxxxxxxxxxxx>