diff options
author | 2024-12-11 18:54:39 +0100 | |
---|---|---|
committer | 2025-01-07 10:05:35 +0100 | |
commit | 221ce94b1ac56bacde9c55409080838c1b575d3b (patch) | |
tree | 18b13b667b87c5c1e79d38aa954b547dee9394db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/qdio: Move memory alloc/pointer arithmetic for slib and sl into one place (diff) | |
download | linux-rng-221ce94b1ac56bacde9c55409080838c1b575d3b.tar.xz linux-rng-221ce94b1ac56bacde9c55409080838c1b575d3b.zip |
s390/crypto/cpacf: Constify 'struct bin_attribute'
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@weissschuh.net>
Tested-by: Finn Callies <fcallies@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Link: https://lore.kernel.org/r/20241211-sysfs-const-bin_attr-s390-v1-1-be01f66bfcf7@weissschuh.net
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions