diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-22 23:00:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 11:20:31 +0300 |
commit | f9c883f0df2765c0cb1db3c306a36787ccb2055a (patch) | |
tree | 8a2be95d2f3064468108dbe91de8264d98e12f2a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f800cc58598eb4564cabcc4129d5d1a6f7f598b4 (diff) | |
download | linux-f9c883f0df2765c0cb1db3c306a36787ccb2055a.tar.xz |
Input: goodix-berlin - 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/20241222-sysfs-const-bin_attr-input-v1-1-1229dbe5ae71@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions