diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-15 14:25:40 +0100 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-12-17 13:13:14 +0200 |
commit | 8ba0e61861ab855d49315c2222844cff4fef467b (patch) | |
tree | 88bf53a813617dcfb79e365afd70baeac1cfd693 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a2ec08e43fdb15ffc0bdfe0a8356d0b8e111c505 (diff) |
mlxbf-bootctl: 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://lore.kernel.org/r/20241215-sysfs-const-bin_attr-mellanox-v1-1-b6fe4f68e2ca@weissschuh.net
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions