diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 22:01:33 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 17:11:04 +0300 |
commit | d80286711e4d7e3aa4c86e179612d712441d4e24 (patch) | |
tree | c3e931b0d50678e746124cd815dd5f3dc4dc36c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 725bf3d8faab91cfd55e275752509fed851da643 (diff) | |
download | linux-d80286711e4d7e3aa4c86e179612d712441d4e24.tar.xz |
HID: core: 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