diff options
author | 2024-12-02 20:04:11 +0100 | |
---|---|---|
committer | 2024-12-10 19:34:41 +0100 | |
commit | 7349678b84552d15866c1a118535663e9dbb6768 (patch) | |
tree | 7a68bbf6c445637d0c20bb3147d2cf9999f96df9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: BGRT: Constify 'struct bin_attribute' (diff) | |
download | linux-rng-7349678b84552d15866c1a118535663e9dbb6768.tar.xz linux-rng-7349678b84552d15866c1a118535663e9dbb6768.zip |
ACPI: sysfs: 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>
Link: https://patch.msgid.link/20241202-sysfs-const-bin_attr-acpi-v1-3-78f3b38d350d@weissschuh.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions