diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 22:01:40 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 17:11:04 +0300 |
commit | cdc6829c2cf086ce76007b17173079a78997539e (patch) | |
tree | ab40fec6c590d377bb5d0b1cb00a09fd5cfbf709 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 79ef5c3598fd3163b71273547b73f1450bc632ab (diff) | |
download | linux-cdc6829c2cf086ce76007b17173079a78997539e.tar.xz |
HID: roccat: lua: 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>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions