summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 20:38:35 +0100
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-17 13:12:57 +0200
commit7ff2fecc8bc2e855bd17bd75358973c6bb4accbd (patch)
treec85013e79973300d7e820d72f58335c4460be4e3 /tools/perf/scripts/python
parentb0034f206f140ecdd78e8f5fe4d61fb367124f3b (diff)
platform/x86/intel/pmt: 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/20241202-sysfs-const-bin_attr-pdx86-v1-4-9ab204c2a814@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')
0 files changed, 0 insertions, 0 deletions